/* assets/css/esagono.css
   Esagono delle sei voci della Hall of Fame (templates/esagono.php): carriera giocatore e confronto.
   Linee e riempimenti in bianco e grigio; il colore sta solo nei riquadri dei valori, con la scala dei voti. */

.esagono {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    overflow: visible;
    font-family: var(--font-ui);
    font-variant-numeric: tabular-nums;
}
.eh-fondo {
    fill: rgba(244, 240, 250, 0.06);
    stroke: rgba(244, 240, 250, 0.14);
    stroke-width: 1;
}
.eh-anello,
.eh-raggio {
    fill: none;
    stroke: rgba(244, 240, 250, 0.1);
    stroke-width: 1;
}
.eh-serie {
    stroke-linejoin: round;
}
/* Media del ruolo: sotto, in trasparenza */
.eh-media {
    fill: rgba(244, 240, 250, 0.12);
    stroke: var(--text-2);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}
/* Giocatore (o primo giocatore del confronto) */
.eh-a {
    fill: rgba(244, 240, 250, 0.2);
    stroke: var(--text);
    stroke-width: 1.5;
}
/* Secondo giocatore del confronto: stesso disegno, tratteggiato e attenuato */
.eh-b {
    fill: rgba(169, 156, 196, 0.16);
    stroke: var(--text-2);
    stroke-width: 1.5;
    stroke-dasharray: 5 3;
}
.eh-etichetta {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    fill: var(--text-2);
}
.eh-valore {
    font-size: 12px;
    font-weight: 700;
}
.eh-f1 { fill: var(--voto-1); } .eh-f2 { fill: var(--voto-2); } .eh-f3 { fill: var(--voto-3); } .eh-f4 { fill: var(--voto-4); }
.eh-f5 { fill: var(--voto-5); } .eh-f6 { fill: var(--voto-6); } .eh-f7 { fill: var(--voto-7); } .eh-f8 { fill: var(--voto-8); }
/* Numero bianco o scuro secondo il contrasto, come nei voti in pagella */
.eh-t1, .eh-t7 { fill: #ffffff; }
.eh-t2, .eh-t3, .eh-t4, .eh-t5, .eh-t6, .eh-t8 { fill: var(--voto-testo-scuro); }
.eh-coppia {
    font-size: 12px;
    font-weight: 500;
    fill: var(--text);
}
.eh-coppia .is-avanti { font-weight: 800; }
.eh-coppia .is-dietro { font-weight: 400; fill: var(--text-2); }
.eh-coppia .eh-sep { fill: var(--text-2); font-weight: 400; }

/* Blocco con titolo e legenda */
.profilo-hof {
    min-width: 0;
}
.profilo-hof__testa {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.profilo-hof__titolo {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
}
.profilo-hof__pos {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--text) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.profilo-hof__pos:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
.profilo-hof__legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--text-2);
}
.profilo-hof__legenda li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.profilo-hof__legenda li::before {
    content: "";
    width: 14px;
    height: 0;
    border-top: 2px solid var(--text);
}
.profilo-hof__legenda li.is-media::before,
.profilo-hof__legenda li.is-b::before {
    border-top: 2px dashed var(--text-2);
}
.profilo-hof__nota {
    margin: 8px 0 0;
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-2);
}
.cf-esagono .profilo-hof__nota {
    text-align: center;
}
