  /* Moderne Spieltagsübersicht */
  #overviewTab { padding:12px; gap:12px; background:#e9eef5; }
  #overviewTab .side { padding:10px 8px; gap:6px; background:#fff; border:1px solid #dbe3ec; border-radius:14px; box-shadow:0 3px 12px rgba(16,24,40,.07); }
  #overviewTab .player-row { gap:7px; }
  #overviewTab .player-btn, #overviewTab .foul-btn, #overviewTab .correct-btn { border-radius:9px; box-shadow:0 2px 5px rgba(16,24,40,.14); transition:transform .08s ease,filter .12s ease; touch-action:manipulation; }
  #overviewTab .player-btn { background:#155eef; }
  body[data-dashboard-version="legacy"] #overviewTab .foul-btn { background:#c4322b; font-size:21px; }
  body[data-dashboard-version="legacy"] #overviewTab .foul-btn:not(.disabled) { border:1px solid #c4322b; background:#fff; color:#b42318; }
  body[data-dashboard-version="legacy"] #overviewTab .foul-btn.has-foul { background:#fee4e2; }
  #overviewTab .correct-btn { background:#475467; }
  #overviewTab .player-btn:active, #overviewTab .foul-btn:active, #overviewTab .correct-btn:active { transform:scale(.96); filter:brightness(.92); }
  #overviewTab .center { padding:0; gap:10px; border:0; }
  .game-day-heading { min-height:58px; padding:9px 16px; display:block; background:#172b4d; color:#fff; border-radius:12px; box-shadow:0 3px 10px rgba(16,24,40,.12); cursor:pointer; touch-action:manipulation; }
  .game-day-heading:focus-visible { outline:3px solid #f79009; outline-offset:2px; }
  .game-day-view { min-height:40px; display:grid; align-items:center; gap:22px; }
  .game-day-view[hidden] { display:none !important; }
  .game-info-view { display:flex; align-items:center; gap:clamp(10px,2vw,22px); }
  .game-info-view .game-day-fact:nth-child(2) { flex:1; }
  .game-day-fact { min-width:0; display:flex; flex-direction:column; gap:2px; }
  .game-day-fact span { color:#aebfd4; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
  .game-day-fact strong { overflow:hidden; color:#fff; font-size:16px; white-space:nowrap; text-overflow:ellipsis; }
  .game-day-fact small { overflow:hidden; color:#c7d5e5; font-size:11px; font-weight:750; white-space:nowrap; text-overflow:ellipsis; }
  .game-day-fact small[hidden] { display:none; }
  #overviewPreviousGame.previous-home-won, #overviewPreviousGame.previous-home-lost { align-self:stretch; justify-content:center; margin:-9px -16px -9px 0; padding:0 14px; border-radius:0 12px 12px 0; }
  #overviewPreviousGame.previous-home-won { background:#16794b; border-left:2px solid #0d5936; }
  #overviewPreviousGame.previous-home-lost { background:#b42318; border-left:2px solid #7f1812; }
  #overviewPreviousGame.previous-home-won span, #overviewPreviousGame.previous-home-lost span { color:rgba(255,255,255,.78); }
  .next-game-view { min-height:40px; grid-template-columns:minmax(0,1fr) auto; gap:18px; }
  .next-game-view .next-game-main { min-width:0; display:flex; flex-direction:column; justify-content:center; gap:2px; }
  .next-game-view .next-game-label { color:#aebfd4; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
  .next-game-view strong { overflow:hidden; color:#fff; font-size:18px; white-space:nowrap; text-overflow:ellipsis; }
  .next-game-view .next-game-meta { align-self:center; color:#d7e2ef; font-size:15px; font-weight:800; white-space:nowrap; }
  .quarter-score-view { min-height:58px; margin:-9px -16px; overflow-x:auto; grid-template-columns:repeat(4,minmax(70px,1fr)); gap:0; border-radius:12px; scrollbar-width:thin; }
  .quarter-score { min-width:0; padding:8px 4px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-right:1px solid rgba(255,255,255,.2); transition:background .15s ease; }
  .quarter-score:last-child { border-right:0; }
  .quarter-score strong { color:#fff; font-size:15px; }
  .quarter-score span { color:#fff; font-size:18px; font-weight:800; white-space:nowrap; }
  .quarter-score.home-won { background:#16794b; border-left:2px solid #0d5936; border-right-color:transparent; }
  .quarter-score.home-lost { background:#b42318; border-left:2px solid #7f1812; border-right-color:transparent; }
  .quarter-score:first-child { border-left:0; }
  .quarter-score.tied { background:transparent; }
  .quarter-score-edit { max-width:100%; display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px 10px; border-radius:8px; cursor:pointer; touch-action:manipulation; }
  .quarter-score-edit:hover { background:rgba(255,255,255,.18); }
  .quarter-score-edit:focus-visible, .add-overtime-period:focus-visible { outline:3px solid #f79009; outline-offset:2px; }
  .add-overtime-period { min-width:70px; border:0; border-left:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.11); color:#fff; font-size:15px; font-weight:800; cursor:pointer; }
  .add-overtime-period:hover { background:rgba(255,255,255,.2); }
  .game-day-heading.is-editing { position:relative; z-index:3; cursor:default; }
  .game-day-heading.is-editing .quarter-score-view { display:none!important; }
  .inline-score-editor { width:100%; min-height:205px; display:grid; grid-template-columns:repeat(2,minmax(0,180px)); align-content:center; justify-content:center; gap:11px 16px; margin:10px auto 0; padding:14px; border-radius:9px; background:#fff; color:#172b4d; box-shadow:0 6px 18px rgba(0,0,0,.18); }
  .game-day-heading.is-editing .inline-score-editor { margin-top:0; }
  .inline-score-editor > strong { grid-column:1/-1; font-size:20px; text-align:center; }
  .inline-score-editor label { min-width:0; display:flex; flex-direction:column; gap:5px; color:#344054; font-size:14px; font-weight:800; }
  .inline-score-editor input { width:100%; height:54px; padding:5px 9px; border:1px solid #b7c4d4; border-radius:8px; background:#fff; color:#172b4d; font-size:26px; font-weight:800; text-align:center; }
  .inline-score-editor > span { display:none; }
  .inline-score-actions { grid-column:1/-1; display:flex; justify-content:center; gap:10px; }
  .inline-score-actions button { min-width:90px; height:44px; padding:0 15px; border:0; border-radius:7px; background:#e8eef5; color:#172b4d; font-size:15px; font-weight:800; cursor:pointer; }
  .inline-score-actions button[type="submit"] { background:#075eb5; color:#fff; }
  button { touch-action:none !important; }
  #overviewTab .logs-container { gap:10px; }
  #overviewTab .log { padding:0; border:1px solid #dbe3ec; border-radius:12px; box-shadow:0 3px 12px rgba(16,24,40,.07); }
  #overviewTab .title { margin:0; padding:12px 14px; overflow:hidden; background:#f8fafc; border-bottom:1px solid #dbe3ec; color:#172b4d; font-size:17px; text-align:left; white-space:nowrap; text-overflow:ellipsis; }
  #overviewTab .title:hover { background:#eef4fb; color:var(--blue-dark); }
  #overviewTab #logLeft, #overviewTab #logRight { padding:8px 12px; cursor:pointer; touch-action:manipulation; transition:background .15s ease; }
  #overviewTab #logLeft:hover, #overviewTab #logRight:hover { background:#fffafa; }
  #overviewTab #logLeft:focus-visible, #overviewTab #logRight:focus-visible { outline:3px solid #f79009; outline-offset:-3px; }
  #overviewTab .protocol-section-heading { padding:3px 4px 6px; font-size:11px; text-transform:uppercase; }
  #overviewTab .entry { margin:0; padding:8px 4px; display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:8px; border-bottom:1px solid #edf1f5; font-size:var(--protocol-font-size); line-height:1.2; }
  #overviewTab .entry:last-child { border-bottom:0; }
  #overviewTab .entry .number { width:38px; padding:5px 3px; border-radius:7px; background:#eaf2ff; color:#174ea6; font-size:calc(var(--protocol-font-size) * .86); font-weight:800; text-align:center; }
  #overviewTab .entry-name { min-width:0; overflow:hidden; color:#253347; font-weight:700; white-space:nowrap; text-overflow:ellipsis; }
  #overviewTab .entry-status { padding:4px 7px; border-radius:999px; font-size:calc(var(--protocol-font-size) * .74); font-style:normal; font-weight:800; white-space:nowrap; }
  #overviewTab .entry-status.foul-entry { background:#feeceb; color:#a5221c; }
  #overviewTab .entry-status.correction-entry { background:#eef1f4; color:#475467; }
  #overviewTab .center > .clear-button { padding:9px 12px; background:#fff; color:var(--red); border:1px solid #e6b7b3; box-shadow:0 2px 6px rgba(16,24,40,.05); }
  #overviewTab .clear-row { gap:8px; }
  #overviewTab .clear-row .clear-button { padding:9px 12px; background:#fff; color:#344054; border:1px solid #d0d8e2; box-shadow:0 2px 6px rgba(16,24,40,.05); }
  #overviewTab .clear-button:active { transform:scale(.985); }

  @media (max-width:760px) {
    .overview-footer-actions { grid-template-columns:1fr; }
    .overview-footer-actions:has(#saveStartingFive[hidden]) .end-game-button { grid-column:auto; }
    #settingsTab { padding:10px; min-height:calc(100dvh - 54px); }
    .settings-layout, .field-grid { grid-template-columns:1fr; }
    .settings-head { align-items:start; flex-direction:column; }
    .settings-nav-column { position:static; }
    .settings-sidebar { padding:6px; }
    .settings-sidebar h3 { display:none; }
    .settings-menu { flex-direction:row; overflow-x:auto; }
    .settings-menu button { width:auto; min-width:max-content; text-align:center; }
    .settings-submenu { flex-direction:row; margin:0; padding:0; border:0; }
    .settings-menu-divider { flex:0 0 18px; align-self:center; width:18px; margin:0 2px; border-top:2px dotted rgba(255,255,255,.32); }
    .settings-maintenance { grid-template-columns:1fr; }
    .personal-options-section-cache .settings-maintenance { grid-template-columns:1fr; }
    .personal-options-section-head { align-items:flex-start; flex-direction:column; gap:3px; }
    .personal-option-choice-card { align-items:stretch; flex-direction:column; }
    .personal-side-picker { width:100%; }
    .data-overview-toolbar { align-items:stretch; flex-direction:column; }
    .data-overview-actions { justify-content:space-between; }
    .data-overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .data-overview-columns { grid-template-columns:1fr; }
    .section-title-row { flex-direction:column; }
    #setupTab { min-height:calc(100dvh - 54px); padding:10px; }
    .setup-select-row, .setup-officials { grid-template-columns:1fr; }
    .roster-setup-section { height:auto; max-height:none; overflow:visible; }
    .roster-setup-section .roster-table { max-height:420px; }
    .team-source-row, .stacked-team-fields, .two-column-roster, .coach-selection-list, .quarter-input-grid, .overtime-input-grid, .team-overview-filters { grid-template-columns:1fr; }
    .master-coach-entry { grid-template-columns:minmax(0,1fr) minmax(150px,.8fr) auto; }
    .official-dashboard-filters, .team-dashboard-filters, .schedule-overview-filters { grid-template-columns:1fr; }
    .official-dashboard-stats, .team-dashboard-stats, .schedule-dashboard-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .settings-home-grid { grid-template-columns:1fr; }
    .report-detail-matchup { grid-template-columns:1fr; gap:17px; padding:22px 18px; }
    .report-detail-team, .report-detail-team.away { justify-content:center; text-align:center; }
    .report-detail-team strong, .report-detail-team.away strong { justify-content:center; }
    .report-detail-team.home { flex-direction:column; }
    .report-detail-team.away { flex-direction:column-reverse; }
    .report-detail-score { grid-row:1; }
    .report-detail-key-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .report-detail-key-stats article:nth-child(2) { border-right:0; }
    .report-detail-key-stats article:nth-child(-n+2) { border-bottom:1px solid #e1e8f2; }
    .report-detail-hero-meta { flex-wrap:wrap; gap:7px 0; }
    .report-detail-grid { grid-template-columns:1fr; }
    .report-stats-filter { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .report-stats-filter .report-refresh { grid-column:1/-1; width:100%; }
    .report-detail-card.wide { grid-column:1; }
    .report-detail-period-head { align-items:stretch; flex-direction:column; }
    .report-detail-period-head .report-period-tools { align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
    .report-stat-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .report-stat-grid { grid-template-columns:1fr; }
    .report-stat-leaderboards:not([hidden]) { grid-template-columns:1fr; }
    .report-stat-panel.wide { grid-column:1; }
    .report-foul-panel, .report-result-panel { grid-column:1; }
    .report-period-chart { justify-content:flex-start; overflow-x:auto; }
    .report-chart-heading { align-items:stretch; flex-direction:column; }
    .report-period-tools { align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
    .report-foul-chart { grid-template-columns:1fr; justify-items:center; gap:14px; }
    .report-foul-values { width:100%; max-width:280px; }
    .report-foul-chart > p:not(.report-chart-empty) { grid-column:1; text-align:center; }
    .report-detail-period-chart { justify-content:flex-start; }
    .report-detail-foul-visual { grid-template-columns:1fr; justify-items:center; gap:12px; }
    .report-detail-foul-legend { width:100%; max-width:280px; }
    .report-toolbar { flex-direction:column; align-items:stretch; }
    .report-toolbar .report-refresh { width:100%; }
    .two-column-roster .roster-head { grid-column:1; }
    .league-season-form { grid-template-columns:1fr; align-items:stretch; }
    .league-season-form button { width:100%; }
  }
  @media (max-width:680px) {
    .report-stats-filter, .report-record-games { grid-template-columns:1fr; }
    .report-stats-filter .report-refresh { grid-column:1; }
    #overviewTab { padding:7px; gap:7px; }
    #overviewTab .center { grid-row:1; }
    #overviewTab .side { border-radius:10px; box-shadow:none; }
    .game-day-heading { gap:10px; padding:9px 11px; }
    .quarter-score-view { margin:-9px -11px; }
    .next-game-view { grid-template-columns:1fr; gap:2px; }
    .next-game-view .next-game-meta { align-self:start; }
    .game-day-fact strong { font-size:14px; }
  }
  @media (max-width:1100px) {
    #overviewTab .entry { grid-template-columns:36px minmax(0,1fr); gap:5px 7px; }
    #overviewTab .entry .number { width:36px; }
    #overviewTab .entry.has-status .number { grid-row:1 / span 2; }
    #overviewTab .entry-status { width:max-content; max-width:100%; grid-column:2; }
    .data-overview-grid { grid-template-columns:1fr; }
    .data-overview-actions { align-items:stretch; flex-direction:column; }
    .data-source-info { text-align:left; white-space:normal; }
    .data-sync-button { width:100%; }
  }
  @media (min-width:761px) and (max-width:1180px) {
    .team-table { min-width:650px; }
    .team-table th:nth-child(2), .team-table td:nth-child(2) { display:none; }
    .team-table th:nth-child(1) { width:28%; }
    .team-table th:nth-child(3) { width:12%; }
    .team-table th:nth-child(5) { width:13%; }
  }
  @media (min-width:761px) and (max-width:900px) {
    #configPanel .field-grid, .setup-select-row, .setup-officials, .player-inputs { grid-template-columns:minmax(0,1fr); }
    #configPanel .setup-select-row button { width:100%; }
    .roster-setup-section .player-inputs { grid-template-rows:repeat(2,minmax(0,1fr)); }
    .quarter-input-grid, .overtime-input-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
