@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', Arial, sans-serif; background: #f5f5f5; color: #333; font-size: 14px; line-height: 1.4; }
.page-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 40px; }
.site-header { background: #1a1a1a; border-bottom: 4px solid #ffd200; }
.site-header-inner { max-width: 1100px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 16px; }
.site-header img.logo { height: 60px; width: 60px; object-fit: contain; }
.site-header-text .school { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #ffd200; margin-bottom: 2px; }
.site-header-text .sport-title { font-size: 22px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; }
.site-header-text .sub { font-size: 11px; color: #aaa; margin-top: 3px; }
.nav-tabs { background: #222; border-bottom: 1px solid #111; }
.nav-tabs-inner { max-width: 1100px; margin: 0 auto; display: flex; padding: 0 16px; flex-wrap: wrap; }
.nav-tab { display: inline-block; padding: 11px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #aaa; text-decoration: none; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.nav-tab:hover { color: #fff; }
.nav-tab.active { color: #ffd200; border-bottom-color: #ffd200; }
.nav-tab-return { margin-left: auto; color: #ffd200 !important; }
.nav-tab-return:hover { color: #fff !important; }
.page-title-bar { background: #fff; border-bottom: 1px solid #ddd; padding: 16px 0 14px; margin-bottom: 20px; }
.page-title-bar h1 { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #1a1a1a; }
.page-title-bar p { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid #e0e0e0; border-top: 3px solid #ffd200; border-radius: 0 0 4px 4px; padding: 14px 12px; text-align: center; }
.stat-card-num { font-size: 30px; font-weight: 700; color: #1a1a1a; line-height: 1; }
.stat-card-label { font-size: 10px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
.section-header { background: #1a1a1a; color: #fff; padding: 10px 14px; border-left: 4px solid #ffd200; display: flex; align-items: center; justify-content: space-between; margin-bottom: 0; }
.section-header h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.section-header span { font-size: 11px; color: #ffd200; font-weight: 600; }
.record-table-wrap { background: #fff; border: 1px solid #ddd; border-top: none; margin-bottom: 24px; overflow-x: auto; }
table.record-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.record-table thead tr { background: #2d2d2d; }
table.record-table thead th { padding: 9px 12px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; white-space: nowrap; }
table.record-table thead th:first-child { border-left: 4px solid #ffd200; padding-left: 10px; }
table.record-table tbody tr:nth-child(even) { background: #f9f9f9; }
table.record-table tbody tr:hover { background: #fff8e1; }
table.record-table tbody td { padding: 8px 12px; border-bottom: 1px solid #eee; color: #333; }
table.record-table tbody td:first-child { border-left: 4px solid transparent; padding-left: 10px; }
table.record-table tbody tr:first-child td:first-child { border-left-color: #ffd200; }
table.record-table tfoot td { padding: 7px 12px; font-size: 11px; color: #888; background: #f5f5f5; border-top: 1px solid #ddd; font-style: italic; }
.rank { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: #ffd200; color: #1a1a1a; font-weight: 700; font-size: 11px; border-radius: 3px; }
.cat-group-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #ddd; }
.index-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 24px; }
.index-card { background: #fff; border: 1px solid #ddd; border-top: 3px solid #ffd200; padding: 18px; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s; }
.index-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.index-card .tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #1a1a1a; background: #ffd200; padding: 3px 8px; border-radius: 3px; display: inline-block; margin-bottom: 10px; }
.index-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.index-card p { font-size: 12px; color: #777; line-height: 1.5; }
.tie-dropdown { font-size: 11px; color: #888; cursor: pointer; }
.tie-dropdown summary { color: #1a1a1a; font-weight: 600; cursor: pointer; list-style: none; }
.tie-dropdown summary::after { content: ' \25BE'; color: #ffd200; }
.tie-dropdown[open] summary::after { content: ' \25B4'; }
.tie-list { margin: 4px 0 0 8px; list-style: none; }
.tie-list li { padding: 1px 0; color: #555; font-size: 11px; }
.careers-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.player-nav { background: #fff; border: 1px solid #ddd; position: sticky; top: 16px; max-height: calc(100vh - 120px); overflow-y: auto; }
.player-nav-search { padding: 10px; border-bottom: 1px solid #eee; }
.player-nav-search input { width: 100%; padding: 6px 10px; border: 1px solid #ddd; border-radius: 3px; font-size: 12px; font-family: inherit; }
.player-nav-letter { background: #1a1a1a; color: #ffd200; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; }
.player-nav-link { display: block; padding: 7px 12px; font-size: 12px; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0f0; transition: background .1s; }
.player-nav-link:hover { background: #fff8e1; color: #1a1a1a; }
.player-nav-link.active-player { background: #ffd200; color: #1a1a1a; font-weight: 700; }
.player-nav-link .pnl-years { font-size: 10px; color: #aaa; float: right; }
.player-nav-link.active-player .pnl-years { color: #888; }
.player-card { background: #fff; border: 1px solid #ddd; margin-bottom: 32px; scroll-margin-top: 20px; }
.player-card-header { background: #1a1a1a; border-left: 4px solid #ffd200; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.player-card-header h2 { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 0.3px; }
.player-card-header .years { font-size: 12px; color: #ffd200; font-weight: 600; }
.player-card-meta { background: #f9f9f9; border-bottom: 1px solid #eee; padding: 10px 18px; display: flex; gap: 24px; flex-wrap: wrap; }
.player-meta-item { font-size: 12px; color: #666; }
.player-meta-item strong { color: #1a1a1a; }
.player-card-body { padding: 16px 18px; }
.player-stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(90px,1fr)); gap: 8px; margin-bottom: 18px; }
.player-stat-box { background: #f5f5f5; border: 1px solid #eee; border-top: 2px solid #ffd200; padding: 8px; text-align: center; }
.player-stat-box .psb-val { font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1; }
.player-stat-box .psb-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 3px; }
.marks-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #888; margin-bottom: 8px; }
.marks-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.mark-legend { display: flex; gap: 12px; margin-bottom: 10px; }
.legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #888; }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.mark-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid #ddd; border-radius: 3px; padding: 4px 10px; font-size: 12px; }
.mark-chip .mc-rank { background: #ffd200; color: #1a1a1a; font-weight: 700; font-size: 10px; padding: 1px 5px; border-radius: 2px; }
.mark-chip .mc-cat { color: #1a1a1a; font-weight: 600; }
.mark-chip .mc-val { color: #555; }
.mark-chip .mc-type { font-size: 10px; color: #aaa; }
.career-chip { border-color: #ffd200; background: #fffbea; }
.season-chip { border-color: #c8e6c9; background: #f1f8f1; }
.game-chip   { border-color: #bbdefb; background: #f0f7ff; }
.site-footer { background: #1a1a1a; border-top: 4px solid #ffd200; padding: 16px; margin-top: 40px; }
.site-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.site-footer p { font-size: 11px; color: #666; }
.site-footer a { color: #ffd200; text-decoration: none; }
@media (max-width: 700px) {
  .stat-cards { grid-template-columns: repeat(2,1fr); }
  .index-grid { grid-template-columns: 1fr; }
  .careers-layout { grid-template-columns: 1fr; }
  .player-nav { position: static; max-height: 200px; }
  .nav-tab { padding: 10px 10px; font-size: 11px; }
}
