body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Courier New', Courier, monospace;
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.monitor-glow {
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.5);
}

.scan-line {
    width: 100%;
    height: 2px;
    background: rgba(56, 189, 248, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    animation: scan 3s linear infinite;
    pointer-events: none;
    z-index: 50;
}

@keyframes scan {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

/* Orb Base Styles */
.orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
}

.orb {
    width: 15vw;
    height: 15vw;
    min-width: 180px; /* Increased slightly for better presence on desktop */
    min-height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(56, 189, 248, 0.5) 40%, rgba(15, 23, 42, 0.9) 80%);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.2);
    /* Base transition for state changes (like hesitation) */
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, filter 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .orb {
        min-width: 140px;
        min-height: 140px;
    }
}

/* Orb States */
.orb.state-thinking {
    /* Tightened glow, slightly contracted */
    transform: scale(0.95);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.4);
    filter: brightness(1.2);
}

.orb.state-speaking {
    /* Brighter, pulsating slightly faster (handled in JS or CSS) */
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.orb.state-silent {
     /* Slightly dimmed */
     filter: brightness(0.8);
}
