/* ============================================================
   LI-Tool · iOS 液态玻璃主题 (liquid-glass.css)
   覆盖范围：登录页 / 注册页 / 后台主布局 / 主页仪表盘
   设计语言：iOS 26 Liquid Glass
     · 半透明玻璃材质 + backdrop-filter 折射模糊
     · 顶部镜面高光(specular) + 渐变玻璃描边
     · 超大圆角 + 柔和彩色投影
     · 流光极光背景 + 缓动漂浮光斑
   仅覆盖视觉层，不改动任何功能逻辑
   ============================================================ */

/* ==================== 0. 全局基调 ==================== */
body {
  background: linear-gradient(165deg, #edf1fb 0%, #f4f0fb 48%, #faf1f6 100%) fixed !important;
}

::selection {
  background: rgba(10, 132, 255, 0.18) !important;
}

/* ==================== 1. 登录 / 注册：极光背景 ==================== */
.login-container,
.register-container {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(900px 640px at 12% 8%, rgba(168, 196, 255, 0.60), transparent 62%),
    radial-gradient(820px 620px at 88% 16%, rgba(219, 184, 255, 0.55), transparent 58%),
    radial-gradient(780px 740px at 82% 90%, rgba(255, 199, 228, 0.55), transparent 58%),
    radial-gradient(700px 620px at 14% 86%, rgba(173, 232, 255, 0.50), transparent 58%),
    linear-gradient(165deg, #edf1fb 0%, #f5f1fb 48%, #fbf1f6 100%) !important;
}

/* 流体光斑 1（左上·蓝紫） */
.login-container::before,
.register-container::before {
  content: '' !important;
  position: absolute !important;
  top: -180px !important;
  left: -140px !important;
  width: 620px !important;
  height: 620px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(124, 152, 255, 0.42) 0%, rgba(124, 152, 255, 0) 68%) !important;
  filter: blur(46px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: lgFloatA 17s ease-in-out infinite !important;
}

/* 流体光斑 2（右下·粉） */
.login-container::after,
.register-container::after {
  content: '' !important;
  position: absolute !important;
  bottom: -200px !important;
  right: -160px !important;
  width: 660px !important;
  height: 660px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 156, 210, 0.36) 0%, rgba(255, 156, 210, 0) 68%) !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: lgFloatB 21s ease-in-out infinite !important;
}

/* 内容层级 */
.login-wrapper,
.register-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* ==================== 2. 玻璃卡片本体 ==================== */
.login-card,
.register-card {
  position: relative !important;
  padding: 46px 42px 38px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.38) 55%, rgba(255, 255, 255, 0.5) 100%) !important;
  backdrop-filter: blur(34px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(34px) saturate(190%) !important;
  box-shadow:
    0 36px 90px -28px rgba(94, 108, 158, 0.45),
    0 12px 32px -12px rgba(94, 108, 158, 0.22),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22) !important;
  animation: lgCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.login-card:hover,
.register-card:hover {
  transform: translateY(-5px) !important;
  box-shadow:
    0 44px 100px -28px rgba(94, 108, 158, 0.5),
    0 16px 40px -14px rgba(94, 108, 158, 0.26),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* 渐变玻璃描边(液态玻璃边缘反光) */
.login-card::before,
.register-card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  padding: 1.2px !important;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.06) 68%,
    rgba(255, 255, 255, 0.8) 100%) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* 顶部镜面弧光 */
.login-card::after,
.register-card::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 12% !important;
  right: 12% !important;
  height: 76px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border-radius: 0 0 50% 50% !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* ==================== 3. 品牌徽章(悬浮玻璃方块) ==================== */
.login-header::before,
.register-header::before {
  content: '' !important;
  display: block !important;
  width: 92px !important;
  height: 92px !important;
  margin: 0 auto 22px !important;
  border-radius: 26px !important;
  background:
    url('/logo.png') center / 56% no-repeat,
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 255, 0.78)) !important;
  box-shadow:
    0 20px 44px -14px rgba(94, 108, 158, 0.45),
    0 4px 12px -4px rgba(94, 108, 158, 0.2),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 8px rgba(94, 108, 158, 0.1) !important;
  animation: lgBadgeFloat 5.5s ease-in-out infinite !important;
}

.login-header,
.register-header {
  margin-bottom: 28px !important;
}

/* ==================== 4. 标题 ==================== */
.login-title,
.register-title {
  background: linear-gradient(118deg, #16307e 0%, #4a5fe0 38%, #8a3ff0 72%, #d63fae 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  font-size: 27px !important;
  letter-spacing: 0.6px !important;
  margin: 0 0 10px !important;
}

.login-subtitle,
.register-subtitle {
  color: #6b7694 !important;
  font-size: 14px !important;
  letter-spacing: 0.3px !important;
}

/* ==================== 5. 表单玻璃输入框 ==================== */
.login-form .t-form__item,
.register-form .t-form__item {
  margin-bottom: 20px !important;
}

.login-form .t-form__label,
.register-form .t-form__label {
  color: #3d4a66 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.login-form .t-input,
.register-form .t-input {
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 15px !important;
  box-shadow:
    inset 0 1px 2px rgba(94, 108, 158, 0.08),
    0 3px 10px -4px rgba(94, 108, 158, 0.12) !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.login-form .t-input:hover,
.register-form .t-input:hover {
  border-color: rgba(10, 132, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.login-form .t-input:focus-within,
.login-form .t-input--focused,
.login-form .t-is-focused,
.register-form .t-input:focus-within,
.register-form .t-input--focused,
.register-form .t-is-focused {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(10, 132, 255, 0.65) !important;
  box-shadow:
    0 0 0 4px rgba(10, 132, 255, 0.14),
    inset 0 1px 2px rgba(94, 108, 158, 0.05) !important;
}

.login-form .t-input .t-input__inner,
.register-form .t-input .t-input__inner {
  color: #25304d !important;
  font-weight: 500 !important;
}

.login-form .t-input .t-input__inner::placeholder,
.register-form .t-input .t-input__inner::placeholder {
  color: #9aa4bd !important;
}

.login-form .t-input .t-icon,
.register-form .t-input .t-icon {
  color: #7a86a6 !important;
}

/* ==================== 6. 玻璃主按钮(iOS 蓝胶囊) ==================== */
.login-form .t-button,
.register-form .t-button {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  height: 44px !important;
}

.login-form .t-button--theme-primary,
.register-form .t-button--theme-primary {
  border: none !important;
  background: linear-gradient(180deg, #41b3ff 0%, #0a84ff 52%, #0568d8 100%) !important;
  box-shadow:
    0 16px 34px -10px rgba(10, 132, 255, 0.55),
    0 4px 10px -4px rgba(10, 132, 255, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 8px rgba(0, 70, 180, 0.3) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, filter 0.3s !important;
}

.login-form .t-button--theme-primary:hover,
.register-form .t-button--theme-primary:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.05) !important;
  box-shadow:
    0 22px 44px -12px rgba(10, 132, 255, 0.62),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 8px rgba(0, 70, 180, 0.3) !important;
}

.login-form .t-button--theme-primary:active,
.register-form .t-button--theme-primary:active {
  transform: translateY(0) scale(0.98) !important;
}

/* ==================== 7. 底部切换链接 ==================== */
.login-footer,
.register-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.55) !important;
  padding-top: 22px !important;
  margin-top: 26px !important;
}

.login-footer .footer-text,
.register-footer .footer-text {
  color: #6b7694 !important;
}

/* ============================================================
   8. 后台主布局：透出极光的液态玻璃
   ============================================================ */
.main-layout {
  position: relative !important;
  background:
    radial-gradient(900px 620px at 10% 8%, rgba(168, 196, 255, 0.52), transparent 60%),
    radial-gradient(820px 600px at 90% 14%, rgba(219, 184, 255, 0.46), transparent 58%),
    radial-gradient(900px 700px at 84% 92%, rgba(255, 199, 228, 0.46), transparent 58%),
    radial-gradient(720px 620px at 8% 90%, rgba(173, 232, 255, 0.4), transparent 58%),
    linear-gradient(165deg, #edf1fb 0%, #f5f1fb 48%, #fbf1f6 100%) !important;
}

/* 主布局流体光斑 */
.main-layout::before {
  content: '' !important;
  position: absolute !important;
  top: -220px !important;
  left: -160px !important;
  width: 680px !important;
  height: 680px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(128, 156, 255, 0.34) 0%, transparent 68%) !important;
  filter: blur(52px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: lgFloatA 19s ease-in-out infinite !important;
}

.main-layout::after {
  content: '' !important;
  position: absolute !important;
  bottom: -240px !important;
  right: -180px !important;
  width: 720px !important;
  height: 720px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 168, 216, 0.30) 0%, transparent 68%) !important;
  filter: blur(56px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: lgFloatB 23s ease-in-out infinite !important;
}

/* 布局子元素层级 */
.main-layout > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ==================== 8.5 布局防滚动(右侧空缺根因修复) ====================
   标签页激活时 JS 调用 scrollIntoView(inline:"center")，
   会连带滚动 overflow:hidden 的布局容器(.main-layout)，
   导致整个页面左移、右侧出现空缺。
   overflow: clip 使容器成为"不可滚动"盒，浏览器滚动链会跳过它。 */
.main-layout,
.main-layout > .t-layout {
  overflow: hidden !important; /* 旧浏览器回退 */
  overflow: clip !important;   /* 现代浏览器：禁止程序化滚动 */
}

/* ==================== 9. 侧边栏：液态玻璃面板 ==================== */
.custom-aside {
  z-index: 10 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.4) 100%) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 12px 0 44px -22px rgba(94, 108, 158, 0.35) !important;
}

.logo {
  height: 64px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 10px !important;
}

.logo-text {
  color: #25304d !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
}

.logo-img {
  border-radius: 10px !important;
  box-shadow:
    0 6px 16px -4px rgba(94, 108, 158, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* 菜单容器透明 */
.custom-aside .custom-menu,
.custom-aside .t-menu {
  background: transparent !important;
}

/* 菜单项：玻璃胶囊 */
.custom-aside .custom-menu .t-menu__item,
.custom-aside .custom-menu .t-submenu__title {
  margin: 3px 10px !important;
  border-radius: 12px !important;
  height: 42px !important;
  line-height: 42px !important;
  color: #4a5674 !important;
  font-weight: 500 !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.custom-aside .custom-menu .t-menu__item .t-icon,
.custom-aside .custom-menu .t-submenu__title .t-icon {
  color: #7a86a6 !important;
  transition: color 0.22s !important;
}

.custom-aside .custom-menu .t-icon-chevron-down,
.custom-aside .custom-menu .t-icon-chevron-up {
  color: #8a94b0 !important;
}

/* 悬浮：白色玻璃 + 蓝字 */
.custom-aside .custom-menu .t-menu__item:hover,
.custom-aside .custom-menu .t-submenu__title:hover {
  background: rgba(255, 255, 255, 0.68) !important;
  color: #0a6ee0 !important;
  box-shadow:
    0 6px 18px -8px rgba(94, 108, 158, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.custom-aside .custom-menu .t-menu__item:hover .t-icon,
.custom-aside .custom-menu .t-submenu__title:hover .t-icon {
  color: #0a6ee0 !important;
}

/* 选中项：iOS 蓝渐变胶囊 */
.custom-aside .custom-menu .t-menu__item.t-is-active {
  background: linear-gradient(180deg, #3fb2ff 0%, #0a84ff 60%, #0469dc 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow:
    0 10px 24px -8px rgba(10, 132, 255, 0.6),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(0, 70, 180, 0.25) !important;
}

.custom-aside .custom-menu .t-menu__item.t-is-active .t-icon {
  color: #ffffff !important;
}

/* 分组标题态 */
.custom-aside .custom-menu .t-submenu.t-is-opened > .t-menu__item,
.custom-aside .custom-menu .t-submenu.t-is-expanded > .t-menu__item {
  color: #25304d !important;
  background: transparent !important;
}

.custom-aside .custom-menu .t-submenu.t-is-opened > .t-menu__item .t-icon,
.custom-aside .custom-menu .t-submenu.t-is-expanded > .t-menu__item .t-icon {
  color: #0a6ee0 !important;
}

/* 子菜单项 */
.custom-aside .custom-menu .t-menu__sub .t-submenu__item {
  color: #5a6684 !important;
  font-size: 13px !important;
}

.custom-aside .custom-menu .t-menu__sub .t-submenu__item:hover {
  color: #0a6ee0 !important;
  background: rgba(255, 255, 255, 0.55) !important;
}

.custom-aside .custom-menu .t-menu__sub .t-submenu__item.t-is-active {
  background: rgba(10, 132, 255, 0.12) !important;
  color: #0a6ee0 !important;
  font-weight: 600 !important;
}

/* 分组箭头 */
.custom-aside .custom-menu .t-fake-arrow path {
  stroke: #8a94b0 !important;
}

.custom-aside .custom-menu .t-submenu.t-is-opened > .t-menu__item .t-fake-arrow path,
.custom-aside .custom-menu .t-submenu.t-is-expanded > .t-menu__item .t-fake-arrow path {
  stroke: #0a6ee0 !important;
}

/* ==================== 10. 顶栏：悬浮玻璃条 ==================== */
.header {
  z-index: 9 !important;
  background: rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(24px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(175%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 30px -18px rgba(94, 108, 158, 0.35) !important;
}

.header .trigger {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  color: #5a6684 !important;
  background: rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 12px -6px rgba(94, 108, 158, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.header .trigger:hover {
  color: #0a6ee0 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  transform: scale(1.08) !important;
}

.header .user-info {
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 14px -8px rgba(94, 108, 158, 0.3) !important;
  transition: all 0.25s !important;
}

.header .user-info:hover {
  background: rgba(255, 255, 255, 0.82) !important;
}

.header .username {
  color: #25304d !important;
  font-weight: 600 !important;
}

.header .t-breadcrumb__item-inner {
  color: #4a5674 !important;
  font-weight: 500 !important;
}

/* ==================== 11. 标签栏：玻璃胶囊 ==================== */
.tabs-bar {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.tab-item {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: #5a6684 !important;
  margin-bottom: 0 !important;
  margin-top: 4px !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.tab-item:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  color: #0a6ee0 !important;
}

.tab-item.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.92)) !important;
  color: #0a6ee0 !important;
  font-weight: 600 !important;
  border-color: rgba(10, 132, 255, 0.35) !important;
  box-shadow:
    0 6px 18px -8px rgba(10, 132, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.tab-item .tab-close {
  border-radius: 50% !important;
}

/* ==================== 12. 内容区：透出极光 ==================== */
.content {
  background: transparent !important;
  padding: 18px !important;
}

.content-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  min-height: calc(100vh - 118px) !important;
}

/* ==================== 13. 仪表盘：液态玻璃卡片 ==================== */
.dashboard {
  gap: 18px !important;
}

/* 欢迎英雄卡：液态玻璃(与整体后台风格统一) */
.welcome-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 26px !important;
  padding: 30px 28px 26px !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.36) 100%) !important;
  backdrop-filter: blur(26px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(175%) !important;
  box-shadow:
    0 22px 54px -24px rgba(94, 108, 158, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85) !important;
  color: #25304d !important;
}

/* 玻璃卡上的柔和彩光 */
.welcome-card::before {
  content: '' !important;
  position: absolute !important;
  top: -90px !important;
  right: -60px !important;
  width: 300px !important;
  height: 300px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(124, 152, 255, 0.22) 0%, transparent 65%) !important;
  pointer-events: none !important;
}

.welcome-card::after {
  content: '' !important;
  position: absolute !important;
  bottom: -110px !important;
  left: -70px !important;
  width: 340px !important;
  height: 340px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 168, 216, 0.18) 0%, transparent 65%) !important;
  pointer-events: none !important;
}

.welcome-header {
  position: relative !important;
  z-index: 1 !important;
}

.welcome-header h2 {
  color: #1c2a4a !important;
  text-shadow: none !important;
}

.welcome-header h2::before {
  content: '\1F44B' !important;
  font-size: 26px !important;
  margin-right: 10px !important;
}

.welcome-header p {
  color: #6b7694 !important;
}

/* 英雄卡内信息卡：白色磨砂玻璃 */
.user-info-grid {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 22px !important;
  gap: 12px !important;
}

.user-info-grid .info-card {
  background: rgba(255, 255, 255, 0.52) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px -12px rgba(94, 108, 158, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.user-info-grid .info-card:hover {
  transform: translateY(-3px) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.user-info-grid .info-card .info-content h3 {
  color: #25304d !important;
}

.user-info-grid .info-card .info-content p {
  color: #5a6684 !important;
}

/* 信息卡图标：iOS 彩色玻璃方块 */
.user-info-grid .info-card:nth-child(4n+1) .info-icon,
.user-info-grid .info-card:nth-child(4n+1) .info-icon.t-icon {
  background: rgba(10, 132, 255, 0.13) !important;
  color: #0a84ff !important;
}

.user-info-grid .info-card:nth-child(4n+2) .info-icon,
.user-info-grid .info-card:nth-child(4n+2) .info-icon.t-icon {
  background: rgba(142, 84, 255, 0.13) !important;
  color: #8e54ff !important;
}

.user-info-grid .info-card:nth-child(4n+3) .info-icon,
.user-info-grid .info-card:nth-child(4n+3) .info-icon.t-icon {
  background: rgba(255, 93, 168, 0.13) !important;
  color: #ff5da8 !important;
}

.user-info-grid .info-card:nth-child(4n+4) .info-icon,
.user-info-grid .info-card:nth-child(4n+4) .info-icon.t-icon {
  background: rgba(255, 149, 0, 0.13) !important;
  color: #ff9500 !important;
}

.user-info-grid .info-card .info-icon,
.user-info-grid .info-card .info-icon.t-icon {
  border-radius: 12px !important;
  width: 42px !important;
  height: 42px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

/* 统计/快捷面板：液态玻璃 */
.stats-panel,
.quick-access-panel {
  position: relative !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.34)) !important;
  backdrop-filter: blur(26px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(175%) !important;
  box-shadow:
    0 20px 50px -22px rgba(94, 108, 158, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85) !important;
  padding: 24px !important;
}

/* 面板内小卡片：玻璃 */
.stat-card-white,
.quick-access-card {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 16px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px -12px rgba(94, 108, 158, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.stat-card-white:hover,
.quick-access-card:hover {
  transform: translateY(-3px) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow:
    0 16px 36px -14px rgba(94, 108, 158, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* iOS 彩色玻璃图标 */
.stat-icon-white,
.quick-access-icon {
  border-radius: 12px !important;
  width: 42px !important;
  height: 42px !important;
}

.stats-grid .stat-card-white:nth-child(4n+1) .stat-icon-white,
.quick-access-grid .quick-access-card:nth-child(4n+1) .quick-access-icon { background: rgba(10, 132, 255, 0.13) !important; color: #0a84ff !important; }
.stats-grid .stat-card-white:nth-child(4n+2) .stat-icon-white,
.quick-access-grid .quick-access-card:nth-child(4n+2) .quick-access-icon { background: rgba(142, 84, 255, 0.13) !important; color: #8e54ff !important; }
.stats-grid .stat-card-white:nth-child(4n+3) .stat-icon-white,
.quick-access-grid .quick-access-card:nth-child(4n+3) .quick-access-icon { background: rgba(255, 93, 168, 0.13) !important; color: #ff5da8 !important; }
.stats-grid .stat-card-white:nth-child(4n+4) .stat-icon-white,
.quick-access-grid .quick-access-card:nth-child(4n+4) .quick-access-icon { background: rgba(255, 149, 0, 0.13) !important; color: #ff9500 !important; }

/* ==================== 14. 全局玻璃浮层(下拉/弹窗) ==================== */
.t-popup__content {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 16px !important;
  box-shadow:
    0 24px 60px -20px rgba(94, 108, 158, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.t-dialog {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    0 36px 90px -26px rgba(94, 108, 158, 0.5),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9) !important;
}

/* ==================== 15. 全局按钮：透明玻璃质感 ==================== */
/* 实心主按钮：iOS 蓝玻璃 */
.t-button--theme-primary.t-button--variant-base {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: linear-gradient(180deg, rgba(73, 180, 255, 0.88) 0%, rgba(10, 132, 255, 0.82) 100%) !important;
  backdrop-filter: blur(12px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(165%) !important;
  box-shadow:
    0 10px 24px -10px rgba(10, 132, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(0, 70, 180, 0.22) !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s, filter 0.25s !important;
}

.t-button--theme-primary.t-button--variant-base:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.06) !important;
  box-shadow:
    0 14px 30px -10px rgba(10, 132, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 70, 180, 0.22) !important;
}

.t-button--theme-primary.t-button--variant-base:active {
  transform: translateY(0) scale(0.98) !important;
}

/* 实心默认按钮：白玻璃 */
.t-button--theme-default.t-button--variant-base {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  color: #3a4a68 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 6px 16px -10px rgba(94, 108, 158, 0.38) !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s, box-shadow 0.25s !important;
}

.t-button--theme-default.t-button--variant-base:hover {
  background: rgba(255, 255, 255, 0.78) !important;
  color: #0a6ee0 !important;
  transform: translateY(-1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 22px -10px rgba(94, 108, 158, 0.42) !important;
}

.t-button--theme-default.t-button--variant-base:active {
  transform: translateY(0) scale(0.98) !important;
}

/* 实心危险按钮：红玻璃 */
.t-button--theme-danger.t-button--variant-base {
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background: linear-gradient(180deg, rgba(255, 109, 109, 0.88) 0%, rgba(224, 42, 42, 0.82) 100%) !important;
  backdrop-filter: blur(12px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(165%) !important;
  box-shadow:
    0 10px 24px -10px rgba(224, 42, 42, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* 轮播/分页等小按钮圆角统一 */
.t-button {
  border-radius: 12px !important;
}

.t-button--shape-circle,
.t-button--shape-round {
  border-radius: 999px !important;
}

/* ==================== 16. 滚动条 ==================== */
.content::-webkit-scrollbar,
.custom-aside::-webkit-scrollbar {
  width: 6px;
}

.content::-webkit-scrollbar-thumb,
.custom-aside::-webkit-scrollbar-thumb {
  background: rgba(94, 108, 158, 0.22) !important;
  border-radius: 3px;
}

.content::-webkit-scrollbar-thumb:hover,
.custom-aside::-webkit-scrollbar-thumb:hover {
  background: rgba(94, 108, 158, 0.35) !important;
}

/* ==================== 16. 动画定义 ==================== */
@keyframes lgFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, 46px) scale(1.14); }
  66% { transform: translate(-36px, 66px) scale(0.94); }
}

@keyframes lgFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-64px, -42px) scale(1.12); }
  66% { transform: translate(44px, -60px) scale(0.92); }
}

@keyframes lgCardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lgBadgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.2deg); }
}

/* ==================== 17. 响应式 ==================== */
@media (max-width: 480px) {
  .login-card,
  .register-card {
    padding: 34px 24px 30px !important;
    border-radius: 24px !important;
  }

  .login-header::before,
  .register-header::before {
    width: 76px !important;
    height: 76px !important;
    border-radius: 21px !important;
    margin-bottom: 18px !important;
  }

  .login-title,
  .register-title {
    font-size: 23px !important;
  }
}

/* ==================== 17. 手机端：侧边栏完整常驻 + 防溢出 ==================== */
@media (max-width: 768px) {
  /* ---- 全局：填满屏幕，杜绝右侧空缺/横向滚动 ---- */
  html,
  body,
  #app {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .main-layout,
  .main-layout > .t-layout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* ---- 侧边栏：完整常驻显示(文字不截断) ---- */
  .custom-aside {
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
    flex: 0 0 158px !important;
    position: relative !important;
    transform: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 8px 0 30px -20px rgba(94, 108, 158, 0.4) !important;
  }

  /* Logo 区紧凑 */
  .logo {
    height: 52px !important;
    padding: 0 10px !important;
    margin-bottom: 6px !important;
  }

  .logo-text {
    font-size: 15px !important;
    letter-spacing: 0.4px !important;
  }

  .logo-img {
    width: 26px !important;
    height: 26px !important;
  }

  /* 菜单项：紧凑但文字完整 */
  .custom-aside .custom-menu .t-menu__item,
  .custom-aside .custom-menu .t-submenu__title {
    margin: 2px 7px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    padding: 0 9px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }

  /* 子菜单项文字完整 */
  .custom-aside .custom-menu .t-menu__sub .t-submenu__item {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    padding: 0 9px !important;
  }

  /* ---- 顶栏/标签栏紧凑化 ---- */
  .header {
    height: 44px !important;
    padding: 0 10px !important;
  }

  .header .username {
    display: none !important;
  }

  .tabs-bar {
    min-height: 36px !important;
    padding: 0 6px !important;
  }

  .tab-item {
    padding: 4px 10px !important;
  }

  /* ---- 内容区：占满侧边栏右侧全部空间 ---- */
  .content {
    padding: 10px !important;
    min-width: 0 !important;
  }

  .content-wrapper {
    min-width: 0 !important;
    overflow-x: auto !important;
  }

  /* ---- 欢迎卡：手机端单列信息卡 ---- */
  .welcome-card {
    padding: 20px 16px 18px !important;
    border-radius: 20px !important;
  }

  .welcome-header h2 {
    font-size: 19px !important;
  }

  .welcome-header h2::before {
    font-size: 20px !important;
  }

  .user-info-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .user-info-grid .info-card {
    padding: 13px !important;
    border-radius: 14px !important;
  }

  .user-info-grid .info-card .info-icon,
  .user-info-grid .info-card .info-icon.t-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
  }

  /* 权限标签：紧凑换行 */
  .permissions-tags-inline {
    gap: 5px !important;
  }

  .permission-tag-inline {
    padding: 1px 7px !important;
    font-size: 11px !important;
  }

  /* ---- 统计/快捷面板：单列横排卡 ---- */
  .stats-panel,
  .quick-access-panel {
    padding: 15px 13px !important;
    border-radius: 20px !important;
  }

  .section-title {
    font-size: 15px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .stat-card-white {
    padding: 10px 12px !important;
    border-radius: 13px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .stat-icon-white {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .stat-content p {
    font-size: 17px !important;
  }

  .stat-content h4 {
    font-size: 12px !important;
  }

  .quick-access-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .quick-access-card {
    padding: 10px 12px !important;
    border-radius: 13px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .quick-access-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .quick-access-title {
    font-size: 13px !important;
  }

  .quick-access-desc {
    font-size: 11px !important;
  }
}

/* ==================== 18. 无动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .login-container::before,
  .login-container::after,
  .register-container::before,
  .register-container::after,
  .main-layout::before,
  .main-layout::after,
  .login-header::before,
  .register-header::before,
  .login-card,
  .register-card {
    animation: none !important;
  }
}
