/* ═════════════════════════════════════════
   LUNA Moon Orbiter — Strategy Visualization
   Replaces BotJump. CSS-animated, theme-aware.
   ═════════════════════════════════════════ */

.botjump-container {
    position: relative;
    width: 100%;
    min-height: 340px;
    height: 100%;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    background: var(--bg-deepest, #060a14);
    border: 1px solid var(--border-subtle, #1e293b);
}

/* ── Sky Background ── */
.luna-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(99,102,241,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(244,63,94,0.04) 0%, transparent 50%),
        var(--bg-deepest, #060a14);
    overflow: hidden;
}

/* ── Stars ── */
.luna-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.luna-star {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: rgba(200,210,230,0.5);
    animation: luna-twinkle 3s ease-in-out infinite alternate;
}
@keyframes luna-twinkle {
    0%   { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

/* ── Moon Container ── */
.luna-moon-wrap {
    position: absolute;
    top: 45%; left: 50%;
    width: 110px; height: 110px;
    margin-left: -55px;
    margin-top: -55px;
}

/* ── Moon Body ── */
.luna-moon {
    width: 110px; height: 110px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 35% 35%,
        #f0f0f0 0%, #d4d4d8 30%, #a1a1aa 60%, #71717a 100%);
    box-shadow:
        0 0 40px rgba(244,244,245,0.15),
        0 0 80px rgba(168,85,247,0.08),
        inset -8px -6px 16px rgba(0,0,0,0.35);
    transition: box-shadow 0.6s ease, filter 0.6s ease;
    animation: luna-float 6s ease-in-out infinite;
}

/* Moon craters */
.luna-moon::before {
    content: '';
    position: absolute;
    top: 20%; left: 25%;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    box-shadow:
        22px 10px 0 6px rgba(0,0,0,0.06),
        -5px 28px 0 4px rgba(0,0,0,0.07),
        30px 30px 0 3px rgba(0,0,0,0.05),
        10px 45px 0 8px rgba(0,0,0,0.06);
}

/* Moon phase shadow — slides in from right to show crescent */
.luna-moon-shadow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg-deepest, #060a14);
    transition: clip-path 1.5s ease;
    /* Default: full moon (shadow fully hidden) */
    clip-path: inset(0 100% 0 0);
}

/* Phase states controlled by JS */
.luna-moon-wrap[data-phase="new"]     .luna-moon-shadow { clip-path: inset(0 0 0 0); }
.luna-moon-wrap[data-phase="crescent"] .luna-moon-shadow { clip-path: inset(0 0 0 55%); }
.luna-moon-wrap[data-phase="quarter"]  .luna-moon-shadow { clip-path: inset(0 0 0 50%); }
.luna-moon-wrap[data-phase="gibbous"]  .luna-moon-shadow { clip-path: inset(0 0 0 75%); }
.luna-moon-wrap[data-phase="full"]     .luna-moon-shadow { clip-path: inset(0 100% 0 0); }

@keyframes luna-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ── Glow States ── */
.luna-moon.luna-glow-profit {
    box-shadow:
        0 0 40px rgba(16,185,129,0.3),
        0 0 80px rgba(16,185,129,0.15),
        inset -8px -6px 16px rgba(0,0,0,0.35);
    filter: brightness(1.15);
}
.luna-moon.luna-glow-loss {
    box-shadow:
        0 0 40px rgba(239,68,68,0.3),
        0 0 80px rgba(239,68,68,0.15),
        inset -8px -6px 16px rgba(0,0,0,0.35);
    filter: brightness(0.85);
}

/* ── Orbit Ring ── */
.luna-orbit {
    position: absolute;
    top: 45%; left: 50%;
    width: 200px; height: 200px;
    margin-left: -100px;
    margin-top: -100px;
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Trade Dots (orbit around moon) ── */
.luna-trade-dots {
    position: absolute;
    inset: 0;
    animation: luna-orbit-spin 60s linear infinite;
}
@keyframes luna-orbit-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.luna-dot {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border-subtle, #2d3548);
    transition: background 0.4s, box-shadow 0.4s, transform 0.3s;
}
.luna-dot.active-profit {
    background: var(--color-profit, #10b981);
    box-shadow: 0 0 8px rgba(16,185,129,0.5);
    transform: scale(1.5);
}
.luna-dot.active-loss {
    background: var(--color-danger, #ef4444);
    box-shadow: 0 0 8px rgba(239,68,68,0.5);
    transform: scale(1.5);
}
.luna-dot.active-trade {
    background: var(--accent-blue, #3b82f6);
    box-shadow: 0 0 8px rgba(59,130,246,0.5);
    transform: scale(1.3);
}

/* ── Metrics HUD ── */
.luna-hud {
    position: absolute;
    bottom: 12px; left: 16px; right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    opacity: 0.85;
}
.luna-hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.luna-hud-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.luna-hud-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary, #e0e0e0);
    font-family: 'JetBrains Mono', monospace;
}
.luna-hud-value.profit { color: var(--color-profit, #10b981); }
.luna-hud-value.loss   { color: var(--color-danger, #ef4444); }

/* ── Event Toast ── */
.luna-toast {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
}
.luna-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.luna-toast.tp { background: rgba(16,185,129,0.85); }
.luna-toast.sl { background: rgba(239,68,68,0.85); }
.luna-toast.info { background: rgba(99,102,241,0.85); }

/* ── Pulse Ring (on events) ── */
.luna-pulse-ring {
    position: absolute;
    top: 45%; left: 50%;
    width: 110px; height: 110px;
    margin-left: -55px;
    margin-top: -55px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0;
}
.luna-pulse-ring.pulse-profit {
    border-color: var(--color-profit, #10b981);
    animation: luna-pulse 0.8s ease-out forwards;
}
.luna-pulse-ring.pulse-loss {
    border-color: var(--color-danger, #ef4444);
    animation: luna-pulse 0.8s ease-out forwards;
}
@keyframes luna-pulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ═════════════════════════════════════════
   Meteor Impact Animation (TP/SL)
   A shooting star streaks in and explodes
   on the moon surface with debris particles.
   ═════════════════════════════════════════ */

/* ── Meteor streak ── */
.luna-meteor {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    /* Start from top-right, fly to moon center */
    top: 5%; right: 10%;
    animation: luna-meteor-fly 0.55s cubic-bezier(0.2, 0, 0.4, 1) forwards;
}
.luna-meteor-profit {
    background: #10b981;
    box-shadow: 0 0 8px #10b981, 0 0 20px rgba(16,185,129,0.5);
}
.luna-meteor-loss {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444, 0 0 20px rgba(239,68,68,0.5);
}
/* Meteor trail */
.luna-meteor::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 2px;
    transform-origin: right center;
    transform: translateY(-50%) rotate(35deg);
    border-radius: 2px;
}
.luna-meteor-profit::after {
    background: linear-gradient(to left, transparent, rgba(16,185,129,0.6));
}
.luna-meteor-loss::after {
    background: linear-gradient(to left, transparent, rgba(239,68,68,0.6));
}

@keyframes luna-meteor-fly {
    0%   { top: 5%; right: 10%; opacity: 1; transform: scale(1); }
    80%  { opacity: 1; }
    100% { top: 43%; right: 48%; opacity: 0.8; transform: scale(0.6); }
}

/* ── Impact shockwave ring ── */
.luna-impact-ring {
    position: absolute;
    top: 45%; left: 50%;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-radius: 50%;
    border: 2px solid;
    pointer-events: none;
    z-index: 9;
    animation: luna-impact-expand 0.7s ease-out forwards;
}
@keyframes luna-impact-expand {
    0%   { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(8); opacity: 0; }
}

/* ── Impact flash (bright burst on moon) ── */
.luna-impact-flash {
    position: absolute;
    top: 45%; left: 50%;
    width: 30px; height: 30px;
    margin-left: -15px; margin-top: -15px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    animation: luna-flash-burst 0.45s ease-out forwards;
}
@keyframes luna-flash-burst {
    0%   { transform: scale(0.5); opacity: 1; filter: blur(0px); }
    50%  { transform: scale(2.5); opacity: 0.7; filter: blur(4px); }
    100% { transform: scale(4); opacity: 0; filter: blur(8px); }
}

/* ── Debris particles (fly outward from impact) ── */
.luna-debris {
    position: absolute;
    top: 45%; left: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9;
    animation: luna-debris-fly 0.6s ease-out forwards;
}
@keyframes luna-debris-fly {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; }
}

/* ── Sparkle particles (tiny white stars from impact) ── */
.luna-sparkle {
    position: absolute;
    top: 45%; left: 50%;
    width: 2px; height: 2px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9;
    animation: luna-sparkle-pop 0.5s ease-out forwards;
}
@keyframes luna-sparkle-pop {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    50%  { opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* ═══════════════════════════════════════
   Persistent Life Effects (TP/SL — 30s)
   Keep orbit alive after each trade event
   ═══════════════════════════════════════ */

.luna-life-layer {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 3;
    overflow: hidden;
}

/* Slow-expanding ring that persists 30s */
.luna-life-ring {
    position: absolute;
    top: 45%; left: 50%;
    width: 14px; height: 14px;
    margin-left: -7px; margin-top: -7px;
    border-radius: 50%;
    border: 1.5px solid;
    pointer-events: none;
    animation: luna-life-expand 30s ease-out forwards;
}
.luna-life-ring.profit { border-color: rgba(16,185,129,0.35); }
.luna-life-ring.loss   { border-color: rgba(239,68,68,0.25); }

@keyframes luna-life-expand {
    0%   { transform: scale(1); opacity: 0.6; }
    5%   { opacity: 0.45; }
    30%  { opacity: 0.25; }
    100% { transform: scale(22); opacity: 0; }
}

/* Long-lived orbiting sparkle — 30s lifespan */
.luna-life-sparkle {
    position: absolute;
    top: 45%; left: 50%;
    width: 3px; height: 3px;
    margin-left: -1.5px; margin-top: -1.5px;
    border-radius: 50%;
    pointer-events: none;
    animation:
        luna-life-orbit var(--orbit-dur, 8s) linear infinite,
        luna-life-fade 30s ease-in forwards;
}
.luna-life-sparkle.profit {
    background: #4ecdc4;
    box-shadow: 0 0 6px rgba(78,205,196,0.6), 0 0 14px rgba(16,185,129,0.2);
}
.luna-life-sparkle.loss {
    background: #ff6b6b;
    box-shadow: 0 0 6px rgba(255,107,107,0.5), 0 0 14px rgba(239,68,68,0.2);
}

@keyframes luna-life-orbit {
    0%   { transform: rotate(var(--start-angle, 0deg)) translateX(var(--orbit-r, 80px)) rotate(calc(-1 * var(--start-angle, 0deg))); }
    100% { transform: rotate(calc(var(--start-angle, 0deg) + 360deg)) translateX(var(--orbit-r, 80px)) rotate(calc(-1 * (var(--start-angle, 0deg) + 360deg))); }
}

@keyframes luna-life-fade {
    0%   { opacity: 0.8; }
    70%  { opacity: 0.4; }
    100% { opacity: 0; }
}

/* Persistent bloom glow on center body after TP — lasts 30s */
.luna-moon.luna-life-bloom-profit {
    box-shadow:
        0 0 50px rgba(16,185,129,0.2),
        0 0 100px rgba(16,185,129,0.08),
        inset -8px -6px 16px rgba(0,0,0,0.35) !important;
    filter: brightness(1.08);
    transition: box-shadow 3s ease, filter 3s ease;
}
.luna-moon.luna-life-bloom-loss {
    box-shadow:
        0 0 50px rgba(239,68,68,0.15),
        0 0 100px rgba(239,68,68,0.06),
        inset -8px -6px 16px rgba(0,0,0,0.35) !important;
    filter: brightness(0.95);
    transition: box-shadow 3s ease, filter 3s ease;
}

/* ── Strategy-specific trade event overrides ── */

/* LUNA life-ring: teal instead of green */
.botjump-container.luna-mode .luna-life-ring.profit {
    border-color: rgba(78,205,196,0.4);
}
/* LUNA life-sparkle: bright silver-teal */
.botjump-container.luna-mode .luna-life-sparkle.profit {
    background: #b8e0e0;
    box-shadow: 0 0 6px rgba(184,224,224,0.7), 0 0 14px rgba(78,205,196,0.3);
}
/* LUNA profit glow: silver-teal moonlight */
.botjump-container.luna-mode .luna-moon.luna-glow-profit {
    box-shadow:
        0 0 40px rgba(78,205,196,0.25),
        0 0 80px rgba(200,220,240,0.12),
        inset -8px -6px 16px rgba(0,0,0,0.35);
    filter: brightness(1.2);
}
/* LUNA pulse ring TP: teal ring */
.botjump-container.luna-mode .luna-pulse-ring.pulse-profit {
    border-color: rgba(78,205,196,0.7);
}
/* LUNA bloom: teal moonlight */
.botjump-container.luna-mode .luna-moon.luna-life-bloom-profit {
    box-shadow:
        0 0 50px rgba(78,205,196,0.2),
        0 0 100px rgba(200,220,240,0.08),
        inset -8px -6px 16px rgba(0,0,0,0.35) !important;
    filter: brightness(1.12);
}

/* Atheer life-ring: purple instead of green */
.botjump-container.atheer-mode .luna-life-ring.profit {
    border-color: rgba(168,85,247,0.35);
}
/* Atheer life-sparkle: magenta-purple */
.botjump-container.atheer-mode .luna-life-sparkle.profit {
    background: #c084fc;
    box-shadow: 0 0 6px rgba(192,132,252,0.6), 0 0 14px rgba(168,85,247,0.25);
}
/* Atheer profit glow: purple energy pulse */
.botjump-container.atheer-mode .luna-moon.luna-glow-profit {
    box-shadow:
        0 0 40px rgba(168,85,247,0.3),
        0 0 80px rgba(99,102,241,0.15),
        inset -8px -6px 16px rgba(0,0,0,0.35);
    filter: brightness(1.2) saturate(1.2);
}
/* Atheer pulse ring TP: purple ring */
.botjump-container.atheer-mode .luna-pulse-ring.pulse-profit {
    border-color: rgba(168,85,247,0.7);
}
/* Atheer bloom: purple energy */
.botjump-container.atheer-mode .luna-moon.luna-life-bloom-profit {
    box-shadow:
        0 0 50px rgba(168,85,247,0.25),
        0 0 100px rgba(99,102,241,0.1),
        inset -8px -6px 16px rgba(0,0,0,0.35) !important;
    filter: brightness(1.15) saturate(1.15);
}

/* ═══════════════════════════════════════
   Ambient Atmosphere Motes
   Floating particles that fill the dark space
   and keep the scene alive. Strategy-themed.
   ═══════════════════════════════════════ */

.luna-ambient {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
}
.luna-mote {
    position: absolute;
    width: var(--mote-size, 2px);
    height: var(--mote-size, 2px);
    border-radius: 50%;
    pointer-events: none;
    animation: luna-mote-drift var(--mote-dur, 20s) ease-in-out infinite;
    animation-delay: var(--mote-delay, 0s);
}
/* Atheer: purple energy motes */
.botjump-container.atheer-mode .luna-mote {
    background: rgba(168,85,247,0.5);
    box-shadow: 0 0 6px rgba(168,85,247,0.4), 0 0 12px rgba(168,85,247,0.15);
}
/* LUNA: silver cosmic dust */
.botjump-container.luna-mode .luna-mote {
    background: rgba(200,210,230,0.35);
    box-shadow: 0 0 4px rgba(200,210,230,0.25);
}
/* Other strategies: subtle cyan */
.botjump-container.laddergrid-mode .luna-mote,
.botjump-container.omro-mode .luna-mote {
    background: rgba(99,102,241,0.3);
    box-shadow: 0 0 4px rgba(99,102,241,0.2);
}
@keyframes luna-mote-drift {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    10%  { opacity: 0.6; }
    30%  { transform: translate(calc(var(--mote-drift, 20px) * 0.5), calc(var(--mote-drift, 20px) * -0.3)); opacity: 0.7; }
    50%  { transform: translate(var(--mote-drift, 20px), calc(var(--mote-drift, 20px) * -0.5)); opacity: 0.35; }
    70%  { transform: translate(calc(var(--mote-drift, 20px) * 0.8), calc(var(--mote-drift, 20px) * 0.2)); opacity: 0.6; }
    90%  { opacity: 0.4; }
}

/* ═══════════════════════════════════════
   Signal Reception (Cross-Widget FATHER → BotJump)
   When FATHER tunes, a projectile arrives and
   triggers a reception animation here.
   ═══════════════════════════════════════ */

.luna-signal-rx {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 7;
}

/* Reception burst — radar ping (Atheer) */
.luna-rx-burst.luna-rx-radar {
    position: absolute; top: 45%; left: 50%;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-radius: 50%;
    background: rgba(168,85,247,0.5);
    box-shadow: 0 0 30px rgba(168,85,247,0.4);
    animation: luna-rx-ping 1.8s ease-out forwards;
}
/* Reception burst — moonbeam (LUNA) */
.luna-rx-burst.luna-rx-moon {
    position: absolute; top: 45%; left: 50%;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-radius: 50%;
    background: rgba(244,244,245,0.4);
    box-shadow: 0 0 30px rgba(244,244,245,0.3);
    animation: luna-rx-ping 1.8s ease-out forwards;
}
@keyframes luna-rx-ping {
    0%   { transform: scale(0.5); opacity: 1; }
    40%  { opacity: 0.5; }
    100% { transform: scale(10); opacity: 0; }
}

/* Echo rings — expanding aftermath */
.luna-rx-echo {
    position: absolute; top: 45%; left: 50%;
    width: 14px; height: 14px;
    margin-left: -7px; margin-top: -7px;
    border-radius: 50%;
    border: 1px solid rgba(168,85,247,0.4);
    animation: luna-rx-echo-expand 2s ease-out forwards;
}
.luna-rx-echo.luna-rx-moon {
    border-color: rgba(244,244,245,0.3);
}
@keyframes luna-rx-echo-expand {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(15); opacity: 0; }
}

/* Reception glow on center body */
.luna-moon.luna-rx-glow {
    filter: brightness(1.4) !important;
    box-shadow:
        0 0 60px rgba(168,85,247,0.5),
        0 0 120px rgba(99,102,241,0.2),
        inset -8px -6px 16px rgba(0,0,0,0.35) !important;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* ═══════════════════════════════════════
   Cross-Widget Signal Projectile CSS
   Fixed-position element that flies from
   FATHER brain to BotJump center body.
   ═══════════════════════════════════════ */

.father-cross-signal {
    position: fixed;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow:
        0 0 12px #a855f7,
        0 0 24px rgba(168,85,247,0.4),
        0 0 48px rgba(168,85,247,0.15);
    pointer-events: none;
    z-index: 10000;
    animation: father-cross-fly 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.father-cross-signal::after {
    content: '';
    position: absolute;
    top: 50%; right: 100%;
    width: 30px; height: 2px;
    background: linear-gradient(to left, rgba(168,85,247,0.8), transparent);
    transform: translateY(-50%);
    border-radius: 2px;
}
.father-cross-signal::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 16px;
    margin-left: -8px; margin-top: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.3), transparent);
    animation: father-signal-pulse 0.4s ease-in-out infinite alternate;
}
@keyframes father-cross-fly {
    0%   { transform: translate(0, 0) scale(0.3); opacity: 0; }
    12%  { transform: translate(calc(var(--sig-dx) * 0.08), calc(var(--sig-dy) * 0.08)) scale(1.4); opacity: 1; }
    85%  { opacity: 0.9; }
    100% { transform: translate(var(--sig-dx), var(--sig-dy)) scale(0.5); opacity: 0.2; }
}
@keyframes father-signal-pulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0.2; }
}

/* ── Idle State (text label below center body, no duplicate icon) ── */
.luna-idle-msg {
    position: absolute;
    left: 0; right: 0;
    top: calc(45% + 62px); /* below the center body */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #64748b);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.45;
    pointer-events: none;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .botjump-container { min-height: 260px; }
    .luna-moon-wrap { width: 80px; height: 80px; margin-left: -40px; margin-top: -40px; }
    .luna-moon { width: 80px; height: 80px; }
    .luna-orbit { width: 150px; height: 150px; margin-left: -75px; margin-top: -75px; }
    .luna-pulse-ring { width: 80px; height: 80px; margin-left: -40px; margin-top: -40px; }
    .luna-hud { font-size: 0.65rem; }
    .luna-strat-badge { display: none; }
    .luna-strat-icon { font-size: 20px !important; }
}

/* ═════════════════════════════════════════
   Strategy-Aware Center Body
   The center celestial body changes based on
   active strategy: moon (LUNA), satellite-dish
   (Atheer), grid (LadderGrid), rocket (OMRO).
   ═════════════════════════════════════════ */

/* Strategy icon overlay (sits on top of the celestial body) */
.luna-strat-icon {
    position: absolute; inset: 0;
    display: none; /* Hidden for luna mode (moon body is enough) */
    align-items: center; justify-content: center;
    font-size: 28px; color: rgba(255,255,255,0.85);
    z-index: 1; pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}

/* Strategy badge (top-left corner) */
.luna-strat-badge {
    position: absolute; top: 10px; left: 14px;
    font-size: 0.6rem; font-weight: 600;
    color: var(--text-muted); opacity: 0.6;
    text-transform: uppercase; letter-spacing: 0.5px;
    pointer-events: none; z-index: 4;
}

/* ── LUNA mode — moon body is the visual, hide strategy icon ── */
.luna-moon-wrap.luna-mode .luna-strat-icon { display: none; }

/* LUNA orbit ring — soft teal glow */
.botjump-container.luna-mode .luna-orbit {
    border-color: rgba(78,205,196,0.18);
    box-shadow: 0 0 20px rgba(78,205,196,0.06), inset 0 0 20px rgba(78,205,196,0.03);
}

/* LUNA signal rings — gentle expanding moonbeam ripples (always visible) */
.botjump-container.luna-mode .luna-signal-rings {
    display: block;
}
.botjump-container.luna-mode .luna-signal-ring {
    border-color: rgba(200,220,240,0.15);
    animation: luna-moonbeam-expand 8s ease-out infinite;
}
@keyframes luna-moonbeam-expand {
    0%   { transform: scale(1); opacity: 0.4; border-width: 1.5px; }
    40%  { opacity: 0.15; border-width: 1px; }
    100% { transform: scale(14); opacity: 0; border-width: 0.3px; }
}

/* LUNA energy field — subtle concentric breathing rings (teal) */
.luna-moon-wrap.luna-mode::after {
    content: '';
    position: absolute; inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(78,205,196,0.12);
    animation: luna-field-breathe 5s ease-in-out infinite;
    pointer-events: none;
}
.luna-moon-wrap.luna-mode::before {
    content: '';
    position: absolute; inset: -24px;
    border-radius: 50%;
    border: 1px solid rgba(148,210,230,0.08);
    animation: luna-field-breathe 5s ease-in-out infinite 1.5s;
    pointer-events: none; z-index: -1;
}
@keyframes luna-field-breathe {
    0%, 100% { transform: scale(1); opacity: 0.25; }
    50%      { transform: scale(1.08); opacity: 0.55; }
}

/* LUNA background atmosphere — silver/teal subtle gradient */
.botjump-container.luna-mode .luna-sky {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(78,205,196,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(148,210,230,0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 75% 25%, rgba(200,220,240,0.02) 0%, transparent 35%),
        var(--bg-deepest, #060a14);
}

/* ── Atheer mode: Pulsating Energy Core ── */
.luna-moon-wrap.atheer-mode .luna-moon {
    background:
        radial-gradient(circle at 40% 35%,
            rgba(192,132,252,0.8) 0%,
            rgba(168,85,247,0.5) 20%,
            rgba(124,58,237,0.35) 40%,
            rgba(99,102,241,0.2) 60%,
            rgba(30,30,60,0.95) 85%);
    box-shadow:
        0 0 40px rgba(168,85,247,0.35),
        0 0 80px rgba(99,102,241,0.15),
        0 0 120px rgba(168,85,247,0.08),
        inset 0 0 25px rgba(168,85,247,0.2),
        inset -8px -6px 16px rgba(0,0,0,0.3);
    animation: luna-float 6s ease-in-out infinite, atheer-core-breathe 3s ease-in-out infinite;
}
.luna-moon-wrap.atheer-mode .luna-moon::before { display: none; }
.luna-moon-wrap.atheer-mode .luna-moon-shadow { display: none; }
.luna-moon-wrap.atheer-mode .luna-strat-icon {
    display: flex;
    color: rgba(192,132,252,0.95);
    font-size: 30px;
    filter: drop-shadow(0 0 8px rgba(168,85,247,0.5)) drop-shadow(0 0 16px rgba(99,102,241,0.25));
    /* keep absolute+inset:0 from base rule for centering */
}
/* Inner icon glow ring (behind the icon) */
.luna-moon-wrap.atheer-mode .luna-strat-icon::before {
    content: '';
    position: absolute;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
    animation: atheer-icon-pulse 3s ease-in-out infinite;
    pointer-events: none;
}
/* Subtle orbiting signal arc */
.luna-moon-wrap.atheer-mode .luna-strat-icon::after {
    content: '';
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(192,132,252,0.3);
    border-right-color: rgba(192,132,252,0.15);
    animation: atheer-icon-orbit 6s linear infinite;
    pointer-events: none;
}
@keyframes atheer-icon-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.3); opacity: 0.9; }
}
@keyframes atheer-icon-orbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes atheer-core-breathe {
    0%, 100% { filter: brightness(1) saturate(1) hue-rotate(0deg); }
    50%      { filter: brightness(1.3) saturate(1.2) hue-rotate(15deg); }
}

/* Atheer energy field: two concentric breathing rings */
.luna-moon-wrap.atheer-mode::after {
    content: '';
    position: absolute; inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(168,85,247,0.2);
    animation: atheer-field-breathe 4s ease-in-out infinite;
    pointer-events: none;
}
.luna-moon-wrap.atheer-mode::before {
    content: '';
    position: absolute; inset: -26px;
    border-radius: 50%;
    border: 1px solid rgba(99,102,241,0.12);
    animation: atheer-field-breathe 4s ease-in-out infinite 1.2s;
    pointer-events: none; z-index: -1;
}
@keyframes atheer-field-breathe {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50%      { transform: scale(1.1); opacity: 0.7; }
}

/* Atheer orbit ring — glowing purple */
.botjump-container.atheer-mode .luna-orbit {
    border-color: rgba(168,85,247,0.2);
    box-shadow: 0 0 20px rgba(168,85,247,0.08), inset 0 0 20px rgba(168,85,247,0.04);
}

/* Atheer background atmosphere */
.botjump-container.atheer-mode .luna-sky {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(168,85,247,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(99,102,241,0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 75% 25%, rgba(139,92,246,0.03) 0%, transparent 35%),
        var(--bg-deepest, #060a14);
}

/* Signal rings — expanding radar pulses (atheer only) */
.luna-signal-rings {
    position: absolute;
    top: 45%; left: 50%;
    width: 0; height: 0;
    pointer-events: none; z-index: 1;
    display: none;
}
.botjump-container.atheer-mode .luna-signal-rings {
    display: block;
}
.luna-signal-ring {
    position: absolute; top: 0; left: 0;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-radius: 50%;
    border: 1.5px solid rgba(168,85,247,0.35);
    animation: atheer-signal-expand 6s ease-out infinite;
}
@keyframes atheer-signal-expand {
    0%   { transform: scale(1); opacity: 0.6; border-width: 1.5px; }
    30%  { opacity: 0.25; border-width: 1px; }
    100% { transform: scale(18); opacity: 0; border-width: 0.3px; }
}

/* ═══════════════════════════════════════════════════════════
   Atheer Lifecycle States — 5-State Radar Animation System
   scanning → locked → in-trade → collecting / disrupted
   ═══════════════════════════════════════════════════════════ */

/* ── 1. SCANNING: Default — normal expanding rings (unchanged) ── */
.atheer-scanning .luna-signal-ring {
    animation: atheer-signal-expand 6s ease-out infinite;
}

/* ── 2. SIGNAL LOCKED: Rings converge inward, lock-on feel ── */
.atheer-signal-locked .luna-signal-ring {
    animation: atheer-signal-converge 1.5s ease-in forwards !important;
}
@keyframes atheer-signal-converge {
    0%   { transform: scale(12); opacity: 0; border-width: 0.5px; }
    40%  { opacity: 0.5; }
    80%  { transform: scale(1.2); opacity: 0.8; border-width: 2px; }
    100% { transform: scale(1); opacity: 0; border-width: 0px; }
}

/* Lock-on pulse — single ring that implodes from outer edge */
.atheer-lock-pulse {
    position: absolute;
    top: 45%; left: 50%;
    width: 200px; height: 200px;
    margin-left: -100px; margin-top: -100px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple, #8b5cf6);
    pointer-events: none;
    z-index: 6;
    animation: atheer-lock-implode 1.5s ease-in forwards;
}
@keyframes atheer-lock-implode {
    0%   { transform: scale(1); opacity: 0; border-width: 0.5px; }
    20%  { opacity: 0.6; }
    70%  { border-color: var(--color-profit, #10b981); }
    90%  { transform: scale(0.15); opacity: 1; border-width: 3px; }
    100% { transform: scale(0); opacity: 0; }
}

/* Lock flash on core body */
.luna-moon.atheer-lock-flash {
    filter: brightness(1.6) saturate(1.5) !important;
    box-shadow:
        0 0 60px rgba(168,85,247,0.6),
        0 0 120px rgba(99,102,241,0.3),
        inset 0 0 30px rgba(168,85,247,0.3) !important;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* Icon brightens on lock-on */
.luna-strat-icon.atheer-icon-locked {
    filter: drop-shadow(0 0 16px rgba(168,85,247,0.8)) drop-shadow(0 0 30px rgba(99,102,241,0.4)) brightness(1.5) !important;
    transition: filter 0.3s ease;
}

/* ── 3. IN-TRADE: Rings breathe gently instead of expanding, PnL-reactive ── */
.atheer-in-trade .luna-signal-ring {
    animation: atheer-trade-breathe 4s ease-in-out infinite !important;
    border-color: rgba(168,85,247,0.25);
}
@keyframes atheer-trade-breathe {
    0%, 100% { transform: scale(3); opacity: 0.15; }
    50%      { transform: scale(4.5); opacity: 0.35; }
}

/* PnL-reactive core glow — intensity driven by --atheer-pnl-intensity (0–1) */
.atheer-pnl-profit .luna-moon-wrap.atheer-mode .luna-moon {
    box-shadow:
        0 0 calc(30px + 40px * var(--atheer-pnl-intensity, 0)) color-mix(in srgb, var(--color-profit, #10b981) calc(25% + 35% * var(--atheer-pnl-intensity, 0)), transparent),
        0 0 calc(60px + 60px * var(--atheer-pnl-intensity, 0)) color-mix(in srgb, var(--color-profit, #10b981) calc(8% + 15% * var(--atheer-pnl-intensity, 0)), transparent),
        inset 0 0 25px rgba(168,85,247,0.15),
        inset -8px -6px 16px rgba(0,0,0,0.3) !important;
    transition: box-shadow 1s ease;
}
.atheer-pnl-loss .luna-moon-wrap.atheer-mode .luna-moon {
    box-shadow:
        0 0 calc(30px + 40px * var(--atheer-pnl-intensity, 0)) color-mix(in srgb, var(--color-loss, #ef4444) calc(20% + 30% * var(--atheer-pnl-intensity, 0)), transparent),
        0 0 calc(60px + 60px * var(--atheer-pnl-intensity, 0)) color-mix(in srgb, var(--color-loss, #ef4444) calc(6% + 12% * var(--atheer-pnl-intensity, 0)), transparent),
        inset 0 0 25px rgba(168,85,247,0.1),
        inset -8px -6px 16px rgba(0,0,0,0.3) !important;
    transition: box-shadow 1s ease;
}

/* PnL-reactive energy field rings */
.atheer-pnl-profit .luna-moon-wrap.atheer-mode::after {
    border-color: color-mix(in srgb, var(--color-profit, #10b981) 30%, transparent) !important;
}
.atheer-pnl-profit .luna-moon-wrap.atheer-mode::before {
    border-color: color-mix(in srgb, var(--color-profit, #10b981) 15%, transparent) !important;
}
.atheer-pnl-loss .luna-moon-wrap.atheer-mode::after {
    border-color: color-mix(in srgb, var(--color-loss, #ef4444) 25%, transparent) !important;
}
.atheer-pnl-loss .luna-moon-wrap.atheer-mode::before {
    border-color: color-mix(in srgb, var(--color-loss, #ef4444) 12%, transparent) !important;
}

/* In-trade orbit ring: accelerated rotation */
.atheer-in-trade .luna-moon-wrap.atheer-mode .luna-strat-icon::after {
    animation-duration: 3s !important;
}

/* PnL flash on core body (each metrics update with PnL change) */
.luna-moon.atheer-pnl-flash {
    animation: atheer-pnl-tick 0.5s ease-out !important;
}
@keyframes atheer-pnl-tick {
    0%   { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

/* ── 4. COLLECTION: TP signal absorbed, connectivity arcs radiate ── */

/* Collecting: signal rings do single bright pulse outward */
.atheer-collecting .luna-signal-ring {
    animation: atheer-collect-ring-pulse 1s ease-out forwards !important;
    border-color: var(--color-profit, #10b981) !important;
}
@keyframes atheer-collect-ring-pulse {
    0%   { transform: scale(1); opacity: 0.9; border-width: 2px; border-color: var(--color-profit, #10b981); }
    100% { transform: scale(16); opacity: 0; border-width: 0.3px; }
}

/* Absorption orb — bright dot from orbit edge → center core */
.atheer-absorb-orb {
    position: absolute;
    top: 10%; left: 80%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-profit, #10b981);
    box-shadow:
        0 0 12px var(--color-profit, #10b981),
        0 0 24px color-mix(in srgb, var(--color-profit, #10b981) 50%, transparent);
    pointer-events: none;
    z-index: 8;
    animation: atheer-absorb-fly 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes atheer-absorb-fly {
    0%   { transform: scale(1.4); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 0.9; }
    100% {
        top: 45%; left: 50%;
        transform: scale(0); opacity: 0;
        filter: brightness(3);
    }
}

/* Connectivity arcs — lines radiating from center outward */
.atheer-connect-arc {
    position: absolute;
    top: 45%; left: 50%;
    width: 2px; height: 0;
    transform-origin: top center;
    transform: rotate(var(--arc-angle, 0deg));
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--accent-purple, #8b5cf6) 70%, transparent),
        transparent);
    pointer-events: none;
    z-index: 7;
    animation: atheer-arc-radiate 1.8s ease-out forwards;
}
@keyframes atheer-arc-radiate {
    0%   { height: 0; opacity: 0; }
    15%  { height: 10px; opacity: 1; }
    50%  { height: 80px; opacity: 0.6; }
    100% { height: 120px; opacity: 0; }
}

/* Collection burst — bright purple flash from center */
.atheer-collect-burst {
    position: absolute;
    top: 45%; left: 50%;
    width: 30px; height: 30px;
    margin-left: -15px; margin-top: -15px;
    border-radius: 50%;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--accent-purple, #8b5cf6) 60%, white) 0%,
        color-mix(in srgb, var(--accent-purple, #8b5cf6) 30%, transparent) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 6;
    animation: atheer-burst-expand 1.8s ease-out forwards;
}
@keyframes atheer-burst-expand {
    0%   { transform: scale(0.3); opacity: 0; }
    15%  { transform: scale(1); opacity: 1; }
    50%  { transform: scale(2.5); opacity: 0.4; }
    100% { transform: scale(4); opacity: 0; }
}

/* ── 5. DISRUPTION: SL scramble, interference, red flash ── */

/* Disrupted: signal rings jitter and scatter */
.atheer-disrupted .luna-signal-ring {
    animation: atheer-scramble 0.3s ease-in-out infinite !important;
    border-color: color-mix(in srgb, var(--color-loss, #ef4444) 50%, transparent) !important;
}
@keyframes atheer-scramble {
    0%   { transform: scale(3) translate(0, 0); }
    25%  { transform: scale(3.2) translate(3px, -2px); }
    50%  { transform: scale(2.8) translate(-2px, 3px); }
    75%  { transform: scale(3.1) translate(1px, -3px); }
    100% { transform: scale(3) translate(0, 0); }
}

/* Disrupted core flash */
.luna-moon.atheer-disrupted-flash {
    filter: brightness(0.7) saturate(0.5) hue-rotate(30deg) !important;
    box-shadow:
        0 0 50px color-mix(in srgb, var(--color-loss, #ef4444) 40%, transparent),
        inset 0 0 30px color-mix(in srgb, var(--color-loss, #ef4444) 20%, transparent) !important;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

/* Disrupted energy field rings turn red */
.atheer-disrupted .luna-moon-wrap.atheer-mode::after {
    border-color: color-mix(in srgb, var(--color-loss, #ef4444) 30%, transparent) !important;
    animation: atheer-field-scramble 0.4s ease-in-out infinite !important;
}
.atheer-disrupted .luna-moon-wrap.atheer-mode::before {
    border-color: color-mix(in srgb, var(--color-loss, #ef4444) 15%, transparent) !important;
    animation: atheer-field-scramble 0.4s ease-in-out infinite 0.1s !important;
}
@keyframes atheer-field-scramble {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05) translate(2px, -1px); }
}

/* Static interference overlay */
.atheer-interference {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 9;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            color-mix(in srgb, var(--color-loss, #ef4444) 8%, transparent) 2px,
            color-mix(in srgb, var(--color-loss, #ef4444) 8%, transparent) 4px);
    animation: atheer-static-sweep 0.15s linear infinite;
    border-radius: var(--radius-lg, 12px);
    opacity: 0.6;
}
@keyframes atheer-static-sweep {
    0%   { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Scatter fragments (red fragments flying outward) */
.atheer-scatter-frag {
    position: absolute;
    top: 45%; left: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--color-loss, #ef4444);
    box-shadow: 0 0 6px color-mix(in srgb, var(--color-loss, #ef4444) 50%, transparent);
    pointer-events: none;
    z-index: 8;
    animation: atheer-scatter-fly 1.2s ease-out forwards;
}
@keyframes atheer-scatter-fly {
    0%   { transform: translate(0, 0) scale(1.5); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translate(var(--frag-dx, 40px), var(--frag-dy, -30px)) scale(0.2); opacity: 0; }
}


/* ── LadderGrid mode: structured grid planet ── */
.luna-moon-wrap.laddergrid-mode .luna-moon {
    background: radial-gradient(circle at 35% 35%,
        rgba(59,130,246,0.35) 0%, rgba(37,99,235,0.25) 40%, rgba(20,30,50,0.9) 100%);
    box-shadow:
        0 0 40px rgba(59,130,246,0.2),
        0 0 80px rgba(37,99,235,0.1),
        inset -8px -6px 16px rgba(0,0,0,0.4);
}
.luna-moon-wrap.laddergrid-mode .luna-moon::before { display: none; }
.luna-moon-wrap.laddergrid-mode .luna-moon-shadow { display: none; }
.luna-moon-wrap.laddergrid-mode .luna-strat-icon {
    display: flex;
    color: rgba(59,130,246,0.9);
}

/* ── OMRO mode: fiery rocket planet ── */
.luna-moon-wrap.omro-mode .luna-moon {
    background: radial-gradient(circle at 35% 35%,
        rgba(245,158,11,0.35) 0%, rgba(234,88,12,0.25) 40%, rgba(40,20,10,0.9) 100%);
    box-shadow:
        0 0 40px rgba(245,158,11,0.2),
        0 0 80px rgba(234,88,12,0.1),
        inset -8px -6px 16px rgba(0,0,0,0.4);
}
.luna-moon-wrap.omro-mode .luna-moon::before { display: none; }
.luna-moon-wrap.omro-mode .luna-moon-shadow { display: none; }
.luna-moon-wrap.omro-mode .luna-strat-icon {
    display: flex;
    color: rgba(245,158,11,0.9);
}

/* ═══════════════════════════════════════════════════════════
   Enhanced FATHER Tune Reception — Multi-Stage Animation
   ═══════════════════════════════════════════════════════════ */

/* Shockwave ring — expanding colored ring from center */
.luna-rx-shockwave {
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple, #8b5cf6);
    pointer-events: none;
    animation: luna-rx-shockwave-expand 1.8s ease-out forwards;
}
.luna-rx-shockwave.luna-rx-cat-entry  { border-color: var(--accent-cyan, #06b6d4); }
.luna-rx-shockwave.luna-rx-cat-tp     { border-color: var(--color-profit, #10b981); }
.luna-rx-shockwave.luna-rx-cat-buyback { border-color: var(--accent-amber, #eab308); }
.luna-rx-shockwave.luna-rx-cat-leverage { border-color: var(--color-loss, #ef4444); }
@keyframes luna-rx-shockwave-expand {
    0%   { transform: scale(1); opacity: 0.8; border-width: 2.5px; }
    40%  { opacity: 0.4; border-width: 1.5px; }
    100% { transform: scale(8); opacity: 0; border-width: 0.3px; }
}

/* Energy orbs — visual-only category-colored orbiting dots (no text) */
.luna-rx-energy-orb {
    position: absolute;
    top: 45%; left: 50%;
    width: 5px; height: 5px;
    margin-left: -2.5px; margin-top: -2.5px;
    border-radius: 50%;
    background: var(--accent-purple, #8b5cf6);
    box-shadow:
        0 0 8px var(--accent-purple, #8b5cf6),
        0 0 16px color-mix(in srgb, var(--accent-purple, #8b5cf6) 40%, transparent);
    pointer-events: none;
    animation: luna-rx-orb-orbit 2.5s ease-out forwards;
    transform-origin: 50% 50%;
}
/* Category color variants */
.luna-rx-energy-orb.luna-rx-cat-entry {
    background: var(--accent-cyan, #06b6d4);
    box-shadow: 0 0 8px var(--accent-cyan, #06b6d4), 0 0 16px color-mix(in srgb, var(--accent-cyan, #06b6d4) 40%, transparent);
}
.luna-rx-energy-orb.luna-rx-cat-tp {
    background: var(--color-profit, #10b981);
    box-shadow: 0 0 8px var(--color-profit, #10b981), 0 0 16px color-mix(in srgb, var(--color-profit, #10b981) 40%, transparent);
}
.luna-rx-energy-orb.luna-rx-cat-buyback {
    background: var(--accent-amber, #eab308);
    box-shadow: 0 0 8px var(--accent-amber, #eab308), 0 0 16px color-mix(in srgb, var(--accent-amber, #eab308) 40%, transparent);
}
.luna-rx-energy-orb.luna-rx-cat-leverage {
    background: var(--color-loss, #ef4444);
    box-shadow: 0 0 8px var(--color-loss, #ef4444), 0 0 16px color-mix(in srgb, var(--color-loss, #ef4444) 40%, transparent);
}
@keyframes luna-rx-orb-orbit {
    0%   {
        transform: rotate(var(--orb-angle, 0deg)) translateX(0) scale(0);
        opacity: 0;
    }
    15%  {
        transform: rotate(var(--orb-angle, 0deg)) translateX(30px) scale(1.3);
        opacity: 1;
    }
    50%  {
        transform: rotate(calc(var(--orb-angle, 0deg) + 180deg)) translateX(50px) scale(1);
        opacity: 0.7;
    }
    85%  {
        transform: rotate(calc(var(--orb-angle, 0deg) + 300deg)) translateX(35px) scale(0.6);
        opacity: 0.3;
    }
    100% {
        transform: rotate(calc(var(--orb-angle, 0deg) + 360deg)) translateX(20px) scale(0);
        opacity: 0;
    }
}
