/* ============================================================
   IVANN 48 — Currency HUD (TP + Gemmes) + variant toast gem
   Sentinel : CURRENCY_V1
   ============================================================ */
/* CURRENCY_V1 */

/* Cache l'ancien HUD TP (de JS 20) — remplace par le HUD unifie ci-dessous */
.ivann-tp-hud { display: none !important; }

/* HUD unifie — barre flottante top-left avec TP + Gemmes cote a cote */
.ivann-game-hud {
    position: fixed;
    top: 60px;
    left: 16px;
    z-index: 99995;
    display: flex; align-items: stretch; gap: 0;
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
    font: 800 13px/1 system-ui, sans-serif;
}
.ivann-game-hud__chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: transform 150ms;
    cursor: pointer;
}
.ivann-game-hud__chip:hover { transform: scale(1.04); color: #fff; }
.ivann-game-hud__chip svg { width: 16px; height: 16px; }
.ivann-game-hud__chip-label {
    font-weight: 800;
    letter-spacing: 0.3px;
}
.ivann-game-hud__chip--tp {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}
.ivann-game-hud__chip--gem {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
    margin-left: 6px;
}
.ivann-game-hud__chip--crystal {
    background: linear-gradient(135deg, #06b6d4, #7c3aed);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
    margin-left: 6px;
}
/* Plus de pulse permanent sur les chips de devises : c'etait du bruit
   visuel constant. Les chips restent simplement colorees. */

/* Variant toast 'gem' — vert emeraude */
.ivann-juice-toast--gem {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}
.ivann-juice-toast--gem .ivann-juice-toast__icon {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.15);
}
.ivann-juice-toast--gem .ivann-juice-toast__title { color: #6ee7b7; }

/* Variant toast 'crystal' — cyan/violet diamant */
.ivann-juice-toast--crystal {
    border-left-color: #a855f7;
    background: linear-gradient(135deg, #1e1b4b 0%, #0c0a1d 100%);
}
.ivann-juice-toast--crystal .ivann-juice-toast__icon {
    color: #c4b5fd;
    background: rgba(168, 85, 247, 0.18);
}
.ivann-juice-toast--crystal .ivann-juice-toast__title {
    background: linear-gradient(90deg, #67e8f9, #c4b5fd);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 720px) {
    .ivann-game-hud { font-size: 12px; }
    .ivann-game-hud__chip { padding: 6px 10px; }
    .ivann-game-hud__chip svg { width: 14px; height: 14px; }
}
