/* 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: transparent;
  background-image: none;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.min-h-screen:has(.login-split) {
  background: transparent !important;
}
.login-split > div:first-child {
  position: relative;
  background: none !important;
  min-height: 100svh;
}
/* 登录页左侧大 logo（云际网络）已按需求移除 */
.login-split > div:first-child > * {
  display: none !important;
}
.login-split > div:last-child {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(90deg, transparent, rgba(8, 20, 48, .35) 18%, rgba(6, 16, 40, .72) 42%) !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 rgba(94, 182, 255, 0.45) !important;
  border-radius: 9px !important;
  background: rgba(12, 28, 58, .78) !important;
  color: #eaf3ff !important;
  padding: 0 15px !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
.login-split input:focus {
  border-color: #5eb6ff !important;
  box-shadow: 0 0 0 3px rgba(56, 168, 255, 0.22) !important;
  outline: none !important;
}
.login-split input::placeholder {
  color: rgba(210, 228, 255, 0.45);
}
.login-split label {
  color: #c5e4ff !important;
  font-size: 13px !important;
}
.login-split button[type="submit"] {
  height: 50px !important;
  border: 1px solid #5eb6ff !important;
  border-radius: 9px !important;
  background: linear-gradient(105deg, #1677e8, #1a9ae6) !important;
  color: #ffffff !important;
  letter-spacing: 4px;
  font-weight: 600;
  box-shadow: 0 7px 26px rgba(22, 119, 232, 0.32) !important;
}
.login-split button[type="submit"]:hover {
  filter: brightness(1.12);
}
.login-split input[type="checkbox"] {
  accent-color: #5eb6ff;
  width: 15px;
  height: 15px;
}

.login-split.kk-login-main .text-center {
  text-align: left !important;
}
.login-split.kk-login-main h1 {
  color: #eaf3ff !important;
  font-size: 30px !important;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 10px;
}
.login-split.kk-login-main h1::before {
  content: "YUNJI";
  display: block;
  color: #5eb6ff;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 15px;
}
.login-split.kk-login-main h1 + p {
  color: rgba(210, 228, 255, 0.62) !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: #5eb6ff;
  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;
}
.kk-tg-login {
  background: rgba(12, 28, 58, .78) !important;
  color: #eaf3ff !important;
  border-color: rgba(94, 182, 255, 0.45) !important;
}
.login-split.kk-login-main form::after {
  content: "YunjiICN · 管理平台";
  display: block;
  font-size: 12px;
  color: rgba(94, 182, 255, 0.75);
  text-align: center;
  margin-top: 25px;
  line-height: 1.8;
}
.login-split.kk-login-main > div:last-child::after {
  content: "YunjiICN";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(94, 182, 255, 0.6);
  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: transparent !important;
  }
  .login-split > div:last-child {
    background: #071018 !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[data-kk-theme="dark"] {
  --color-blue-300: #c5e4ff;
  --color-blue-400: #5eb6ff;
  --color-blue-500: #1677e8;
  --color-blue-600: #1a9ae6;
  --color-blue-700: #0d5cae;
  --color-blue-800: #1a3d6e;
  --color-blue-950: #0c1e3a;
  --color-cyan-300: #c5e4ff;
  --color-cyan-400: #5eb6ff;
  --color-cyan-500: #5eb6ff;
  --color-cyan-600: #1a9ae6;
  --color-cyan-700: #0d5cae;
  --color-sky-400: #5eb6ff;
  --color-sky-500: #5eb6ff;
  --color-indigo-300: #c5e4ff;
  --color-indigo-500: #1677e8;
  --color-indigo-600: #1a9ae6;
  --color-indigo-700: #0d5cae;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) {
  --background: rgba(6, 14, 32, 0.42);
  --foreground: #eaf3ff;
  --card: rgba(18, 12, 8, 0.58);
  --card-foreground: #eaf3ff;
  --popover: rgba(6, 16, 36, 0.94);
  --popover-foreground: #eaf3ff;
  --primary: #5eb6ff;
  --primary-foreground: #ffffff;
  --secondary: #0c1e3a;
  --secondary-foreground: #eaf3ff;
  --muted: #0b1c33;
  --muted-foreground: #b7a48a;
  --accent: #102848;
  --accent-foreground: #eaf3ff;
  --border: #1e3a5f;
  --input: #1e3a5f;
  --ring: #5eb6ff;
  --sidebar: #0c0907;
  --sidebar-foreground: #eaf3ff;
  --sidebar-primary: #5eb6ff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #102848;
  --sidebar-accent-foreground: #eaf3ff;
  --sidebar-border: #163056;
  --sidebar-ring: #5eb6ff;
  --sidebar-background: 24 30% 6%;
  --chart-1: #5eb6ff;
  --chart-2: #1a9ae6;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) body {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: transparent;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) body > .min-h-screen,
html[data-kk-theme="dark"]:not(:has(.login-split)) body > .min-h-svh {
  background: transparent !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#0d1117\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#0d1117\]\/80,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#0d1117\]\/50,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#161b22\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .hover\:bg-\[\#161b22\]:hover,
html[data-kk-theme="dark"]:not(:has(.login-split)) .hover\:bg-\[\#1c2333\]:hover,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-card,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-background {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(14, 36, 78, 0.46), rgba(6, 16, 40, 0.22)) !important;
  box-shadow: inset 0 1px 0 rgba(180, 220, 255, 0.10);
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .shadow-lg {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(180, 220, 255, 0.10) !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#1c2128\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#21262d\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .hover\:bg-\[\#1c2128\]:hover,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#262c36\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-\[\#2d333b\] {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(18, 48, 96, 0.55), rgba(8, 22, 48, 0.32)) !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-\[\#e6edf3\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .hover\:text-\[\#e6edf3\]:hover {
  color: #eaf3ff !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-\[\#c9d1d9\] {
  color: #c5e4ff !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-\[\#8b949e\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-\[\#6e7681\] {
  color: rgba(210, 228, 255, 0.62) !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-3xl,
html[data-kk-theme="dark"]:not(:has(.login-split)) h1,
html[data-kk-theme="dark"]:not(:has(.login-split)) h2 {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-red-500 { border-left-color: #5eb6ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-green-500 { border-left-color: #1677e8 !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-orange-500 { border-left-color: #9fd4ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-purple-500 { border-left-color: #1a9ae6 !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-blue-500,
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-l-cyan-500 { border-left-color: #c5e4ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) button,
html[data-kk-theme="dark"]:not(:has(.login-split)) [role="tab"] {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .shadow-2xl,
html[data-kk-theme="dark"]:not(:has(.login-split)) [role="dialog"] {
  background-color: rgba(6, 16, 36, 0.94) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
html[data-kk-theme="dark"]:not(:has(.login-split)) canvas,
html[data-kk-theme="dark"]:not(:has(.login-split)) .bg-black {
  background-color: #050910 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-\[\#30363d\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .\!border-\[\#30363d\] {
  border-color: rgba(94, 182, 255, 0.32) !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .border-\[\#21262d\],
html[data-kk-theme="dark"]:not(:has(.login-split)) .divide-\[\#21262d\] > :not(:last-child) {
  border-color: #163056 !important;
}
button img[src*="kk-logo.png"],
button img[src*="yunji-icon.png"] {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  border-radius: 4px;
}
button img[src*="kk-logo.png"] + span,
button img[src*="yunji-icon.png"] + span {
  overflow: visible !important;
  text-overflow: clip !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .peer\/menu-button[data-active="true"] {
  color: #c5e4ff !important;
  background-color: rgba(56, 168, 255, .16) !important;
  border-color: rgba(94, 182, 255, .45) !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .from-red-500 { --tw-gradient-from: #5eb6ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .to-orange-500 { --tw-gradient-to: #1677e8 !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .from-red-400 { --tw-gradient-from: #c5e4ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .to-orange-400 { --tw-gradient-to: #1a9ae6 !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) .focus\:border-red-500:focus {
  border-color: #5eb6ff !important;
}
html[data-kk-theme="dark"]:not(:has(.login-split)) .text-\[\#58a6ff\] { color: #5eb6ff !important; }
html[data-kk-theme="dark"]:not(:has(.login-split)) ::-webkit-scrollbar-track { background: #071018; }
html[data-kk-theme="dark"]:not(:has(.login-split)) ::-webkit-scrollbar-thumb { background: #1e3a5f; }
html[data-kk-theme="dark"]:not(:has(.login-split)) ::-webkit-scrollbar-thumb:hover { background: #1677e8; }

/* 白色主题。页面里的深色类名保持不变，这里把它们改成白底深字。 */
html[data-kk-theme="white"] {
  --background: #eef4fb;
  --foreground: #0b1c33;
  --card: #ffffff;
  --card-foreground: #0b1c33;
  --popover: #ffffff;
  --popover-foreground: #0b1c33;
  --primary: #1677e8;
  --primary-foreground: #ffffff;
  --secondary: #e4eef8;
  --secondary-foreground: #0b1c33;
  --muted: #e4eef8;
  --muted-foreground: #5a7190;
  --accent: #e4eef8;
  --accent-foreground: #0b1c33;
  --border: #c9d8ea;
  --input: #c9d8ea;
  --ring: #1677e8;
  --sidebar: #ffffff;
  --sidebar-foreground: #0b1c33;
  --sidebar-primary: #1677e8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #e4eef8;
  --sidebar-accent-foreground: #0b1c33;
  --sidebar-border: #d5e2f0;
  --sidebar-ring: #1677e8;
  --sidebar-background: 36 40% 96%;
  color-scheme: light;
}
html[data-kk-theme="white"] body { background: #eef4fb; color: #0b1c33; }
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: #eef4fb !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: #e4eef8 !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: #dce8f5 !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: #c9d8ea !important; }
html[data-kk-theme="white"] .text-\[\#e6edf3\],
html[data-kk-theme="white"] .hover\:text-\[\#e6edf3\]:hover { color: #0b1c33 !important; }
html[data-kk-theme="white"] .text-\[\#c9d1d9\],
html[data-kk-theme="white"] .hover\:text-\[\#c9d1d9\]:hover { color: #163056 !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: #5a7190 !important; }
html[data-kk-theme="white"] .text-\[\#58a6ff\] { color: #1677e8 !important; }
html[data-kk-theme="white"] .peer\/menu-button[data-active="true"] {
  color: #1677e8 !important;
  background-color: #e4eef8 !important;
  border-color: #c9d8ea !important;
}
html[data-kk-theme="white"] input,
html[data-kk-theme="white"] textarea,
html[data-kk-theme="white"] select {
  background-color: #ffffff;
  color: #0b1c33;
  border-color: #c9d8ea;
}
html[data-kk-theme="white"] ::-webkit-scrollbar-track { background: #eef4fb; }
html[data-kk-theme="white"] ::-webkit-scrollbar-thumb { background: #b7c9de; }
html[data-kk-theme="white"] ::-webkit-scrollbar-thumb:hover { background: #8eabcc; }

html[data-kk-theme="white"] .min-h-screen:has(.login-split) { background: #eef4fb !important; }
html[data-kk-theme="white"] .login-split { background-color: #eef4fb; }
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: #0b1c33 !important;
  border-color: #c9d8ea !important;
}
html[data-kk-theme="white"] .login-split input::placeholder { color: #7f98b5; }
html[data-kk-theme="white"] .login-split label,
html[data-kk-theme="white"] .login-split.kk-login-main h1 { color: #0b1c33 !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: #5a7190 !important; }
html[data-kk-theme="white"] .kk-tg-login {
  background: #ffffff !important;
  color: #0b1c33 !important;
  border-color: #c9d8ea !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, 232, .45);
  background: #f4f9ff;
  color: #1677e8;
  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: #0c1e3a;
  color: #c5e4ff;
  border-color: #1e3a5f;
}

html[data-kk-theme="dark"] {
  background: #050914;
}
html[data-kk-theme="dark"] body {
  isolation: isolate;
  background-color: transparent;
}
.sd-cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(24, 120, 230, 0.55) 0%, transparent 46%),
    radial-gradient(ellipse at 12% 78%, rgba(16, 64, 150, 0.32) 0%, transparent 32%),
    radial-gradient(ellipse at 88% 70%, rgba(20, 90, 190, 0.28) 0%, transparent 30%),
    linear-gradient(180deg, #050914 0%, #071428 42%, #0a2450 74%, #0e3d82 100%);
}
html[data-kk-theme="white"] .sd-cosmos { display: none; }
.sd-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.sd-fog, .sd-dune, .sd-lantern, .sd-smoke { z-index: 2; }
.sd-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
}
.sd-a1 { width: 78vw; height: 56vw; top: -20%; left: 10%; background: radial-gradient(circle, rgba(80, 170, 255, 0.22), transparent 76%); animation: sdDriftA 22s ease-in-out infinite; }
.sd-a2 { width: 64vw; height: 64vw; right: -20%; bottom: -24%; background: radial-gradient(circle, rgba(20, 90, 210, 0.24), transparent 78%); animation: sdDriftB 28s ease-in-out infinite; }
.sd-a3 { width: 50vw; height: 42vw; left: -18%; bottom: 4%; background: radial-gradient(circle, rgba(40, 140, 255, 0.14), transparent 74%); animation: sdDriftC 26s ease-in-out infinite; }
.sd-a4 { width: 36vw; height: 36vw; top: 18%; left: 28%; background: radial-gradient(circle, rgba(170, 214, 255, 0.12), transparent 76%); animation: sdDriftA 31s ease-in-out infinite reverse; }
.sd-milky {
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg, transparent 28%, rgba(70, 140, 220, 0.10) 42%, rgba(160, 210, 255, 0.16) 50%, rgba(40, 100, 200, 0.10) 58%, transparent 72%);
  filter: blur(16px);
  opacity: 0.22;
  mix-blend-mode: screen;
}
.sd-fog { position: absolute; left: -30%; width: 160%; bottom: -8%; filter: blur(42px); opacity: 0.45; mix-blend-mode: screen; }
.sd-f1 { height: 36%; background: radial-gradient(ellipse at 50% 100%, rgba(60, 140, 220, 0.14), transparent 72%); animation: sdFog 22s ease-in-out infinite; }
.sd-f2 { height: 28%; bottom: -6%; background: radial-gradient(ellipse at 18% 100%, rgba(16, 48, 110, 0.18), transparent 74%); animation: sdFog 18s ease-in-out infinite reverse; }
.sd-f3 { height: 26%; background: radial-gradient(ellipse at 40% 100%, rgba(140, 200, 255, 0.08), transparent 74%); animation: sdFog 26s ease-in-out infinite; }
.sd-dune { position: absolute; border-radius: 50%; }
.sd-d1 { left: -8%; right: -8%; bottom: -24vh; height: 32vh; background: #06101e; }
.sd-d2 { left: -28%; right: 38%; bottom: -22vh; height: 28vh; background: #081428; }
.sd-d3 { left: 22%; right: 8%; bottom: -26vh; height: 30vh; background: #0a1c38; }
.sd-lantern { display: none;
  position: absolute;
  width: 11px;
  height: 16px;
  border-radius: 42% 42% 48% 48%;
  background: radial-gradient(circle at 50% 38%, #fff1cc, #e7a24a 52%, #8a3c12 100%);
  box-shadow: 0 0 16px rgba(80, 170, 255, 0.7);
  animation: sdGlow 3.6s ease-in-out infinite;
}
.sd-lantern::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 54px;
  background: linear-gradient(to top, rgba(232, 196, 140, 0.55), transparent);
}
.sd-n1 { left: 12%; top: 18%; }
.sd-n2 { left: 34%; top: 24%; transform: scale(0.8); animation-delay: -1.2s; }
.sd-n3 { left: 50%; top: 42%; transform: scale(0.55); animation-delay: -2s; }
.sd-smoke { display: none;
  position: absolute;
  width: 90px;
  height: 38vh;
  border-radius: 50%;
  background: linear-gradient(to top, transparent, rgba(255, 206, 140, 0.16) 40%, transparent 78%);
  filter: blur(18px);
  animation: sdSmoke 11s ease-in-out infinite;
  opacity: 0.35;
}
.sd-s1 { left: 9%; bottom: 16%; }
.sd-s2 { left: 42%; bottom: 20%; animation-delay: -4s; height: 32vh; }
@keyframes sdDriftA { 50% { transform: translate(4%, 6%) scale(1.08); } }
@keyframes sdDriftB { 50% { transform: translate(-6%, -4%) scale(1.12); } }
@keyframes sdDriftC { 50% { transform: translate(8%, -5%); } }
@keyframes sdFog { 50% { transform: translateX(-6%); } }
@keyframes sdSmoke {
  0% { transform: translateY(16px) scaleX(0.9); opacity: 0.15; }
  50% { transform: translateY(-36px) scaleX(1.35); opacity: 0.5; }
  100% { transform: translateY(-80px) scaleX(0.7); opacity: 0.05; }
}
@keyframes sdGlow {
  50% { box-shadow: 0 0 22px rgba(255, 196, 110, 0.95); filter: brightness(1.15); }
}
@media (max-width: 1023px) {
  .sd-n2, .sd-n3, .sd-s2 { display: none; }
}
