/* Commentaire de début - Style Accueil (v2.9.59) / Start comment - Home Style (v2.9.59) */
.transition-transform { transition: transform 0.25s ease; }
.fs-7 { font-size: 0.78rem; }
.hover-scale { transition: transform 0.2s ease, box-shadow 0.2s ease; text-decoration: none !important; }
.hover-scale:hover { transform: translateY(-2px); }
.hover-scale:hover .timeline-indi-b { border-color: #8a5832 !important; box-shadow: 0 4px 10px rgba(138, 88, 50, 0.08) !important; background-color: #fdfbf8 !important; }

/* Couleur rgb(194, 115, 31) pour les liens des lignées familiales principaux */
.timeline-lineage a {
    color: rgb(194, 115, 31) !important;
    text-decoration: none !important;
}
.timeline-lineage a strong {
    color: rgb(194, 115, 31) !important;
}
.timeline-lineage a .text-stone-600 {
    color: #5a402d !important;
}

/* Styles de l'arbre interactif complet */
.interactive-tree-container {
    background-color: #fdfbf7;
    background-image: radial-gradient(#ebd9c5 0.75px, transparent 0.75px);
    background-size: 14px 14px;
    min-height: 620px;
}
.tree-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 5;
}
.tree-node-card {
    background: #ffffff;
    border: 1px solid rgba(138, 88, 50, 0.18);
    border-radius: 8px;
    padding: 10px;
    width: 142px;
    height: 152px;
    box-shadow: 0 2px 5px rgba(138, 88, 50, 0.05);
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    user-select: none;
}
.tree-node-card:not(.placeholder-card):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(138, 88, 50, 0.12);
    border-color: rgb(194, 115, 31);
}
.tree-node-card.placeholder-card {
    border: 1px dashed rgba(138, 88, 50, 0.22);
    background: rgba(255, 255, 255, 0.4);
    opacity: 0.7;
    cursor: default;
}
.tree-node-card.focus-node {
    border-color: rgb(194, 115, 31);
    background: #fffaf2;
    box-shadow: 0 0 10px rgba(194, 115, 31, 0.25);
    outline: 2px solid rgba(194, 115, 31, 0.2);
}
.tree-node-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 6px auto;
    border: 1.5px solid #ebd9c5;
    background: #fff;
}
.tree-node-card.focus-node .tree-node-avatar {
    border-color: rgb(194, 115, 31);
    box-shadow: 0 0 5px rgba(194, 115, 31, 0.3);
}
.tree-node-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: #2c2520;
    margin-bottom: 1px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tree-node-dates {
    font-size: 0.63rem;
    color: #8c7f76;
    font-family: monospace;
}
.tree-node-relation {
    font-size: 0.60rem;
    background: #f3ede4;
    color: #5c4e43;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}
.tree-node-card.focus-node .tree-node-relation {
    background: rgb(194, 115, 31);
    color: #ffffff;
}
.tree-connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.corner-fiche-link {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.76rem;
    text-decoration: none;
    opacity: 0.45;
    transition: opacity 0.2s ease;
    z-index: 10;
    padding: 2px;
}
.corner-fiche-link:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* Commentaire de fin - Style Accueil (v2.9.59) / End comment - Home Style (v2.9.59) */
