body.page-inventario {
    visibility: hidden;
}
body.page-inventario.ready {
    visibility: visible;
}

/* XP */
.xp-bg {
    width: 100%;
    height: 8px;
    background: #18181b;
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
    border: 1px solid #27272a;
}

#xp-bar {
    height: 100%;
    background: linear-gradient(90deg, #facc15, #eab308);
    width: 0%;
}

/* MENU */
.menu-list {
    padding: 10px 15px 90px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.menu-category {
    font-size: 10px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 12px 0 4px 5px;
    font-weight: 800;
}

.menu-item {
    background: #111113;
    border: 1px solid #27272a;
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    min-height: 46px;
}

.menu-item:active {
    transform: scale(0.98);
}

.menu-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f4f4f5;
    font-size: 13px;
}

.menu-icon {
    width: 30px;
    height: 30px;
    background: #09090b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
    border: 1px solid #18181b;
}

.arrow {
    color: #3f3f46;
    font-size: 12px;
    opacity: 0.4;
}

/* =========================
   🔥 NOVO CARD INVENTÁRIO
========================= */
.inv-card {
    background: #111113;
    border: 1px solid #27272a;
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 50px;
}

/* texto menor abaixo */
.inv-meta {
    font-size: 10px;
    color: #71717a;
}

/* raridades (visual RPG) */
.raridade-comum { color: #9ca3af; }
.raridade-raro { color: #3b82f6; }
.raridade-epico { color: #a855f7; }
.raridade-lendario { color: #facc15; }
.raridade-mistico { color: #22c55e; }
.raridade-divino { color: #f97316; }

/* botões */
.btn-equip {
    background: #facc15;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-sell {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* hover leve (mobile safe) */
.btn-equip:active,
.btn-sell:active {
    transform: scale(0.95);
}

/* 🔥 TOAST */
.inv-toast {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    border: 1px solid #333;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    z-index: 9999;
    opacity: 0;
    transition: 0.2s;
}

.inv-toast.show {
    opacity: 1;
}

.inv-toast.success { border-color: #22c55e; color: #22c55e; }
.inv-toast.error { border-color: #ef4444; color: #ef4444; }
