.bm-table{width:100%;border-collapse:collapse;margin:1rem 0}.bm-table th,.bm-table td{border:1px solid #ddd;padding:.55rem;text-align:left}.bm-card,.bm-live-card{border:1px solid #ddd;border-radius:12px;padding:1rem;margin:.75rem 0;background:#fff}.bm-results{display:grid;gap:.75rem}.bm-live-list{display:grid;gap:.75rem}.bm-admin .bm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.bm-admin .bm-cards div{background:#fff;border:1px solid #ccd0d4;border-radius:8px;padding:16px;font-size:18px}.bm-check{display:block;margin:7px 0}.bm-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bm-boxscore pre{white-space:pre-wrap;background:#f6f7f7;padding:1rem;border-radius:8px}@media(max-width:700px){.bm-table{font-size:13px}.bm-grid{grid-template-columns:1fr}.bm-table th,.bm-table td{padding:.35rem}}

.bm-bracket{display:flex;gap:16px;overflow-x:auto;padding:10px 0}.bm-bracket-round{min-width:240px}.bm-bracket-match{border:1px solid #ddd;border-radius:8px;padding:10px;margin:0 0 10px;background:#fff}.bm-bracket-match strong{display:block;margin-top:4px}.bm-admin .code{font-family:monospace}.column-bm_shortcodes{width:150px}.column-bm_code{width:180px}
.bm-fip-table-wrap{overflow-x:auto;max-width:100%}
.wrap.bm-admin table.widefat.bm-fip-table{overflow:visible}
.bm-fip-table{table-layout:fixed;width:100%;min-width:0}
.bm-fip-table td,.bm-fip-table th{overflow:hidden;vertical-align:middle;padding:1px 2px}
.bm-fip-table .bm-col-season,.bm-fip-table th.bm-col-season{width:82px}
.bm-fip-table .bm-col-season select{width:100%;max-width:100%;font-size:12px}
.bm-fip-table .bm-col-sport{width:64px}
.bm-fip-table .bm-col-tipo{width:48px}
.bm-fip-table .bm-col-campionato{width:9%}
.bm-fip-table .bm-col-tipo-girone,.bm-fip-table th.bm-col-tipo-girone{width:9%}
.bm-fip-table .bm-col-girone,.bm-fip-table th.bm-col-girone{width:8%}
.bm-fip-table .bm-col-turno-ar{width:78px}
.bm-fip-table .bm-col-team{width:11%;position:relative;z-index:2}
.bm-fip-table .bm-col-team select.bm-fip-team{width:100%;max-width:100%;min-width:0;position:relative;z-index:3}
.bm-fip-table .bm-col-club,.bm-fip-table th.bm-col-club{width:28px;text-align:center}
.bm-fip-table .bm-col-url{width:auto;min-width:80px}
.bm-fip-table .bm-col-fill{width:64px;text-align:center;overflow:visible}
.bm-fip-table .bm-col-partite{width:72px;text-align:center;white-space:nowrap;line-height:1;overflow:visible}
.bm-fip-table .bm-col-partite strong{display:inline;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.bm-fip-table .bm-col-sync{width:32px;text-align:center}
.bm-fip-table .bm-col-mostra{width:28px;text-align:center}
.bm-fip-table .bm-col-mostra .dashicons{font-size:16px;width:16px;height:16px;line-height:1;vertical-align:middle}
.bm-fip-table .bm-col-sync input,.bm-fip-table .bm-col-mostra input{width:auto;min-height:0;padding:0;margin:0}
.bm-fip-table .bm-fip-fill-from-url{box-sizing:border-box;height:26px;line-height:24px;padding:0 5px;font-size:11px;white-space:nowrap}
.bm-fip-table .bm-fip-fill-from-url.is-busy{opacity:.7;pointer-events:none}
.bm-fip-table .bm-fip-campionato{max-width:100%;box-sizing:border-box;min-width:0}
.bm-fip-table .bm-fip-url{max-width:100%;box-sizing:border-box}
.bm-fip-table .bm-fip-gender,.bm-fip-table .bm-fip-sport{max-width:100%;box-sizing:border-box;font-size:12px}
.bm-fip-table .bm-fip-tipo-girone,.bm-fip-table .bm-fip-girone{max-width:100%;box-sizing:border-box;font-size:12px}
.bm-fip-table .bm-fip-turno-ar{width:100%;max-width:100%;font-size:12px}
.bm-fip-table td small.description{display:block;margin-top:4px;color:#646970;word-break:break-word}
.bm-fip-table .bm-fip-entry .bm-fip-row-head__cell{padding:6px 10px 4px;background:#f6f7f7;border-bottom:none}
.bm-fip-table .bm-fip-row-title{font-size:12px;font-weight:600;color:#1d2327;line-height:1.35;letter-spacing:.01em}
.bm-fip-table .bm-fip-entry .bm-fip-row-head+tr td{border-top:1px solid #c3c4c7}
.bm-fip-table .bm-fip-club-count{display:inline-block;font-size:14px;font-weight:700;color:#1d2327;min-width:1.5ch}
.bm-fip-table .bm-col-actions{
  width:36px;min-width:36px;text-align:center;vertical-align:middle;
  position:sticky;right:0;z-index:5;background:#fff;overflow:visible;
}
.bm-fip-table thead .bm-col-actions{background:#f8fafc;z-index:6}
.bm-fip-table .bm-fip-entry:nth-of-type(even) .bm-col-actions{background:#f6f7f7}
.bm-fip-table .bm-fip-delete-form{margin:0}
.bm-fip-table .bm-col-actions .dashicons{font-size:16px;width:16px;height:16px;line-height:1;vertical-align:middle}
.bm-fip-table .bm-fip-delete-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;min-height:26px;min-width:26px;padding:0;
  color:#b32d2e!important;border-color:#f0b2b3!important;background:#fff!important;
}
.bm-fip-table .bm-fip-delete-btn .dashicons{
  font-size:18px;width:18px;height:18px;line-height:1;
}
.bm-fip-table .bm-fip-delete-btn:hover{
  color:#8a1f2d!important;border-color:#d63638!important;background:#fcf0f1!important;
}
.bm-fip-partite-legs{display:none}
.bm-fip-giornate-cell{display:flex;align-items:center;justify-content:center;gap:4px}
.bm-fip-giornate{
  width:3.2em;min-width:3.2em;max-width:4em;
  padding:4px 6px;font-size:14px;font-weight:600;text-align:center;
  -moz-appearance:textfield;appearance:textfield;box-sizing:border-box
}
.bm-fip-giornate::-webkit-outer-spin-button,.bm-fip-giornate::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0
}
.bm-fip-giornate-toggle{padding:0 4px!important;min-height:28px;line-height:1}
.bm-fip-giornate-toggle .dashicons{font-size:16px;width:16px;height:16px;line-height:28px}
.bm-fip-giornate-toggle[aria-expanded="true"] .dashicons{transform:rotate(180deg)}
.bm-fip-giornate-panel__cell{padding:10px 12px!important;background:#f6f7f7;border-top:none!important}
.bm-fip-giornate-panel__inner{max-width:100%}
.bm-fip-giornate-panel__head{margin:0 0 8px;font-size:12px}
.bm-fip-giornate-links{
  display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;padding:0;list-style:none
}
.bm-fip-giornate-links a{
  display:inline-block;padding:4px 10px;border:1px solid #c3c4c7;border-radius:4px;
  background:#fff;font-size:12px;text-decoration:none
}
.bm-fip-giornate-links a:hover{border-color:#2271b1;color:#2271b1}
.bm-fip-toolbar{margin:8px 0 16px}
.bm-fip-sync-panel{margin:12px 0 20px}
.bm-fip-sync-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.bm-fip-sync-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;background:#f0f0f1;color:#1d2327}
.bm-fip-sync-chip.is-ok{background:#edfaef;color:#1e4620}
.bm-fip-sync-chip.is-err{background:#fcf0f1;color:#8a1f2d}
.bm-fip-sync-chip.is-never{background:#f6f7f7;color:#50575e}
.bm-fip-sync-chip.is-pending{background:#f0f6fc;color:#1d4f91}
.bm-fip-sync-table td,.bm-fip-sync-table th{vertical-align:middle}
.bm-fip-sync-row--err td{background:#fff5f5}
.bm-fip-sync-row--never td{color:#646970}
.bm-archive-filter--hidden{display:none!important}
.bm-team-label{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}.bm-team-logo{width:24px;height:24px;object-fit:contain;border-radius:3px;background:#fff}.bm-managed-team{outline:2px solid #111;}

/* v14 final phases */
.bm-final-phases{display:grid;gap:24px;margin:18px 0}.bm-final-phase{border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff}.bm-final-phase h2{margin:0 0 12px}.bm-phase-badge{display:inline-block;border-radius:999px;padding:2px 8px;margin-right:8px;font-size:11px;font-weight:700;text-transform:uppercase;background:#f3f4f6}.bm-badge-playoff{background:#e0f2fe}.bm-badge-playout{background:#fff7ed}.bm-badge-finale_regionale{background:#dcfce7}.bm-badge-coppa{background:#f5f3ff}

.bm-standings .bm-zone-playoff td:first-child{border-left:4px solid #2e7d32}
.bm-standings .bm-zone-playout td:first-child{border-left:4px solid #c62828}
.bm-standings .bm-zone-playoff td:last-child{font-weight:700;color:#2e7d32}
.bm-standings .bm-zone-playout td:last-child{font-weight:700;color:#c62828}

/* v19 palette */
.bm-card,.bm-table,.bm-live-card,.bm-bracket{background:var(--bm-surface,#fff);color:var(--bm-text,#172033);border-radius:var(--bm-radius,12px)}
.bm-table th,.bm-header{background:var(--bm-primary,#0B4EA2);color:#fff}
.bm-zone-playoff{border-left:4px solid var(--bm-success,#1B9A59)}
.bm-zone-playout{border-left:4px solid var(--bm-danger,#D62828)}

/* Pagina campionato configurabile */
.bm-champ-page{margin:1.5rem 0;max-width:1100px}
.bm-champ-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid var(--bm-primary,#0B4EA2)}
.bm-champ-title{margin:0 0 .35rem;font-size:clamp(1.4rem,3vw,2rem)}
.bm-champ-subtitle,.bm-champ-season{margin:.25rem 0;color:#555}
.bm-champ-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 1rem}
.bm-champ-tab{border:1px solid #ccd0d4;background:#f6f7f7;border-radius:999px;padding:.45rem 1rem;cursor:pointer;font:inherit}
.bm-champ-tab.is-active,.bm-champ-tab:hover{background:var(--bm-primary,#0B4EA2);color:#fff;border-color:var(--bm-primary,#0B4EA2)}
.bm-layout-tabs .bm-champ-section{display:none;margin-bottom:1.5rem}
.bm-layout-tabs .bm-champ-section.bm-active{display:block}
.bm-layout-stack .bm-champ-section{margin-bottom:2rem}
.bm-champ-section-title{margin:0 0 .75rem;font-size:1.25rem}
.bm-match-meta{display:block;margin-top:.35rem;color:color-mix(in srgb,var(--bm-text,#172033) 72%,transparent);line-height:1.4}
.bm-match-date{display:block;margin-bottom:.25rem;color:color-mix(in srgb,var(--bm-text,#172033) 62%,transparent)}

/* Visualizzazione dati unificata (colori da palette v19: --bm-primary, --bm-surface, …) */
.bm-data-view{
  --bm-ui-bg:var(--bm-secondary,#0a0a0a);
  --bm-ui-card:var(--bm-surface,#111);
  --bm-ui-border:color-mix(in srgb,var(--bm-primary,#333) 24%,transparent);
  --bm-ui-text:var(--bm-text,#f5f5f5);
  --bm-ui-muted:color-mix(in srgb,var(--bm-text,#aaa) 62%,transparent);
  --bm-ui-accent:var(--bm-primary,#1e90ff);
  --bm-ui-managed:var(--bm-accent,#4da3ff);
  --bm-ui-footer:color-mix(in srgb,var(--bm-secondary,#111) 75%,var(--bm-ui-card));
  --bm-ui-logo-bg:color-mix(in srgb,var(--bm-text,#666) 22%,var(--bm-ui-card));
  background:var(--bm-ui-bg);
  color:var(--bm-ui-text);
  padding:1rem;
  border-radius:var(--bm-radius,4px);
  max-width:720px;
  margin:1rem auto;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
.bm-champ-page.bm-data-view{max-width:1100px}
.bm-ui-empty{color:var(--bm-ui-muted);padding:1rem 0;margin:0}
.bm-ui-nav{margin-bottom:1.25rem}
.bm-ui-leg-row{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.bm-ui-leg-label{min-width:52px;font-size:13px;font-weight:600;color:var(--bm-ui-muted);text-transform:uppercase;letter-spacing:.04em}
.bm-ui-pills{display:flex;flex-wrap:wrap;gap:8px}
.bm-ui-pill{width:36px;height:36px;border:1px solid var(--bm-ui-border);border-radius:50%;background:transparent;color:var(--bm-ui-muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer;padding:0;transition:background .15s,color .15s,border-color .15s}
.bm-ui-pill:hover{color:var(--bm-ui-text);border-color:color-mix(in srgb,var(--bm-ui-accent) 50%,var(--bm-ui-border))}
.bm-ui-pill.is-active{background:var(--bm-ui-accent);border-color:var(--bm-ui-accent);color:#fff}
.bm-ui-matches{display:flex;flex-direction:column;gap:12px}
.bm-ui-card{background:var(--bm-ui-card);border:1px solid var(--bm-ui-border);border-radius:2px;overflow:hidden}
.bm-ui-team{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--bm-ui-border)}
.bm-ui-team-away{border-bottom:none}
.bm-ui-team.is-managed .bm-ui-name{color:var(--bm-ui-managed)}
.bm-ui-logo{width:40px;height:40px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--bm-ui-logo-bg);flex-shrink:0}
.bm-ui-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.bm-ui-logo--empty{background:var(--bm-ui-logo-bg)}
.bm-ui-name{font-size:clamp(13px,2.8vw,15px);font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.02em;word-break:break-word}
.bm-ui-score{font-size:clamp(22px,5vw,28px);font-weight:800;min-width:2ch;text-align:right;line-height:1;color:var(--bm-ui-text)}
.bm-ui-footer{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px 16px;font-size:12px;color:var(--bm-ui-muted);border-top:1px solid var(--bm-ui-border);background:var(--bm-ui-footer)}
.bm-ui-date{text-align:left}
.bm-ui-mid{text-align:center;padding:0 12px;border-left:1px solid var(--bm-ui-border);border-right:1px solid var(--bm-ui-border);font-variant-numeric:tabular-nums}
.bm-ui-info{background:none;border:none;color:var(--bm-ui-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:0;text-align:right;text-transform:uppercase;letter-spacing:.06em}
.bm-ui-info:hover,.bm-ui-info.is-open{color:var(--bm-ui-accent)}
.bm-ui-info--muted{opacity:.35;cursor:default}
.bm-ui-details{padding:12px 16px 14px;font-size:12px;line-height:1.55;color:var(--bm-ui-muted);border-top:1px solid var(--bm-ui-border);background:var(--bm-ui-footer)}
.bm-ui-details span{display:block;margin-bottom:6px}
.bm-ui-details span:last-child{margin-bottom:0}
.bm-match-board--filtered .bm-ui-card{display:none}
.bm-match-board--filtered .bm-ui-card.bm-ui-visible{display:block}
.bm-ui-table-wrap{overflow-x:auto;border:1px solid var(--bm-ui-border);border-radius:2px;background:var(--bm-ui-card)}
.bm-ui-table{width:100%;border-collapse:collapse;margin:0;font-size:14px}
.bm-ui-table thead th{background:var(--bm-ui-accent);color:#fff;font-weight:700;text-transform:uppercase;font-size:12px;letter-spacing:.04em;padding:10px 12px;text-align:left;white-space:nowrap}
.bm-ui-table tbody td{padding:10px 12px;border-bottom:1px solid var(--bm-ui-border);color:var(--bm-ui-text)}
.bm-ui-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--bm-ui-bg) 35%,var(--bm-ui-card))}
.bm-ui-table tbody tr:last-child td{border-bottom:none}
.bm-ui-standings .bm-ui-team-name{font-weight:700;text-transform:uppercase;font-size:13px}
.bm-ui-standings .bm-ui-col-pts strong{font-size:16px;color:var(--bm-ui-accent)}
.bm-ui-roster .bm-ui-num{font-weight:700;color:var(--bm-ui-muted)}
.bm-ui-round{margin-bottom:1.5rem}
.bm-ui-round-title{margin:0 0 .75rem;font-size:1rem;font-weight:700;color:var(--bm-ui-text);border-bottom:2px solid var(--bm-ui-accent);padding-bottom:6px}
.bm-ui-phase{margin-bottom:2rem}
.bm-ui-phase-title{margin:0 0 1rem;font-size:1.15rem;color:var(--bm-ui-accent)}
.bm-ui-board-title{margin:0 0 .75rem;font-size:1.1rem;text-transform:uppercase}
.bm-ui-playbyplay{margin-top:1rem;padding:12px;background:var(--bm-ui-footer);border:1px solid var(--bm-ui-border);border-radius:2px;font-size:12px;overflow:auto;white-space:pre-wrap;color:var(--bm-ui-muted)}
.bm-champ-page .bm-champ-header{border-bottom-color:var(--bm-ui-accent)}
.bm-champ-page .bm-champ-tab{border-color:var(--bm-ui-border);background:var(--bm-ui-card);color:var(--bm-ui-text)}
.bm-champ-page .bm-champ-tab.is-active,.bm-champ-page .bm-champ-tab:hover{background:var(--bm-ui-accent);border-color:var(--bm-ui-accent);color:#fff}
.bm-phase-badge{display:inline-block;border-radius:999px;padding:2px 8px;margin-right:6px;font-size:10px;font-weight:700;text-transform:uppercase}
.bm-badge-playoff{background:var(--bm-success,#1B9A59);color:#fff}
.bm-badge-playout{background:var(--bm-danger,#D62828);color:#fff}
.bm-badge-finale_regionale{background:var(--bm-primary,#0B4EA2);color:#fff}
@media(max-width:480px){
  .bm-ui-footer{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:6px}
  .bm-ui-mid{border:none;padding:0;text-align:left}
  .bm-ui-info{text-align:left}
}

/* Roster SQL — layout Madrid + palette Monaco */
.bm-roster-palette-monaco{
  --bm-roster-bg:#0f1419;
  --bm-roster-card:#1a2332;
  --bm-roster-border:#2a3548;
  --bm-roster-text:#f3f4f6;
  --bm-roster-muted:#9ca3af;
  --bm-roster-accent:#c8102e;
  --bm-roster-gold:#d4af37;
  background:var(--bm-roster-bg);
  color:var(--bm-roster-text);
  padding:1.25rem;
  border-radius:12px;
  max-width:1100px;
  margin:1rem auto;
}
.bm-roster-palette-monaco .bm-roster-season{
  margin:0 0 1rem;
  font-size:.85rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--bm-roster-gold);
}
.bm-roster-team-photo{
  margin:0 0 1.25rem;
}
.bm-roster-team-photo img{
  display:block;
  width:100%;
  max-height:min(420px, 56vw);
  object-fit:cover;
  object-position:center;
  border-radius:10px;
}
.bm-roster-palette-monaco .bm-roster-team-photo img{
  border:1px solid var(--bm-roster-border);
}
@media (max-width:600px){
  .bm-roster-team-photo img{max-height:220px}
}
.bm-roster-palette-monaco .bm-roster-empty{color:var(--bm-roster-muted)}
.bm-roster-palette-monaco .bm-roster-group{margin-bottom:1.75rem}
.bm-roster-palette-monaco .bm-roster-group-title{
  margin:0 0 .75rem;
  padding-bottom:.5rem;
  font-size:1rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  border-bottom:2px solid var(--bm-roster-accent);
  color:var(--bm-roster-text);
}
.bm-roster-layout-madrid-grid .bm-roster-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--bm-roster-col-min, 140px),1fr));
  gap:12px;
}
.bm-roster-layout-madrid-grid[style*="--bm-roster-cols"] .bm-roster-grid{
  grid-template-columns:repeat(var(--bm-roster-cols), minmax(0, 1fr));
}
.bm-roster-layout-cards .bm-roster-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--bm-roster-col-min, 160px),1fr));
  gap:14px;
}
.bm-roster-layout-cards[style*="--bm-roster-cols"] .bm-roster-cards{
  grid-template-columns:repeat(var(--bm-roster-cols), minmax(0, 1fr));
}
.bm-roster-palette-monaco .bm-roster-player{
  background:var(--bm-roster-card);
  border:1px solid var(--bm-roster-border);
  border-radius:10px;
  overflow:hidden;
  text-align:center;
}
.bm-roster-palette-monaco .bm-roster-player-photo{
  aspect-ratio:var(--bm-roster-photo-box-ratio, 3/4);
  background:#0a0e14;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.bm-roster-palette-monaco .bm-roster-player-photo img{
  width:var(--bm-roster-photo-width, 100%);
  height:var(--bm-roster-photo-height, 100%);
  max-width:100%;
  object-fit:var(--bm-roster-photo-fit, cover);
  object-position:center bottom;
}
.bm-roster-player-photo--placeholder{
  background:#e8ecf0;
}
.bm-roster-player-photo--placeholder img{
  object-fit:contain !important;
  object-position:center center !important;
  opacity:.92;
}
.bm-roster-palette-monaco .bm-roster-player-photo--placeholder{
  background:#1a2230;
}
.bm-roster-layout-page .bm-roster-layout-season-form{margin:1rem 0 1.25rem}
.bm-roster-layout-panels{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.25rem;
  margin:1rem 0 1.5rem;
}
.bm-roster-layout-panel{
  border:1px solid var(--bm-card-border, #c3c4c7);
  border-radius:4px;
  padding:1rem 1.25rem 1.25rem;
  background:var(--bm-card-bg, #fff);
  box-shadow:0 1px 1px rgba(0,0,0,.04);
}
.bm-roster-layout-panel h3{
  margin:0 0 .75rem;
  padding-bottom:.5rem;
  border-bottom:1px solid #dcdcde;
}
.bm-roster-layout-panel--m h3{color:#2271b1}
.bm-roster-layout-panel--f h3{color:#b83280}
.bm-roster-layout-panel__checks{margin-bottom:.75rem}
.bm-roster-shortcode-engine{
  margin:0 0 1rem;
  padding:.75rem 1rem;
  border:1px solid #dcdcde;
  border-radius:4px;
  background:#f6f7f7;
}
.bm-roster-shortcode-engine legend{padding:0 .25rem;font-weight:600}
.bm-roster-shortcode-engine .description{margin:.35rem 0}
@media (max-width:960px){
  .bm-roster-layout-panels{grid-template-columns:1fr}
}
.bm-roster-palette-monaco .bm-roster-player-body{padding:.65rem .5rem .75rem}
.bm-roster-palette-monaco .bm-roster-player-num{
  display:block;
  font-size:1.5rem;
  font-weight:800;
  line-height:1;
  color:var(--bm-roster-gold);
}
.bm-roster-palette-monaco .bm-roster-player-name{
  margin:.35rem 0 .15rem;
  font-size:.8rem;
  font-weight:700;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.bm-roster-palette-monaco .bm-roster-player-role,
.bm-roster-palette-monaco .bm-roster-player-birth,
.bm-roster-palette-monaco .bm-roster-player-height{
  display:block;
  font-size:.7rem;
  color:var(--bm-roster-muted);
}
.bm-roster-palette-monaco.bm-roster-layout-table .bm-roster-table-wrap{overflow-x:auto}
.bm-roster-palette-monaco.bm-roster-layout-table .bm-roster-table th{
  background:var(--bm-roster-accent);
  color:#fff;
  border-color:var(--bm-roster-border);
}
.bm-roster-palette-monaco.bm-roster-layout-table .bm-roster-table td{
  border-color:var(--bm-roster-border);
  color:var(--bm-roster-text);
  background:var(--bm-roster-card);
}
.bm-shortcode-atleta .bm-atleta-header{
  display:flex;
  gap:1.25rem;
  align-items:flex-start;
  margin-bottom:1.25rem;
  flex-wrap:wrap;
}
.bm-roster-palette-monaco .bm-atleta-photo{
  width:120px;
  flex-shrink:0;
  border-radius:10px;
  overflow:hidden;
  border:2px solid var(--bm-roster-gold);
}
.bm-roster-palette-monaco .bm-atleta-photo img{width:100%;height:auto;display:block}
.bm-roster-palette-monaco .bm-atleta-name{margin:0 0 .35rem;font-size:1.5rem}
.bm-roster-palette-monaco .bm-atleta-role,
.bm-roster-palette-monaco .bm-atleta-number{color:var(--bm-roster-muted);margin:.2rem 0}
.bm-roster-palette-monaco .bm-atleta-career h3{
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  border-bottom:1px solid var(--bm-roster-border);
  padding-bottom:.35rem;
}
.bm-roster-palette-monaco .bm-atleta-career-list{
  margin:0;
  padding:0;
  list-style:none;
}
.bm-roster-palette-monaco .bm-atleta-career-list li{
  padding:.45rem 0;
  border-bottom:1px solid var(--bm-roster-border);
  font-size:.9rem;
}
@media(max-width:600px){
  .bm-roster-layout-madrid-grid .bm-roster-grid{grid-template-columns:repeat(2,1fr)}
}
.bm-roster-card-style-hero .bm-roster-cards,
.bm-roster-card-style-hero .bm-roster-grid{
  grid-template-columns:repeat(auto-fill,minmax(var(--bm-roster-col-min, 200px),1fr));
  gap:16px;
}
.bm-roster-player--hero{
  position:relative;
  aspect-ratio:3/4;
  background:var(--bm-roster-hero-bg, #000);
  border:none;
  border-radius:0;
  overflow:hidden;
  text-align:left;
}
.bm-roster-palette-monaco .bm-roster-player--hero{
  background:var(--bm-roster-hero-bg, #000);
  border:none;
}
.bm-roster-player--hero .bm-roster-player-watermark{
  position:absolute;
  top:-8%;
  left:-8%;
  font-size:clamp(6rem, 22vw, 11rem);
  font-weight:800;
  line-height:.85;
  color:color-mix(in srgb, var(--bm-roster-hero-watermark, #fff) 10%, transparent);
  pointer-events:none;
  z-index:1;
  letter-spacing:-.04em;
}
.bm-roster-player--hero .bm-roster-player-photo{
  position:absolute;
  inset:0;
  aspect-ratio:auto;
  background:transparent;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  z-index:2;
}
.bm-roster-player--hero .bm-roster-player-photo img{
  width:var(--bm-roster-photo-width, 100%);
  max-width:100%;
  height:var(--bm-roster-photo-height, 92%);
  max-height:100%;
  object-fit:var(--bm-roster-photo-fit, contain);
  object-position:center bottom;
}
.bm-roster-player--hero .bm-roster-player-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  display:flex;
  align-items:flex-end;
  gap:.5rem;
  padding:0 0 .55rem .15rem;
  background:linear-gradient(transparent, color-mix(in srgb, var(--bm-roster-hero-bg, #000) 88%, transparent) 38%);
}
.bm-roster-player--hero .bm-roster-player-num{
  flex:0 0 auto;
  font-size:clamp(3rem, 11vw, 4.8rem);
  font-weight:800;
  line-height:.82;
  color:var(--bm-roster-hero-num, #6b7280);
  margin:0 0 -.15rem -.08rem;
  letter-spacing:-.03em;
}
.bm-roster-player--hero .bm-roster-player-nameblock{
  display:flex;
  flex-direction:column;
  gap:.08rem;
  min-width:0;
  padding-bottom:.15rem;
  flex:1 1 auto;
}
.bm-roster-player--hero .bm-roster-player-first{
  font-size:clamp(.62rem, 2vw, .78rem);
  font-weight:300;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--bm-roster-hero-first, #fff);
  line-height:1.1;
}
.bm-roster-player--hero .bm-roster-player-last{
  font-size:clamp(1rem, 3.6vw, 1.55rem);
  font-weight:900;
  letter-spacing:.02em;
  line-height:.95;
  text-transform:uppercase;
  color:var(--bm-roster-hero-name, #fff);
}
.bm-roster-text-overlay .bm-roster-player--overlay{
  position:relative;
}
.bm-roster-text-overlay .bm-roster-player--overlay .bm-roster-player-body{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:.65rem .5rem .75rem;
  background:linear-gradient(transparent, rgba(0,0,0,.75));
}
.bm-roster-text-overlay .bm-roster-player--overlay .bm-roster-player-photo img{
  object-position:center top;
}

.bm-roster-card-style-profile .bm-roster-cards,
.bm-roster-card-style-profile .bm-roster-grid{
  grid-template-columns:repeat(auto-fill,minmax(var(--bm-roster-col-min, 220px),1fr));
  gap:18px;
}
.bm-roster-player--profile{
  position:relative;
  aspect-ratio:3/4;
  background:var(--bm-roster-profile-bg, #111827);
  border:none;
  border-radius:0;
  overflow:hidden;
  text-align:center;
  cursor:pointer;
}
.bm-roster-palette-monaco .bm-roster-player--profile{
  background:var(--bm-roster-profile-bg, #111827);
  border:none;
}
.bm-roster-player--profile .bm-roster-player-watermark{
  position:absolute;
  left:50%;
  bottom:18%;
  transform:translateX(-50%);
  font-size:clamp(5rem, 20vw, 9rem);
  font-weight:800;
  line-height:.85;
  color:color-mix(in srgb, var(--bm-roster-profile-watermark, #fff) 48%, transparent);
  pointer-events:none;
  z-index:2;
  letter-spacing:-.04em;
  transition:color .25s ease;
}
.bm-roster-player--profile:hover .bm-roster-player-watermark{
  color:color-mix(in srgb, var(--bm-roster-profile-watermark, #fff) 72%, transparent);
}
.bm-roster-player--profile .bm-roster-player-photo{
  position:absolute;
  inset:0;
  aspect-ratio:auto;
  background:var(--bm-roster-profile-bg, #111827);
  z-index:1;
}
.bm-roster-player--profile .bm-roster-player-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 35%, color-mix(in srgb, var(--bm-roster-profile-bg, #000) 55%, transparent) 72%, color-mix(in srgb, var(--bm-roster-profile-bg, #000) 92%, transparent));
  pointer-events:none;
  transition:background .25s ease;
}
.bm-roster-player--profile:hover .bm-roster-player-photo::after{
  background:linear-gradient(transparent 20%, color-mix(in srgb, var(--bm-roster-profile-bg, #000) 70%, transparent) 60%, color-mix(in srgb, var(--bm-roster-profile-bg, #000) 96%, transparent));
}
.bm-roster-player--profile .bm-roster-player-photo img{
  width:var(--bm-roster-photo-width, 100%);
  height:var(--bm-roster-photo-height, 100%);
  max-width:100%;
  max-height:100%;
  object-fit:var(--bm-roster-photo-fit, cover);
  object-position:center top;
  transition:transform .35s ease;
}
.bm-roster-player--profile:hover .bm-roster-player-photo img{
  transform:scale(1.03);
}
.bm-roster-player--profile .bm-roster-player-caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  padding:0 1rem 1.1rem;
}
.bm-roster-player--profile .bm-roster-player-nameblock{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  gap:.35rem .45rem;
  max-width:100%;
}
.bm-roster-player--profile .bm-roster-player-first{
  font-size:clamp(.85rem, 2.4vw, 1rem);
  font-weight:400;
  letter-spacing:.01em;
  color:var(--bm-roster-profile-first, #fff);
  line-height:1.1;
}
.bm-roster-player--profile .bm-roster-player-last{
  font-size:clamp(1.35rem, 4.2vw, 2rem);
  font-weight:800;
  letter-spacing:.02em;
  line-height:1;
  text-transform:uppercase;
  color:var(--bm-roster-profile-name, #fff);
}
.bm-roster-player--profile .bm-roster-player-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.35rem .65rem;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease, max-height .25s ease;
}
.bm-roster-player--profile:hover .bm-roster-player-meta,
.bm-roster-player--profile:focus-within .bm-roster-player-meta{
  opacity:1;
  max-height:2.5rem;
  transform:translateY(0);
}
.bm-roster-player--profile .bm-roster-player-role,
.bm-roster-player--profile .bm-roster-player-birth{
  font-size:clamp(.72rem, 2vw, .85rem);
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bm-roster-profile-meta, #fff);
  line-height:1.2;
}
.bm-roster-player--profile .bm-roster-player-birth::before{
  content:"·";
  margin-right:.65rem;
  opacity:.65;
}
.bm-roster-player--profile .bm-roster-player-birth:first-child::before{
  content:none;
  margin:0;
}

.bm-roster-photo-box-manual .bm-roster-player-photo{
  aspect-ratio:auto;
  height:var(--bm-roster-photo-box-height, 75%);
  flex:0 0 auto;
}
.bm-roster-photo-box-manual.bm-roster-card-style-hero .bm-roster-player-photo,
.bm-roster-photo-box-manual.bm-roster-card-style-profile .bm-roster-player-photo{
  inset:auto;
  top:0;
  left:0;
  right:0;
  bottom:auto;
  height:var(--bm-roster-photo-box-height, 75%);
}

.bm-roster-champs-page .bm-roster-appearance-editor{
  display:grid;
  grid-template-columns:minmax(240px, 320px) minmax(0, 1fr);
  gap:20px;
  margin:1.25rem 0 1.5rem;
  padding:16px;
  background:var(--bm-card-bg, #fff);
  border:1px solid var(--bm-card-border, #c3c4c7);
  border-radius:8px;
  color:var(--bm-text, #172033);
}
.bm-roster-appearance-editor__sidebar h3,
.bm-roster-appearance-editor__preview h3{
  margin:0 0 .75rem;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.bm-roster-appearance-range label span{
  font-weight:600;
  font-size:12px;
}
.bm-roster-appearance-range output{
  float:right;
  font-size:12px;
  color:#50575e;
}
.bm-roster-appearance-range input[type="range"]{
  width:100%;
  margin-top:.35rem;
}
.bm-roster-appearance-range.is-disabled{
  opacity:.55;
}
.bm-roster-appearance-range.is-hidden{
  display:none;
}
.bm-roster-preview-context{
  margin:0 0 .75rem;
  padding:.45rem .65rem;
  background:var(--bm-roster-gold, #d4af37);
  color:#111;
  font-size:12px;
  font-weight:600;
  border-radius:4px;
}
.bm-roster-admin-preview{
  padding:14px;
  border-radius:8px;
}
.bm-roster-admin-preview__cards{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media(max-width:960px){
  .bm-roster-champs-page .bm-roster-appearance-editor{
    grid-template-columns:1fr;
  }
  .bm-roster-admin-preview__cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media(max-width:600px){
  .bm-roster-admin-preview__cards{
    grid-template-columns:1fr;
  }
}

/* Home — prossima partita / live */
.bm-partita-evidenza{
  margin:1rem 0;
}
.bm-partita-evidenza__body{
  border:1px solid color-mix(in srgb,var(--bm-primary,#0B4EA2) 22%,transparent);
  border-radius:var(--bm-radius,16px);
  background:var(--bm-surface,#fff);
  box-shadow:0 4px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
.bm-partita-evidenza__panel{
  padding:1.25rem 1.5rem 1.5rem;
}
.bm-pe-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.bm-partita-evidenza__panel--final{
  background:linear-gradient(180deg,color-mix(in srgb,var(--bm-success,#1B9A59) 6%,var(--bm-surface,#fff)) 0%,var(--bm-surface,#fff) 100%);
}
.bm-pe-badge--final{
  color:#fff;
  background:var(--bm-success,#1B9A59);
  border-radius:999px;
  padding:.35rem .85rem;
}
.bm-pe-outcome{
  margin:-.35rem 0 1rem;
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:.02em;
}
.bm-pe-outcome--win{color:var(--bm-success,#1B9A59)}
.bm-pe-outcome--loss{color:var(--bm-danger,#D62828)}
.bm-pe-outcome--draw{color:var(--bm-primary,#0B4EA2)}
.bm-pe-date--final{margin-top:-.25rem}
.bm-pe-scoreboard--final{
  color:var(--bm-text,#172033);
}
.bm-pe-team--winner .bm-pe-team__name{
  font-weight:900;
}
.bm-pe-team--winner .team__flag{
  box-shadow:0 0 0 3px color-mix(in srgb,var(--bm-success,#1B9A59) 45%,transparent);
}
.bm-pe-badge--next{
  color:var(--bm-primary,#0B4EA2);
}
.bm-pe-badge--live{
  color:#fff;
  background:#D62828;
  border-radius:999px;
  padding:.35rem .75rem;
}
.bm-pe-badge__dot{
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:#fff;
  animation:bm-pe-pulse 1.2s ease-in-out infinite;
}
@keyframes bm-pe-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.85)}
}
.bm-pe-date{
  margin:0 0 1rem;
  font-size:1.05rem;
  color:var(--bm-text,#172033);
}
.bm-pe-time{
  font-weight:700;
  color:var(--bm-accent,#E85D04);
}
.bm-pe-match{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:1rem;
  align-items:center;
}
.bm-pe-match--next .bm-pe-vs{
  font-size:.85rem;
  font-weight:800;
  letter-spacing:.12em;
  color:color-mix(in srgb,var(--bm-text,#172033) 45%,transparent);
  text-align:center;
}
.bm-pe-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.65rem;
  text-align:center;
}
.bm-pe-team--home{align-items:flex-end;text-align:right}
.bm-pe-team--away{align-items:flex-start;text-align:left}
.bm-pe-team .team__flag{
  width:72px;
  height:72px;
  border-radius:12px;
  overflow:hidden;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bm-pe-team .team__flag img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.bm-pe-team .placeholder-img{
  width:48px;
  height:48px;
  border-radius:50%;
  background:color-mix(in srgb,var(--bm-primary,#0B4EA2) 12%,#fff);
}
.bm-pe-team__name{
  font-size:1rem;
  font-weight:700;
  line-height:1.25;
  max-width:12rem;
}
.bm-pe-team--managed .bm-pe-team__name{
  color:#111;
  font-weight:800;
}
.bm-pe-scoreboard{
  display:flex;
  align-items:center;
  gap:.65rem;
  font-size:clamp(2rem,6vw,3rem);
  font-weight:900;
  line-height:1;
  color:var(--bm-accent,#E85D04);
}
.bm-pe-score-sep{
  opacity:.55;
  font-weight:700;
}
.bm-pe-live-meta,
.bm-partita-evidenza .bm-match-meta{
  display:block;
  margin:.75rem 0 0;
  font-size:.85rem;
  color:color-mix(in srgb,var(--bm-text,#172033) 65%,transparent);
}
.bm-pe-empty{
  margin:0;
  padding:1.25rem 1.5rem;
  color:color-mix(in srgb,var(--bm-text,#172033) 70%,transparent);
}
@media(max-width:640px){
  .bm-pe-match{
    grid-template-columns:1fr;
    gap:.75rem;
  }
  .bm-pe-team--home,
  .bm-pe-team--away{
    align-items:center;
    text-align:center;
  }
  .bm-pe-scoreboard{
    justify-content:center;
    order:-1;
  }
  .bm-pe-match--next .bm-pe-vs{
    order:0;
  }
}

/* ==== [sport_home_gare] — sezione gare per la home page ==== */
.bm-home-gare{--bm-hg-cols:3}
.bm-home-gare .bm-hg-heading{margin:0 0 18px;font-size:1.35em;line-height:1.25}
.bm-home-gare .bm-hg-group{margin:0 0 40px}
.bm-home-gare .bm-hg-group:last-child{margin-bottom:0}
.bm-home-gare .bm-hg-section{margin:0 0 28px}
.bm-home-gare .bm-hg-title{margin:0 0 12px;font-size:1.1em}
.bm-home-gare .bm-hg-grid{
  display:grid;
  grid-template-columns:repeat(var(--bm-hg-cols,3),minmax(0,1fr));
  gap:14px;
}
.bm-home-gare .bm-mcard{
  width:100%;
  max-width:var(--bm-mcard-max,none);
  margin:0 auto;
  box-sizing:border-box;
}
@media (max-width:1100px){
  .bm-home-gare[data-cols="4"] .bm-hg-grid,
  .bm-home-gare[data-cols="5"] .bm-hg-grid,
  .bm-home-gare[data-cols="6"] .bm-hg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){
  .bm-home-gare .bm-hg-grid{grid-template-columns:1fr}
}

.bm-mcard{
  position:relative;
  border:1px solid var(--bm-mcard-border,#e2e2e2);
  border-radius:var(--bm-mcard-radius,10px);
  padding:var(--bm-mcard-pad,12px) calc(var(--bm-mcard-pad,12px) + 2px);
  background:var(--bm-mcard-bg,#fff);
  color:var(--bm-mcard-text,#1d2327);
}
.bm-mcard-head{margin:0 0 8px}
.bm-mcard-head-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bm-mcard-badge{
  display:inline-block;font-size:.72em;font-weight:600;text-transform:uppercase;letter-spacing:.03em;
  padding:2px 8px;border-radius:999px;margin:0;
  background:var(--bm-mcard-badge-bg,#eef2f6);color:var(--bm-mcard-badge-text,#4b5563);
}
.bm-mcard-champ-title{font-weight:700;font-size:.95em;line-height:1.2}
.bm-mcard-tipo{margin-top:4px;font-size:.8em;opacity:.65;line-height:1.35}
.bm-mcard-team-name{font-weight:600}
.bm-mcard-badge-live{background:var(--bm-mcard-badge-bg,#fde8e8);color:var(--bm-mcard-badge-text,#c81e1e)}
.bm-mcard-badge-prossima{background:var(--bm-mcard-badge-bg,#e8f0fe);color:var(--bm-mcard-badge-text,#1a56db)}
.bm-mcard-badge-precedente{background:var(--bm-mcard-badge-bg,#eef2f6);color:var(--bm-mcard-badge-text,#4b5563)}
.bm-mcard-state-live{border-color:var(--bm-mcard-border,#f3b3b3)}

.bm-mcard-logo,.bm-mcard-logo-ph{
  width:var(--bm-mcard-logo,48px);
  height:var(--bm-mcard-logo,48px);
  object-fit:contain;
  vertical-align:middle;
}
.bm-mcard-logo-ph{display:inline-block;border-radius:50%;background:#eee}
.bm-mcard-score,.bm-mcard-score-big,.bm-mcard-banner-mid{font-weight:700;color:var(--bm-mcard-score,inherit)}
.bm-mcard-score{margin:0 8px}
.bm-mcard-vs{opacity:.5;margin:0 8px}
.bm-mcard-when{margin-top:6px;font-size:.85em;opacity:.72}
.bm-mcard-countdown{margin-left:6px;font-weight:600;color:var(--bm-mcard-accent,#1a56db)}
.bm-mcard-meta{margin-top:4px;font-size:.8em;opacity:.65}

/* Layout: classica */
.bm-mcard-classica .bm-mcard-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* Layout: logo grande */
.bm-mcard-logo_grande .bm-mcard-teams-stack{display:flex;align-items:center;justify-content:space-between;text-align:center;gap:8px}
.bm-mcard-logo_grande .bm-mcard-team{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;font-weight:600}
.bm-mcard-logo_grande .bm-mcard-team .bm-mcard-logo,.bm-mcard-logo_grande .bm-mcard-team .bm-mcard-logo-ph{width:var(--bm-mcard-logo,48px);height:var(--bm-mcard-logo,48px)}
.bm-mcard-logo_grande .bm-mcard-score-big{font-size:1.4em;font-weight:800;padding:0 10px}

/* Layout: banner orizzontale */
.bm-mcard-banner{padding:16px 20px}
.bm-mcard-banner .bm-mcard-banner-row{display:flex;align-items:center;justify-content:center;gap:12px;font-size:1.05em}
.bm-mcard-banner .bm-mcard-banner-mid{min-width:90px;text-align:center;font-weight:700}

/* Layout: minimal */
.bm-mcard-minimal{padding:8px 12px}
.bm-mcard-minimal .bm-mcard-row{display:flex;gap:6px;flex-wrap:wrap;font-size:.95em}

.bm-mcard-stats{margin-top:8px;font-size:.85em}
.bm-mcard-stats summary{cursor:pointer;font-weight:600;color:var(--bm-mcard-accent,#1a56db)}
.bm-mcard-stats .bm-boxscore{margin-top:6px}
.bm-mcard-stats table.bm-table{width:100%;font-size:.9em}

.bm-mcard-popup-btn{
  margin-left:auto;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-height:28px;padding:3px 10px 3px 8px;border:0;border-radius:999px;
  background:var(--bm-mcard-accent,#1a56db);color:#fff;cursor:pointer;
  font-size:.72em;font-weight:700;letter-spacing:.02em;line-height:1;
  box-shadow:0 1px 4px rgba(0,0,0,.18);
  flex:0 0 auto;
}
.bm-mcard-popup-btn .dashicons{width:16px;height:16px;font-size:16px;line-height:1}
.bm-mcard-popup-btn-txt{white-space:nowrap}
.bm-mcard-popup-btn.is-icon-only{width:32px;min-width:32px;height:32px;padding:0}
.bm-mcard-popup-btn:hover,.bm-mcard-popup-btn:focus{filter:brightness(1.08);outline:2px solid currentColor;outline-offset:2px}
body.bm-mpop-open{overflow:hidden}
.bm-mpop{position:fixed;inset:0;z-index:100000;display:flex;align-items:flex-end;justify-content:center;padding:10px}
.bm-mpop[hidden]{display:none}
.bm-mpop-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.bm-mpop-dialog{
  position:relative;z-index:1;width:min(1180px,100%);max-height:min(94vh,920px);
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--bm-secondary,#f4f6f8);color:var(--bm-mcard-text,var(--bm-text,#111827));
  border-radius:16px 16px 8px 8px;
  box-shadow:0 24px 60px rgba(0,0,0,.32);
}
.bm-mpop-close{
  position:absolute;top:10px;right:10px;z-index:3;
  width:36px;height:36px;margin:0;border:0;border-radius:999px;
  background:var(--bm-surface,#fff);color:var(--bm-mcard-text,var(--bm-text,#111));font-size:22px;line-height:1;cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}
.bm-mpop-close:hover,.bm-mpop-close:focus{background:var(--bm-mcard-accent,var(--bm-primary,#111827));color:#fff;outline:none}
.bm-mpop-body{overflow:auto;flex:1;min-height:0}
.bm-mpop-page{padding:0 0 20px}
.bm-mpop .screen-reader-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.bm-mpop-head{
  background:var(--bm-surface,#fff);padding:18px 52px 16px 20px;
  border-bottom:1px solid color-mix(in srgb,var(--bm-mcard-border,var(--bm-primary,#e5e7eb)) 22%,#e5e7eb);
}
.bm-mpop-kicker{
  margin:0 0 12px;font-size:.72em;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:color-mix(in srgb,var(--bm-mcard-text,var(--bm-text,#6b7280)) 55%,#6b7280);
}
.bm-mpop-scoreboard{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:12px;align-items:center;
}
.bm-mpop-side{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}
.bm-mpop-logo{
  width:64px;height:64px;object-fit:contain;border-radius:50%;
  background:#f3f4f6;border:1px solid #e5e7eb;
}
.bm-mpop-logo-ph{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;font-size:1.25em;color:var(--bm-mcard-accent,var(--bm-primary,#1a56db));
}
.bm-mpop-team-name{font-weight:700;font-size:.92em;line-height:1.25;max-width:100%}
.bm-mpop-mid{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 6px}
.bm-mpop-score{font-size:1.55em;font-weight:800;letter-spacing:.02em;line-height:1;color:var(--bm-mcard-score,var(--bm-text,#111827))}
.bm-mpop-when{font-size:.78em;color:#6b7280;white-space:nowrap}
.bm-mpop-meta{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0;justify-content:center}
.bm-mpop-chip{
  display:inline-block;max-width:100%;
  padding:4px 10px;border-radius:999px;background:#f3f4f6;color:#374151;
  font-size:.78em;line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.bm-mpop-chip-live{background:color-mix(in srgb,var(--bm-danger,#c81e1e) 14%,#fff);color:var(--bm-danger,#c81e1e);font-weight:700}
.bm-mpop-chip-venue{max-width:min(100%,420px)}
.bm-mpop-tabs{
  display:flex;gap:0;margin:16px 14px 0;padding:0;
  border-bottom:1px solid #e8eaed;
}
.bm-mpop-tab{
  flex:1;appearance:none;background:none;border:0;border-bottom:2px solid transparent;
  margin-bottom:-1px;padding:10px 8px;cursor:pointer;
  font:inherit;font-size:.78em;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:#9ca3af;
}
.bm-mpop-tab.is-active{color:var(--bm-mcard-accent,var(--bm-primary,#111827));border-bottom-color:var(--bm-mcard-accent,var(--bm-primary,#111827))}
.bm-mpop-tab:focus-visible{outline:2px solid var(--bm-mcard-accent,var(--bm-primary,#1a56db));outline-offset:2px}
.bm-mpop-tabpanel{min-width:0}
.bm-mpop-empty{margin:18px 14px;text-align:center;color:#6b7280;font-size:.9em}
.bm-mpop-disclaimer{display:flex;align-items:flex-start;gap:8px;margin:18px 18px 0;padding:11px 13px;border:1px solid color-mix(in srgb,var(--bm-primary,#1d4ed8) 18%,#d1d5db);border-radius:10px;background:#f8fafc;color:#475569;font-size:.78rem;line-height:1.45}
.bm-mpop-disclaimer .dashicons{flex:0 0 auto;width:16px;height:16px;font-size:16px;line-height:16px;margin-top:1px}
.bm-mpop-disclaimer a{font-weight:700;color:var(--bm-primary,#1d4ed8);text-decoration:underline;text-underline-offset:2px}
.bm-mpop-roster-cols{display:grid;gap:12px;padding:14px;grid-template-columns:1fr}
.bm-mpop-roster-cols-n2{grid-template-columns:1fr 1fr;align-items:start}
.bm-mpop-roster-col{
  background:var(--bm-surface,#fff);border:1px solid color-mix(in srgb,var(--bm-mcard-border,var(--bm-primary,#e8eaed)) 28%,#e8eaed);border-radius:12px;padding:14px;min-width:0;
}
.bm-mpop-roster-head{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.bm-mpop-roster-head h3{
  margin:0;font-size:.88em;font-weight:700;line-height:1.25;
  text-transform:none;letter-spacing:0;color:#111827;
}
.bm-mpop-empty-inline{margin:8px 0 4px;text-align:left}
.bm-mpop-player-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bm-mpop-player-table{width:100%;border-collapse:collapse;font-size:.78em;min-width:0}
.bm-mpop-player-table th,.bm-mpop-player-table td{
  padding:8px 6px;border-bottom:1px solid #f0f1f3;vertical-align:middle;text-align:left;
}
.bm-mpop-player-table thead th{
  font-size:.68em;font-weight:700;letter-spacing:.02em;text-transform:uppercase;
  color:#6b7280;white-space:normal;line-height:1.2;
}
.bm-mpop-player-table .bm-mpop-n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.bm-mpop-player-table thead .bm-mpop-n:first-child{text-align:center}
.bm-mpop-player-table td.bm-mpop-n:first-child{text-align:center;color:#6b7280;font-weight:700}
.bm-mpop-player-table .bm-mpop-name{font-weight:600;color:#111827}
.bm-mpop-player-table tfoot td{
  border-bottom:0;border-top:1px solid #e5e7eb;font-weight:800;color:#111827;
}
.bm-mpop-stat-list{list-style:none;margin:0;padding:0}
.bm-mpop-stat-row{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:9px 0;border-bottom:1px solid #f0f1f3;font-size:.9em;
}
.bm-mpop-stat-row:last-child{border-bottom:0}
.bm-mpop-stat-row span{color:#6b7280}
.bm-mpop-stat-row strong{font-size:1.08em;font-weight:800;color:#111827;font-variant-numeric:tabular-nums}
.bm-mpop-grid{display:grid;gap:12px;padding:14px 14px 0}
.bm-mpop-panel{
  background:var(--bm-surface,#fff);border:1px solid color-mix(in srgb,var(--bm-mcard-border,var(--bm-primary,#e8eaed)) 28%,#e8eaed);border-radius:12px;
  padding:14px 14px 10px;min-width:0;
}
.bm-mpop-panel h3{
  margin:0 0 10px;font-size:.72em;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:#6b7280;
}
.bm-mpop-panel-stats{margin:14px 14px 0}
.bm-mpop-box{margin:0 0 14px;overflow:auto}
.bm-mpop-box .bm-table,.bm-mpop-panel .bm-ranking,.bm-mpop-panel .bm-results-ranking-full table{width:100%;border-collapse:collapse;font-size:.88em}
.bm-mpop-box .bm-table th,.bm-mpop-box .bm-table td,
.bm-mpop-panel .bm-ranking th,.bm-mpop-panel .bm-ranking td,
.bm-mpop-panel .bm-results-ranking-full th,.bm-mpop-panel .bm-results-ranking-full td{
  padding:7px 8px;text-align:left;border-bottom:1px solid #f0f1f3;vertical-align:middle;
}
.bm-mpop-panel .bm-ranking thead th,.bm-mpop-panel .bm-results-ranking-full thead th{
  font-size:.7em;text-transform:uppercase;letter-spacing:.04em;color:#9ca3af;font-weight:700;
}
.bm-mpop-panel .bm-ranking td:first-child,.bm-mpop-panel .bm-results-ranking-full td:first-child{color:#9ca3af;width:28px}
.bm-mpop-panel .bm-ranking td:last-child{text-align:right;font-weight:800}
.bm-mpop-panel .team{display:flex;align-items:center;gap:8px;min-width:0}
.bm-mpop-panel .team__flag{width:22px;height:22px;flex:0 0 22px;border-radius:50%;overflow:hidden;background:#f3f4f6}
.bm-mpop-panel .team__flag img{width:100%;height:100%;object-fit:contain}
.bm-mpop-panel .team__flag .placeholder-img{width:100%;height:100%;background:#d1d5db;border-radius:50%}
.bm-mpop-panel .team__name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm-mpop-panel tr.is-match-team td{background:color-mix(in srgb,var(--bm-mcard-accent,var(--bm-primary,#1a56db)) 10%,#fff)}
.bm-mpop-panel tr.is-match-team td:first-child{color:var(--bm-mcard-accent,var(--bm-primary,#1a56db));font-weight:800}
.bm-mpop-round{list-style:none;margin:0;padding:0}
.bm-mpop-round-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:8px;align-items:center;padding:8px 6px;border-bottom:1px solid #f0f1f3;
}
.bm-mpop-round-row:last-child{border-bottom:0}
.bm-mpop-round-row.is-current{background:color-mix(in srgb,var(--bm-mcard-accent,var(--bm-primary,#1a56db)) 10%,#fff);border-radius:8px;border-bottom-color:transparent;box-shadow:inset 3px 0 0 var(--bm-mcard-accent,var(--bm-primary,#1a56db))}
.bm-mpop-round-row.is-openable{cursor:pointer}
.bm-mpop-round-row.is-openable:hover,.bm-mpop-round-row.is-openable:focus{background:color-mix(in srgb,var(--bm-mcard-accent,var(--bm-primary,#1a56db)) 8%,#fff);outline:none}
.bm-mpop-round-home,.bm-mpop-round-away{display:flex;align-items:center;gap:6px;min-width:0}
.bm-mpop-round-home{justify-content:flex-end;text-align:right}
.bm-mpop-round-away{justify-content:flex-start;text-align:left}
.bm-mpop-round-name{font-size:.82em;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}
.bm-mpop-mini-logo{
  width:22px;height:22px;flex:0 0 22px;object-fit:contain;border-radius:50%;background:#f3f4f6;
  font-size:.7em;font-weight:800;color:var(--bm-mcard-accent,var(--bm-primary,#1a56db));
  display:inline-flex;align-items:center;justify-content:center;
}
.bm-mpop-round-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:3.6em;text-align:center}
.bm-mpop-round-score{font-weight:800;white-space:nowrap;font-size:.9em;color:#111827;line-height:1.15}
.bm-mpop-round-date{font-size:.68em;font-weight:600;color:#9ca3af;white-space:nowrap;text-transform:capitalize;line-height:1.2}
.bm-mpop-live{margin-left:4px;font-size:.68em;text-transform:uppercase;color:var(--bm-danger,#c81e1e);font-weight:800}
.bm-mpop-loading{margin:40px 0;text-align:center;color:#6b7280}
@media (min-width:880px){
  .bm-mpop{align-items:center;padding:24px}
  .bm-mpop-dialog{border-radius:16px;max-height:86vh}
  .bm-mpop-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start;padding:16px 16px 0}
  .bm-mpop-roster-cols-n2{grid-template-columns:1fr 1fr;padding:16px}
  .bm-mpop-tabs{margin:16px 16px 0}
  .bm-mpop-panel-stats{margin:16px 16px 0}
  .bm-mpop-logo{width:72px;height:72px}
}
@media (max-width:600px){
  .bm-mpop-roster-cols-n2{grid-template-columns:1fr}
  .bm-mpop-logo{width:52px;height:52px}
  .bm-mpop-score{font-size:1.25em}
  .bm-mpop-team-name{font-size:.8em}
}

.bm-stats-leaderboard{margin-bottom:24px}
.bm-stats-match-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #eee}
.bm-stats-match-when{font-size:.85em;color:#666;min-width:120px}
.bm-stats-match-score{font-weight:700}

/* ==== [sport_staff] — staff tecnico ==== */
.bm-staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.bm-staff-card{text-align:center;border:1px solid #e2e2e2;border-radius:10px;padding:14px;background:#fff}
.bm-staff-photo{width:88px;height:88px;border-radius:50%;object-fit:cover;margin-bottom:8px}
.bm-staff-photo-ph{display:inline-block;width:88px;height:88px;border-radius:50%;background:#eee;margin-bottom:8px}
.bm-staff-name{font-weight:700}
.bm-staff-role{font-size:.85em;color:#666;margin-bottom:6px}
.bm-staff-bio{font-size:.85em;text-align:left}
.bm-staff-bio summary{cursor:pointer;color:#1a56db;text-align:center}

.bm-staff-inline{margin-top:24px;padding-top:16px;border-top:1px solid #e2e2e2}
.bm-staff-inline-title{margin:0 0 12px}
.bm-staff-has-layout.bm-roster-palette-monaco .bm-staff-inline-title{color:var(--bm-roster-text,#f3f4f6)}
.bm-staff-has-layout.bm-roster-palette-monaco .bm-staff-bio summary{color:var(--bm-roster-gold,#d4af37)}
.bm-staff-has-layout .bm-staff-card.bm-roster-player{padding:0;text-align:inherit}
.bm-staff-has-layout .bm-roster-player-photo.bm-staff-photo-ph{
  width:auto;height:auto;min-height:120px;border-radius:0;margin:0;display:flex
}
.bm-staff-table-photo{width:40px;height:40px;object-fit:cover;border-radius:4px;vertical-align:middle}
.bm-staff-layout-tools{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem;
  margin:1rem 0 1.5rem
}
.bm-staff-layout-inline-form{display:inline;margin:0 2px 0 0}
.bm-staff-layout-actions .button{margin:2px 2px 2px 0}
.bm-staff-layout-badge{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  background:#f0f0f1;
  color:#50575e
}
.bm-staff-layout-badge--active{background:#edfaef;color:#1e4620}
.bm-staff-layout-badge--frozen{background:#f0f6fc;color:#1d4f91}
.bm-staff-layout-edit-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:1rem}
@media (max-width:960px){
  .bm-staff-layout-tools{grid-template-columns:1fr}
}

/* Organigramma società */
.bm-org-filters{margin:1rem 0 1.25rem;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.bm-org-admin-photo{width:40px;height:40px;object-fit:cover;border-radius:50%;display:block;margin-bottom:4px;background:#eee}
.bm-org-admin-photo--empty{display:block}
.bm-org-table td{vertical-align:top}
.bm-org-bio-row td{border-top:none;padding-top:0}
.bm-org-chart{
  --bm-org-line:#c3c4c7;
  --bm-org-card:#fff;
  --bm-org-text:#1d2327;
  --bm-org-muted:#646970;
  --bm-org-accent:#0B4EA2;
  max-width:1100px;
  margin:1.25rem auto;
  padding:1rem;
}
.bm-org-header{display:flex;align-items:center;gap:14px;margin-bottom:1.25rem}
.bm-org-logo{width:56px;height:56px;object-fit:contain;background:#fff;border-radius:8px}
.bm-org-title{margin:0;font-size:1.35rem}
.bm-org-season{margin:.2rem 0 0;color:var(--bm-org-muted);font-size:.9rem;letter-spacing:.06em;text-transform:uppercase}
.bm-org-tree{display:flex;justify-content:center;flex-wrap:wrap;gap:24px 32px;list-style:none;margin:0;padding:0;position:relative}
.bm-org-node{display:flex;flex-direction:column;align-items:center;position:relative}
.bm-org-card{
  background:var(--bm-org-card);
  color:var(--bm-org-text);
  border:1px solid var(--bm-org-line);
  border-radius:12px;
  padding:14px 16px 16px;
  min-width:160px;
  max-width:220px;
  text-align:center;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  position:relative;
  z-index:1;
}
.bm-org-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;margin:0 auto 8px;display:block;background:#eef1f4}
.bm-org-photo--empty{background:#eef1f4}
.bm-org-role{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bm-org-accent);margin-bottom:.25rem}
.bm-org-name{font-weight:800;line-height:1.25}
.bm-org-bio{margin:.45rem 0 0;font-size:.8rem;color:var(--bm-org-muted);line-height:1.35}
.bm-org-node > .bm-org-tree{
  margin-top:28px;
  padding-top:12px;
}
.bm-org-node > .bm-org-tree::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:1px;
  height:12px;
  background:var(--bm-org-line);
}
.bm-org-page .bm-org-chart{margin:1rem 0;padding:0}
@media(max-width:700px){
  .bm-org-tree{flex-direction:column;align-items:stretch;gap:16px}
  .bm-org-card{max-width:none;width:100%}
}

/* Hub dinamici Squadre / Campionati */
.bm-navhub{--hub-ink:var(--hub-text,#101820);--hub-line:var(--hub-border,#dce2e7);max-width:1180px;margin:0 auto;padding:20px 18px 42px;color:var(--hub-ink);background:var(--hub-bg,#f5f7f9);border-radius:var(--hub-radius,10px)}
.bm-navhub-head{margin-bottom:20px}.bm-navhub-head h1{margin:.1rem 0;font-size:clamp(2rem,5vw,3.6rem);line-height:1}
.bm-navhub-kicker{margin:0;color:var(--hub-accent);font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.bm-navhub-picker{display:grid;grid-template-columns:minmax(170px,1fr) 2fr;border:1px solid var(--hub-line);background:var(--hub-surface,#fff);margin:22px 0 28px;box-shadow:0 12px 35px rgba(15,23,42,.07);border-radius:var(--hub-radius,10px);overflow:hidden}
.bm-navhub-seasons,.bm-navhub-genders{display:flex;flex-wrap:wrap}.bm-navhub-seasons{border-right:1px solid var(--hub-line)}
.bm-navhub-season,.bm-navhub-gender{display:block;padding:15px 18px;color:var(--hub-ink)!important;text-decoration:none!important;border-bottom:3px solid transparent;font-weight:700}
.bm-navhub-season:hover,.bm-navhub-gender:hover,.bm-navhub-season.is-active,.bm-navhub-gender.is-active{color:var(--hub-accent)!important;border-bottom-color:var(--hub-accent);background:#f7fbfb}
.bm-navhub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bm-navhub-card{position:relative;display:flex;min-height:112px;flex-direction:column;justify-content:center;padding:18px 46px 18px 20px;border:1px solid var(--hub-line);border-left:4px solid var(--hub-accent);border-radius:var(--hub-radius,10px);background:var(--hub-surface,#fff);color:var(--hub-ink)!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease}
.bm-navhub-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.11)}
.bm-navhub-card strong{font-size:1.08rem}.bm-navhub-card span{margin-top:5px;color:#64748b;font-size:.82rem}.bm-navhub-card i{position:absolute;right:18px;font-size:1.35rem;font-style:normal;color:var(--hub-accent)}
.bm-navhub-back{margin:0 0 16px}.bm-navhub-back a{font-weight:800;color:var(--hub-accent)!important;text-decoration:none!important}
.bm-navhub-phases{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.bm-navhub-phases a{padding:9px 13px;border:1px solid var(--hub-line);border-radius:999px;color:var(--hub-ink)!important;text-decoration:none!important;font-size:.82rem;font-weight:800;background:#fff}
.bm-navhub-phases a:hover{border-color:var(--hub-accent);color:var(--hub-accent)!important}
.bm-navhub-team-detail>h2{font-size:clamp(1.7rem,4vw,2.8rem);margin:.2rem 0}.bm-navhub-team-season{color:#64748b}.bm-navhub-team-detail>h3{margin-top:28px}
.bm-navhub--team{max-width:var(--team-width,1180px);background:var(--team-bg,#f5f7f9);color:var(--team-text,#101820);border-radius:var(--team-radius,14px)}
.bm-navhub--team .bm-navhub-kicker,.bm-navhub--team .bm-navhub-back a{color:var(--team-accent,#12b8ad)!important}.bm-navhub--team .bm-navhub-picker{--hub-accent:var(--team-accent);--hub-surface:var(--team-surface);--hub-line:color-mix(in srgb,var(--team-text) 16%,transparent)}
.bm-team-profile{overflow:hidden;border-radius:var(--team-radius);background:var(--team-surface);box-shadow:0 22px 55px rgba(15,23,42,.12)}
.bm-team-profile__hero{position:relative;display:flex;min-height:var(--team-hero-height);align-items:flex-end;padding:clamp(24px,5vw,58px);background-color:var(--team-primary);background-position:center;background-size:cover;color:var(--team-hero-text);isolation:isolate}
.bm-team-profile__hero.has-no-photo{background:linear-gradient(135deg,var(--team-primary),color-mix(in srgb,var(--team-primary) 74%,var(--team-accent)))}
.bm-team-profile__identity{display:flex;align-items:flex-end;gap:22px;width:100%;position:relative;z-index:1}.bm-team-profile__logo{width:clamp(76px,11vw,132px);height:clamp(76px,11vw,132px);object-fit:contain;padding:10px;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 16px 38px rgba(0,0,0,.24)}
.bm-team-profile__eyebrow,.bm-team-profile__section-head p{margin:0;color:var(--team-accent);font-size:.75rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.bm-team-profile__hero .bm-team-profile__eyebrow{color:inherit;opacity:.82}.bm-team-profile__hero h2{margin:.25rem 0 0;color:inherit;font-size:clamp(2.2rem,6vw,5.3rem);line-height:.93;letter-spacing:-.035em;text-wrap:balance}
.bm-team-profile__body{padding:clamp(22px,4vw,52px)}.bm-team-profile__section{padding:clamp(22px,4vw,44px) 0;border-bottom:1px solid color-mix(in srgb,var(--team-text) 14%,transparent)}.bm-team-profile__section:last-child{border-bottom:0}.bm-team-profile__section-head{margin-bottom:22px}.bm-team-profile__section-head h3{margin:.25rem 0 0;color:var(--team-text);font-size:clamp(1.55rem,3vw,2.4rem)}
.bm-team-profile .bm-navhub-card{--hub-accent:var(--team-accent);--hub-surface:var(--team-surface);--hub-ink:var(--team-text);--hub-line:color-mix(in srgb,var(--team-text) 15%,transparent)}.bm-team-profile .bm-navhub-card span{color:var(--team-muted)}
.bm-team-profile__section--roster .bm-roster-team-photo,.bm-team-profile__section--staff .bm-roster-team-photo{display:none}.bm-navhub--team.is-title-center .bm-team-profile__identity{justify-content:center;text-align:center}.bm-navhub--team.is-title-center .bm-team-profile__identity{align-items:center}.bm-navhub--team.is-title-center .bm-team-profile__logo{flex:0 0 auto}
.bm-navhub--team.is-team-hero-split .bm-team-profile__hero{min-height:var(--team-hero-height);width:100%;background-size:55% 100%;background-position:right center;background-repeat:no-repeat}.bm-navhub--team.is-team-hero-split .bm-team-profile__hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--team-primary) 0 45%,transparent 75%);z-index:0}.bm-navhub--team.is-team-hero-minimal .bm-team-profile__hero{min-height:260px;background-image:none!important;background:var(--team-primary)}
.bm-team-profile--builder{padding:clamp(14px,2.4vw,30px);background:var(--team-bg)}.bm-team-layout{display:none}.bm-team-layout--desktop{display:block}.bm-team-layout__row{display:grid;gap:clamp(12px,2vw,24px);margin-bottom:clamp(12px,2vw,24px)}.bm-team-layout__row:last-child{margin-bottom:0}.bm-team-layout__column{min-width:0;display:flex;flex-direction:column;gap:clamp(12px,2vw,24px)}
.bm-team-layout__element{min-width:0;padding:clamp(18px,3vw,34px);border-radius:var(--team-radius);background:var(--team-surface);color:var(--team-text);box-shadow:0 12px 34px rgba(15,23,42,.08)}.bm-team-layout__element--photo{padding:0;overflow:hidden}.bm-team-builder-photo{height:100%;min-height:320px;margin:0}.bm-team-builder-photo img{display:block;width:100%;height:100%;object-fit:cover}.bm-team-builder-photo.is-logo{display:grid;place-items:center;padding:35px;background:linear-gradient(135deg,var(--team-primary),color-mix(in srgb,var(--team-primary) 72%,var(--team-accent)))}.bm-team-builder-photo.is-logo img{max-width:230px;max-height:230px;object-fit:contain}
.bm-team-builder-title{display:flex;align-items:center;gap:18px}.bm-team-builder-title img{width:82px;height:82px;padding:8px;border-radius:18px;object-fit:contain;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.12)}.bm-team-builder-title h2{margin:0;color:var(--team-text);font-size:clamp(2rem,5vw,4.7rem);line-height:.96;letter-spacing:-.035em}.bm-team-builder-data{display:flex;flex-wrap:wrap;gap:10px 28px}.bm-team-builder-data span{color:var(--team-muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.bm-team-builder-data strong{display:block;margin-top:4px;color:var(--team-text);font-size:1rem;letter-spacing:0;text-transform:none}
.bm-team-layout__element--roster .bm-roster-team-photo,.bm-team-layout__element--staff .bm-roster-team-photo{display:none}.bm-team-layout__element--championships .bm-navhub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:701px) and (max-width:1024px){.bm-team-layout--desktop{display:none}.bm-team-layout--tablet{display:block}}
@media(max-width:700px){.bm-team-layout--desktop{display:none}.bm-team-layout--mobile{display:block}.bm-team-layout__row{grid-template-columns:1fr!important}.bm-team-builder-photo{min-height:250px}.bm-team-layout__element--championships .bm-navhub-grid{grid-template-columns:1fr}.bm-team-builder-title{align-items:flex-start;flex-direction:column}.bm-team-builder-title h2{font-size:clamp(2rem,12vw,3.3rem)}}
.bm-navhub-empty{grid-column:1/-1;padding:30px;border:1px dashed var(--hub-line);text-align:center;color:#64748b}
.bm-navhub--champ .bm-navhub-grid{grid-template-columns:repeat(var(--hub-cols,2),minmax(0,1fr))}
.bm-navhub--champ.is-card-flat .bm-navhub-card{border-color:transparent;border-left-color:var(--hub-accent);box-shadow:none}
.bm-navhub--champ.is-card-shadow .bm-navhub-card{border-color:transparent;box-shadow:0 10px 26px rgba(15,23,42,.13)}
.bm-navhub--champ .bm-champ-page,.bm-navhub--champ .bm-shortcode{--bm-primary:var(--hub-primary);--bm-accent:var(--hub-accent);--bm-surface:var(--hub-surface);--bm-text:var(--hub-text)}
.bm-navhub--champ .bm-table th{background:var(--hub-primary)!important}.bm-navhub--champ .bm-table{background:var(--hub-surface)!important;border-radius:var(--hub-radius)!important;overflow:hidden}
.bm-navhub--champ.is-results-list .bm-results{display:block!important}.bm-navhub--champ.is-results-list .bm-match-card,.bm-navhub--champ.is-results-list .bm-mcard{margin-bottom:10px!important;max-width:none!important}
.bm-navhub--champ.is-highlight-managed .bm-standings tr.is-managed td,.bm-navhub--champ.is-highlight-managed .bm-standings tr.is-match-team td{background:color-mix(in srgb,var(--hub-accent) 13%,var(--hub-surface))!important}
@media(max-width:850px){.bm-navhub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bm-navhub{padding-inline:12px}.bm-navhub-picker{grid-template-columns:1fr}.bm-navhub-seasons{border-right:0;border-bottom:1px solid var(--hub-line)}.bm-navhub-grid{grid-template-columns:1fr}.bm-navhub-season,.bm-navhub-gender{flex:1 1 auto;text-align:center}}
@media(max-width:600px){.bm-team-profile__hero{min-height:340px;padding:24px}.bm-team-profile__identity{align-items:flex-start;flex-direction:column}.bm-navhub--team.is-title-center .bm-team-profile__identity{align-items:center}.bm-team-profile__logo{width:86px;height:86px;border-radius:16px}.bm-navhub--team.is-team-hero-split .bm-team-profile__hero{background-size:cover;background-position:center}.bm-navhub--team.is-team-hero-split .bm-team-profile__hero:after{background:linear-gradient(0deg,rgba(5,10,18,.88),rgba(5,10,18,.16))}.bm-team-profile__body{padding-inline:18px}}

.bm-site-mega{--mega-accent:#12b8ad;display:flex;align-items:stretch;background:#050505;color:#fff;position:relative;z-index:1000;font-family:inherit}
.bm-site-mega__item{position:relative}.bm-site-mega__top{display:block;padding:18px 22px;color:#fff!important;text-decoration:none!important;font-size:.8rem;font-weight:800;letter-spacing:.065em;text-transform:uppercase;white-space:nowrap}
.bm-site-mega__top:hover,.bm-site-mega__item:focus-within>.bm-site-mega__top{color:var(--mega-accent)!important}
.bm-site-mega__panel{display:none;position:absolute;top:100%;left:0;width:220px;background:#fff;color:#111;box-shadow:0 16px 35px rgba(0,0,0,.28);border-top:4px solid var(--mega-accent)}
.bm-site-mega__item:hover>.bm-site-mega__panel,.bm-site-mega__item:focus-within>.bm-site-mega__panel{display:block}
.bm-site-mega__season{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;background:#f5f7f7;border-bottom:1px solid #e4e4e4}.bm-site-mega__season span{color:#6b7280;font-size:.64rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.bm-site-mega__season strong{font-size:.75rem;color:#111}
.bm-site-mega__branches,.bm-site-mega__level2 ul{list-style:none!important;margin:0!important;padding:0!important}.bm-site-mega__branch{position:relative;margin:0!important;border-bottom:1px solid #dedede}.bm-site-mega__branch:last-child{border-bottom:0}
.bm-site-mega__branch>button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:17px;border:0;border-left:4px solid transparent;background:#fff;color:#111;font:inherit;font-size:.78rem;letter-spacing:.025em;text-align:left;text-transform:uppercase;cursor:pointer}.bm-site-mega__branch>button i{color:#9ca3af;font-size:1.1rem;font-style:normal}.bm-site-mega__branch:hover>button,.bm-site-mega__branch:focus-within>button{border-left-color:var(--mega-accent);color:var(--mega-accent);background:#fbfdfd}
.bm-site-mega__level2{display:none;position:absolute;left:100%;top:-1px;width:222px;min-height:100%;background:#fff;box-shadow:12px 16px 32px rgba(0,0,0,.22)}.bm-site-mega__branch:hover>.bm-site-mega__level2,.bm-site-mega__branch:focus-within>.bm-site-mega__level2{display:block}
.bm-site-mega__level2 li{margin:0 17px!important;border-bottom:1px solid #dedede}.bm-site-mega__level2 li:last-child{border-bottom:0}.bm-site-mega__level2 a{display:block;padding:15px 0;color:#111!important;text-decoration:none!important;font-size:.78rem;letter-spacing:.025em;text-transform:uppercase}.bm-site-mega__level2 a:hover,.bm-site-mega__level2 a:focus{color:var(--mega-accent)!important}.bm-site-mega__level2 .is-empty{padding:15px 0;color:#94a3b8;font-size:.76rem}
@media(max-width:700px){.bm-site-mega{display:block}.bm-site-mega__top{border-bottom:1px solid #262626}.bm-site-mega__panel{position:static;width:100%;border-top-width:2px;box-shadow:none}.bm-site-mega__level2{position:static;width:100%;min-height:0;box-shadow:inset 4px 0 var(--mega-accent);background:#f7f7f7}.bm-site-mega__branch:hover>.bm-site-mega__level2{display:none}.bm-site-mega__branch:focus-within>.bm-site-mega__level2{display:block}.bm-site-mega__level2 li{margin-inline:24px!important}}
