/* KK 登录页外观。表单、记住密码、两步验证仍走原来的组件。 */
.login-split {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100svh;
  height: 100svh;
  align-items: stretch !important;
  justify-items: stretch !important;
  display: grid !important;
  grid-template-columns: 64% 36%;
  background-color: #030918;
  background-image: url(/kk-eagle-bg.jpg?v=2);
  background-size: cover;
  background-position: center;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.min-h-screen:has(.login-split) {
  background: #030918 !important;
}
.login-split > div:first-child {
  background: none !important;
  min-height: 100svh;
}
.login-split > div:first-child > * {
  display: none !important;
}
.login-split > div:last-child {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(90deg, transparent, rgba(3, 9, 24, .25) 20%) !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px 64px !important;
}
.login-split.kk-login-main .sm\:w-\[380px\] {
  width: 100% !important;
  max-width: 360px !important;
}
.login-split input {
  height: 50px !important;
  border: 1px solid #26364f !important;
  border-radius: 9px !important;
  background: rgba(15, 26, 45, .85) !important;
  color: #fff !important;
  padding: 0 15px !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
.login-split input:focus {
  border-color: #38a8ff !important;
  box-shadow: 0 0 0 3px #2398ff20 !important;
  outline: none !important;
}
.login-split input::placeholder {
  color: #62718a;
}
.login-split label {
  color: #c4d0e3 !important;
  font-size: 13px !important;
}
.login-split button[type="submit"] {
  height: 50px !important;
  border: 1px solid #52bfff !important;
  border-radius: 9px !important;
  background: linear-gradient(105deg, #167be5, #1aabe8) !important;
  color: #fff !important;
  letter-spacing: 4px;
  font-weight: 600;
  box-shadow: 0 7px 26px #0789e32a !important;
}
.login-split button[type="submit"]:hover {
  filter: brightness(1.12);
}
.login-split input[type="checkbox"] {
  accent-color: #2aabff;
  width: 15px;
  height: 15px;
}

.login-split.kk-login-main .text-center {
  text-align: left !important;
}
.login-split.kk-login-main h1 {
  font-size: 30px !important;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 10px;
}
.login-split.kk-login-main h1::before {
  content: "LB TECHNOLOGY";
  display: block;
  color: #59bfff;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 15px;
}
.login-split.kk-login-main h1 + p {
  color: #8595af !important;
  font-size: 14px !important;
  margin: 0 0 38px !important;
}
.login-split.kk-login-main form {
  display: flex;
  flex-direction: column;
}
.login-split.kk-login-main form > div:nth-child(2) {
  position: relative;
}
.login-split.kk-login-main form > div:nth-child(2) button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: #91a6c4;
  font-size: 12px;
  z-index: 2;
}
.login-split.kk-login-main form > div:nth-child(2) button svg {
  display: none;
}
.login-split.kk-login-main form > div:has(input.input-masked) button::after {
  content: "显示";
}
.login-split.kk-login-main form > div:not(:has(input.input-masked)) button::after {
  content: "隐藏";
}
.login-split.kk-login-main form > div:nth-child(2) input {
  padding-right: 65px !important;
}
.login-split.kk-login-main button[type="submit"] svg {
  display: none;
}
.login-split.kk-login-main form::after {
  content: "P1远控 · 管理平台";
  display: block;
  font-size: 12px;
  color: #667a97;
  text-align: center;
  margin-top: 25px;
  line-height: 1.8;
}
.login-split.kk-login-main > div:last-child::after {
  content: "P1远控";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  font-size: 11px;
  color: #536681;
  letter-spacing: 1px;
  pointer-events: none;
}

@media (min-aspect-ratio: 2/1) {
  .login-split {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
  }
}
@media (max-width: 1023px) {
  .login-split {
    display: flex !important;
    flex-direction: column;
    background-image: none !important;
  }
  .login-split > div:first-child {
    display: block !important;
    height: 42svh;
    min-height: 0 !important;
    flex: none;
    background-color: #030918 !important;
    background-image: url(/kk-eagle-bg.jpg?v=2) !important;
    background-size: auto 100% !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
  }
  .login-split > div:last-child {
    background: #030918 !important;
    flex: 1;
    padding: 26px 28px 28px !important;
  }
  .login-split.kk-login-main > div:last-child::after {
    position: static;
    display: block;
    padding: 8px 0 0;
  }
  .login-split.kk-login-main h1 {
    font-size: 26px !important;
  }
}

/* 登录后的页面：底色和主色靠向同一套深蓝，危险和状态红保留。 */
html:not(:has(.login-split)) {
  --background: #07111e;
  --foreground: #eef5ff;
  --card: #0f1a2d;
  --card-foreground: #eef5ff;
  --popover: #122033;
  --popover-foreground: #eef5ff;
  --primary: #1a9ae6;
  --primary-foreground: #ffffff;
  --secondary: #15263c;
  --secondary-foreground: #eef5ff;
  --muted: #122033;
  --muted-foreground: #8ea0b8;
  --accent: #16304c;
  --accent-foreground: #eef5ff;
  --border: #26364f;
  --input: #26364f;
  --ring: #38a8ff;
  --sidebar: #050d1a;
  --sidebar-foreground: #eef5ff;
  --sidebar-primary: #1a9ae6;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #12263d;
  --sidebar-accent-foreground: #eef5ff;
  --sidebar-border: #1c3048;
  --sidebar-ring: #38a8ff;
  --sidebar-background: 216 68% 6%;
  --chart-1: #38a8ff;
  --chart-2: #1aabe8;
}
html:not(:has(.login-split)) body {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #07111e;
}
html:not(:has(.login-split)) .bg-\[\#0d1117\],
html:not(:has(.login-split)) .bg-\[\#0d1117\]\/80,
html:not(:has(.login-split)) .bg-\[\#0d1117\]\/50 {
  background-color: #07111e !important;
}
html:not(:has(.login-split)) .bg-\[\#161b22\] {
  background-color: #0f1a2d !important;
}
html:not(:has(.login-split)) .bg-\[\#1c2128\],
html:not(:has(.login-split)) .bg-\[\#21262d\] {
  background-color: #122033 !important;
}
html:not(:has(.login-split)) .border-\[\#30363d\],
html:not(:has(.login-split)) .\!border-\[\#30363d\] {
  border-color: #26364f !important;
}
html:not(:has(.login-split)) .border-\[\#21262d\],
html:not(:has(.login-split)) .divide-\[\#21262d\] > :not(:last-child) {
  border-color: #1c3048 !important;
}
button img[src*="kk-logo.png"] {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  border-radius: 4px;
}
button img[src*="kk-logo.png"] + span {
  overflow: visible !important;
  text-overflow: clip !important;
}
html:not(:has(.login-split)) .peer\/menu-button[data-active="true"] {
  color: #7ecbff !important;
  background-color: rgba(26, 154, 230, .14) !important;
  border-color: rgba(56, 168, 255, .4) !important;
}
html:not(:has(.login-split)) .from-red-500 { --tw-gradient-from: #59bfff !important; }
html:not(:has(.login-split)) .to-orange-500 { --tw-gradient-to: #167be5 !important; }
html:not(:has(.login-split)) .from-red-400 { --tw-gradient-from: #8fd4ff !important; }
html:not(:has(.login-split)) .to-orange-400 { --tw-gradient-to: #1aabe8 !important; }
html:not(:has(.login-split)) .focus\:border-red-500:focus {
  border-color: #38a8ff !important;
}
html:not(:has(.login-split)) ::-webkit-scrollbar-track { background: #07111e; }
html:not(:has(.login-split)) ::-webkit-scrollbar-thumb { background: #26364f; }
html:not(:has(.login-split)) ::-webkit-scrollbar-thumb:hover { background: #3a5270; }

/* ===== 黑白主题切换（与其它站一致；默认外观仍为现有深蓝） ===== */

html[data-kk-theme="white"] {
  --background: #f4f7fb;
  --foreground: #1a2332;
  --card: #ffffff;
  --card-foreground: #1a2332;
  --popover: #ffffff;
  --popover-foreground: #1a2332;
  --primary: #1677d2;
  --primary-foreground: #ffffff;
  --secondary: #eef2f7;
  --secondary-foreground: #1a2332;
  --muted: #eef2f7;
  --muted-foreground: #5c6b80;
  --accent: #e7eef8;
  --accent-foreground: #1a2332;
  --border: #d5deea;
  --input: #d5deea;
  --ring: #1677d2;
  --sidebar: #ffffff;
  --sidebar-foreground: #1a2332;
  --sidebar-primary: #1677d2;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #e7eef8;
  --sidebar-accent-foreground: #1a2332;
  --sidebar-border: #e1e7f0;
  --sidebar-ring: #1677d2;
  --sidebar-background: 216 33% 98%;
  color-scheme: light;
}
html[data-kk-theme="white"] body { background: #f4f7fb; color: #1a2332; }
html[data-kk-theme="white"] .bg-\[\#0d1117\],
html[data-kk-theme="white"] .bg-\[\#0d1117\]\/80,
html[data-kk-theme="white"] .bg-\[\#0d1117\]\/50,
html[data-kk-theme="white"] .hover\:bg-\[\#0d1117\]:hover,
html[data-kk-theme="white"] .focus\:bg-\[\#0d1117\]:focus { background-color: #f4f7fb !important; }
html[data-kk-theme="white"] .bg-\[\#161b22\],
html[data-kk-theme="white"] .hover\:bg-\[\#161b22\]:hover { background-color: #ffffff !important; }
html[data-kk-theme="white"] .bg-\[\#1c2128\],
html[data-kk-theme="white"] .bg-\[\#21262d\],
html[data-kk-theme="white"] .bg-\[\#21262d\]\/50,
html[data-kk-theme="white"] .bg-\[\#262c36\],
html[data-kk-theme="white"] .bg-\[\#2d333b\],
html[data-kk-theme="white"] .bg-\[\#1c2333\],
html[data-kk-theme="white"] .hover\:bg-\[\#1c2128\]:hover,
html[data-kk-theme="white"] .hover\:bg-\[\#21262d\]:hover,
html[data-kk-theme="white"] .hover\:bg-\[\#1c2333\]:hover,
html[data-kk-theme="white"] .focus\:bg-\[\#1c2128\]:focus { background-color: #eef2f7 !important; }
html[data-kk-theme="white"] .bg-\[\#30363d\],
html[data-kk-theme="white"] .bg-\[\#30363d\]\/50,
html[data-kk-theme="white"] .hover\:bg-\[\#30363d\]:hover { background-color: #e4ebf3 !important; }
html[data-kk-theme="white"] .border-\[\#30363d\],
html[data-kk-theme="white"] .\!border-\[\#30363d\],
html[data-kk-theme="white"] .border-\[\#30363d\]\/50,
html[data-kk-theme="white"] .border-\[\#30363d\]\/30,
html[data-kk-theme="white"] .border-\[\#21262d\],
html[data-kk-theme="white"] .border-\[\#484f58\],
html[data-kk-theme="white"] .border-\[\#3a4250\],
html[data-kk-theme="white"] .hover\:border-\[\#30363d\]:hover,
html[data-kk-theme="white"] .hover\:border-\[\#484f58\]:hover,
html[data-kk-theme="white"] .divide-\[\#21262d\] > :not(:last-child) { border-color: #d5deea !important; }
html[data-kk-theme="white"] .text-\[\#e6edf3\],
html[data-kk-theme="white"] .hover\:text-\[\#e6edf3\]:hover { color: #1a2332 !important; }
html[data-kk-theme="white"] .text-\[\#c9d1d9\],
html[data-kk-theme="white"] .hover\:text-\[\#c9d1d9\]:hover { color: #243044 !important; }
html[data-kk-theme="white"] .text-\[\#8b949e\],
html[data-kk-theme="white"] .text-\[\#6e7681\],
html[data-kk-theme="white"] .text-\[\#9aa0a6\],
html[data-kk-theme="white"] .text-\[\#484f58\],
html[data-kk-theme="white"] .placeholder-\[\#8b949e\]::placeholder,
html[data-kk-theme="white"] .placeholder-\[\#484f58\]::placeholder { color: #5c6b80 !important; }
html[data-kk-theme="white"] .text-\[\#58a6ff\] { color: #1677d2 !important; }
html[data-kk-theme="white"] .peer\/menu-button[data-active="true"] {
  color: #1677d2 !important;
  background-color: #e7eef8 !important;
  border-color: #b9d4f5 !important;
}
html[data-kk-theme="white"] input,
html[data-kk-theme="white"] textarea,
html[data-kk-theme="white"] select {
  background-color: #ffffff;
  color: #1a2332;
  border-color: #d5deea;
}
html[data-kk-theme="white"] ::-webkit-scrollbar-track { background: #f4f7fb; }
html[data-kk-theme="white"] ::-webkit-scrollbar-thumb { background: #c5d0de; }
html[data-kk-theme="white"] ::-webkit-scrollbar-thumb:hover { background: #a8b6c9; }

html[data-kk-theme="white"] .min-h-screen:has(.login-split) { background: #f4f7fb !important; }
html[data-kk-theme="white"] .login-split { background-color: #f4f7fb; }
html[data-kk-theme="white"] .login-split > div:last-child {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78) 16%, #ffffff 40%) !important;
}
html[data-kk-theme="white"] .login-split input {
  background: #ffffff !important;
  color: #1a2332 !important;
  border-color: #d5deea !important;
}
html[data-kk-theme="white"] .login-split input::placeholder { color: #8aa0b8; }
html[data-kk-theme="white"] .login-split label,
html[data-kk-theme="white"] .login-split.kk-login-main h1 { color: #1a2332 !important; }
html[data-kk-theme="white"] .login-split.kk-login-main h1 + p,
html[data-kk-theme="white"] .login-split.kk-login-main form::after,
html[data-kk-theme="white"] .login-split.kk-login-main > div:last-child::after { color: #5c6b80 !important; }
html[data-kk-theme="white"] .kk-tg-login {
  background: #ffffff !important;
  color: #1a2332 !important;
  border-color: #d5deea !important;
}
@media (max-width: 1023px) {
  html[data-kk-theme="white"] .login-split > div:last-child { background: #ffffff !important; }
}

#kk-theme-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4000;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(22, 119, 210, .28);
  background: #ffffff;
  color: #1677d2;
  box-shadow: 0 8px 22px rgba(16, 32, 56, .16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#kk-theme-float svg { width: 20px; height: 20px; display: block; }
html[data-kk-theme="dark"] #kk-theme-float {
  background: #122033;
  color: #8fd4ff;
  border-color: #26364f;
}

/* 设备页操作按钮的颜色写在行内样式里，白色主题只换底色、边框和字色。 */
html[data-kk-theme="white"] button[style*="#262c36"],
html[data-kk-theme="white"] button[style*="38, 44, 54"] {
  background: #eef3f9 !important;
  border-color: #d3deea !important;
  color: #1a2332 !important;
}
html[data-kk-theme="white"] button[style*="#262c36"]:hover,
html[data-kk-theme="white"] button[style*="38, 44, 54"]:hover {
  background: #e3ebf5 !important;
}
html[data-kk-theme="white"] button[style*="#f87171"],
html[data-kk-theme="white"] button[style*="248, 113, 113"] {
  background: #fff1f1 !important;
  border-color: #f3c4c4 !important;
  color: #d1242f !important;
}
html[data-kk-theme="white"] button[style*="#4ade80"],
html[data-kk-theme="white"] button[style*="74, 222, 128"],
html[data-kk-theme="white"] button[style*="#1a2e1a"],
html[data-kk-theme="white"] button[style*="26, 46, 26"] {
  background: #eef8f1 !important;
  border-color: #b7e4c7 !important;
  color: #16803c !important;
}
html[data-kk-theme="white"] button[style*="#1a1a1a"],
html[data-kk-theme="white"] button[style*="26, 26, 26"],
html[data-kk-theme="white"] button[style*="#484f58"],
html[data-kk-theme="white"] button[style*="72, 79, 88"] {
  background: #e7edf5 !important;
  border-color: #d5deea !important;
  color: #8b97a8 !important;
}

/* ==========================================================================
   LB 橙色主题 2.275 —— 跟登录页新的 LB 星球背景配成一套
   思路：登录页深棕底 + 琥珀/橙色主色（跟图里的 LB 金属橙一致），
         登录后的面板也切成同一套暖色，蓝色系工具类统一映射到琥珀色，
         危险/报错红、成功绿保持原样不动的语义色不动。
   ========================================================================== */

/* ---------- 一、登录页 ---------- */
.login-split {
  background-color: #0a0603;
}
.login-split > div:last-child {
  background: linear-gradient(90deg,
      rgba(10, 6, 3, 0) 0%,
      rgba(10, 6, 3, .55) 16%,
      rgba(10, 6, 3, .88) 55%) !important;
}
/* 标题：金属橙渐变字 */
.login-split.kk-login-main h1 {
  background: linear-gradient(94deg, #fff6e2 0%, #fcd34d 42%, #f97316 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: 0 4px 24px rgba(249, 115, 22, .28);
}
/* 标题上那行小字：英文眉标换成 LB TECHNOLOGY */
.login-split.kk-login-main h1::before {
  content: "LB TECHNOLOGY";
  color: #f8b25a;
  letter-spacing: 4px;
  text-shadow: 0 0 18px rgba(245, 158, 11, .55);
}
.login-split.kk-login-main h1 + p {
  color: #b9a48c !important;
}
/* 输入框：暖黑底 + 琥珀描边 */
.login-split input {
  background: rgba(28, 17, 8, .88) !important;
  border: 1px solid #4a3520 !important;
  color: #fff7ed !important;
}
.login-split input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .22), 0 0 20px rgba(245, 158, 11, .16) !important;
  outline: none !important;
}
.login-split input::placeholder {
  color: #8a7259;
}
.login-split label {
  color: #dbc9b2 !important;
}
/* 主按钮：琥珀→橙 渐变，深棕字更扎眼 */
.login-split button[type="submit"] {
  border: 1px solid #f8b25a !important;
  background: linear-gradient(103deg, #fbbf24 0%, #f59e0b 45%, #ea580c 100%) !important;
  color: #241203 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow: 0 10px 30px rgba(234, 88, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  transition: filter .16s ease, box-shadow .16s ease, transform .16s ease;
}
.login-split button[type="submit"]:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 14px 38px rgba(249, 115, 22, .48), inset 0 1px 0 rgba(255, 255, 255, .45) !important;
  transform: translateY(-1px);
}
.login-split button[type="submit"]:active {
  transform: translateY(0);
}
.login-split input[type="checkbox"] {
  accent-color: #f59e0b;
}
/* 密码框右侧「显示 / 隐藏」 */
.login-split.kk-login-main form > div:nth-child(2) button {
  color: #c9a273;
}
.login-split.kk-login-main form > div:nth-child(2) button:hover {
  color: #fbbf24;
}
/* 底部水印文案 */
.login-split.kk-login-main form::after {
  color: #8a7259;
}
.login-split.kk-login-main > div:last-child::after {
  color: #7a6450;
}
/* 错误提示条 */
.login-split.kk-login-main .kk-kick {
  color: #ffb27a !important;
}

/* ---------- 二、登录后的面板：同一套暖色 ---------- */
html:not(:has(.login-split)) {
  --background: #0b0805;
  --foreground: #f6efe6;
  --card: #171009;
  --card-foreground: #f6efe6;
  --popover: #1c1309;
  --popover-foreground: #f6efe6;
  --primary: #f59e0b;
  --primary-foreground: #241203;
  --secondary: #221708;
  --secondary-foreground: #f6efe6;
  --muted: #1c1309;
  --muted-foreground: #a99a86;
  --accent: #2a1a09;
  --accent-foreground: #fde9c8;
  --border: #3a2a16;
  --input: #3a2a16;
  --ring: #f59e0b;
  --sidebar: #080502;
  --sidebar-foreground: #f6efe6;
  --sidebar-primary: #f59e0b;
  --sidebar-primary-foreground: #241203;
  --sidebar-accent: #2a1a09;
  --sidebar-accent-foreground: #fde9c8;
  --sidebar-border: #2b1e10;
  --sidebar-ring: #f59e0b;
  --sidebar-background: 30 40% 3%;
  --chart-1: #fbbf24;
  --chart-2: #f97316;
}
html:not(:has(.login-split)) body {
  background: #0b0805;
  color: #f6efe6;
}
/* 深色底子全部转暖 */
html:not(:has(.login-split)) .bg-\[\#0d1117\],
html:not(:has(.login-split)) .bg-\[\#0d1117\]\/80,
html:not(:has(.login-split)) .bg-\[\#0d1117\]\/50,
html:not(:has(.login-split)) .hover\:bg-\[\#0d1117\]:hover,
html:not(:has(.login-split)) .focus\:bg-\[\#0d1117\]:focus {
  background-color: #0b0805 !important;
}
html:not(:has(.login-split)) .bg-\[\#161b22\],
html:not(:has(.login-split)) .hover\:bg-\[\#161b22\]:hover {
  background-color: #171009 !important;
}
html:not(:has(.login-split)) .bg-\[\#1c2128\],
html:not(:has(.login-split)) .bg-\[\#21262d\],
html:not(:has(.login-split)) .bg-\[\#21262d\]\/50,
html:not(:has(.login-split)) .hover\:bg-\[\#21262d\]:hover {
  background-color: #221708 !important;
}
html:not(:has(.login-split)) .border-\[\#30363d\],
html:not(:has(.login-split)) .\!border-\[\#30363d\] {
  border-color: #3a2a16 !important;
}
html:not(:has(.login-split)) .border-\[\#21262d\],
html:not(:has(.login-split)) .divide-\[\#21262d\] > :not(:last-child) {
  border-color: #2b1e10 !important;
}
/* 文字灰阶转暖 */
html:not(:has(.login-split)) .text-\[\#8b949e\] { color: #b39c85 !important; }
html:not(:has(.login-split)) .text-\[\#c9d1d9\] { color: #ece0d2 !important; }
html:not(:has(.login-split)) .text-\[\#6e7681\] { color: #9c8672 !important; }
html:not(:has(.login-split)) .text-\[\#e6edf3\] { color: #fff7ed !important; }

/* 蓝色工具类 → 琥珀（按钮、链接、图标、焦点、渐变） */
html:not(:has(.login-split)) .bg-blue-500,
html:not(:has(.login-split)) .bg-blue-600,
html:not(:has(.login-split)) .hover\:bg-blue-600:hover,
html:not(:has(.login-split)) .bg-blue-500\/15 {
  background-color: #f59e0b !important;
}
html:not(:has(.login-split)) .hover\:bg-blue-500\/15:hover,
html:not(:has(.login-split)) .hover\:bg-blue-500\/20:hover {
  background-color: rgba(245, 158, 11, .18) !important;
}
html:not(:has(.login-split)) .text-blue-400,
html:not(:has(.login-split)) .hover\:text-blue-400:hover,
html:not(:has(.login-split)) .text-blue-500 {
  color: #fbbf24 !important;
}
html:not(:has(.login-split)) .border-blue-500\/30 {
  border-color: rgba(245, 158, 11, .32) !important;
}
html:not(:has(.login-split)) .border-blue-500\/50,
html:not(:has(.login-split)) .border-blue-500 {
  border-color: rgba(245, 158, 11, .55) !important;
}
html:not(:has(.login-split)) .from-blue-500 { --tw-gradient-from: #fbbf24 !important; }
html:not(:has(.login-split)) .to-blue-600 { --tw-gradient-to: #ea580c !important; }
html:not(:has(.login-split)) .from-red-500 { --tw-gradient-from: #fcd34d !important; }
html:not(:has(.login-split)) .to-orange-500 { --tw-gradient-to: #ea580c !important; }
html:not(:has(.login-split)) .from-red-400 { --tw-gradient-from: #fde68a !important; }
html:not(:has(.login-split)) .to-orange-400 { --tw-gradient-to: #f97316 !important; }
html:not(:has(.login-split)) .focus\:border-red-500:focus,
html:not(:has(.login-split)) .focus\:border-blue-500:focus {
  border-color: #f59e0b !important;
}
html:not(:has(.login-split)) .ring-blue-500,
html:not(:has(.login-split)) .focus\:ring-blue-500:focus {
  --tw-ring-color: rgba(245, 158, 11, .55) !important;
}
/* 侧边栏选中态 */
html:not(:has(.login-split)) .peer\/menu-button[data-active="true"] {
  color: #fde68a !important;
  background-color: rgba(245, 158, 11, .14) !important;
  border-color: rgba(245, 158, 11, .40) !important;
}
/* 滚动条 */
html:not(:has(.login-split)) ::-webkit-scrollbar-track { background: #0b0805; }
html:not(:has(.login-split)) ::-webkit-scrollbar-thumb { background: #3a2a16; }
html:not(:has(.login-split)) ::-webkit-scrollbar-thumb:hover { background: #55401f; }

/* 白色主题下登录页仍走同一套暖色主按钮（避免纯白底配蓝色） */
html[data-kk-theme="white"] .login-split button[type="submit"] {
  border-color: #ea580c !important;
  background: linear-gradient(103deg, #fbbf24, #ea580c) !important;
  color: #241203 !important;
}

/* ==========================================================================
   LB 橙色主题 2.276 —— 修正：原先标题样式挂在 .kk-login-main 上，但那个类
   从来没人加（kk-login-skin.js 已停用），导致标题渐变/眉标不生效。
   这里改成不依赖该类的写法，登录页标题也吃上暖色。
   ========================================================================== */
.login-split h1 {
  background: linear-gradient(94deg, #fff6e2 0%, #fcd34d 42%, #f97316 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: 0 4px 24px rgba(249, 115, 22, .28);
}
.login-split h1::before {
  content: "LB TECHNOLOGY";
  display: block;
  color: #f8b25a;
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 400;
  margin-bottom: 14px;
  text-shadow: 0 0 18px rgba(245, 158, 11, .5);
  -webkit-text-fill-color: #f8b25a;
}
.login-split h1 + p {
  color: #b9a48c !important;
}
