/* Adaptation Tarot fond noir */
#tarot-container, 
.tarot-reader-container,
.tarot-reader-container ul,
.tarot-reader-container div {
    background-color: transparent !important;
    color: #ffffff !important;
}

.tarot-reader-container h2,
.tarot-reader-container h3,
.tarot-reader-container li,
.tarot-reader-container p,
.tarot-reader-container a,
.tarot-reader-container button {
    color: #ffffff !important;
    background-color: #222222 !important;
    border-color: #444444 !important;
}

.tarot-reader-container li:hover,
.tarot-reader-container button:hover {
    background-color: #444444 !important;
    cursor: pointer;
} 
/* Contournement strict du thème Newspaper */
.td-page-content #tarot-container,
.td-post-content .tarot-reader-container,
.td_block_wrap .tarot-reader-container {
    background-color: transparent !important;
    color: #ffffff !important;
}

.td-page-content .tarot-reader-container * {
    color: #ffffff !important;
}
/* Forcer l'affichage sombre pour les boutons et sous-menus du Tarot */
#tarot-container .domain-btn,
#tarot-container .subdomain-btn {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
}

#tarot-container .subdomain-list {
    background-color: #1a1a1a !important;
    border: 1px solid #444444 !important;
}

#tarot-container .domain-btn:hover,
#tarot-container .subdomain-btn:hover {
    background-color: #444444 !important;
}

/* S'assurer que les titres et les textes internes restent visibles */
#tarot-container h2,
#tarot-container span {
    color: #ffffff !important;
}
/* --- 1. Boutons des types de tirage --- */
#tarot-container .spread-btn {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
}
#tarot-container .spread-btn:hover {
    background-color: #444444 !important;
}
#tarot-container .spread-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- 2. Protection du titre de déplacement --- */
#titre-avant-carte {
    position: relative;
    z-index: 2000; /* Force le texte au-dessus des cartes */
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
}

/* --- 3. Design des cibles / zones de dépôt --- */
.spread-container {
    position: relative;
    width: 100px; /* Point central pour le positionnement en croix */
    height: 600px;
    margin: 40px auto;
}

.card-position {
    position: absolute;
    width: 120px;
    height: 208px;
    border: 2px dashed #666;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.6);
    transition: all 0.3s ease;
}

/* Cible en attente d'une carte */
.card-position.active {
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

/* Cible survolée par la carte */
.card-position.highlight {
    border-color: #00ff00;
    background-color: rgba(0, 255, 0, 0.2);
}

/* Numéro au centre de la case vide */
.position-placeholder {
    font-size: 2em;
    color: #555;
    font-weight: bold;
}
.card-position.active .position-placeholder {
    color: #ffcc00;
}

/* Libellés sous les cartes (Le passé, Ce qui arrive...) */
.position-label {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    text-align: center;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.3;
}
#deck-area {
    margin-top: 50px !important; 
	transform: translateX(300px) !important;
}
/* Descendre spécifiquement le plateau du tirage en croix */
.cross-layout {
    margin-top: 290px !important; /* Augmente cette valeur si la carte 3 est encore trop haute */
}