.account-vault-gold { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; color: #f8fafc; font-size: 13px; }

.account-vault-gold input { width: 100px; padding: 7px; border: 1px solid #475569; border-radius: 5px; background: #0b1220; color: #fff; }

.account-vault-gold button { padding: 7px 10px; border: 0; border-radius: 5px; background: #b45309; color: #fff; cursor: pointer; }

#hotbar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.hotbar-slot {
    width: 48px;
    height: 48px;
    background: #111827;
    border: 2px solid #3b5166;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 10px;
    text-align: center;
    position: relative;
	opacity: 0.85;
}

.hotbar-slot.empty {
    color: #374151;
    cursor: default;
}

.hotbar-slot:not(.empty):hover {
    border-color: #f1c40f;
}

.hotbar-slot .qty {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 9px;
    color: #94a3b8;
}

.hotbar-slot .key {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 9px;
    color: #64748b;
}

#gatherProgressBar {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 10px;
    background: #1f2a36;
    border-radius: 5px;
    overflow: visible;
    z-index: 120;
}

#gatherProgressBar.hidden { display: none; }

#interactionProgressLabel {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 280px;
    transform: translateX(-50%);
    color: #e9d5ff;
    font-size: 12px;
    text-align: center;
}

.skill-card-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.skill-card-level {
    /* Poziom: o 1px mniejszy niż domyślna czcionka okna (16px). */
    font-size: 15px;
}

#interactionTimingTarget {
    position: absolute;
    top: -2px;
    height: 14px;
    border: 2px solid #facc15;
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(250, 204, 21, 0.2);
    z-index: 1;
    pointer-events: none;
}

#interactionTimingTarget.hidden { display: none; }

.battle-status-effects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    min-height: 0;
    margin-top: 5px;
}

.battle-status-effect {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #475569;
    border-radius: 50%;
    background: #172033;
    font-size: 15px;
    cursor: help;
}

.battle-status-effect.debuff { border-color: #ef4444; }

.battle-status-effect.buff { border-color: #22c55e; }

.battle-status-effect-turns {
    position: absolute;
    right: -4px;
    bottom: -4px;
    min-width: 13px;
    padding: 0 2px;
    border-radius: 8px;
    background: #0f172a;
    color: #f8fafc;
    font-size: 9px;
    line-height: 13px;
    text-align: center;
}

#gatherProgressFill {
    height: 100%;
    width: 0%;
    background: #4ade80;
    transition: width 0.1s linear;
}

#mapInfo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-icon {
    position: relative;
    width: 16px;
    /* height: 16px; */
    border-radius: 50%;
    background: #353F4A;
    color: #94a3b8;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
	margin-left: -4px;
}

#activeBuffs {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.buff-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1f2a36;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 11px;
    color: #e2e8f0;
}

.buff-badge .buff-icon {
    font-size: 13px;
}

.map-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

#mapInfo > .map-tooltip-wrapper {
    display: flex;
    align-items: center;
    height: 18px;
	padding-top: 2px;
}

.map-tooltip {
    display: none;
    position: absolute;
    bottom: 110%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: #111827;
    border: 1px solid #1f2a36;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    color: #e2e8f0;
    text-align: left;
    line-height: 1.5;
    white-space: normal;
    width: 200px;
    z-index: 60;
    pointer-events: none;
}

.map-tooltip-wrapper:hover .map-tooltip {
    display: block;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 18px;
    color: #e2e8f0;
    font-weight: 600;
    padding-right: 10px;
    margin-right: 2px;
    border-right: 1px solid #334155;
}

#mapInfoText {
    display: flex;
    align-items: center;
    height: 18px;
}

.map-location-info {
    display: contents;
}

.map-location-info > .map-tooltip-wrapper {
    display: flex;
    align-items: center;
    height: 18px;
    padding-top: 2px;
}

.weather-icon {
    display: block;
    transform: translateY(-1px);
}

.weather-tooltip-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: help;
}

.weather-tooltip-wrapper .map-tooltip {
    left: 0;
    transform: none;
}

.worldmap-section .map-tooltip {
    top: 110%;
    bottom: auto;
    right: 0;
    left: auto;
    transform: none;
}

/* ================== Mobile: pasek informacji o mapie ==================
   map-info.css ładuje się ostatni, więc te reguły wygrywają kaskadę
   z bazowymi z login.css/ui.css. */
@media (max-width: 768px) {
    /* Pogoda: zostaje sama ikonka (z tooltipem), etykieta tekstowa ukryta. */
    .weather-label {
        display: none;
    }

    /* Lokacja: jak pola stat-row — za długi tekst ucina się z "...". */
    #mapInfoText {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 18px;
    }
}
