/* Gráfico de posiciones GMAX (assets/js/services/gmax-chart.js). */
.gmc { position: relative; --gmc-verde: #3E7A3D; --gmc-oro: #D3AB05; color: #222; font-family: inherit; }
.gmc[hidden] { display: none !important; }
.gmc__help { margin: 0 0 10px; font-size: 13px; color: #555; }
.gmc__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; }
.gmc__stage { min-width: 520px; }
.gmc__stage svg { display: block; font-family: inherit; }
.gmc__row { fill: #f7f9f6; }
.gmc__grid { stroke: #e4e4e4; stroke-width: 1; }
.gmc__grid.is-key { stroke: #c7d6c6; stroke-dasharray: 4 4; }
.gmc__grid.is-sel { stroke: var(--gmc-oro); stroke-width: 2; stroke-dasharray: none; }
.gmc__col { cursor: pointer; outline: none; }
.gmc__collabel { font-size: 11px; font-weight: 800; fill: #3a3a3a; text-anchor: middle; }
.gmc__colm { font-size: 11px; font-weight: 700; fill: #5f5f5f; text-anchor: middle; }
.gmc__col.is-key .gmc__colm { fill: var(--gmc-verde); }
.gmc__col.is-sel .gmc__collabel, .gmc__col.is-sel .gmc__colm { fill: #1b1b1b; text-decoration: underline; text-decoration-color: var(--gmc-oro); text-decoration-thickness: 2px; }
.gmc__col:hover .gmc__colm, .gmc__col:focus-visible .gmc__colm { fill: #1b1b1b; }
.gmc__col:focus-visible .gmc__colm { text-decoration: underline; }
.gmc__halo { fill: none; stroke: rgba(0, 0, 0, .18); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; transition: opacity .2s ease-out; }
.gmc__line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; transition: opacity .2s ease-out; }
.gmc__hit { fill: transparent; pointer-events: all; }
.gmc__pt { stroke-width: 1.5; cursor: pointer; transition: opacity .2s ease-out; }
.gmc__label { cursor: pointer; outline: none; transition: opacity .2s ease-out; }
.gmc__chip { stroke: rgba(0, 0, 0, .25); stroke-width: 1; }
.gmc__chipn { font-size: 11px; font-weight: 800; text-anchor: middle; }
.gmc__name { font-size: 12px; font-weight: 600; fill: #222; }
.gmc__pos { font-size: 12px; font-weight: 900; fill: var(--gmc-verde); }
.gmc__info { font-size: 11.5px; font-weight: 600; fill: #444; font-variant-numeric: tabular-nums; }
.gmc__boardtitle { font-size: 12px; font-weight: 800; fill: #1b1b1b; }
.gmc__boardhead { font-size: 10.5px; font-weight: 700; fill: #5f5f5f; }
/* Seguir un ejemplar: el resto se atenúa. */
.gmc.has-focus .gmc__horse:not(.is-on) .gmc__line,
.gmc.has-focus .gmc__horse:not(.is-on) .gmc__halo,
.gmc.has-focus .gmc__horse:not(.is-on) .gmc__pt,
.gmc.has-focus .gmc__label:not(.is-on) { opacity: .16; }
.gmc .gmc__horse.is-on .gmc__line { stroke-width: 4; }
.gmc .gmc__label.is-on .gmc__name { font-weight: 900; }
.gmc__label:focus-visible .gmc__chip { stroke: var(--gmc-oro); stroke-width: 3; }
.gmc__tip { position: absolute; z-index: 5; max-width: 230px; padding: 8px 10px; border-radius: 8px; background: #1b1b1b; color: #fff; font-size: 12px; line-height: 1.4; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); pointer-events: none; }
.gmc__tip b { display: block; margin-bottom: 2px; }
.gmc__tip span { display: block; color: #e6e6e6; }
@media (prefers-reduced-motion: reduce) { .gmc__line, .gmc__halo, .gmc__pt, .gmc__label { transition: none; } }
