/* 管理后台：复用方案 D 玻璃令牌（半透明叠层模拟毛玻璃） */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  color: #16161A; min-height: 100vh; padding: 40px 20px;
  background:
    radial-gradient(40% 36% at 18% 14%, #FFD3C2 0%, rgba(255,211,194,0) 60%),
    radial-gradient(46% 42% at 84% 10%, #D9C8F0 0%, rgba(217,200,240,0) 62%),
    radial-gradient(50% 48% at 50% 98%, #C2D8F0 0%, rgba(194,216,240,0) 60%),
    linear-gradient(135deg, #FBEDE6 0%, #EFEAF7 50%, #E7EEF8 100%);
}
.wrap { max-width: 560px; margin: 0 auto; }
h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; letter-spacing: 1px; }
.sub { color: #6B6B78; font-size: 13px; margin-bottom: 22px; }
.glass {
  background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.9);
  border-radius: 26px; padding: 26px; box-shadow: 0 18px 50px rgba(120,120,160,0.20);
  position: relative; overflow: hidden;
}
.glass::after { content:""; position:absolute; left:0; right:0; top:0; height:38%;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0)); pointer-events:none; }
label { display: block; font-size: 13px; font-weight: 700; color: #6B6B78; margin: 14px 0 6px; }
input, textarea {
  width: 100%; border: 1px solid rgba(255,255,255,0.9); border-radius: 16px;
  padding: 14px; font-size: 15px; background: rgba(255,255,255,0.6); font-family: inherit; resize: vertical;
}
.btn {
  margin-top: 18px; width: 100%; border: none; border-radius: 18px; padding: 16px;
  font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #6AA8FF, #B79CFF); box-shadow: 0 16px 34px rgba(106,168,255,0.42);
}
.btn.ghost { background: rgba(255,255,255,0.5); color: #3F6FD6; border: 1px dashed rgba(106,168,255,0.6); box-shadow: 0 16px 34px rgba(120,120,160,0.18); }
.btn.sm { width: auto; padding: 12px 20px; font-size: 14px; margin-top: 0; }
.msg { margin-top: 14px; font-size: 13px; min-height: 18px; font-weight: 600; }
.msg.ok { color: #2E9E6B; }
.msg.err { color: #D9544E; }
.hint { font-size: 12px; color: #9A9AA8; margin-top: 8px; line-height: 1.6; }
.row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
/* 用 class 而非 id 选择器控制显隐，避免 ID 级 display:none 在 JS 设置内联 style 时优先级混乱 */
.hidden { display: none !important; }

/* Toast 浮层（中央提示） */
.toast-mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; display: flex;
  align-items: center; justify-content: center; pointer-events: none; z-index: 9999; }
.toast-inner { padding: 16px 28px; border-radius: 14px; font-size: 15px; font-weight: 600;
  background: rgba(22,22,26,0.88); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  animation: toastIn 0.2s ease-out; max-width: 80%; text-align: center; }
.toast-inner.ok { background: rgba(46,158,107,0.92); }
.toast-inner.err { background: rgba(217,84,78,0.92); }
@keyframes toastIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
