/*
 * 龍記 AI 品牌球 — 只作用於【漂浮 LOGO 球】
 * ≤1024px：維護同款 mini hero（龍記正中 + AI 公轉）— .lj-lh-*
 * >1024px：粒子金環球 — .longji-ai-orb--launcher
 * 勿改 header／msg（對話框訊息旁球用 chat.css 青紫環）
 * DevTools：document.querySelector('[data-lj-orb-role="float-launcher"]')
 */
:root {
  --lj-accent-gold: #c9a227;
  --lj-accent-gold-light: #e8c55a;
}

/* 漂浮 LOGO 球：觸控 64px · 電腦 80px（與 float-core / chat.css 按鈕一致） */
.lungkee-ai-chat__float-launcher .longji-ai-orb--launcher,
.longji-ai-orb[data-lj-orb-role='float-launcher'] {
  --lj-orb-px: 64px;
  --lj-orb-label: 18px;
  --lj-orb-perspective: 108px;
  --lj-orb-glow-inset: -2px;
  --lj-orb-glow-border: 5px;
  --lj-orb-core-border: 2px;
  position: relative;
  flex-shrink: 0;
  width: var(--lj-orb-px);
  height: var(--lj-orb-px);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .lungkee-ai-chat-float-host .longji-ai-orb--launcher,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] {
    --lj-orb-px: 80px;
    --lj-orb-label: 22px;
    --lj-orb-perspective: 128px;
    --lj-orb-glow-border: 5.5px;
  }
}

/* 漂浮 LOGO 球：裁圓，避免粒子 canvas 方框透出 */
.longji-ai-orb[data-lj-orb-role='float-launcher'],
.lungkee-ai-chat__float-launcher-orb .longji-ai-orb--launcher {
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__canvas,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 1;
}

/* 僅漂浮 LOGO 球（launcher）；對話框左上 header 用 chat.css 青紫環 */
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__glow,
.lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__glow,
.lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__glow,
.lungkee-ai-chat__float-launcher-orb .longji-ai-orb--launcher .longji-ai-orb__glow,
.lj-float-orb-shell-launcher .longji-ai-orb--launcher .longji-ai-orb__glow,
.lj-float-orb-shell-launcher .longji-ai-orb__glow {
  position: absolute;
  inset: var(--lj-orb-glow-inset);
  border-radius: 50%;
  border: var(--lj-orb-glow-border, 5px) solid var(--lj-accent-gold-light);
  background: transparent;
  box-shadow:
    0 0 14px rgba(255, 228, 130, 0.8),
    0 0 26px rgba(201, 162, 39, 0.7),
    0 0 40px rgba(15, 45, 74, 0.42),
    inset 0 0 14px rgba(255, 236, 160, 0.24);
  animation: lj-gold-ring-pulse 3.2s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__core,
.lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__core,
.lj-float-orb-shell-launcher .longji-ai-orb--launcher .longji-ai-orb__core {
  z-index: 3;
  border: var(--lj-orb-core-border) solid rgba(201, 162, 39, 0.65);
  box-shadow:
    0 0 10px rgba(201, 162, 39, 0.35),
    inset 0 0 12px rgba(8, 12, 24, 0.65);
  background: radial-gradient(circle at 42% 38%, #1a2a48 0%, #050810 100%);
}

.lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__core-label,
.lj-float-orb-shell-launcher .longji-ai-orb--launcher .longji-ai-orb__core-label {
  background: linear-gradient(115deg, #fff 0%, #ffe566 35%, #fff 55%, #ffd84d 75%, #fff 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  animation: lj-ai-label-flow 3.8s ease-in-out infinite;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__name-band,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 78%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__name-band-track,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-track {
  display: none;
  animation: none;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__name-band-text,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-text {
  display: inline-block;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* 漂浮球公司英文：靜態 LUNG KEE，底條清晰可讀 */
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band,
.lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__name-band,
.lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__name-band {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: auto;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  min-height: 10px;
  padding: 1px 5px 2px;
  border-radius: 5px;
  background: rgba(6, 10, 22, 0.82);
  overflow: visible;
  z-index: 6;
}

.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-text,
.lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__name-band-text,
.lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__name-band-text {
  font-size: max(6.5px, calc(var(--lj-orb-px, 64px) * 0.105));
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  animation: lj-float-name-shimmer 3.6s ease-in-out infinite;
}

@media (min-width: 1025px) {
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-text,
  .lungkee-ai-chat-float-host .longji-ai-orb--launcher .longji-ai-orb__name-band-text,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__name-band-text {
    font-size: max(7px, calc(var(--lj-orb-px, 80px) * 0.1));
  }
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__core,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__core {
  position: relative;
  z-index: 3;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--lj-orb-core-border) solid rgba(201, 162, 39, 0.65);
  box-shadow:
    0 0 10px rgba(201, 162, 39, 0.35),
    inset 0 0 12px rgba(8, 12, 24, 0.65);
  background: radial-gradient(circle at 42% 38%, #1a2a48 0%, #050810 100%);
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__globe,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  animation: lj-globe-shell-spin 10s linear infinite;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__globe-base,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a4a72 0%, #0f2d4a 72%, #245a88 100%);
  animation: lj-globe-base-spin 7s linear infinite;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__globe-scene,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: var(--lj-orb-perspective);
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__globe-ball,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-ball {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: lj-globe-wire-spin 5.2s linear infinite;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__ring,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.45);
  transform-style: preserve-3d;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__ring:nth-child(2),
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__ring:nth-child(2) {
  transform: rotateY(60deg);
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__ring:nth-child(3),
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__ring:nth-child(3) {
  transform: rotateY(120deg);
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__ring--eq,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__ring--eq {
  transform: rotateX(90deg);
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__globe-grid,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-grid {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  opacity: 0.55;
  animation: lj-globe-grid-spin 9s linear infinite reverse;
  pointer-events: none;
}

.lungkee-ai-chat__float-launcher .longji-ai-orb__core-label,
.longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__core-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  font-weight: 800;
  font-size: var(--lj-orb-label);
  background: linear-gradient(115deg, #fff 0%, #ffe566 35%, #fff 55%, #ffd84d 75%, #fff 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lj-ai-label-flow 3.8s ease-in-out infinite;
}



/* 金環呼吸燈（勿與 chat.css lj-neon-ring-pulse 混用） */
@keyframes lj-gold-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    border-color: #e8c55a;
    box-shadow:
      0 0 12px rgba(255, 228, 130, 0.7),
      0 0 22px rgba(201, 162, 39, 0.55),
      0 0 36px rgba(15, 45, 74, 0.35),
      inset 0 0 10px rgba(255, 236, 160, 0.2);
  }
  50% {
    transform: scale(1.05);
    border-color: #fff3b0;
    box-shadow:
      0 0 18px rgba(255, 240, 160, 0.95),
      0 0 32px rgba(232, 197, 71, 0.85),
      0 0 48px rgba(201, 162, 39, 0.45),
      inset 0 0 16px rgba(255, 236, 160, 0.32);
  }
}

@keyframes lj-name-band-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes lj-globe-wire-spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

@keyframes lj-globe-base-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-globe-grid-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-globe-shell-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-ai-label-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 公司字帶：輕微呼吸字距（唔用跑馬，避免裁切） */
@keyframes lj-float-name-shimmer {
  0%,
  100% {
    opacity: 0.88;
    letter-spacing: 0.08em;
    filter: brightness(0.95);
  }
  50% {
    opacity: 1;
    letter-spacing: 0.14em;
    filter: brightness(1.08);
  }
}

/* loader 外球：與正式漂浮球同尺寸語言 */
@media (min-width: 1025px) {
  .lj-float-orb-shell-launcher .longji-ai-orb--launcher {
    --lj-orb-px: 80px;
    --lj-orb-perspective: 128px;
    --lj-orb-label: 22px;
  }
}

@media (max-width: 1024px) {
  .lj-float-orb-shell-launcher .longji-ai-orb--launcher {
    --lj-orb-px: 64px;
    --lj-orb-perspective: 108px;
    --lj-orb-label: 18px;
  }
}

/* —— 觸控端漂浮球：維護 UI 同款（龍記正中 · AI 衛星公轉 · Build 20260563） —— */
.lungkee-ai-chat__float-launcher-orb .lungkee-ai-chat__float-launcher-hero-wrap,
.lungkee-ai-chat__float-launcher-hero-wrap[data-lj-orb-role='float-launcher'] {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lungkee-ai-chat__float-launcher-hero {
  --lj-lh-inner: 20px;
  --lj-lh-brand-size: 40px;
  --lj-lh-orbit-r: 18px;
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 280px;
}

.lj-lh-planet {
  position: relative;
  width: 58px;
  height: 58px;
  transform-style: preserve-3d;
}

.lj-lh-outer-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 210, 90, 0.55) 0%,
    rgba(201, 162, 39, 0.35) 32%,
    rgba(56, 189, 248, 0.12) 55%,
    transparent 72%
  );
  animation: lj-lh-outer-glow-breathe 2.6s ease-in-out infinite;
  pointer-events: none;
}

.lj-lh-outer-shell {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: visible;
  background: radial-gradient(circle at 35% 28%, rgba(30, 80, 130, 0.55) 0%, rgba(6, 12, 28, 0.95) 58%, #020408 100%);
  border: 1.5px solid rgba(232, 197, 90, 0.55);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.45),
    0 0 14px rgba(255, 200, 80, 0.55),
    0 0 26px rgba(201, 162, 39, 0.35),
    inset 0 0 16px rgba(255, 220, 120, 0.18);
  animation:
    lj-lh-outer-shell-breathe 2.6s ease-in-out infinite,
    lj-lh-outer-spin 24s linear infinite;
  pointer-events: none;
}

.lj-lh-outer-shell::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 228, 140, 0.35);
  box-shadow: 0 0 12px rgba(255, 200, 90, 0.4);
  animation: lj-lh-outer-rim-breathe 2.6s ease-in-out infinite;
  pointer-events: none;
}

.lj-lh-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 7;
  transform-style: preserve-3d;
  animation: lj-lh-orbit-spin 16s linear infinite;
  pointer-events: none;
}

.lj-lh-inner-planet {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--lj-lh-inner);
  height: var(--lj-lh-inner);
  margin-left: calc(var(--lj-lh-inner) * -0.5);
  margin-top: calc(var(--lj-lh-inner) * -0.5);
  border-radius: 50%;
  transform: translateX(var(--lj-lh-orbit-r));
  transform-style: preserve-3d;
}

.lj-lh-inner-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: lj-lh-inner-spin 16s linear infinite reverse;
}

.lj-lh-inner-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #4a8fd4 0%, #1a3a68 42%, #060c18 88%);
  box-shadow:
    inset -4px -6px 10px rgba(0, 0, 0, 0.65),
    inset 3px 2px 8px rgba(125, 211, 252, 0.25),
    0 0 10px rgba(56, 189, 248, 0.5);
  animation: lj-lh-inner-body-breathe 1.9s ease-in-out infinite;
}

.lj-lh-inner-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.65);
  box-shadow:
    0 0 8px rgba(0, 242, 254, 0.75),
    0 0 14px rgba(232, 121, 249, 0.55),
    inset 0 0 6px rgba(167, 139, 250, 0.35);
  animation: lj-lh-inner-pulse-breathe 1.9s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.lj-lh-inner-ai {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--lj-lh-inner) * 0.42);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 0 6px rgba(0, 242, 254, 0.95),
    0 0 12px rgba(232, 121, 249, 0.75);
  animation: lj-lh-inner-ai-glow 1.9s ease-in-out infinite;
  pointer-events: none;
}

.lj-lh-planet-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  transform: translate(-50%, -50%);
  font-size: calc(var(--lj-lh-brand-size) * 0.36);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.05;
  white-space: nowrap;
  font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', system-ui, sans-serif;
  background: linear-gradient(125deg, #fff 0%, #d4ecff 18%, #f5e6a8 42%, #fff8e0 55%, #a8d8ff 72%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lj-lh-brand-shimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 12px rgba(201, 162, 39, 0.55));
  pointer-events: none;
}

@keyframes lj-lh-outer-glow-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes lj-lh-outer-shell-breathe {
  0%,
  100% {
    border-color: rgba(232, 197, 90, 0.45);
    box-shadow:
      0 0 0 1px rgba(201, 162, 39, 0.35),
      0 0 10px rgba(255, 190, 70, 0.4),
      0 0 18px rgba(201, 162, 39, 0.28),
      inset 0 0 12px rgba(255, 210, 100, 0.12);
  }
  50% {
    border-color: rgba(255, 235, 160, 0.95);
    box-shadow:
      0 0 0 2px rgba(255, 220, 100, 0.75),
      0 0 22px rgba(255, 200, 80, 0.85),
      0 0 36px rgba(201, 162, 39, 0.55),
      inset 0 0 22px rgba(255, 230, 140, 0.28);
  }
}

@keyframes lj-lh-outer-rim-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes lj-lh-inner-body-breathe {
  0%,
  100% {
    box-shadow:
      inset -4px -6px 10px rgba(0, 0, 0, 0.65),
      inset 3px 2px 8px rgba(125, 211, 252, 0.2),
      0 0 6px rgba(56, 189, 248, 0.35);
  }
  50% {
    box-shadow:
      inset -4px -6px 10px rgba(0, 0, 0, 0.65),
      inset 3px 2px 10px rgba(167, 139, 250, 0.35),
      0 0 16px rgba(0, 242, 254, 0.85),
      0 0 22px rgba(232, 121, 249, 0.55);
  }
}

@keyframes lj-lh-inner-pulse-breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.92);
    border-color: rgba(56, 189, 248, 0.45);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    border-color: rgba(232, 121, 249, 0.95);
  }
}

@keyframes lj-lh-inner-ai-glow {
  0%,
  100% {
    text-shadow:
      0 0 4px rgba(56, 189, 248, 0.7),
      0 0 8px rgba(125, 211, 252, 0.45);
  }
  50% {
    text-shadow:
      0 0 8px rgba(0, 242, 254, 1),
      0 0 14px rgba(232, 121, 249, 0.9),
      0 0 20px rgba(167, 139, 250, 0.55);
  }
}

@keyframes lj-lh-outer-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-lh-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-lh-inner-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lj-lh-brand-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 對話框 header：同款 maint hero，縮放適配標題列（Build 20260574） */
.lungkee-ai-chat__header-brand.lungkee-ai-chat__float-launcher-hero-wrap,
.lungkee-ai-chat__float-launcher-hero-wrap[data-lj-orb-variant='header-hero'] {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='header-hero'] {
  --lj-lh-inner: 15px;
  --lj-lh-brand-size: 30px;
  --lj-lh-orbit-r: 13px;
  width: 48px;
  height: 48px;
  perspective: 220px;
}

.lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='header-hero'] .lj-lh-planet {
  width: 44px;
  height: 44px;
}

@media (min-width: 1025px) {
  .lungkee-ai-chat__header-brand.lungkee-ai-chat__float-launcher-hero-wrap,
  .lungkee-ai-chat__float-launcher-hero-wrap[data-lj-orb-variant='header-hero'] {
    width: 52px;
    height: 52px;
  }

  .lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='header-hero'] {
    --lj-lh-inner: 16px;
    --lj-lh-brand-size: 34px;
    --lj-lh-orbit-r: 14px;
    width: 52px;
    height: 52px;
  }

  .lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='header-hero'] .lj-lh-planet {
    width: 48px;
    height: 48px;
  }
}

/* 電腦端漂浮球：與手機同款 hero，尺寸放大至 80px */
@media (min-width: 1025px) {
  .lungkee-ai-chat__float-launcher-hero-wrap[data-lj-orb-role='float-launcher'] {
    width: 80px;
    height: 80px;
  }

  .lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='maint-hero'] {
    --lj-lh-inner: 26px;
    --lj-lh-brand-size: 52px;
    --lj-lh-orbit-r: 24px;
    width: 80px;
    height: 80px;
  }

  .lungkee-ai-chat__float-launcher-hero[data-lj-orb-variant='maint-hero'] .lj-lh-planet {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lj-lh-outer-glow,
  .lj-lh-outer-shell,
  .lj-lh-outer-shell::after,
  .lj-lh-orbit,
  .lj-lh-inner-rotor,
  .lj-lh-inner-body,
  .lj-lh-inner-pulse,
  .lj-lh-inner-ai,
  .lj-lh-planet-brand {
    animation: none !important;
  }

  .lj-lh-inner-planet {
    transform: translateX(var(--lj-lh-orbit-r)) rotate(0deg);
  }

  .lj-lh-outer-shell {
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.45);
  }

  .lj-lh-inner-pulse {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__glow,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__glow {
    animation: none !important;
    border-color: #e8c55a;
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.65);
  }

  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__globe,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__globe-base,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__globe-ball,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__globe-grid,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__core-label,
  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__name-band-text,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-text {
    animation: none !important;
    opacity: 1;
  }

  .lungkee-ai-chat__float-launcher .longji-ai-orb--launcher .longji-ai-orb__name-band-track,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-base,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-ball,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__globe-grid,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__core-label,
  .longji-ai-orb[data-lj-orb-role='float-launcher'] .longji-ai-orb__name-band-track {
    animation: none !important;
  }
}
