/* Shared tab treatments; Home and the pick workspace retain their own layouts. */
.tab-content:not(#home):not(#create) { line-height: 1.6; }
.tab-content:not(#home):not(#create) .player-heading { padding-bottom: 20px; }
.tab-content:not(#home):not(#create) .player-heading h2 { font-size: 30px; line-height: 1.2; margin: 4px 0 12px; }
.tab-content:not(#home):not(#create) .player-heading p { font-size: 15px; line-height: 1.6; margin: 0; }
.tab-content:not(#home):not(#create) h3 { line-height: 1.35; }
.tab-content:not(#home):not(#create) h4 { line-height: 1.4; }
.tab-content:not(#home):not(#create) :is(h2, h3, h4, td, li) { overflow-wrap: anywhere; }
.tab-content:not(#home):not(#create) :is(select, input:not([type="radio"]):not([type="checkbox"]), button) { min-height: 42px; font-size: 14px; }
.tab-content:not(#home):not(#create) button { font-weight: 600; }
.tab-content:not(#home):not(#create) .player-controls select { width: 100%; max-width: none; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
.tab-content:not(#home):not(#create) .scores-wrapper,
.tab-content:not(#home):not(#create) .leaderboards-wrapper { margin: 0; min-width: 0; }
.tab-content:not(#home):not(#create) .player-controls { gap: 16px; }
.tab-content:not(#home):not(#create) .player-muted { font-size: 12px; }
.tab-content:not(#home):not(#create) table { font-variant-numeric: tabular-nums; }
.tab-content:not(#home):not(#create) :is(.pick-table, .leaderboard-table) { width: 100%; border-collapse: collapse; text-align: left; }
.tab-content:not(#home):not(#create) :is(.pick-table, .leaderboard-table) th { padding: 13px 16px; font-size: 12px; font-weight: 700; background: #e9efec; color: var(--muted); }
.tab-content:not(#home):not(#create) :is(.pick-table, .leaderboard-table) td { padding: 15px 16px; font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--line); vertical-align: top; }
.tab-content:not(#home):not(#create) :is(.pick-table, .leaderboard-table) tr:nth-child(even) { background: transparent; }
#scores .player-analysis > h3 { margin-top: 24px; }
#scores .player-table { min-width: 680px; }
#all-picks .score-card { padding: 0 0 18px; margin: 0 0 18px; border: 0; }
#all-picks .collapsible-header { width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; margin: 0; }
#all-picks .player-name { font-size: 17px; color: var(--ink); }
#all-picks .collapsible-header:hover { background: #edf2ef; }
#all-picks .collapsible-content { padding: 4px 0 20px; margin: 0; overflow-x: auto; }
#all-picks .pick-table { min-width: 480px; }
.leaderboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 24px 0; align-items: start; }
.leaderboard-section { min-width: 0; }
.leaderboard-section h3 { font-size: 18px; margin: 0 0 18px; }
.leaderboard-section .no-data { font-size: 14px; font-style: normal; border-block: 1px solid var(--line); padding: 20px 0; }
#live .two-col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 0; }
#live :is(.col-left, .col-right) { min-width: 0; gap: 24px; }
#live .score-card { margin: 0; padding: 20px 0; }
#live .score-card:empty { display: none; }
#live .live-small { font-size: 14px; line-height: 1.6; }
#live .live-card-title { font-size: 18px; margin: 0 0 16px; }
#live .collapsible-content { overflow-x: auto; padding-inline: 0; }
#live .pick-table { min-width: 440px; }
#live .collapsible-header { gap: 12px; }
#live .collapsible-header h3 { font-size: 16px; }
#live .live-pie-wrapper canvas { max-width: 100%; }
#settings .setting-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
#settings .setting-row :is(h3, label[for]) { display: block; font-size: 17px; font-weight: 700; margin: 0 0 8px; }
#settings .setting-row p { font-size: 14px; color: var(--muted); margin: 0; max-width: 480px; }
#settings .setting-controls { display: flex; flex-wrap: wrap; align-items: start; gap: 12px; max-width: 540px; }
#settings-home-country { flex: 1 1 240px; width: 100%; min-width: 0; }
#home-country-message { flex-basis: 100%; }
#settings .setting-options { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#settings .setting-options label { display: flex; align-items: center; gap: 10px; min-height: 32px; }
#settings input[type="radio"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#help .help-copy { max-width: 900px; }
#help .help-copy h3 { margin: 28px 0 12px; font-size: 20px; }
#help .help-copy :is(p, li) { font-size: 15px; line-height: 1.75; }
#help .help-copy p { margin: 0 0 16px; }
#help .help-copy ul { margin: 12px 0 20px; padding-left: 22px; }
#help .help-copy li { padding-left: 4px; margin: 8px 0; }
@media (max-width: 1100px) {
  .leaderboard-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 800px) {
  #live .two-col-grid { grid-template-columns: 1fr; gap: 24px; }
  #settings .setting-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 700px) {
  .tab-content:not(#home):not(#create) .player-heading h2 { font-size: 28px; }
  .tab-content:not(#home):not(#create) .player-controls { gap: 14px; }
  .tab-content:not(#home):not(#create) :is(.pick-table, .leaderboard-table) :is(th, td) { padding: 12px 10px; }
}
