/* Shared compact presentation for tournament results and leaderboards. */
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell).app-shell {
  gap: 10px;
  font-size: 13px;
  padding-top: 10px !important;
  padding-bottom: 14px !important;
}
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .app-header {
  padding: 10px 12px;
  gap: 10px !important;
  margin-bottom: 0 !important;
  border-top-width: 3px;
}
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .app-header h1 { font-size: 22px; }
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .app-header p { font-size: 13px; margin-top: 4px; }
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) :is(.btn, .form-select) {
  font-size: 13px;
  padding: 5px 9px;
  min-height: 32px;
}
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .form-select { padding-right: 30px; }
.leaderboard-shell .game-select { min-width: 170px; }
:is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .action-button svg { width: 15px; height: 15px; }
.leaderboard-shell .golfgenius-leaderboard-wrap,
.ctp-shell .ctp-results-wrap,
.lakeside-shell .lakeside-leaderboard { padding: 10px; }
.leaderboard-shell .golfgenius-leaderboard { min-width: 920px; }
.leaderboard-shell :is(.flight-leaderboard, .skins-leaderboard) { margin-bottom: 16px; }
.leaderboard-shell :is(.flight-leaderboard-heading, .skins-leaderboard-heading) {
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 4px;
}
.leaderboard-shell :is(.flight-leaderboard-heading, .skins-leaderboard-heading) h3 { font-size: 15px; }
.leaderboard-shell :is(.flight-leaderboard-heading, .skins-leaderboard-heading) span { font-size: 12px; }
.leaderboard-shell .team-flight-heading { font-size: 18px; padding: 8px 12px; }
.leaderboard-shell .team-flight-group + .team-flight-group { margin-top: 16px; }
.leaderboard-shell .team-card { padding-bottom: 10px; margin-bottom: 14px; }
.leaderboard-shell .leaderboard-player-name { width: 160px; min-width: 160px; font-size: 12px; padding-right: 6px; }
.leaderboard-shell .leaderboard-player-meta { margin-top: 2px; font-size: 10px; }
.leaderboard-shell .score-holder { width: 36px; min-width: 36px; }
.leaderboard-shell .score-holder h5 { font-size: 13px; }
.leaderboard-shell .hole-box-text { width: 30px; height: 30px; font-size: 14px; }
.leaderboard-shell :is(.under-par, .way-under-par, .bogey, .other) { border-width: 3px; }
.leaderboard-shell .leaderboard-summary-row { margin-top: 2px; }
.leaderboard-shell .leaderboard-summary-row .score-holder { min-height: 22px; }
.leaderboard-shell .team-score-row { margin-top: 4px; padding-top: 4px; }
.leaderboard-shell .team-total-score { font-size: 13px; }
.leaderboard-shell .paid-place-badge { padding: 3px 6px; font-size: 10px; }
.leaderboard-shell .skin-pill { padding: 4px 7px; }
.ctp-shell .ctp-table :is(td, th) { font-size: 13px; padding: 5px 8px; }
.lakeside-shell :is(.lakeside-team-total, .lakeside-group-body, .lakeside-side) { padding: 9px; }
.lakeside-shell :is(.lakeside-section h2, .lakeside-team-total h2) { font-size: 18px; }
.lakeside-shell .lakeside-points { font-size: 26px; }
.lakeside-shell .lakeside-section { margin-top: 12px; padding-top: 12px; }
.lakeside-shell .lakeside-match-table :is(td, th) { padding: 5px 7px; font-size: 12px; }

:is(.published-result-page, .tournament-results-page, .grapevine-points-page, .byron-points-page) { font-size: 13px; }
:is(.published-result-page, .tournament-results-page, .grapevine-points-page, .byron-points-page) .page-header { padding: 12px 14px; }
:is(.published-result-page, .tournament-results-page, .grapevine-points-page, .byron-points-page) h1 { font-size: 22px; }
:is(.published-result-page, .tournament-results-page, .grapevine-points-page, .byron-points-page) .page-body { padding: 12px 14px; }
:is(.published-result-page, .tournament-results-page, .grapevine-points-page, .byron-points-page) .btn { font-size: 12px; padding: 4px 8px; }
:is(.grapevine-points-page, .byron-points-page) .points-table :is(td, th) { font-size: 13px; padding: 5px 8px; }
.published-result-page .result-shell { padding: 12px; }
.published-result-page .overall-results-report { font-size: 13px; min-width: 680px; }
.published-result-page .overall-results-report .result-title,
.published-result-page .legacy-result-fragment .legacy-result-title { font-size: 19px; margin-bottom: 14px; }
.published-result-page .overall-results-report .result-section { margin-bottom: 24px; }
.published-result-page .overall-results-report :is(td, th, .result-cell),
.published-result-page .legacy-result-fragment :is(td, th, td p, th p) { font-size: 13px; padding: 4px 7px; }
.published-result-page .legacy-result-fragment :is(td p, th p) { padding: 0; }
.published-result-page .overall-results-report .result-cell--team { min-width: 200px; }
.published-result-page .overall-results-report .member-guest-combined-results .result-cell--team { min-width: 145px; }
.published-result-page .overall-results-report .result-cell--name { min-width: 140px; }

/* Preserve the existing smaller mobile scorecards and horizontal scrolling. */
.pace-view-shell.app-shell { gap: 10px; padding-top: 10px !important; font-size: 13px; }
.pace-view-shell .pace-view-header { padding: 10px 12px; }
.pace-view-shell .pace-view-header h1 { font-size: 22px; }
.pace-view-shell .pace-view-table :is(td, th) { font-size: 12px; padding: 5px 7px; }
.tournament-results-page .result-card { padding: 10px; }
.tournament-results-page .result-card h2 { font-size: 18px; }
@media (max-width: 900px) {
  .leaderboard-shell .golfgenius-leaderboard { min-width: 0; }
  .leaderboard-shell .leaderboard-player-name { width: 78px; min-width: 78px; font-size: 11px; }
  .leaderboard-shell .score-holder { width: 28px; min-width: 28px; }
  .leaderboard-shell .score-holder h5 { font-size: 12px; }
  .leaderboard-shell .hole-box-text { width: 26px; height: 26px; font-size: 12px; }
  .leaderboard-shell :is(.under-par, .way-under-par, .bogey, .other) { border-width: 2px; }
  :is(.leaderboard-shell, .ctp-shell, .lakeside-shell) .app-header h1 { font-size: 20px; }
}
