/* ============================================
 * Voeux (sub-tab Sanctuaire + vue plein ecran)
 * cf. assets/js/modules/wish.js
 * Variables utilisees :
 *   --wish-color    : couleur de la rarete cible (Alpha violet / Ancien rouge)
 *   --wish-color-rgb: id pour les rgba
 *   --elem-color    : couleur element (sur slots / picker rows)
 * ============================================ */

/* ----------- Landing : 2 cards Voeu Alpha / Voeu Ancien ----------- */
.wish-landing {
    padding: 1rem 1.5rem 2rem;
}
.wish-landing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.wish-landing-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 0.4rem;
    letter-spacing: 1px;
}
.wish-landing-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto;
}
.wish-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 760px;
    margin: 0 auto;
}
/* Card épurée et solennelle : grand halo radial autour de l'icône, titre
   en Cinzel large, pas de bord rigide visible — juste un glow qui invite
   au clic. */
.wish-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding: 2.8rem 1.5rem 2.4rem;
    background:
        radial-gradient(circle at 50% 30%,
            rgba(var(--wish-color-rgb), 0.22) 0%,
            rgba(var(--wish-color-rgb), 0.08) 40%,
            transparent 72%),
        radial-gradient(circle at 18% 78%, rgba(var(--wish-color-rgb), 0.10) 0%, transparent 50%),
        radial-gradient(circle at 82% 80%, rgba(var(--wish-color-rgb), 0.10) 0%, transparent 50%),
        linear-gradient(180deg, rgba(8,6,20,0.72), rgba(4,2,12,0.88));
    border: 1px solid rgba(var(--wish-color-rgb), 0.25);
    border-radius: 14px;
    color: var(--text-main);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    font-family: 'Cinzel', serif;
}
.wish-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--wish-color-rgb), 0.6);
    box-shadow:
        0 12px 40px rgba(var(--wish-color-rgb), 0.30),
        0 0 60px rgba(var(--wish-color-rgb), 0.18);
}

/* Voile d'étoiles cosmique sur TOUTES les cartes de voeu. Le fond reste teinté
   par --wish-color de chaque voeu (alpha violet, ancien rouge, orbe violet). */
.wish-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 70% 18%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1px 1px at 38% 72%, rgba(255,255,255,0.45), transparent),
        radial-gradient(1.5px 1.5px at 86% 58%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1px 1px at 58% 88%, rgba(255,255,255,0.45), transparent);
    opacity: 0.7;
    pointer-events: none;
}
/* Voeu Orbe : garde en plus ses accents multicolores (cyan/magenta) pour son
   identité unique, par-dessus la teinte violette de base. */
.wish-card-orb {
    background:
        radial-gradient(circle at 50% 30%, rgba(192,132,252,0.22) 0%, rgba(99,102,241,0.10) 40%, transparent 72%),
        radial-gradient(circle at 18% 78%, rgba(34,211,238,0.12) 0%, transparent 50%),
        radial-gradient(circle at 82% 80%, rgba(232,121,249,0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10,6,26,0.72), rgba(4,2,14,0.88));
    border-color: rgba(192,132,252,0.35);
}
.wish-card-orb:hover {
    border-color: rgba(192,132,252,0.7);
    box-shadow: 0 12px 40px rgba(192,132,252,0.35), 0 0 60px rgba(99,102,241,0.22);
}

/* Réalisation orbe : 1 seule case, colonne = largeur de la case (140px) pour
   qu'elle soit bien centrée (le parent .wish-content est déjà align-items:center). */
.wish-slots-arc.is-single {
    grid-template-columns: 140px;
    justify-content: center;
    justify-items: center;
}

/* Barème orbe : raretés colorées · N orbe(s), sur une ligne centrée et sobre. */
.wish-orb-rates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.5rem;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #9aa0a6);
    font-family: 'Roboto Condensed', sans-serif;
}
.wish-orb-rate { white-space: nowrap; }
.wish-orb-rate > span { font-weight: 700; }

/* Reveal orbe : image simple (pas un spritesheet comme l'œuf), même glow. */
.wish-reveal-orb-sprite {
    width: 240px;
    height: 240px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter:
        drop-shadow(0 0 12px var(--reveal-color))
        drop-shadow(0 0 28px var(--reveal-color))
        drop-shadow(0 0 60px var(--reveal-color));
    animation: wish-reveal-egg-pulse 2.4s ease-in-out infinite;
}

.wish-card-icon {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 14px rgba(var(--wish-color-rgb), 0.7));
}
.wish-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: wish-pulse 3s ease-in-out infinite;
}
@keyframes wish-pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50%      { transform: scale(1.06); filter: brightness(1.22); }
}
.wish-card-title {
    position: relative;
    z-index: 1;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wish-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow:
        0 0 16px rgba(var(--wish-color-rgb), 0.55),
        0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ----------- Vue plein ecran : canvas + content ----------- */
.wish-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: #050308;
    overflow: hidden;
}
.wish-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.wish-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    font-family: 'Roboto Condensed', sans-serif;
}
.wish-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s;
}
.wish-close:hover {
    background: rgba(var(--gold-rgb), 0.15);
    border-color: var(--gold);
}
.wish-header {
    text-align: center;
    max-width: 640px;
}
.wish-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wish-color);
    text-shadow: 0 0 20px rgba(var(--wish-color-rgb), 0.6);
    margin: 0 0 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.wish-subtitle {
    font-size: 0.95rem;
    color: var(--text-card);
    line-height: 1.5;
    margin: 0;
}

/* ----------- Slots alignes ----------- */
.wish-slots-arc {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 140px);
    gap: 1rem;
    align-items: center;
    transition: opacity 0.6s ease;
}
.wish-slots-arc.is-dissolving { opacity: 0; transform: scale(0.92); transition: opacity 1.2s, transform 1.2s; }
.wish-slot {
    position: relative;
    width: 140px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 10px;
    transition: transform 0.25s ease;
}
/* Slot vide : forme arrondie type "sceau" avec fond radial tres tenu
   + bordure pleine 1px tres fine + glow tres doux. Aucun pointille pour
   garder une silhouette lisse et solennelle. */
.wish-slot.is-empty {
    border: 1px solid rgba(var(--wish-color-rgb), 0.30);
    background: radial-gradient(circle at 50% 50%,
        rgba(var(--wish-color-rgb), 0.08) 0%,
        rgba(var(--wish-color-rgb), 0.02) 60%,
        transparent 100%);
    cursor: pointer;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    animation: wish-slot-breath 3.2s ease-in-out infinite;
}
.wish-slot.is-empty:hover {
    background: radial-gradient(circle at 50% 50%,
        rgba(var(--wish-color-rgb), 0.18) 0%,
        rgba(var(--wish-color-rgb), 0.05) 60%,
        transparent 100%);
    border-color: rgba(var(--wish-color-rgb), 0.75);
    box-shadow: 0 0 24px rgba(var(--wish-color-rgb), 0.25);
}
/* Respiration tres douce : glow qui s'expand/contract lentement, sans
   "shockwave" agressive. Effet "etoile qui scintille". */
@keyframes wish-slot-breath {
    0%, 100% { box-shadow: 0 0 8px rgba(var(--wish-color-rgb), 0.10); }
    50%      { box-shadow: 0 0 18px rgba(var(--wish-color-rgb), 0.22); }
}
.wish-slot-plus {
    font-size: 2.2rem;
    color: rgba(var(--wish-color-rgb), 0.7);
    line-height: 1;
    font-weight: 200;
    text-shadow: 0 0 12px rgba(var(--wish-color-rgb), 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}
.wish-slot.is-empty:hover .wish-slot-plus {
    color: var(--wish-color);
    text-shadow: 0 0 18px rgba(var(--wish-color-rgb), 0.7);
    transform: scale(1.1);
}
.wish-slot.is-filled {
    border: 2px solid var(--elem-color);
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.85));
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    padding: 0.5rem;
}
.wish-slot-sprite {
    width: 64px;
    height: 64px;
    /* background-size injecte inline depuis JS (cf. spriteBgSize) : les
       spritesheets ne sont pas uniformes (3x3, 4x3, 4x4, 5x4, 6x6 selon
       espece+forme). Position 0 0 = frame 0. */
    background-position: 0 0;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 6px var(--elem-color));
}
.wish-slot-name {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.wish-slot-meta {
    font-size: 0.7rem;
    color: var(--text-secondary);
}
.wish-slot-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(204, 68, 68, 0.85);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s;
}
.wish-slot-remove:hover { background: rgba(220, 50, 50, 1); }

/* ----------- Footer : bouton Realiser ----------- */
/* La DA "plaque d'obsidienne tiede" est appliquee via le selector group de
   components.css (cf. .wish-realize-btn / .wish-reveal-close ajoutes a la
   liste). Ici on definit juste padding / typo / taille propres au contexte
   voeux, miroir du pattern .nest-slot-add-btn (Cinzel, uppercase, lettrage
   espacé pour l'aspect solennel). */
.wish-footer {
    display: flex;
    justify-content: center;
}
.wish-realize-btn,
.wish-reveal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 12px 24px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
}
/* Variant color-coded rarete cible : override border + color + accents
   gold du selector group .nest-slot-add-btn (cf. components.css) par
   --wish-color (violet pour Alpha, rouge pour Ancien). Le fond noir tiede
   et la structure (radius, padding) restent intacts -> DA preservee, juste
   la teinte change pour signaler la rarete obtenue. */
.wish-realize-btn,
.wish-reveal-close {
    border-color: rgba(var(--wish-color-rgb), 0.55);
    color: var(--wish-color);
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.85),
        0 0 12px rgba(var(--wish-color-rgb), 0.4);
    box-shadow:
        inset 0 1px 0 rgba(var(--wish-color-rgb), 0.22),
        inset 0 -10px 14px -10px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 2px 8px -2px rgba(0, 0, 0, 0.45);
}
.wish-realize-btn:hover:not(:disabled),
.wish-reveal-close:hover:not(:disabled) {
    border-color: rgba(var(--wish-color-rgb), 0.95);
    color: var(--wish-color);
    box-shadow:
        inset 0 1px 0 rgba(var(--wish-color-rgb), 0.38),
        inset 0 -10px 14px -10px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 3px 12px -2px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(var(--wish-color-rgb), 0.35);
}
.wish-realize-btn:not(:disabled) {
    /* Glow color-coded pulsant sur l'etat actif (5 slots remplis).
       Empile l'animation au-dessus du box-shadow base. */
    animation: wish-realize-glow 2.2s ease-in-out infinite;
}
@keyframes wish-realize-glow {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(var(--wish-color-rgb), 0.22),
            inset 0 -10px 14px -10px rgba(0, 0, 0, 0.55),
            0 1px 0 rgba(0, 0, 0, 0.5),
            0 2px 8px -2px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(var(--wish-color-rgb), 0.35);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(var(--wish-color-rgb), 0.38),
            inset 0 -10px 14px -10px rgba(0, 0, 0, 0.55),
            0 1px 0 rgba(0, 0, 0, 0.5),
            0 3px 12px -2px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(var(--wish-color-rgb), 0.60);
    }
}
.wish-realize-cost {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.4rem;
}
.wish-realize-cost img {
    width: 16px;
    height: 16px;
}

/* ----------- Picker dragons ----------- */
.wish-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 9600;
    background: rgba(var(--black-rgb), 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}
.wish-picker-box {
    width: 90%;
    max-width: 560px;
    max-height: 80vh;
    background: var(--bg-input);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(var(--black-rgb), 0.6);
}
.wish-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.12);
}
.wish-picker-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
}
.wish-picker-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}
.wish-picker-close:hover { color: var(--text-main); }
.wish-picker-filters {
    padding: 0.7rem 1rem;
}
.wish-picker-search {
    width: 100%;
    padding: 0.45rem 0.7rem 0.45rem 2rem;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A84E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat 0.55rem center / 1rem 1rem,
        rgba(18, 18, 34, 0.9);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 6px;
    color: var(--text-card);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.85rem;
    outline: none;
}
.wish-picker-search:focus {
    border-color: rgba(var(--gold-rgb), 0.55);
    box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.18);
}
.wish-picker-list {
    overflow-y: auto;
    flex: 1;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.wish-picker-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}
.wish-picker-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.7rem;
    background: rgba(var(--white-rgb), 0.02);
    border: 1px solid rgba(var(--elem-color, 200, 200, 200), 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}
.wish-picker-row:hover:not(.is-disabled) {
    background: rgba(var(--gold-rgb), 0.06);
    border-color: var(--elem-color);
}
.wish-picker-row.is-disabled {
    opacity: 0.40;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.25);
}
.wish-picker-sprite {
    width: 48px;
    height: 48px;
    /* background-size injecte inline depuis JS (cf. spriteBgSize). */
    background-position: 0 0;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    flex-shrink: 0;
}
.wish-picker-info {
    flex: 1;
    min-width: 0;
}
.wish-picker-name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.wish-picker-adult {
    font-size: 0.8rem;
    color: var(--gold);
}
.wish-picker-meta {
    font-size: 0.72rem;
    color: var(--text-secondary);
}
/* Voeu orbe : rareté colorée + nombre d'orbes obtenu sous la meta. */
.wish-picker-orb {
    margin-top: 0.2rem;
    font-size: 0.74rem;
    color: var(--text-secondary);
}
.wish-picker-orb > span { font-weight: 700; }
.wish-picker-reason {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: var(--error-muted, #cc8888);
    font-style: italic;
}

/* ----------- Reveal animation ----------- */
.wish-content.is-revealed {
    animation: wish-reveal-fadein 0.6s ease forwards;
}
@keyframes wish-reveal-fadein {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
.wish-reveal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.wish-reveal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(var(--reveal-color-rgb), 0.30) 0%,
        rgba(var(--reveal-color-rgb), 0.10) 30%,
        transparent 60%);
    pointer-events: none;
    animation: wish-reveal-glow-pulse 3s ease-in-out infinite;
}
@keyframes wish-reveal-glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
    50%      { transform: translate(-50%, -50%) scale(1.10); opacity: 1; }
}
.wish-reveal-egg {
    position: relative;
    z-index: 1;
}
/* Container transparent : porte juste l'animation spawn. L'effet visuel
   (glow color-coded rarete) est entierement sur le sprite via drop-shadow. */
.wish-reveal-egg-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wish-reveal-egg-spawn 1s cubic-bezier(0.5, 0.1, 0.2, 1.3) forwards;
}
@keyframes wish-reveal-egg-spawn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.wish-reveal-egg-circle img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--reveal-color));
}
/* Sprite Egg de l'espece : spritesheet 640x512 = 5 cols x 4 rows de 128px.
   background-size 500% 400% scale 1 frame au viewport carre. Triple
   drop-shadow superpose pour creer un halo color-coded rarete bien marque
   (compense la suppression du cercle conteneur). */
.wish-reveal-egg-sprite {
    width: 260px;
    height: 260px;
    background-size: 500% 400%;
    background-position: 0 0;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    filter:
        drop-shadow(0 0 12px var(--reveal-color))
        drop-shadow(0 0 28px var(--reveal-color))
        drop-shadow(0 0 60px var(--reveal-color));
    animation: wish-reveal-egg-pulse 2.4s ease-in-out infinite;
}
@keyframes wish-reveal-egg-pulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 12px var(--reveal-color))
            drop-shadow(0 0 28px var(--reveal-color))
            drop-shadow(0 0 60px var(--reveal-color));
    }
    50% {
        filter:
            drop-shadow(0 0 16px var(--reveal-color))
            drop-shadow(0 0 40px var(--reveal-color))
            drop-shadow(0 0 90px var(--reveal-color));
    }
}
.wish-reveal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 16px currentColor;
    letter-spacing: 1.5px;
}
.wish-reveal-msg {
    color: var(--text-card);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0;
}
/* Bouton Recuperer : on heriter de .btn .btn-primary sans override, comme
   .wish-realize-btn. La DA est imposee par base.css + panels.css. */

/* ----------- Confirm modal list ----------- */
.wish-confirm-list {
    margin: 0.6rem 0;
    padding-left: 1.2rem;
    color: var(--text-card);
    font-size: 0.85rem;
}
.wish-confirm-list li {
    margin-bottom: 0.2rem;
}
.wish-confirm-warn {
    background: rgba(204, 68, 68, 0.08);
    border-left: 3px solid rgba(204, 68, 68, 0.7);
    padding: 0.5rem 0.8rem;
    color: var(--text-card);
    font-size: 0.85rem;
}

/* ----------- Responsive (mobile) ----------- */
@media (max-width: 760px) {
    .wish-slots-arc {
        grid-template-columns: repeat(5, 80px);
        gap: 0.4rem;
    }
    .wish-slot { width: 80px; height: 120px; }
    /* Mobile : viewport 48 - le background-size est recalcule a 48px par
       slot via spriteBgSize. Sur mobile, on garde l'inline JS (qui passe
       64), donc le sprite est un peu rogne sur les bords - acceptable. */
    .wish-slot-sprite { width: 48px; height: 48px; }
    .wish-slot-name { font-size: 0.72rem; }
    .wish-slot-meta { font-size: 0.62rem; }
    .wish-title { font-size: 1.3rem; }
    .wish-subtitle { font-size: 0.82rem; }
}
