:root {
  --brand: #00e0d0;
  --brand-mid: #00baad;
  --brand-deep: #007a72;
  --ink: #03070d;
  --text: #f2f7fb;
  --muted: #7d93a8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans SC", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0c1520;
  color: #eaf4f6;
  min-height: 100vh;
}
a { color: #7ef5e8; text-decoration: none; }
button, input { font: inherit; }

/* ===== 沉浸式科技登录 ===== */
.login-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #03070d;
  color: var(--text);
}
#loginCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.login-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(0, 186, 173, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(0, 120, 180, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(3,7,13,0.15) 0%, rgba(3,7,13,0.55) 55%, rgba(3,7,13,0.85) 100%);
}
.login-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -35%;
  height: 70%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(transparent 0%, rgba(0, 224, 208, 0.03) 40%, rgba(0, 224, 208, 0.08) 100%),
    repeating-linear-gradient(90deg, rgba(0, 224, 208, 0.12) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(0, 224, 208, 0.1) 0 1px, transparent 1px 72px);
  transform: perspective(700px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  animation: floor-pulse 8s ease-in-out infinite;
}
.login-hud-ring {
  position: absolute;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  left: 8%;
  top: 50%;
  transform: translateY(-54%);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(0, 224, 208, 0.18);
  box-shadow: inset 0 0 80px rgba(0, 186, 173, 0.06);
  animation: ring-breathe 7s ease-in-out infinite;
}
.login-hud-ring::before,
.login-hud-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 224, 208, 0.28);
  animation: orb-spin 40s linear infinite;
}
.login-hud-ring::after {
  inset: 24%;
  border-style: solid;
  border-color: rgba(0, 224, 208, 0.12);
  animation-duration: 28s;
  animation-direction: reverse;
}
.login-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  padding: 48px clamp(24px, 5vw, 72px);
  gap: 32px;
}
.hero {
  max-width: 640px;
  padding-left: clamp(0px, 2vw, 24px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 224, 208, 0.35);
  background: rgba(0, 186, 173, 0.08);
  border-radius: 999px;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--brand);
  margin-bottom: 28px;
  animation: rise-in .7s ease both;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: blink 1.6s ease-in-out infinite;
}
.hero-brand {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  animation: rise-in .8s ease .05s both;
}
.hero-brand em {
  font-style: normal;
  background: linear-gradient(105deg, #fff 10%, #9ffff4 45%, #00e0d0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(0, 224, 208, 0.25));
}
.hero-sub {
  font-size: clamp(20px, 2.8vw, 30px);
  color: rgba(232, 246, 250, 0.9);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.18em;
  animation: rise-in .8s ease .12s both;
}
.hero-classic {
  font-family: Orbitron, "Space Grotesk", sans-serif;
  font-size: 13px;
  color: rgba(159, 255, 244, 0.75);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  animation: rise-in .8s ease .15s both;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 28px;
  animation: rise-in .8s ease .18s both;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: rise-in .8s ease .24s both;
}
.hero-chips span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 12px;
  color: #b7c7d6;
  letter-spacing: 0.06em;
}

.login-card {
  width: min(420px, 100%);
  justify-self: end;
  margin-right: clamp(0px, 2vw, 20px);
  background: linear-gradient(160deg, rgba(12, 24, 38, 0.82), rgba(7, 14, 24, 0.9));
  backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(0, 224, 208, 0.28);
  border-radius: 22px;
  padding: 34px 30px 26px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 60px rgba(0, 186, 173, 0.08);
  animation: card-pop .75s cubic-bezier(.16,1,.3,1) .1s both;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 224, 208, 0.2), transparent 70%);
  pointer-events: none;
}
.login-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,208,.55), transparent 35%, transparent 65%, rgba(0,224,208,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.login-card-head { margin-bottom: 26px; position: relative; }
.login-card-head .eyebrow {
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #d4b478;
  margin-bottom: 12px;
}
.login-card h1 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.login-card .sub {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.form-item { margin-bottom: 16px; position: relative; }
.form-item label {
  display: block;
  font-size: 11px;
  color: #8ea3b8;
  margin-bottom: 8px;
  letter-spacing: 0.16em;
  font-family: Orbitron, sans-serif;
}
.form-item input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0 16px;
  outline: none;
  background: rgba(255,255,255,0.035);
  color: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
.form-item input::placeholder { color: #516579; }
.form-item input:focus {
  border-color: rgba(0, 224, 208, 0.7);
  background: rgba(0, 186, 173, 0.1);
  box-shadow: 0 0 0 4px rgba(0, 224, 208, 0.12), 0 0 24px rgba(0, 186, 173, 0.15);
  transform: translateY(-1px);
}
.btn-primary {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, #00e8d6 0%, #00baad 45%, #008f86 100%);
  background-size: 160% 100%;
  color: #031016;
  font-weight: 800;
  letter-spacing: 0.24em;
  cursor: pointer;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, filter .15s ease, background-position .4s ease;
}
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
  background-position: 100% 0;
}
.btn-primary:disabled { opacity: .7; cursor: not-allowed; }
.btn-primary .btn-glow {
  position: absolute;
  inset: -40% auto -40% -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.2s ease-in-out infinite;
}
.error-tip {
  color: #ff8e8e;
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}
.login-footer-note {
  margin-top: 20px;
  font-size: 12px;
  color: #62788f;
  text-align: center;
  letter-spacing: 0.08em;
}
.login-status-line {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 11px;
  color: #5f758c;
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.12em;
}
.login-status-line i {
  font-style: normal;
  color: var(--brand);
}

@keyframes floor-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: .9; }
}
@keyframes ring-breathe {
  0%, 100% { transform: translateY(-54%) scale(1); opacity: .75; }
  50% { transform: translateY(-54%) scale(1.04); opacity: 1; }
}
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes card-pop {
  from { opacity: 0; transform: translateY(30px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes btn-shine {
  0%, 55%, 100% { left: -40%; opacity: 0; }
  60% { opacity: 1; }
  85% { left: 120%; opacity: 0; }
}

@media (max-width: 960px) {
  .login-overlay {
    grid-template-columns: 1fr;
    padding: 36px 20px 40px;
    align-content: center;
  }
  .hero { order: 1; text-align: left; }
  .login-card { order: 2; justify-self: stretch; margin: 0; }
  .login-hud-ring { opacity: .35; left: 50%; transform: translate(-50%, -50%); }
  .hero-brand { font-size: 42px; }
  .hero-sub { font-size: 20px; letter-spacing: 0.06em; }
}

/* ===== 控制台内页（高对比 AI 科技风） ===== */
.app-shell {
  --shell-bg: #0c1520;
  --shell-surface: #152433;
  --shell-surface-2: #1b2d3f;
  --shell-line: rgba(94, 234, 212, 0.22);
  --shell-text: #eef7f8;
  --shell-muted: #9fb4be;
  --shell-cyan: #2ee6d6;
  --shell-cyan-dim: rgba(46, 230, 214, 0.14);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--shell-text);
  overflow-x: hidden;
}
.shell-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 12% -5%, rgba(46,230,214,0.12), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(96,140,255,0.1), transparent 50%),
    linear-gradient(180deg, #101c2a 0%, #0c1520 55%, #0a121c 100%);
}
.shell-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.shell-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,230,214,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,230,214,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 72%);
  opacity: 0.85;
}
.shell-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
}
.shell-glow-a {
  width: 340px;
  height: 340px;
  left: -90px;
  top: 80px;
  background: rgba(46,230,214,0.22);
}
.shell-glow-b {
  width: 300px;
  height: 300px;
  right: -60px;
  bottom: 40px;
  background: rgba(96,140,255,0.18);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(16, 28, 42, 0.9);
  border-bottom: 1px solid var(--shell-line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: Orbitron, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #06201e;
  background: linear-gradient(135deg, #7dfff3, #2ee6d6 55%, #00baad);
  box-shadow: 0 0 24px rgba(46,230,214,0.45);
  flex-shrink: 0;
}
.brand-text { min-width: 0; }
.topbar .brand {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #f4fcfb;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.brand-sub {
  font-family: Orbitron, sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #8aa8b2;
  margin-top: 2px;
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: var(--shell-muted);
  font-size: 13px;
  flex-shrink: 0;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.user-name {
  color: #f2fafb;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-btn {
  border: 1px solid rgba(46,230,214,0.45);
  background: rgba(46,230,214,0.1);
  color: #b9fff7;
  cursor: pointer;
  font-size: 13px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  transition: .2s ease;
}
.link-btn:hover {
  background: rgba(46,230,214,0.2);
  box-shadow: 0 0 18px rgba(46,230,214,0.22);
}

.content {
  position: relative;
  z-index: 1;
  padding: 22px 24px 48px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
.page-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb {
  font-size: 13px;
  color: var(--shell-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: #7ef5e8; font-weight: 500; }
.breadcrumb a:hover {
  color: #b9fff7;
  text-shadow: 0 0 12px rgba(46,230,214,0.35);
}
.breadcrumb .sep { color: rgba(255,255,255,0.22); }

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(27,45,63,0.96), rgba(21,36,51,0.98));
  border: 1px solid var(--shell-line);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  animation: rise-in .45s ease both;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,230,214,0.85), transparent);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.panel-title { min-width: 0; }
.panel-eyebrow {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #e0c07a;
  margin-bottom: 6px;
}
.panel-head h2 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #f7fcfb;
  letter-spacing: 0.03em;
}
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar input {
  height: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0 12px;
  min-width: 220px;
  background: rgba(8,16,26,0.55);
  color: #f2fafb;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.toolbar input::placeholder { color: #7e97a2; }
.toolbar input:focus {
  border-color: rgba(46,230,214,0.65);
  box-shadow: 0 0 0 3px rgba(46,230,214,0.16);
  background: rgba(8,16,26,0.75);
}
.toolbar .btn-sm {
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3cf0e0, #17c4b6);
  color: #05201e;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(46,230,214,0.28);
  transition: transform .15s ease, box-shadow .2s;
}
.toolbar .btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(46,230,214,0.42);
}

.table-wrap {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: auto;
  background: rgba(8, 16, 26, 0.45);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  white-space: nowrap;
}
th {
  color: #c5d8df;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(46,230,214,0.08);
}
td {
  color: #eef7f8;
  font-weight: 450;
}
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
tbody tr { transition: background .15s ease; }
tbody tr:hover td {
  background: rgba(46,230,214,0.1) !important;
}
.actions a, .actions button {
  margin-right: 8px;
  color: #7ef5e8;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
}
.action-link {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(46,230,214,0.42);
  background: rgba(46,230,214,0.12);
  color: #b9fff7 !important;
  font-size: 12px !important;
  font-weight: 600;
  transition: .2s ease;
}
.action-link:hover {
  background: rgba(46,230,214,0.22);
  box-shadow: 0 0 16px rgba(46,230,214,0.25);
}
.badge-status {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-status.on {
  color: #b9fff7;
  background: rgba(46,230,214,0.16);
  border: 1px solid rgba(46,230,214,0.4);
}
.badge-status.off {
  color: #b0c0c8;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.num-chip {
  display: inline-flex;
  min-width: 30px;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-family: Orbitron, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #b9fff7;
  background: rgba(46,230,214,0.12);
  border: 1px solid rgba(46,230,214,0.28);
}
code.cred {
  font-family: "Space Grotesk", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #b9fff7;
  background: rgba(46,230,214,0.1);
  border: 1px solid rgba(46,230,214,0.25);
  padding: 3px 8px;
  border-radius: 6px;
}
.empty {
  text-align: center;
  color: #9fb4be;
  padding: 48px 0;
  font-size: 14px;
}
.pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: #b0c4cc;
}
.pager button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #eef7f8;
  cursor: pointer;
  transition: .2s ease;
}
.pager button:hover:not(:disabled) {
  border-color: rgba(46,230,214,0.5);
  color: #b9fff7;
  background: rgba(46,230,214,0.1);
}
.pager button:disabled { opacity: .4; cursor: not-allowed; }

.report-frame-wrap {
  background: linear-gradient(180deg, rgba(27,45,63,0.98), rgba(21,36,51,0.98));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--shell-line);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  animation: rise-in .45s ease both;
}
.report-frame {
  width: 100%;
  min-height: 80vh;
  border: none;
  background: #f2f2f2;
}
.meta-bar {
  padding: 12px 16px;
  background: rgba(8,16,26,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #c5d8df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: rgba(46,230,214,0.14);
  border: 1px solid rgba(46,230,214,0.35);
  color: #b9fff7;
}
.hidden { display: none !important; }
.hint { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* ===== 修改密码 ===== */
.pwd-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 10, 16, 0.72);
  backdrop-filter: blur(6px);
}
.pwd-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(27,45,63,0.98), rgba(21,36,51,0.99));
  border: 1px solid rgba(46,230,214,0.28);
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  animation: rise-in .35s ease both;
}
.pwd-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.pwd-card-head h3 {
  font-size: 20px;
  color: #f7fcfb;
  font-weight: 700;
}
.pwd-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #8aa8b2;
  line-height: 1.4;
}
.pwd-warn {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 140, 120, 0.45);
  background: rgba(255, 96, 80, 0.12);
  color: #ffd2c8;
  font-size: 13px;
  line-height: 1.55;
}
.pwd-warn strong {
  display: block;
  margin-bottom: 6px;
  color: #ffb4a4;
}
.pwd-warn.mild {
  border-color: rgba(46,230,214,0.3);
  background: rgba(46,230,214,0.08);
  color: #c9eef0;
}
.pwd-warn code {
  color: #b9fff7;
  font-weight: 700;
}
.pwd-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 14px;
  font-size: 13px;
  color: #c5d8df;
  line-height: 1.45;
  cursor: pointer;
}
.pwd-check input {
  margin-top: 3px;
  flex-shrink: 0;
}
.pwd-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.pwd-actions .btn-primary {
  flex: 1;
}
.pwd-card .btn-primary.danger {
  background: linear-gradient(135deg, #ff8a72, #e2553d);
  color: #fff;
  box-shadow: 0 0 18px rgba(226, 85, 61, 0.28);
}
.actions .action-link {
  margin-right: 8px;
  margin-bottom: 4px;
}
.actions .action-link.caution {
  border-color: rgba(255, 140, 120, 0.45);
  background: rgba(255, 96, 80, 0.12);
  color: #ffd2c8 !important;
}
.actions .action-link.caution:hover {
  background: rgba(255, 96, 80, 0.22);
  box-shadow: 0 0 14px rgba(226, 85, 61, 0.2);
}
.pwd-card .form-item { margin-bottom: 14px; }
.pwd-card .form-item label {
  display: block;
  font-size: 12px;
  color: #8aa8b2;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.pwd-card .form-item input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(8,16,26,0.55);
  color: #f2fafb;
  outline: none;
}
.pwd-card .form-item input:focus {
  border-color: rgba(46,230,214,0.65);
  box-shadow: 0 0 0 3px rgba(46,230,214,0.16);
}
.pwd-card .error-tip {
  min-height: 18px;
  color: #ff8f8f;
  font-size: 13px;
  margin: 4px 0 12px;
}
.pwd-card .btn-primary {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3cf0e0, #17c4b6);
  color: #05201e;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pwd-card .btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

@media (max-width: 900px) {
  .topbar { padding: 10px 14px; }
  .content { padding: 16px 14px 40px; }
  .toolbar input { min-width: 0; width: 100%; }
  .toolbar { width: 100%; }
  .toolbar .btn-sm { flex: 0 0 auto; }
}

/* ===== 登录成功过场（AI 科技舱） ===== */
.transit-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #02060c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.transit-mask canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.transit-hud {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 3;
}
.transit-hud .c {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(46,230,214,0.65);
  box-shadow: 0 0 12px rgba(46,230,214,0.25);
}
.transit-hud .c.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.transit-hud .c.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.transit-hud .c.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.transit-hud .c.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.transit-hud-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: Orbitron, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(159,255,244,0.55);
  white-space: nowrap;
}
.transit-hud-line.top { top: 8px; }
.transit-hud-line.bottom { bottom: 8px; color: rgba(46,230,214,0.75); }

.transit-core {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(420px, 90vw);
  animation: rise-in .6s cubic-bezier(.22,1,.36,1) both;
}
.transit-orbit {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 22px;
}
.transit-orbit .o {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}
.transit-orbit .o1 {
  border-top-color: rgba(46,230,214,0.85);
  border-right-color: rgba(46,230,214,0.2);
  animation: orb-spin 3.2s linear infinite;
  box-shadow: 0 0 20px rgba(46,230,214,0.15);
}
.transit-orbit .o2 {
  inset: 14px;
  border-bottom-color: rgba(120,160,255,0.8);
  border-left-color: rgba(120,160,255,0.15);
  animation: orb-spin 5s linear infinite reverse;
}
.transit-orbit .o3 {
  inset: 28px;
  border: 1px dashed rgba(212,180,120,0.45);
  animation: orb-spin 12s linear infinite;
}
.transit-core-orb {
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35), transparent 28%),
    radial-gradient(circle at 50% 55%, rgba(46,230,214,0.55), rgba(8,40,48,0.95) 70%);
  box-shadow:
    0 0 40px rgba(46,230,214,0.45),
    inset 0 0 30px rgba(46,230,214,0.25);
  display: grid;
  place-items: center;
  animation: transit-orb-pulse 1.8s ease-in-out infinite;
}
.orb-inner {
  text-align: center;
  line-height: 1.05;
}
.orb-inner b {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 20px;
  color: #eafffc;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(159,255,244,0.8);
}
.orb-inner em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: Orbitron, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #9ffff4;
  letter-spacing: 0.04em;
}
.orb-inner em::after {
  content: "%";
  font-size: 12px;
  margin-left: 2px;
  opacity: 0.7;
}
.transit-chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46,230,214,0.45);
  background: rgba(46,230,214,0.1);
  color: #9ffff4;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  box-shadow: 0 0 18px rgba(46,230,214,0.18);
  animation: blink 1.8s ease-in-out infinite;
}
.transit-title {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 700;
  color: #f4fffd;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  text-shadow: 0 0 24px rgba(46,230,214,0.25);
}
.transit-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 2.8em;
  margin-bottom: 22px;
}
.transit-status .en {
  font-family: Orbitron, sans-serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: #2ee6d6;
  text-shadow: 0 0 12px rgba(46,230,214,0.45);
}
.transit-status .zh {
  font-size: 14px;
  color: #b8d4d8;
  letter-spacing: 0.18em;
}
.transit-status.pulse-in {
  animation: transit-status-in .32s ease;
}
.transit-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(46,230,214,0.18);
  background: linear-gradient(180deg, rgba(46,230,214,0.08), rgba(255,255,255,0.02));
  border-radius: 12px;
  box-shadow: inset 0 0 24px rgba(46,230,214,0.05);
}
.transit-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.transit-metrics label {
  font-family: Orbitron, sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #6f9098;
}
.transit-metrics i {
  font-style: normal;
  font-family: Orbitron, "Space Grotesk", sans-serif;
  font-size: 13px;
  color: #c8fff7;
  letter-spacing: 0.04em;
}
.transit-mask.fade-out {
  animation: transit-out .72s cubic-bezier(.4,0,.2,1) forwards;
}
.transit-mask.fade-out .transit-core {
  animation: transit-core-out .55s ease forwards;
}
@keyframes transit-out {
  0% { opacity: 1; filter: blur(0) brightness(1); }
  40% { opacity: 1; filter: blur(0) brightness(1.15); }
  100% { opacity: 0; filter: blur(10px) brightness(1.4); }
}
@keyframes transit-core-out {
  to { opacity: 0; transform: scale(1.08); filter: blur(4px); }
}
@keyframes transit-orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 36px rgba(46,230,214,0.4), inset 0 0 24px rgba(46,230,214,0.22); }
  50% { transform: scale(1.04); box-shadow: 0 0 56px rgba(46,230,214,0.65), inset 0 0 34px rgba(46,230,214,0.35); }
}
@keyframes transit-status-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
