/* ==========================================================================
 * Commentaire de début - Styles Salon Familial, Mur de Briques & Découvertes (v3.1.54)
 * Start comment - Family Salon, Brickwall & Discoveries Styles (v3.1.54)
 * ========================================================================== */

/* --- Motif de Mur de Briques Anciennes / Vintage Brickwall Pattern --- */
.card-brickwall-bg {
    background-color: #faf5ed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Crect width='80' height='40' fill='%23faf5ed'/%3E%3Cpath d='M0 0h80v40H0z' fill='none'/%3E%3Cpath d='M0 0h80M0 20h80M0 40h80M40 0v20M0 20v20M80 20v20' stroke='%23d8c1ab' stroke-width='2' stroke-opacity='0.7'/%3E%3Crect x='2' y='2' width='36' height='16' rx='1' fill='%23f1e4d3' fill-opacity='0.35'/%3E%3Crect x='42' y='2' width='36' height='16' rx='1' fill='%23ebd9c5' fill-opacity='0.25'/%3E%3Crect x='2' y='22' width='76' height='16' rx='1' fill='%23f4ebe0' fill-opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
    box-shadow: inset 0 0 20px rgba(110, 75, 45, 0.06);
    border: 1px solid #d8c1ab !important;
}

/* --- Motif Subtil d'Archives pour les Découvertes / Archival Discovery Pattern --- */
.card-discovery-bg {
    background-color: #fdfbf7;
    background-image: radial-gradient(rgba(184, 134, 11, 0.08) 1px, transparent 0);
    background-size: 16px 16px;
    border: 1px solid #ebd9c5 !important;
}

/* --- Cartes des Énigmes sur le Mur / Brickwall Enigma Cards --- */
.brick-enigma-card {
    background: #ffffff;
    border: 1px solid #d8c1ab;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(90, 60, 35, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brick-enigma-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(90, 60, 35, 0.12);
}

.brick-enigma-card.is-resolved {
    border-color: #a3cfbb;
    background: #f8fdfa;
}

/* --- Cartes des Découvertes / Discovery Cards --- */
.discovery-card {
    background: #ffffff;
    border: 1px solid #ebd9c5;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(90, 60, 35, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.discovery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(90, 60, 35, 0.1);
}

/* --- Indices sous une Énigme / Hints list --- */
.brick-hint-pill {
    background-color: #faf6f0;
    border-left: 3px solid #b8860b;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #4a3b32;
}

/* --- Réponses imbriquées à l'infini (Mur de Briques & Découvertes) / Infinite Nested Replies --- */
.channel-reply-thread {
    position: relative;
    border-left: 2px solid #e5d6c5;
    margin-left: 10px;
    padding-left: 10px;
}

.channel-reply-card {
    background-color: #faf7f2;
    border: 1px solid #ebd9c5;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #4a3b32;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(90, 60, 35, 0.04);
}

.channel-reply-card:hover {
    background-color: #ffffff;
    border-color: #d8c1ab;
}

.channel-inline-reply-box {
    background-color: #fdfbf7;
    border: 1px solid #d8c1ab;
    border-radius: 8px;
    padding: 8px 10px;
}

// Commentaire de début - Masques créatifs Mur de Maçonnerie & Parchemin sous Sceau (v3.1.82) / Start comment - Creative Masonry Wall & Sealed Parchment Covers (v3.1.82)
.visitor-cover-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Mur de Briques Réaliste (Maçonnerie Terre Cuite d'Antan) */
.visitor-brickwall-cover {
    background-color: #8c3a28;
    background-image: 
        radial-gradient(ellipse at center, rgba(30, 15, 10, 0.25) 0%, rgba(15, 5, 2, 0.75) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Crect width='120' height='60' fill='%236f2a1c'/%3E%3Cpath d='M0 0h120M0 30h120M0 60h120' stroke='%23d9cbba' stroke-width='3.5' stroke-linecap='round' stroke-opacity='0.85'/%3E%3Cpath d='M60 0v30M0 30v30M120 30v30' stroke='%23d9cbba' stroke-width='3.5' stroke-linecap='round' stroke-opacity='0.85'/%3E%3Crect x='3' y='3' width='54' height='24' rx='2' fill='%239e4430'/%3E%3Crect x='63' y='3' width='54' height='24' rx='2' fill='%23883826'/%3E%3Crect x='3' y='33' width='114' height='24' rx='2' fill='%23aa4c37'/%3E%3C/svg%3E");
    background-size: auto, 120px 60px;
    box-shadow: inset 0 0 45px rgba(20, 10, 5, 0.7);
    border: 2px solid #5d2215;
}

.brickwall-plaque {
    background: linear-gradient(145deg, #2f251f, #1e1612);
    border: 2px solid #8c6d48;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    max-width: 380px;
    width: 90%;
    padding: 1.25rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.brickwall-plaque::before {
    content: "•";
    position: absolute;
    top: 6px;
    left: 8px;
    color: #c9a474;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px #000;
}

.brickwall-plaque::after {
    content: "•";
    position: absolute;
    top: 6px;
    right: 8px;
    color: #c9a474;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px #000;
}

/* 2. Parchemin d'Archives avec Grand Sceau de Cire Doré */
.visitor-discovery-parchment {
    background-color: #f7f1e1;
    background-image: 
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, rgba(160, 130, 85, 0.3) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(140, 105, 65, 0.08) 19px, transparent 20px);
    box-shadow: inset 0 0 35px rgba(120, 85, 45, 0.25);
    border: 2px solid #d4c2a3;
    position: relative;
}

/* Rubans croisés en velours bordeaux */
.parchment-ribbon-h {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 14px;
    background: linear-gradient(to bottom, #721922, #4d0f15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%);
    z-index: 1;
}

.parchment-ribbon-v {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to right, #721922, #4d0f15);
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
    z-index: 1;
}

/* Sceau de cire 3D ambré/doré */
.wax-seal-golden {
    position: relative;
    z-index: 3;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd269 0%, #d49a2a 50%, #87570e 100%);
    box-shadow: 0 6px 16px rgba(50, 30, 10, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.6), inset 0 -3px 6px rgba(0, 0, 0, 0.45);
    border: 3px dashed rgba(120, 75, 15, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 0.75rem auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

.parchment-content-box {
    position: relative;
    z-index: 2;
    background: rgba(254, 251, 245, 0.94);
    border: 1px solid #d4c2a3;
    border-radius: 8px;
    padding: 1.15rem 1.25rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(90, 60, 30, 0.18);
}
// Commentaire de fin - Masques créatifs Mur de Maçonnerie & Parchemin sous Sceau (v3.1.82) / End comment - Creative Masonry Wall & Sealed Parchment Covers (v3.1.82)

/* ==========================================================================
 * Commentaire de fin - Styles Salon Familial, Mur de Briques & Découvertes (v3.1.82)
 * Start comment - Family Salon, Brickwall & Discoveries Styles (v3.1.82)
 * ========================================================================== */
