/* Livescore 17.86 — regole necessarie migrate da site-legacy.css;
   mantenere le regole per ambito e unificarle gradualmente con le classi comuni. */
/*--------------------------------------------------------------
        # Override DataTables css
--------------------------------------------------------------*/
:where(html.live-app-shell) div.dt-buttons{
    float: right !important;
}

:where(html.live-app-shell) div.dataTables_filter{
    text-align: left !important;
}

:where(html.live-app-shell) tfoot{
    display: table-header-group;
}


/*--------------------------------------------------------------
        # Datables tr.group override
--------------------------------------------------------------*/

/* table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) { */
/* --bs-table-accent-bg: transparent !important; */
/* background-color: transparent !important; */
/* } */

/* table.dataTable.table-striped > tbody > tr:nth-of-type(odd)>* { */
/* --bs-table-accent-bg: transparent !important; */
/* background-color: transparent !important; */
/* } */

:where(html.live-app-shell) table.dataTable.table-striped > tbody > tr.odd > *{
    --bs-table-accent-bg: #eee !important;
    background-color: #eee !important;
}

:where(html.live-app-shell) table.dataTable.table-striped > tbody > tr.odd.in-workflow td{
    --bs-table-accent-bg: rgba(255,193,7,1) !important;
    background-color: rgba(255,193,7,1) !important;
}

:where(html.live-app-shell) table.dataTable.table-striped > tbody > tr.even > *{
    --bs-table-accent-bg: #fff !important;
    background-color: #fff !important;
}

:where(html.live-app-shell) table.dataTable.table-striped > tbody > tr.even.in-workflow td{
    --bs-table-accent-bg: rgba(255,234,172,0.5) !important;
    background-color: rgba(255,234,172,0.5) !important;
}

:where(html.live-app-shell) table.dataTable tr.group, :where(html.live-app-shell) table.dataTable tr.group:hover, :where(html.live-app-shell) table.dataTable tr.group td, :where(html.live-app-shell) table.dataTable.table-striped > tbody > tr.group:nth-of-type(2n/**/+1){
    --bs-table-accent-bg: #ddd !important;
    background-color: #ddd !important;
}



/* Livescore design system esistente */
/* CSI Bologna · Tema unico delle tabelle.
   L'aspetto dipende dalla tabella, non dalla pagina che la contiene.
   CSS delle classifiche statiche e DataTables condiviso fra pubblico e admin. */
:root{--dt-blue:#21409a;--dt-head:#f3f6fc;--dt-border:#dce5f3;--dt-row:#edf1f7;--dt-ink:#293a56;--dt-muted:#71809b}

/* Contenitori senza una seconda cornice. */
html body .dataTables_wrapper,html body .dt-container{min-width:0;max-width:100%;font-family:Inter,system-ui,sans-serif}
html body .dataTables_wrapper .dt-scroll,html body .dataTables_wrapper .live-games-dt-scroll,
html body .dataTables_wrapper .table-responsive,html body .dataTables_wrapper .live-table-scroll,
html body .dataTables_wrapper .live-table-frame{min-width:0;max-width:100%;border:0!important;box-shadow:none!important;overflow-x:auto}
/* La tabella può allargarsi oltre il viewport, ma rimane scrollabile nel suo contenitore. */
html body .dataTables_wrapper table.dataTable,html body #project-sheets table.table:not(.dataTable){
  border:1px solid var(--dt-border)!important;border-radius:13px!important;border-spacing:0!important;
  border-collapse:separate!important;margin:0!important;background:#fff!important;color:var(--dt-ink)!important;
  font-family:Inter,system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important;
}
html body .dataTables_wrapper table.dataTable{width:100%!important;max-width:none}
html body .dataTables_wrapper table.dataTable>thead>tr>th,
html body .dataTables_wrapper table.dataTable>thead>tr>td,
html body #project-sheets table.table:not(.dataTable)>thead>tr>th{
  position:relative;background:var(--dt-head)!important;color:var(--dt-blue)!important;
  border:0!important;border-bottom:1px solid var(--dt-border)!important;
  padding:13px 30px 13px 12px!important;vertical-align:middle!important;text-align:left;
  font-family:Inter,system-ui,sans-serif!important;font-size:12px!important;font-weight:800!important;
  line-height:1.45!important;letter-spacing:.01em!important;text-transform:uppercase!important;
  white-space:nowrap!important;
}
html body .dataTables_wrapper table.dataTable>tbody>tr:not(.group):not(.dtrg-group)>td,
html body #project-sheets table.table:not(.dataTable)>tbody>tr:not(.group):not(.dtrg-group)>td{
  background:#fff!important;color:var(--dt-ink)!important;box-shadow:none!important;
  border:0!important;border-bottom:1px solid var(--dt-row)!important;
  padding:13px 12px!important;vertical-align:middle!important;
  font-family:Inter,system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important;
}
html body .dataTables_wrapper table.dataTable>tbody>tr:not(.group):not(.dtrg-group):hover>td,
html body #project-sheets table.table:not(.dataTable)>tbody>tr:not(.group):not(.dtrg-group):hover>td{background:#f7faff!important}
html body .dataTables_wrapper table.dataTable>tbody>tr:last-child>td{border-bottom:0!important}
html body .dataTables_wrapper table.dataTable a,html body #project-sheets table.table:not(.dataTable) a{
 color:var(--dt-blue)!important;font-family:inherit!important;text-decoration:none}
html body .dataTables_wrapper table.dataTable a:hover,html body #project-sheets table.table:not(.dataTable) a:hover{text-decoration:underline;color:#e3661c!important}
/* RowGroup con la stessa resa per giornate e progetti. */
html body .dataTables_wrapper table.dataTable>tbody>tr.group>td,
html body .dataTables_wrapper table.dataTable>tbody>tr.dtrg-group>td,
html body #project-sheets table.table:not(.dataTable)>tbody>tr.group>td{
  background:#dedede!important;color:var(--dt-blue)!important;border:0!important;
  border-top:1px solid var(--dt-border)!important;padding:12px 16px!important;
  font:800 12px/1.45 Inter,system-ui,sans-serif!important;
}
html body .dataTables_wrapper table.dataTable tbody tr.group td strong:before,
html body .dataTables_wrapper table.dataTable tbody tr.dtrg-group td .live-games-group-heading:before{
 content:"";display:inline-block;width:6px;height:18px;flex:0 0 6px;border-radius:5px;background:#f37021;margin-right:9px;vertical-align:middle}
html body .dataTables_wrapper table.dataTable tbody tr.group td strong>span sup{display:inline;position:relative;vertical-align:baseline;top:-.48em;font-size:.72em;line-height:0}
html body .dataTables_wrapper table.dataTable tbody tr.dtrg-group .live-games-group-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body .dataTables_wrapper table.dataTable tbody tr.dtrg-group .live-games-group-heading>i{display:none}
html body .dataTables_wrapper table.dataTable tbody tr.dtrg-group .live-games-group-count{color:#647795;font-size:11px}
/* Ordinamento: un solo disegno e dimensione, indipendente dalle icone del plugin. */
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc{
  position:relative!important;padding-right:34px!important;
}
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting::after,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc::after,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc::after{
  content:""!important;display:block!important;position:absolute!important;left:auto!important;right:11px!important;
  width:10px!important;height:8px!important;margin:0!important;padding:0!important;
  font-size:0!important;line-height:0!important;letter-spacing:0!important;
  transform:none!important;opacity:.35!important;background-repeat:no-repeat!important;background-position:center!important;background-size:9px 6px!important;
}
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc::before{
 top:calc(50% - 9px)!important;bottom:auto!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2321409a' d='M5 0 10 6H0z'/%3E%3C/svg%3E")!important}
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting::after,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc::after,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc::after{
 top:calc(50% + 2px)!important;bottom:auto!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2321409a' d='M0 0h10L5 6z'/%3E%3C/svg%3E")!important}
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_asc::before,
html body .dataTables_wrapper table.dataTable>thead>tr>th.sorting_desc::after{opacity:1!important}
/* Footer di ricerca e comandi. */
html body .dataTables_wrapper table.dataTable>tfoot th{background:#f8faff!important;padding:9px 7px!important;border:0!important;border-bottom:1px solid var(--dt-border)!important;vertical-align:middle}
html body .dataTables_wrapper table.dataTable>tfoot input:not([type=checkbox]),
html body .dataTables_wrapper table.dataTable>tfoot select{min-height:36px;font:500 12px/1.4 Inter,system-ui,sans-serif!important;border:1px solid #d7e1f1;border-radius:9px;background:#fff;color:var(--dt-blue)}
html body .dataTables_wrapper .dataTables_filter label{display:inline-flex;align-items:center;gap:9px;color:#63748f;font:700 11px Inter,system-ui,sans-serif;white-space:nowrap}
html body .dataTables_wrapper .dataTables_filter{margin:0!important;text-align:center!important}
html body .dataTables_wrapper .dataTables_filter input,
html body .dataTables_wrapper .dataTables_length select{min-height:36px;padding:7px 11px;border:1px solid #d7e1f1;border-radius:10px;font:500 12px Inter,system-ui,sans-serif;background:#fff;color:var(--dt-blue)}
html body .dataTables_wrapper .dataTables_filter input{min-width:185px;max-width:min(320px,32vw);margin:0!important}
html body .dataTables_wrapper .dataTables_info{font:500 11px/1.5 Inter,system-ui,sans-serif;color:var(--dt-muted);padding:11px 2px}
html body .dataTables_wrapper .dataTables_paginate .pagination{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin:0}
html body .dataTables_wrapper .dataTables_paginate .page-link,
html body .dataTables_wrapper .dataTables_paginate .paginate_button{
 display:inline-flex;align-items:center;justify-content:center;min-width:35px;min-height:35px;
 border:1px solid #e1e8f3!important;border-radius:9px!important;background:#fff!important;color:var(--dt-blue)!important;
 font:800 11px Inter,system-ui,sans-serif!important;box-shadow:none!important}
html body .dataTables_wrapper .dataTables_paginate .page-item.active .page-link,
html body .dataTables_wrapper .dataTables_paginate .paginate_button.current{background:var(--dt-blue)!important;border-color:var(--dt-blue)!important;color:#fff!important}
html body .dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link,
html body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled{background:#f7f9fc!important;color:#a0abc0!important}
html body .dataTables_wrapper>.top.row,html body .dataTables_wrapper>.live-games-dt-toolbar.top.row{display:flex;align-items:center;min-height:53px;gap:8px 0;position:relative;margin:0 0 8px!important}
html body .dataTables_wrapper>.bottom.row{align-items:center;margin:12px 0 0!important;gap:8px 0}
html body .dataTables_wrapper>.dt-pager-top{display:flex;justify-content:flex-end;padding:10px 2px;min-height:38px}
html body .dataTables_wrapper>.dt-pager-top .dataTables_paginate{margin:0}
html body .dataTables_wrapper .dt-search{position:relative}
html body .dataTables_wrapper .dt-controls .dt-search{position:absolute!important;left:50%;transform:translateX(-50%);width:auto!important;max-width:45%;text-align:center!important}
html body .dataTables_wrapper .dt-controls{position:relative;min-height:53px;display:flex;align-items:center}
/* Switch non assimilato a un campo testuale. */
html body .dataTables_wrapper .live-games-select-all input.form-check-input,
html body .dataTables_wrapper .live-games-select-row input.form-check-input{display:block;width:2.15rem!important;min-width:2.15rem!important;max-width:2.15rem!important;height:1.2rem!important;min-height:1.2rem!important;max-height:1.2rem!important;padding:0!important;margin:0!important;cursor:pointer}
/* Dati specifici non diventano stili di pagina: si conservano le classi semantiche. */
.live-dt-referee-list{display:grid;gap:9px;min-width:180px}
.live-dt-referee{min-width:0;padding:4px 0;display:grid;gap:4px}
.live-dt-referee+.live-dt-referee{border-top:1px solid #edf1f7;padding-top:10px}
.live-dt-referee__name{display:flex;align-items:center;gap:7px;color:var(--live-type-color,#21409a);font:800 12px/1.4 Inter,system-ui,sans-serif}
.live-dt-referee__detail{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#687991;font:650 11px/1.4 Inter,system-ui,sans-serif}
.live-dt-score{display:inline-flex;min-width:42px;justify-content:center;background:#eef3fb;color:var(--dt-blue);padding:8px 10px;border-radius:9px;font:900 15px Inter,system-ui,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.live-dt-team{display:inline-flex;align-items:center;gap:9px;min-width:180px;max-width:280px}
.live-dt-team__logo{width:38px;height:38px;flex:0 0 38px;object-fit:contain;background:#fff;border:1px solid #e4ebf5;border-radius:9px;padding:3px}
.live-dt-team a{min-width:0;white-space:normal;overflow-wrap:anywhere}
.live-result-compact{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:88px}
.live-result-main-score{display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:55px;padding:5px 10px;background:#edf3fd;color:var(--dt-blue);border-radius:9px;font:850 16px/1.25 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-result-partials-list{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.live-result-partial{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:3px 7px;border:1px solid #e5eaf3;border-radius:6px;color:#395579;background:#f8faff;font:700 11px/1.3 Inter,system-ui,sans-serif}
.live-result-partial small{font-size:10px;color:#8593aa}
.live-result-extras{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.live-result-extra{color:#405c83;font:650 11px/1.3 Inter,system-ui,sans-serif;white-space:nowrap}
.live-result-extra small{display:inline-block;min-width:43px;color:#ec6d22;font-size:10px;font-weight:800}
@media(max-width:850px){html body .dataTables_wrapper .dataTables_filter input{min-width:130px;max-width:60vw}html body .dataTables_wrapper .dt-controls .dt-search{position:static!important;transform:none;max-width:100%;width:100%!important}html body .dataTables_wrapper>.dt-pager-top{justify-content:center}}

/* Anagrafiche nelle tabelle condivise: foto, discipline e stati compatti. */
html body .dataTables_wrapper table.dataTable .dt-person-photo{
  width:46px;height:54px;object-fit:cover;display:block;padding:3px;background:#fff;
  border:1px solid #dfe7f3;border-radius:10px;
}
html body .dataTables_wrapper table.dataTable .dt-tag-list{
  display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-width:90px;
}

/* Badge amministrativi condivisi: Gare, Arbitri e Designazioni.
   I colori di stato/tipo sono forniti dai dati (COLOR_ASSIGNMENT_MAP),
   il colore del testo e' calcolato per ottenere contrasto. */
html body .dt-badge{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;
  padding:5px 9px;border:1px solid transparent;border-radius:7px;
  background:var(--badge-bg,#21409a)!important;color:var(--badge-ink,#fff)!important;
  font:800 11px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:0;
  text-decoration:none!important;white-space:normal;overflow-wrap:break-word;
}
html body .dt-badge--sport{--badge-bg:#21409a;--badge-ink:#fff}
html body .dt-badge--success{--badge-bg:#198754;--badge-ink:#fff}
html body .dt-badge--danger{--badge-bg:#dc3545;--badge-ink:#fff}
html body .dt-badge--warning{--badge-bg:#ffc107;--badge-ink:#19283e}
html body .dt-badge--info{--badge-bg:#0dcaf0;--badge-ink:#183044}
html body .dt-badge--secondary{--badge-bg:#6c757d;--badge-ink:#fff}
html body .dt-badge--official{--badge-bg:#094fa3;--badge-ink:#fff}
html body .dt-badge--club{--badge-bg:#dc3545;--badge-ink:#fff}
html body .dataTables_wrapper table.dataTable .dt-badge,
html body .assignment-detail-content .dt-badge{font-weight:800!important}
/* I dropdown Azioni devono conservare l'hover di sfondo senza underline.
   Questa regola prevale anche sull'hover generico dei link DataTables. */
html body.live-admin-workspace .dropdown .dropdown-menu .dropdown-item,
html body.live-admin-workspace .dropdown .dropdown-menu .dropdown-item:hover,
html body.live-admin-workspace .dropdown .dropdown-menu .dropdown-item:focus,
html body.live-admin-workspace .dropdown .dropdown-menu .dropdown-item:active,
html body.live-admin-workspace .dataTables_wrapper table.dataTable .dropdown .dropdown-menu .dropdown-item:hover,
html body.live-admin-workspace .dataTables_wrapper table.dataTable .dropdown .dropdown-menu .dropdown-item:focus{
  text-decoration:none!important;text-decoration-line:none!important;
}
/* Risultati Gare: differenza visiva netta fra punteggio, parziali ed extra. */
html body main.live-admin-games .live-result-main-score{
  color:#fff!important;background:#21409a!important;
  box-shadow:inset 0 0 0 1px #21409a!important;
}
html body main.live-admin-games .live-result-partial{
  background:#dce9ff!important;border-color:#9ab9ed!important;
  color:#173d87!important;font-weight:850!important;
}
html body main.live-admin-games .live-result-partial small{color:#315eaa!important;font-weight:850}
html body main.live-admin-games .live-result-extra{
  color:#153c81!important;font-weight:750!important;
}
html body main.live-admin-games .live-result-extra small{color:#b6480a!important}

/* 17.77: il clone visivo del dropdown vive sotto body, fuori dall'overflow delle tabelle.
   Gli handler delle singole azioni rimangono sul menu originale nella riga DataTables. */
.dropdown-menu.live-dropdown-original-hidden { visibility: hidden !important; pointer-events: none !important; }
body > .live-dropdown-screen-menu.dropdown-menu {
    position: fixed !important; inset: auto !important; transform: none !important;
    display: block !important; z-index: 1200 !important; margin: 0 !important;
    min-width: 190px; max-width: calc(100vw - 16px); overflow-y: auto;
    padding: 7px; border: 1px solid #e5ebf3; border-radius: 11px;
    background: #fff; box-shadow: 0 12px 30px rgba(18,43,81,.16);
}
body > .live-dropdown-screen-menu .dropdown-item {padding:8px 10px;font-size:12px;font-weight:650;border-radius:7px;}
body > .live-dropdown-screen-menu .dropdown-item:hover {background:#f0f4fc;color:#21409a;text-decoration:none;}
/* Comandi massivi nella seconda riga dei filtri, identici sulle tabelle interessate. */
.live-bulk-select-header,.live-bulk-actions-header,.live-bulk-select-filter,.live-bulk-actions-filter,.live-bulk-filter-control { text-align: center; white-space: nowrap; vertical-align: middle !important; }
.live-bulk-check { display: inline-flex; justify-content:center; align-items:center; cursor:pointer; margin:0; }
.live-bulk-check .form-check-input { margin:0; cursor:pointer; }
.live-bulk-actions-header .dropdown,.live-bulk-actions-filter .dropdown { display:inline-block; }
.live-bulk-overlay {
    position:fixed; inset:0; z-index:1110; background:rgba(15,32,68,.44);
    align-items:center; justify-content:center; padding:16px;
}
.live-bulk-overlay:not([hidden]) { display:flex; }
.live-bulk-overlay__content { display:flex; flex-direction:column; gap:13px; align-items:center;
    width:min(420px,100%); padding:27px 32px; border-radius:18px; background:white;
    color:#21385f; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.live-bulk-overlay__content .progress {height:9px;}

/* Livescore 17.74: filtri e comandi massivi nella seconda riga dell'intestazione. */
html body .dataTables_wrapper table.dataTable>thead>tr:nth-child(2)>th.live-bulk-select-filter,
html body .dataTables_wrapper table.dataTable>thead>tr:nth-child(2)>th.live-bulk-actions-filter,
html body .dataTables_wrapper table.dataTable>thead>tr:nth-child(2)>th.live-bulk-filter-control {
    padding:6px 10px!important; text-align:center!important; vertical-align:middle!important;
}
html body .dataTables_wrapper table.dataTable>thead>tr:nth-child(2)>th .dropdown-toggle {white-space:nowrap;}

/* Il comando "Seleziona/Inverti" ha lo stesso aspetto in tutte le tabelle. */
#table-admin-matches #filterrow .dropdown-header-actions > button { min-width: 30px; min-height: 28px; padding: 3px 6px; }

/* Resoconto massivo con errori per singolo ID, non solo toast. */
.live-bulk-overlay__content .live-bulk-outcome {max-height:40vh;overflow-y:auto;overflow-wrap:anywhere;}
.live-bulk-overlay__content .live-bulk-error-list {text-align:left;color:#9b342d;}

/* 17.78 – Seleziona/Inverti: stesso comando compatto in tutte le DataTables.
   Icona esterna all'input: non dipende dallo stile nativo dei checkbox. */
html body .dataTables_wrapper table.dataTable thead th .live-bulk-check.live-bulk-master,
html body table thead th .live-bulk-check.live-bulk-master {
    display: inline-flex; align-items:center; justify-content:center;
    position:relative; width:2.15rem; height:1.2rem;
    padding:0!important; margin:0!important; cursor:pointer;
}
html body .dataTables_wrapper table.dataTable thead th .live-bulk-check.live-bulk-master input.form-check-input,
html body table thead th .live-bulk-check.live-bulk-master input.form-check-input {
    -webkit-appearance:none!important; appearance:none!important;
    display:block!important; float:none!important; flex:none!important;
    width:2.15rem!important; min-width:2.15rem!important; max-width:2.15rem!important;
    height:1.2rem!important; min-height:1.2rem!important; max-height:1.2rem!important;
    margin:0!important; padding:0!important;
    border:1px solid #21409a!important; border-radius:2rem!important;
    background:#21409a!important; background-image:none!important;
    box-shadow:none!important; cursor:pointer;
}
html body .live-bulk-master .live-bulk-master-symbol {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    display:block; font:900 17px/1 system-ui,sans-serif; color:#fff;
    pointer-events:none; user-select:none;
}
html body .live-bulk-master .live-bulk-master-symbol::before {content:'−';}
html body .live-bulk-master input:checked:not(:indeterminate) + .live-bulk-master-symbol::before {content:'✓';font-size:15px;}
html body .live-bulk-master input:focus-visible {outline:3px solid #9dc3ff!important;outline-offset:2px!important;}

/* 17.80 — stessi switch delle Gare (dimensioni rigorose anche negli header DataTables).
   CSS condiviso: niente checkbox giganti e nessuna alterazione degli altri switch dei form. */
html body .dataTables_wrapper table.dataTable thead th label.live-bulk-master,
html body table thead th label.live-bulk-master {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;inline-size:2.15rem!important;min-inline-size:2.15rem!important;
  max-inline-size:2.15rem!important;block-size:1.2rem!important;min-block-size:1.2rem!important;
  max-block-size:1.2rem!important;flex:0 0 2.15rem!important;position:relative!important;
  padding:0!important;margin:0 auto!important;border:0!important;background:transparent!important;
}
html body .dataTables_wrapper table.dataTable thead th label.live-bulk-master > input.form-check-input,
html body table thead th label.live-bulk-master > input.form-check-input {
  display:block!important;box-sizing:border-box!important;position:static!important;float:none!important;
  inline-size:2.15rem!important;min-inline-size:2.15rem!important;max-inline-size:2.15rem!important;
  block-size:1.2rem!important;min-block-size:1.2rem!important;max-block-size:1.2rem!important;
  flex:0 0 2.15rem!important;transform:none!important;margin:0!important;padding:0!important;
  background-image:none!important;background-color:#21409a!important;border:1px solid #21409a!important;
  border-radius:50rem!important;box-shadow:none!important;cursor:pointer!important;
}
/* Gli switch delle righe sono tutti uguali (Person, Member, Player, Game, Club, Team). */
html body .dataTables_wrapper table.dataTable tbody .person-row-check,
html body .dataTables_wrapper table.dataTable tbody .member-row-check,
html body .dataTables_wrapper table.dataTable tbody .player-row-check,
html body .dataTables_wrapper table.dataTable tbody .live-bulk-delete-row,
html body .dataTables_wrapper table.dataTable tbody .live-games-select-row input.form-check-input {
  display:block!important;box-sizing:border-box!important;float:none!important;
  width:2.15rem!important;min-width:2.15rem!important;max-width:2.15rem!important;
  height:1.2rem!important;min-height:1.2rem!important;max-height:1.2rem!important;
  margin:0 auto!important;padding:0!important;flex:0 0 2.15rem!important;
  border-radius:50rem!important;cursor:pointer!important;
  -webkit-appearance:none!important;appearance:none!important;
  background-color:#e3e9f5!important;border:1px solid #b4c2db!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")!important;
  background-position:left center!important;background-repeat:no-repeat!important;
  background-size:contain!important;
}
html body .dataTables_wrapper table.dataTable tbody .person-row-check:checked,
html body .dataTables_wrapper table.dataTable tbody .member-row-check:checked,
html body .dataTables_wrapper table.dataTable tbody .player-row-check:checked,
html body .dataTables_wrapper table.dataTable tbody .live-bulk-delete-row:checked,
html body .dataTables_wrapper table.dataTable tbody .live-games-select-row input.form-check-input:checked {
  background-color:#21409a!important;border-color:#21409a!important;background-position:right center!important;
}
html body .dataTables_wrapper table.dataTable tbody .person-select-cell,
html body .dataTables_wrapper table.dataTable tbody .member-select-cell,
html body .dataTables_wrapper table.dataTable tbody .player-select-cell,
html body .dataTables_wrapper table.dataTable tbody .live-games-select-row,
html body .dataTables_wrapper table.dataTable tbody .live-bulk-row-switch {
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0 auto!important;padding:0!important;min-width:2.15rem!important;
}


/* === 17.87 — Classifiche: ultime 5 e rendimento condivisi === */
.live-standings-table .live-last-five-col,.ranking .live-last-five-col{min-width:152px;text-align:center;white-space:nowrap;}
.live-standings-table .live-win-rate-col,.ranking .live-win-rate-col{min-width:132px;text-align:center;}
.live-standings-table .live-form-dots,.ranking .live-form-dots{gap:5px;display:flex;align-items:center;justify-content:center;}
.live-standings-table .live-form-dot,.ranking .live-form-dot{
 display:inline-flex;align-items:center;justify-content:center;
 width:26px;height:26px;min-width:26px;border-radius:50%;color:white;font-size:17px;font-weight:900;
}
.live-standings-table .live-form-dot--w,.ranking .live-form-dot--w{background:#1a9d60;color:#fff;}
.live-standings-table .live-form-dot--l,.ranking .live-form-dot--l{background:#e04e4f;color:#fff;}
.live-standings-table .live-form-dot--d,.ranking .live-form-dot--d{background:#9499a8;color:#fff;}
.live-standings-table .live-win-rate,.ranking .live-win-rate{display:flex;align-items:center;justify-content:center;gap:8px;}
.live-standings-table .live-win-rate__bar,.ranking .live-win-rate__bar{
 width:58px;height:7px;flex:0 0 58px;border-radius:99px;overflow:hidden;background:#dde8e4;display:block;
}
.live-standings-table .live-win-rate__bar>span,.ranking .live-win-rate__bar>span{display:block;height:100%;background:#168c55;border-radius:99px;}
.live-standings-table .live-win-rate strong,.ranking .live-win-rate strong{font-size:.85rem;min-width:42px;font-variant-numeric:tabular-nums;}

.live-form-dot.is-latest{outline:2px solid currentColor;outline-offset:2px;}


/* 17.88: andamento Ultime 5 più compatto in tutte le classifiche. */
.live-standings-table .live-form-dots,.ranking .live-form-dots{gap:4px;}
.live-standings-table .live-form-dot,.ranking .live-form-dot{
 width:18px;height:18px;min-width:18px;min-height:18px;border-radius:50%;
 font-size:12px;font-weight:850;line-height:1;flex:0 0 18px;
}
.live-form-dot.is-latest{outline:1.5px solid currentColor;outline-offset:1px;}
.live-standings-table .live-last-five-col,.ranking .live-last-five-col{min-width:116px;}
