.tournament-overview .overview-intro { text-align: center; color: #cbd5e1; font-size: 13px; margin: 16px 0 20px; }
.tournament-overview .tournament-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-bottom: 18px; }
.tournament-overview .tournament-predictor-link { border: 1px solid #0f766e; color: #115e59; background: #f0fdfa; border-radius: 8px; padding: 9px 12px; font-size: 13px; font-weight: 650; }
.tournament-overview .tournament-predictor-link:hover, .tournament-overview .tournament-predictor-link.active { background: #0f766e; border-color: #0f766e; color: #fff; }
.tournament-overview .tournament-view-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 18px; padding: 4px; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 9px; }
.tournament-overview .tournament-view-switch a { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 6px; color: #475569; font-size: 12px; font-weight: 600; text-decoration: none; }
.tournament-overview .tournament-view-switch a:hover { background: #e2e8f0; color: #0f172a; }
.tournament-overview .tournament-view-switch a.active { background: #0f766e; color: #fff; }
.tournament-overview .tournament-about { margin-top: 22px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #334155; }
.tournament-overview .tournament-about > summary { padding: 14px 18px; color: #0f766e; cursor: pointer; font-size: 14px; font-weight: 600; }
.tournament-overview .tournament-about .card { margin: 0; box-shadow: none !important; background: #fff; color: #334155; }
.tournament-overview .tournament-navigation a:focus-visible, .tournament-overview .tournament-view-switch a:focus-visible, .tournament-overview .tournament-about > summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.tournament-overview .insights-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.tournament-overview .insights-grid .nav-link { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 8px; padding: 9px 12px; font-size: 13px; font-weight: 600; transition: background-color .15s, color .15s, border-color .15s; }
.tournament-overview .insights-grid .nav-link:hover { background: #f0fdfa; color: #115e59; border-color: #5eead4; transform: none; box-shadow: none; }
.tournament-overview .insights-grid .nav-link.active { color: #fff; background: #0f766e; border-color: #0f766e; }
.tournament-overview .overview-panel { padding: 22px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgb(15 23 42 / 4%); }
.tournament-overview .overview-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tournament-overview .overview-panel-heading h2, .tournament-overview .overview-heading { color: #0f172a; font-size: 21px; font-weight: 700; margin: 0 0 5px; }
.tournament-overview #insights .overview-heading { color: #fff; }
.tournament-overview .overview-panel-heading p { color: #64748b; font-size: 12px; margin: 0; }
.tournament-overview .overview-tab-content .section-highlight { padding: 16px 0 !important; }
.tournament-overview #insights .card { height: 100%; padding: 18px !important; border-radius: 10px; margin-top: 0 !important; }
.tournament-overview #insights .card .card-body { padding: 0; }
.tournament-overview #insights h4 { font-size: 18px; margin-bottom: 16px; }
.tournament-overview #insights .display-6 { font-size: 30px; }
.tournament-overview #insights .row { --bs-gutter-y: 16px; }
.tournament-overview .overview-search { display: grid; grid-template-columns: auto minmax(160px, 340px) 1fr; align-items: center; gap: 10px; margin-bottom: 14px; }
.tournament-overview .overview-search label { color: #334155; font-weight: 600; font-size: 12px; }
.tournament-overview .overview-search input { font-size: 13px; }
.tournament-overview [data-overview-count] { color: #64748b; font-size: 12px; }
.tournament-overview .overview-empty { padding: 20px 12px; color: #64748b; text-align: center; margin: 0; font-size: 13px; }
.tournament-overview [hidden] { display: none !important; }
.tournament-overview .table-wrapper { max-width: 100%; overflow-x: auto; border-radius: 8px; }
.tournament-overview .overview-form-controls { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 9px; }
.tournament-overview .overview-form-controls > div { flex-wrap: wrap; gap: 10px; }
.tournament-overview .overview-form-controls p { margin: 0; font-size: 12px; }
.tournament-overview .overview-form-controls form { flex-shrink: 0; gap: 4px; }
.tournament-overview #topscorers .container { padding: 0; margin: 0 !important; }
.tournament-overview #topscorers .card { box-shadow: none !important; }
.tournament-overview #topscorers .card-body { padding: 0; }
.tournament-overview .tournament-form-result.result-w { color: #166534; background: #dcfce7; }
.tournament-overview .tournament-form-result.result-d { color: #1e40af; background: #dbeafe; }
.tournament-overview .tournament-form-result.result-l { color: #991b1b; background: #fee2e2; }
.tournament-overview .overview-fixture-day { margin-bottom: 24px; }
.tournament-overview .overview-fixture-day > h3 { font-size: 15px; color: #475569; padding-bottom: 9px; margin-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.tournament-overview .overview-fixtures > div > .mb-4 > h4 { font-size: 16px; }
.tournament-overview .tournament-about .info-tile { padding: 16px; border: 1px solid #e2e8f0; border-radius: 9px; background: #f8fafc; }
.tournament-overview a:focus-visible, .tournament-overview input:focus-visible, .tournament-overview select:focus-visible { outline: 3px solid #14b8a6; outline-offset: 3px; }
.tournament-overview .tournament-heading-wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.tournament-overview .tournament-heading { min-width: 0; }
.tournament-overview .tournament-trigger { max-width: 100%; white-space: normal; }
@media (max-width: 767.98px) {
    .tournament-overview .insights-grid { flex-wrap: wrap; justify-content: center; padding: 4px; }
    .tournament-overview .insights-grid .nav-item { flex: 0 0 auto; }
    .tournament-overview .overview-panel { padding: 14px; }
    .tournament-overview .overview-search { grid-template-columns: 1fr; gap: 6px; }
    .tournament-overview .tournament-heading-wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tournament-overview .tournament-heading { grid-column: 1 / -1; grid-row: 1; }
    .tournament-overview .tournament-heading-wrapper > div { grid-row: 2; }
    .tournament-overview .tournament-heading-wrapper > div:last-child { grid-column: 2; }
    .tournament-overview .tournament-trigger { font-size: 22px; }
    .tournament-overview .heading-suffix { font-size: 13px; }
}
/* Restrict details-button styling to links, never the upcoming kick-off badge. */
