/* World-projected gathering overlays */
.gathering-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-overlay);
}

.gather-hp-bar {
    position: absolute;
    width: 60px;
    height: 8px;
    background: var(--bar-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    transform: translate(-50%, -100%);
}

.gather-hp-fill {
    height: 100%;
    transition: width 0.1s linear;
    border-radius: 4px;
}

.gather-hp-fill.high { background: #2ecc71; }
.gather-hp-fill.mid { background: #f39c12; }
.gather-hp-fill.low { background: #e04040; }

/* Resource name labels */
.resource-name-label {
    position: absolute;
    font-size: 10px;
    color: var(--text-secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, -100%);
}

/* Floating drop/reject text */
.float-text {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    white-space: nowrap;
    animation: float-up 1.5s ease-out forwards;
}

.float-text.drop {
    color: var(--text-title);
}

.float-text.reject {
    color: var(--bar-hp);
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -40px);
    }
}
