
/* enhance.css · UI 增强层 */
:root{--r-xl:clamp(20px,2.4vw,28px);--r-lg:clamp(14px,1.6vw,18px);--glass-bg:rgba(255,255,255,.72);--glass-line:rgba(255,255,255,.55)}

/* 1. 毛玻璃弹窗 */
dialog.glass-modal{padding:0;border:1px solid var(--glass-line);border-radius:24px;background:var(--glass-bg);backdrop-filter:blur(32px) saturate(1.6);-webkit-backdrop-filter:blur(32px) saturate(1.6);box-shadow:0 24px 80px -16px rgba(31,61,48,.3),inset 0 1px 0 rgba(255,255,255,.6);max-width:min(92vw,520px);width:100%;color:var(--text)}
dialog.glass-modal::backdrop{background:rgba(20,30,25,.35);backdrop-filter:blur(20px) saturate(1.2);-webkit-backdrop-filter:blur(20px) saturate(1.2)}
dialog.glass-modal[open]{animation:gmIn .28s cubic-bezier(.16,1,.3,1)}
@keyframes gmIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.gm-body{padding:24px 24px 20px}
.gm-title{font-size:16.5px;margin-bottom:8px}
.gm-text{font-size:14px;color:var(--text-2);line-height:1.75;white-space:pre-wrap}
.gm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.gm-actions .btn{min-width:84px}

/* 2. 聊天输入框放大 */
.composer{padding:12px 24px 20px}
.composer-inner{gap:12px;align-items:flex-end}
.composer textarea{min-height:76px;max-height:40vh;height:auto;padding:16px 18px;font-size:15px;line-height:1.6;border-radius:16px;overflow-y:auto;resize:none}
.composer .btn{height:56px;padding:0 24px;border-radius:14px;font-size:14.5px;align-self:flex-end}

/* 3. 登录/注册：非对称分屏 */
.auth-card{grid-template-columns:1.15fr .85fr;max-width:1000px;border-radius:var(--r-xl);box-shadow:0 32px 80px -24px rgba(31,61,48,.18)}
.auth-form{padding:44px 38px;background:rgba(255,255,255,.9);backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3)}
.auth-hero{padding:46px 38px}
.auth-hero::before{width:280px;height:280px;top:-100px;right:-80px;background:radial-gradient(circle,rgba(61,153,112,.18),transparent 70%);backdrop-filter:blur(40px)}
.auth-hero::after{width:220px;height:220px;bottom:-90px;left:-70px;background:radial-gradient(circle,rgba(90,168,140,.16),transparent 70%);backdrop-filter:blur(40px)}

/* 4. 管理后台：双圆角登录 */
.admin-login-card{display:grid;grid-template-columns:1.02fr .98fr;max-width:900px;margin:clamp(24px,8vh,80px) auto;padding:0;overflow:hidden;border-radius:var(--r-xl);box-shadow:0 40px 100px -32px rgba(31,61,48,.22)}
.admin-login-hero{position:relative;padding:46px 36px;color:#fff;background:linear-gradient(155deg,#2f7f5c 0%,#3d9970 52%,#57ae88 100%);border-radius:var(--r-xl) 0 0 var(--r-xl);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.admin-login-hero::before{content:"";position:absolute;width:240px;height:240px;top:-100px;right:-80px;border-radius:50%;background:rgba(255,255,255,.12);backdrop-filter:blur(40px)}
.admin-login-hero>*{position:relative;z-index:1}
.admin-login-hero .hero-badge{background:rgba(255,255,255,.92);border-color:transparent;color:var(--brand-strong);margin-bottom:18px}
.admin-login-hero h2{font-size:clamp(20px,2.2vw,26px);line-height:1.45;margin-bottom:10px;color:#fff}
.admin-login-hero p{margin:0 0 22px;font-size:13.5px;line-height:1.75;color:rgba(255,255,255,.85)}
.admin-login-hero .hero-list li{color:rgba(255,255,255,.92)}
.admin-login-hero .hero-list .ico{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32);color:#fff}
.admin-login-form{padding:46px 38px;background:#fff;border-radius:0 var(--r-xl) var(--r-xl) 0;display:flex;flex-direction:column;justify-content:center}
.admin-login-form h2{font-size:19px;text-align:left;margin-bottom:4px}
.admin-login-form .sub{text-align:left;margin-bottom:22px}

/* 5. 响应式 */
@media(max-width:1000px){
  .auth-card{grid-template-columns:1fr;max-width:470px}
  .auth-hero{padding:30px 28px 26px}
  .auth-form{padding:32px 28px}
}
@media(max-width:900px){
  .admin-login-card{grid-template-columns:1fr;max-width:450px}
  .admin-login-hero{border-radius:var(--r-xl) var(--r-xl) 0 0;padding:30px 26px 26px}
  .admin-login-hero .hero-list{display:none}
  .admin-login-hero p{margin-bottom:0}
  .admin-login-form{border-radius:0 0 var(--r-xl) var(--r-xl);padding:30px 26px}
}
@media(max-width:820px){
  .composer{padding:8px 14px 14px}
  .composer textarea{min-height:64px;max-height:200px;font-size:16px;padding:14px 15px;border-radius:14px}
  .composer .btn{height:50px;padding:0 18px}
  .gm-body{padding:20px 18px 16px}
}
@media(max-width:560px){
  .auth-card{border-radius:20px}
  .auth-hero{display:none}
  .auth-form{padding:28px 20px}
  .admin-login-hero{padding:26px 22px 22px}
  .admin-login-form{padding:26px 22px}
  .gm-actions{flex-direction:column-reverse}
  .gm-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){dialog.glass-modal[open]{animation:none}}


/* ====== 用户端布局修正（无顶栏版本） ====== */
#authView {
  min-height: calc(100vh - var(--footer-h));
  min-height: calc(100dvh - var(--footer-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#mainView .app-shell {
  height: calc(100vh - var(--footer-h));
  height: calc(100dvh - var(--footer-h));
}

/* Logo 样式 */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(61, 153, 112, 0.2));
}
.hero-brand-text {
  font-size: 22px;
  font-weight: 700;
  color: #1b3a2d;
  letter-spacing: 0.5px;
}

/* 侧边栏底部用户信息 */
.app-sidebar .side-foot {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 11px 6px;
}
.side-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.side-user .user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-user .btn-ghost {
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
}
.side-user .btn-ghost:hover {
  color: var(--danger);
  background: var(--danger-soft);
}
.side-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* 底部管理后台链接 */
.site-footer {
  gap: 10px;
}
.footer-sep {
  color: var(--border-strong);
}
.footer-link {
  color: var(--muted);
  font-size: 12px;
  transition: color .15s;
}
.footer-link:hover {
  color: var(--brand);
}


/* ====== 登录页视觉深度优化 v2 ====== */

/* 容器垂直居中，留出空间 */
#authView {
  min-height: calc(100vh - var(--footer-h));
  min-height: calc(100dvh - var(--footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

/* 整体卡片放大、拔高 */
.auth-card {
  width: 100%;
  max-width: 1060px;
  min-height: clamp(580px, 75vh, 760px);
  margin: 0 auto;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: clamp(24px, 3vw, 36px); /* 更大的圆角 */
  box-shadow: 0 40px 120px -32px rgba(31, 61, 48, 0.15), 0 8px 32px -12px rgba(31, 61, 48, 0.08);
  background: #fff;
}

/* 左侧 Hero 区 */
.auth-hero {
  padding: 64px 56px;
  justify-content: center;
  background: linear-gradient(145deg, #e6f4ec 0%, #f5fbf8 50%, #dcefe5 100%);
}

/* Logo 放大至 220px */
.hero-brand {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}
.hero-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: none; /* 移除阴影，大图更干净 */
}

/* 放大左侧标题与文字 */
.auth-hero h1 {
  font-size: clamp(28px, 2.8vw, 36px);
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.auth-hero p {
  font-size: 15px;
  margin-bottom: 32px;
  color: #4b6a5c;
}
.hero-list li {
  font-size: 14.5px;
  margin-bottom: 14px;
}

/* 右侧表单区 */
.auth-form {
  padding: 64px 56px;
  justify-content: center;
}
.auth-form h2 {
  font-size: 26px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.auth-form .sub {
  font-size: 14.5px;
  margin-bottom: 36px;
}
.auth-form .field input {
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 12px;
}
.auth-form .full-btn {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 10px;
}

/* 调整登录/注册的Tab切换 */
.tabs {
  margin-bottom: 30px;
}
.tabs button {
  padding: 10px 12px;
  font-size: 14.5px;
}

/* 响应式调整 */
@media (max-width: 1000px) {
  .auth-card {
    grid-template-columns: 1fr;
    max-width: 480px;
    min-height: auto;
    border-radius: 24px;
  }
  .auth-hero {
    padding: 40px 32px;
    align-items: center;
    text-align: center;
  }
  .hero-brand {
    justify-content: center;
    margin-bottom: 24px;
  }
  .hero-logo {
    width: 180px; /* 手机端稍微缩小点，避免溢出 */
  }
  .hero-list {
    display: none;
  }
  .auth-form {
    padding: 40px 32px;
  }
  .auth-form h2, .auth-form .sub {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .auth-hero {
    display: none; /* 小屏彻底隐藏左侧区 */
  }
  .auth-form {
    padding: 32px 24px;
  }
}


/* === 聊天框重构 V3 === */
/* 整体输入区容器 */
.composer {
  padding: 20px 24px 32px;
  background: transparent; /* 去掉生硬的边框背景 */
  border-top: none;
  position: relative;
  z-index: 10;
}
.composer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--panel) 40%);
  z-index: -1;
  pointer-events: none;
}

/* 输入框外壳：悬浮胶囊感，加宽，居中 */
.composer-inner {
  max-width: 900px; /* 更加大气宽阔 */
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 10px 10px 10px 20px;
  box-shadow: 0 12px 36px -8px rgba(31, 61, 48, 0.08), 0 2px 8px rgba(31, 61, 48, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.composer-inner:focus-within {
  border-color: var(--brand-line);
  box-shadow: 0 16px 40px -8px rgba(61, 153, 112, 0.15), 0 0 0 3px rgba(61, 153, 112, 0.1);
}

/* 输入框本身：去边框，自适应高度 */
.composer textarea {
  flex: 1;
  min-height: 44px;
  max-height: 200px; /* 限制手机端过高 */
  padding: 10px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: none;
}
.composer textarea:focus {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* 发送按钮：更圆润、立体 */
.composer .btn {
  height: 44px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  margin-bottom: 2px; /* 视觉微调对齐 */
}

/* 居中偏下调整：当没有消息时，聊天区居中，输入框位置抬高 */
.messages {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.messages .empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-20px); /* 视觉略微偏上 */
}

/* 侧边栏底部用户信息强化 */
.app-sidebar .side-foot {
  background: rgba(247, 251, 249, 0.8);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 0;
  border: 1px solid var(--border);
}
.side-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.side-user .user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-strong);
}
.side-user .btn-ghost {
  color: var(--danger);
  background: var(--danger-soft);
  padding: 3px 10px;
  border-radius: 6px;
}
.side-user .btn-ghost:hover {
  background: var(--danger);
  color: #fff;
}

/* 手机端适配 */
@media (max-width: 820px) {
  .composer {
    padding: 12px 14px 20px;
  }
  .composer-inner {
    border-radius: 16px;
    padding: 8px 8px 8px 14px;
  }
  .composer textarea {
    font-size: 16px; /* 防 iOS 缩放 */
  }
  .composer .btn {
    padding: 0 18px;
    height: 42px;
    border-radius: 12px;
  }
}


/* ==========================================
   终极修正版：聊天框居中 & 后台登录页对齐
   ========================================== */

/* --- 1. 新聊天时，输入框浮在正中间偏下 --- */
.composer {
  padding: 16px 24px 32px;
  background: transparent !important;
  border-top: none !important;
}
.composer::before { display: none !important; } /* 干掉之前难看的渐变 */

.composer-inner {
  max-width: 900px !important;
  margin: 0 auto;
  background: #fff !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 20px !important;
  padding: 8px 8px 8px 20px !important;
  box-shadow: 0 10px 40px -10px rgba(31, 61, 48, 0.08) !important;
  transition: border-color .2s, box-shadow .2s, margin-bottom .35s ease !important;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.composer-inner:focus-within {
  border-color: var(--brand) !important;
  box-shadow: var(--ring), 0 10px 40px -10px rgba(31, 61, 48, 0.08) !important;
}

.composer textarea {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 48px !important;
  padding: 10px 0 !important;
  font-size: 15px !important;
}
.composer .btn {
  height: 44px !important;
  padding: 0 24px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  margin-bottom: 2px;
}

/* 空状态：输入框上浮居中 */
#chatView.is-empty .composer {
  margin-bottom: clamp(60px, 15vh, 160px); 
}
#chatView.is-empty .messages {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#chatView.is-empty .empty {
  margin: 0 0 20px 0;
  padding: 0;
}

/* --- 2. 侧边栏底部用户信息卡 --- */
.app-sidebar .side-foot {
  background: var(--panel-soft) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin: 8px 0 0 !important;
  border: 1px solid var(--border) !important;
  display: flex; flex-direction: column; gap: 10px;
}
.side-user {
  display: flex; align-items: center; justify-content: space-between;
}
.side-user .user-name {
  font-weight: 600; color: var(--brand-strong);
}
.side-user .btn-ghost {
  color: var(--danger) !important; background: var(--danger-soft) !important;
  padding: 4px 10px !important; border-radius: 6px !important; font-size: 12px !important;
}
.side-user .btn-ghost:hover {
  background: var(--danger) !important; color: #fff !important;
}
.side-status {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted-2);
}

/* --- 3. 后台登录界面完美对齐用户端 --- */
.admin-login-card {
  max-width: 1060px !important;
  min-height: clamp(580px, 75vh, 760px) !important;
  border-radius: clamp(24px, 3vw, 36px) !important;
  box-shadow: 0 40px 120px -32px rgba(31, 61, 48, 0.15), 0 8px 32px -12px rgba(31, 61, 48, 0.08) !important;
  overflow: hidden;
}
.admin-login-hero {
  padding: 64px 56px !important;
  background: linear-gradient(145deg, #e6f4ec 0%, #f5fbf8 50%, #dcefe5 100%) !important;
  border-radius: 0 !important;
  color: #1b3a2d !important;
}
.admin-login-hero::before {
  background: radial-gradient(circle, rgba(61, 153, 112, 0.12), transparent 70%) !important;
  backdrop-filter: blur(40px) !important;
}
.admin-login-hero .hero-badge {
  background: #fff !important; border-color: var(--brand-line) !important;
  color: var(--brand-strong) !important; margin-bottom: 20px !important;
}
.admin-login-hero h2 {
  font-size: clamp(28px, 2.8vw, 36px) !important; color: #1b3a2d !important;
  letter-spacing: -0.02em !important; margin-bottom: 12px !important;
}
.admin-login-hero p {
  color: #4b6a5c !important; font-size: 15px !important; margin-bottom: 32px !important;
}
.admin-login-hero .hero-list li {
  color: #3f5c4e !important; font-size: 14.5px !important; margin-bottom: 14px !important;
}
.admin-login-hero .hero-list .ico {
  background: #fff !important; border-color: var(--brand-line) !important; color: var(--brand) !important;
}
.admin-login-form {
  padding: 64px 56px !important; background: #fff !important; border-radius: 0 !important;
  justify-content: center !important;
}
.admin-login-form h2 {
  font-size: 26px !important; margin-bottom: 8px !important; text-align: left !important;
}
.admin-login-form .sub {
  font-size: 14.5px !important; margin-bottom: 36px !important; text-align: left !important;
}
.admin-login-form .field input {
  padding: 14px 18px !important; font-size: 15px !important; border-radius: 12px !important;
}
.admin-login-form .full-btn {
  padding: 14px 18px !important; font-size: 16px !important; border-radius: 12px !important; margin-top: 10px !important;
}

@media (max-width: 1000px) {
  .admin-login-card { max-width: 480px !important; min-height: auto !important; border-radius: 24px !important; }
  .admin-login-hero { padding: 40px 32px !important; align-items: center !important; text-align: center !important; }
  .admin-login-hero .hero-list { display: none !important; }
  .admin-login-hero h2 { font-size: 26px !important; }
  .admin-login-form { padding: 40px 32px !important; }
  .admin-login-form h2, .admin-login-form .sub { text-align: center !important; }
}
@media (max-width: 560px) {
  .admin-login-card { border-radius: 20px !important; }
  .admin-login-hero { display: none !important; }
  .admin-login-form { padding: 32px 24px !important; }
}


/* === 侧边栏历史记录按钮优化 === */
.side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px 6px;
  margin-top: 4px;
}
.side-label span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted-2);
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.btn-text:hover,
.btn-text.active {
  background: var(--panel-hover);
  color: var(--brand-strong);
}
.btn-text.active {
  font-weight: 600;
}


/* === Logo 尺寸修正 === */
.side-header {
  padding: 0 4px 16px !important;
  align-items: flex-start !important;
}
.side-brand {
  width: 100%;
}
.side-logo {
  width: 200px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  margin-left: -4px; /* 视觉微调对齐 */
}
.side-header-actions {
  margin-top: 4px;
}


/* === 侧边栏搜索框与 Logo 居中 === */
.side-header {
  padding: 12px 0 20px !important;
  display: flex !important;
  justify-content: center !important; /* Logo 居中 */
  align-items: center !important;
}
.side-brand {
  width: 100%;
  display: flex;
  justify-content: center;
}
.side-logo {
  width: 200px !important;
  height: auto !important;
  max-width: 100%;
  margin-left: 0 !important;
}

/* 搜索框样式 */
.side-search {
  position: relative;
  margin: 12px 0 4px;
  display: flex;
  align-items: center;
}
.side-search .search-icon {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 14px;
  color: #999;
  pointer-events: none;
}
.side-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  color: #333;
  background: #f7f7f7;
  border: 1px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}
.side-search input::placeholder {
  color: #aaa;
}
.side-search input:focus {
  background: #fff;
  border-color: var(--brand-line);
  box-shadow: 0 0 0 3px rgba(61, 153, 112, 0.1);
}

/* 调整最近对话与搜索框的间距 */
.side-label {
  padding-top: 16px !important;
}


/* === 消息宽度与公告关闭按钮修正 === */
/* 1. 加宽消息区域，减少左右两边的大面积留白 */
.messages {
  max-width: 1100px !important; /* 大幅加宽容器 */
  padding: 24px 32px !important;
  margin: 0 auto !important;
}
.msg-row {
  max-width: 100% !important;
}
.bubble {
  max-width: 85% !important; /* 让气泡可以占据更多空间 */
}

/* 2. 顶部公告栏及关闭按钮 */
.notice {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px !important;
  margin: 12px auto 0 !important;
  max-width: 1100px;
  border-radius: var(--r-md);
  position: relative;
  width: calc(100% - 32px);
}
.notice-content {
  flex: 1;
  text-align: center;
}
.notice-close {
  background: transparent;
  border: none;
  color: currentColor;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  padding: 4px 8px;
  border-radius: 4px;
  transition: opacity .15s, background .15s;
}
.notice-close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.06);
}


/* === 底部用户齿轮图标优化 === */
.user-avatar {
  width: 28px;
  height: 28px;
  background: transparent !important; /* 去掉绿色背景 */
  color: #888 !important;           /* 灰色图标 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-avatar svg {
  width: 16px;
  height: 16px;
}


/* === 后台登录 Logo 样式 === */
.admin-hero-logo {
  width: 200px !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  margin-bottom: 32px;
  display: block;
}

/* 确保移除 badge 后左侧文字依然有间距 */
.admin-login-hero h2 {
  margin-top: 0;
}


/* === 无顶栏后台修正 === */
/* 登录界面全屏居中 */
#adminAuth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 登录卡片左侧 Logo 居中 */
.admin-login-hero {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
}
.admin-hero-logo {
  margin: 0 auto 28px !important;
  display: block;
}
.admin-login-hero h2 {
  text-align: center !important;
}
.admin-login-hero p {
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* 后台面板高度适配 */
.admin-shell {
  height: 100vh !important;
  height: 100dvh !important;
}
