:root{--pink:#b94017;--ink:#202d40;--muted:#596779;--line:#e2e6ed;--soft:#f4f6f9;--nav:#eef0f4;--white:#fff;--radius:4px;--sticky-name-width:150px;--sticky-applied-width:112px}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.table-scroll:focus-visible{outline:2px solid var(--pink);outline-offset:3px}[hidden]{display:none!important}.skip{position:fixed;left:10px;top:-60px;background:#fff;padding:10px;z-index:20}.skip:focus{top:10px}.site-header{height:80px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);gap:30px;background:#fff}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink);font-weight:800;font-size:25px;letter-spacing:-1.3px;white-space:nowrap}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:2px;color:#596779;line-height:1.2}.brand-mark{display:block;height:32px;width:auto;object-fit:contain}.room-nav{align-self:stretch;display:flex;gap:10px}.room{position:relative;min-width:95px;padding:0 12px;border:0;background:transparent;color:#6c7584;font-weight:600;font-size:12px}.room.active{color:var(--pink)}.room.active:after{position:absolute;content:"";bottom:0;left:8px;right:8px;height:3px;background:var(--pink)}.header-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.badge{border:1px solid var(--line);border-radius:4px;padding:3px 7px;font-size:10px;white-space:nowrap}.badge.demo{color:#956009;border-color:#eedcad;background:#fff8e6}.button{height:30px;min-width:60px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;font-weight:600;border:1px solid transparent;text-decoration:none;background:var(--nav)}.button.outline{border-color:#c6cdd8;background:#fff;color:#506072}.button.primary{background:var(--ink);color:white}.button:hover:not(:disabled){filter:brightness(.95)}.text-button{background:transparent;border:0;color:#596779;font-size:11px;padding:6px 8px}.text-button:hover{color:var(--pink)}.record-heading{min-height:51px;display:flex;align-items:center;gap:18px;padding:9px 20px;background:var(--soft)}.record-heading h1{font-size:20px;letter-spacing:-.6px;margin:0}.record-heading #page-description{color:#596779;font-size:11px}.dataset-caption{margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}.role-switch{display:flex;gap:2px;margin-right:6px}.role{min-width:55px;height:26px;border:0;background:transparent;color:#7b8290}.role.active{color:white;background:var(--pink);font-weight:700}.filter-panel{padding:12px 21px 0}.filter-line{display:flex;flex-wrap:wrap;align-items:center;gap:7px 13px;margin-bottom:9px;min-height:27px}.basic-filters{margin-bottom:12px}.filter-line label{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#5d6d82}input,select{border:1px solid #d5dbe4;border-radius:3px;background:#fff;height:28px;padding:0 8px;outline:0;min-width:0}input:focus,select:focus{border-color:#f1592a;box-shadow:0 0 0 2px #f1592a1a}select{min-width:78px;max-width:150px;padding-right:5px}input:disabled,select:disabled{background:#f4f6f8;color:#b1b7be}input[type=date]{width:122px;font-size:11px}.date-range{display:flex;gap:6px;align-items:center;color:#596779}#player-name{width:104px}#value1,#value2{width:85px}#stat1,#stat2{width:125px}#op1,#op2{min-width:65px}#score{width:115px}#runners{width:85px}#page-size{min-width:57px}.line-label{font-size:11px;min-width:51px;color:#4b5b70}.filter-hint{font-size:10px;color:#596779;margin-left:8px}.and{color:#596779;font-size:9px;letter-spacing:.7px}.filter-footer{min-height:35px;display:flex;align-items:center;gap:12px;font-size:10px}.private-note{margin-left:auto;color:#596779;display:flex;align-items:center;gap:6px}.dot{height:5px;width:5px;background:#82949c;display:inline-block;border-radius:50%;margin-right:4px}.player-chip{background:#fff3ed;color:#c44720;padding:2px 8px;border-radius:3px}.player-chip button{border:0;background:none;color:#c44720}.muted{color:var(--muted)}#draft-state.dirty{color:#ad6a15}.subnav-bar{display:flex;align-items:center;padding:0 14px;background:var(--nav);border-top:1px solid #eceff3;border-bottom:1px solid #e7eaf0;min-height:43px}.view-nav{display:flex;align-items:stretch;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.view-nav button{height:41px;min-width:58px;padding:0 12px;border:0;border-top:2px solid transparent;background:transparent;color:#647082;font-size:11px}.view-nav button.active{color:var(--pink);background:#fff;border-top-color:var(--pink);font-weight:700}.subnav-bar>.text-button{margin-left:auto;white-space:nowrap;padding-left:20px}.result-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 21px 9px;font-size:11px;min-height:39px}.result-bar #result-title{font-weight:700;margin-right:12px}.record-body{padding-bottom:24px;min-height:580px}.table-scroll{margin:0 18px;overflow:auto;max-height:calc(100vh - 410px);min-height:40px;border:1px solid var(--line);scrollbar-width:thin}table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-variant-numeric:tabular-nums;font-size:11px}th,td{white-space:nowrap;height:30px;padding:5px 8px;border-bottom:1px solid #e7ebf1;border-right:1px solid #edf0f4;text-align:right}thead th{position:sticky;top:0;background:#f7f8fa;color:#526078;font-weight:600;z-index:2;padding:0;height:33px;border-bottom:1px solid #c6cfdb}th button{border:0;background:none;color:inherit;width:100%;height:32px;padding:5px 9px;display:flex;gap:6px;align-items:center;justify-content:flex-end;font-size:10px}th button:hover{color:var(--pink);background:#eef1f6}th .sort-arrow{font-size:8px;color:var(--pink)}td.text,th.text{text-align:left}td.rank,th.rank{text-align:center;min-width:42px}td.name,th.name{position:sticky;left:0;z-index:1;background:#fff;width:var(--sticky-name-width);min-width:var(--sticky-name-width);max-width:var(--sticky-name-width);overflow:hidden;text-overflow:ellipsis;text-align:left}th.name{background:#f7f8fa;z-index:4}td.applied,th.applied{position:sticky;left:var(--sticky-name-width);z-index:1;background:#fff;width:var(--sticky-applied-width);min-width:var(--sticky-applied-width);max-width:var(--sticky-applied-width);overflow:hidden;text-overflow:ellipsis;font-size:10px;box-shadow:1px 0 0 #d8e0ea}th.applied{background:#f7f8fa;z-index:4;text-align:center;color:#526078;font-weight:700}td.applied{text-align:right;color:#263d5c;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums}tbody tr:nth-child(even) td{background:#fcfdfe}tbody tr:hover td{background:#fff4ef}tbody tr:last-child td{border-bottom:0}td .player-link{padding:0;border:0;background:none;font-weight:600;color:#263d5c;text-align:left;font-size:11px}td .player-link:hover{color:var(--pink);text-decoration:underline}td.team{font-size:10px;letter-spacing:.3px;color:#69788a}td.stat-emphasis{font-weight:700;color:#243752}.pagination{display:flex;align-items:center;justify-content:space-between;margin:13px 20px;font-size:10px;color:#596779}.pagination>div{display:flex;align-items:center;gap:15px}#page-number{font-weight:700;color:var(--pink)}.pagination .button{height:27px;font-size:10px}.empty{margin:40px 20px 80px;text-align:center;color:#596779}.empty-icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1e6ed;width:52px;height:52px;border-radius:12px;font-size:25px;color:#b1baca}.empty h2{font-size:15px;color:#718096;margin-top:13px}.empty p{font-size:12px}.warnings{padding:0 21px;font-size:10px;color:#596779;max-width:1250px}.warnings p{margin:5px 0;padding-left:9px;border-left:2px solid #d6dde7}.alert{margin:10px 20px;padding:10px 14px;border-radius:3px}.alert.error{background:#fff3f4;color:#a92943;border:1px solid #f3d5dc;font-size:12px}.loading{display:flex;gap:10px;align-items:center;padding:10px 21px;color:#596779;font-size:11px}.spinner{height:14px;width:14px;border:2px solid #f8d8cc;border-top-color:var(--pink);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.site-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);height:29px;padding:0 20px;font-size:10px;color:#596779;background:#fff;position:fixed;bottom:0;width:100%;z-index:4}dialog{border:1px solid #e2e6ed;border-radius:8px;box-shadow:0 18px 70px #182d4529;padding:0;width:380px;color:var(--ink)}dialog::backdrop{background:#263b4d38;backdrop-filter:blur(2px)}.dialog-inner{padding:30px;display:flex;flex-direction:column;gap:12px}.dialog-inner h2{font-size:22px;letter-spacing:-.6px;margin:0}.dialog-inner p{margin:0;line-height:1.8}.dialog-inner label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#728199}.dialog-inner input{height:37px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--pink);font-weight:700}.wide{width:100%;height:36px}.form-error{font-size:11px;color:#bd3155;min-height:14px}.policy-dialog p{font-size:12px}.policy-dialog code{background:var(--soft);padding:2px 4px}#policy-dialog{width:610px;max-height:85vh}#search-dialog{width:560px}#search-form{display:flex;gap:8px}#search-form input{flex:1}#search-form button{height:37px}#search-results{max-height:350px;overflow:auto;display:flex;flex-direction:column;gap:6px}.player-choice{display:flex;align-items:center;gap:15px;text-align:left;border:1px solid var(--line);padding:11px;background:white;border-radius:4px}.player-choice strong{font-size:13px}.player-choice small{font-size:10px;color:#596779}.player-choice:hover{border-color:var(--pink);background:#fff6f1}#search-status{font-size:11px}.busy .filter-panel button[type=submit]{opacity:.6}@media(min-width:1800px){body{font-size:13px}.filter-line{gap:8px 17px}.filter-panel{min-height:202px}.record-heading h1{font-size:22px}th,td{height:32px}}@media(max-width:1000px){.site-header{gap:10px;padding:0 14px;height:70px}.brand{font-size:21px}.brand-mark,.brand small,#user-label,.dataset-caption{display:none}.room{min-width:73px;font-size:11px;padding:0 5px}.room-nav{gap:0}.header-actions{gap:6px}.header-actions .button{font-size:10px;min-width:0;padding:0 8px}.record-heading{padding-left:14px;gap:9px}.record-heading h1{font-size:18px}#page-description{display:none}.filter-panel{padding:10px 14px 0}.filter-line{gap:7px 11px}.filter-hint{display:none}.view-nav button{min-width:50px;padding:0 9px}.table-scroll{max-height:55vh;margin:0 10px}.filter-footer .private-note{display:none}}@media(max-width:650px){:root{--sticky-name-width:120px;--sticky-applied-width:108px}.site-header{flex-wrap:wrap;height:auto;min-height:95px;gap:3px;padding-top:10px}.brand{font-size:19px}.room-nav{order:3;width:100%;height:36px;justify-content:space-between}.header-actions{gap:5px}.record-heading{margin-top:0}.view-nav{max-width:100%}.subnav-bar>.text-button{display:none}.filter-line label{font-size:10px}.filter-footer{font-size:9px}.subnav-bar{padding:0 7px}.date-range input{width:113px}.table-scroll td.applied,.table-scroll th.applied{width:108px;min-width:92px;max-width:120px}.site-footer span:last-child{display:none}dialog{width:calc(100% - 28px)!important}.dialog-inner{padding:23px}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}

.pitch-group-row th{top:0;height:29px;background:#f4f5f7;text-align:center;border-bottom:1px solid #d7dde6}.pitch-group-row th.pitch-group{color:#314157;font-weight:800;border-left:2px solid #d9dee6}.pitch-metric-row th{top:29px;height:31px;background:#fafbfc}.pitch-metric-row th.pitch-metric{min-width:62px}.pitch-metric-row th.pitch-metric:nth-child(4n+1){border-left:2px solid #d9dee6}.pitch-group-row th.pitch-fixed{vertical-align:middle;z-index:4}.pitch-group-row th.name,.pitch-group-row th.applied{z-index:5}.pitch-group-row th button{justify-content:center}.pitch-metric-row th button{justify-content:center;padding-left:5px;padding-right:5px}

.league-overview{margin:12px 18px 2px;border:1px solid #dde3eb;background:#fff;border-left:4px solid var(--pink);display:flex;align-items:stretch;min-height:62px;overflow-x:auto}.league-overview-title{display:flex;align-items:center;justify-content:center;min-width:92px;padding:0 14px;background:#fff4ef;color:#b94622;font-weight:800;font-size:13px;white-space:nowrap}.league-overview-metrics{display:flex;align-items:stretch;min-width:max-content}.league-metric{min-width:68px;padding:9px 12px 7px;border-right:1px solid #edf0f4;display:flex;flex-direction:column;justify-content:center;align-items:flex-end}.league-metric-label{font-size:9px;color:#596779;margin-bottom:2px}.league-metric-value{font-size:13px;color:#2a3b52;font-weight:700;font-variant-numeric:tabular-nums}.league-metric.emphasis .league-metric-value{color:var(--pink)}
.player-page{max-width:1480px;margin:0 auto;padding:24px 32px 60px;background:#f5f7fa;min-height:calc(100vh - 80px)}.player-breadcrumb{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.player-breadcrumb a{color:#a34521;text-decoration:none;font-weight:700}.player-breadcrumb span{font-size:10px;letter-spacing:2px;color:#85909e}.player-hero{display:flex;align-items:center;gap:24px;padding:28px 30px;background:#fff;border:1px solid #e2e6ed;border-top:4px solid #f1592a;border-radius:8px}.player-monogram{width:92px;height:104px;border-radius:8px;background:#fff0e7;color:#b94d25;display:grid;place-items:center;font-weight:900;font-size:24px;letter-spacing:2px}.player-eyebrow{color:#c2582e;font-size:11px;font-weight:700;letter-spacing:2px;margin:0}.player-hero h1{font-size:32px;letter-spacing:-1px;margin:4px 0 7px}.player-hero p{margin-top:4px;margin-bottom:4px}.player-hero-tag{margin-left:auto;text-align:right;font-size:20px;line-height:1.25;color:#293b4c;font-weight:900}.player-hero-tag strong{font-size:9px;letter-spacing:2px;color:#a1a9b4}.player-tabs{display:flex;gap:5px;margin:22px 0 0;overflow-x:auto;border-bottom:1px solid #dae1e9}.player-tabs button{border:0;background:none;padding:13px 19px;white-space:nowrap;color:#758293;font-weight:700;border-bottom:3px solid transparent;font-size:13px}.player-tabs button.active{color:#ce4c21;border-color:#ef642f;background:#fff7f2}.player-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:20px 0}.player-controls label{display:flex;flex-direction:column;gap:5px;color:#6e7c8c;font-size:11px}.player-controls select,.player-controls input{height:34px;min-width:95px;background:#fff;border:1px solid #d7dee7;border-radius:4px;padding:0 9px;color:#263749}.player-controls .button{height:34px}#player-status{padding:0 0 12px;color:#a34521}#player-status:empty{padding:0}.player-overview-grid{display:grid;grid-template-columns:minmax(380px,1.15fr) minmax(300px,1fr);gap:20px;align-items:start}.player-card{background:#fff;border:1px solid #dfe5ec;border-radius:7px;padding:20px 22px;margin-bottom:20px;min-width:0}.player-card h2{font-size:15px;margin:0 0 14px;color:#273c50}.percentile-card h2{font-size:19px}.percentile-card svg{display:block;width:100%;max-width:700px;margin:18px auto 10px}.pct-axis{font-size:11px;fill:#84939c}.pct-label{font-size:12px;fill:#475561}.pct-number{font-size:11px;fill:white;font-weight:800}.pct-value{font-size:12px;fill:#41505c}.player-note{color:#7c8794;font-size:11px;line-height:1.7;margin:16px 0 0}.player-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 12px}.player-kpi{display:flex;flex-direction:column;padding:9px 0;border-top:1px solid #edf0f4}.player-kpi span{font-size:10px;font-weight:700;color:#596779;letter-spacing:.5px}.player-kpi strong{font-size:25px;color:#263d51;margin-top:5px;font-variant-numeric:tabular-nums}.direction-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:7px 0;color:#657182}.direction-row strong{color:#334a60}.player-table-wrap{max-width:100%;overflow:auto;max-height:620px;border:1px solid #e5e9ef;border-radius:4px}.player-table-wrap table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:11px}.player-table-wrap th,.player-table-wrap td{padding:11px 12px;white-space:nowrap;text-align:right;border-bottom:1px solid #edf0f4;font-variant-numeric:tabular-nums}.player-table-wrap th{position:sticky;top:0;background:#f3f5f8;z-index:2;color:#6d7987;font-weight:700}.player-table-wrap th:first-child,.player-table-wrap td:first-child{position:sticky;left:0;text-align:left;background:#fff;z-index:1;border-right:1px solid #edf0f4}.player-table-wrap th:first-child{z-index:3;background:#f3f5f8}.player-table-wrap th button{border:0;padding:0;background:none;font-weight:700;color:inherit}.player-table-wrap tbody tr:hover td{background:#fff8f3}.player-trend{width:100%;min-width:550px;display:block}.player-card:has(.player-trend){overflow-x:auto}.player-empty{padding:25px 0;color:#596779}.player-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:20px 0}.player-source{color:#596779;font-size:11px;border-top:1px solid #e1e6ed;padding-top:22px}.player-link{cursor:pointer;color:#b44c27;text-decoration:none;font-weight:700}.player-link:hover{text-decoration:underline}@media(max-width:850px){.player-page{padding:18px 14px 40px}.player-overview-grid{grid-template-columns:1fr}.player-hero{padding:20px 18px;gap:16px}.player-hero-tag{display:none}.player-hero h1{font-size:27px}.player-monogram{width:64px;height:85px;font-size:17px}.player-tabs button{padding:12px 15px}.player-card{padding:17px 14px}.player-breadcrumb span{display:none}.player-controls{gap:9px}.player-table-wrap td,.player-table-wrap th{padding:10px}.player-kpi strong{font-size:23px}}
.team-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.team-grid>div{min-width:0}.team-page .player-card h2{background:#b94017;color:white;margin:-20px -22px 16px;padding:11px 16px;border-radius:6px 6px 0 0}.team-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e7ecef}.team-game{display:flex;flex-direction:column;gap:7px;min-height:91px;background:white;padding:9px 5px;text-align:center}.team-game small{font-size:9px;color:#596779}.team-game strong{font-size:11px}.team-win{color:#d34239;font-weight:700}.team-loss{color:#397acc;font-weight:700}.team-field{position:relative;height:410px;max-width:510px;margin:auto;background:repeating-linear-gradient(90deg,#3c893d 0 30px,#489c45 30px 60px);border-radius:48% 48% 42% 42%;overflow:hidden}.team-field:before{content:"";position:absolute;left:23%;top:38%;width:54%;height:47%;background:#d6b273;transform:rotate(45deg);border:3px solid #f0e7c5;border-radius:8px}.team-fielder{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;min-width:64px;padding:5px 7px;background:#fff9ee;border:2px solid #eb6930;border-radius:5px;box-shadow:0 2px 5px #183c3c33}.team-fielder small{font-size:9px;color:#7b765f}.team-fielder a{font-size:12px;color:#a33d1e}.team-leader{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px;align-items:center;padding:12px 3px;border-bottom:1px solid #ecf0f3}.team-leader strong{text-align:right;font-variant-numeric:tabular-nums}#tp-status{color:#a34521}#tp-record{color:#6f7c87}@media(max-width:850px){.team-grid{grid-template-columns:1fr}.team-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}.team-page .player-card h2{margin:-17px -14px 16px}.team-field{height:370px}}
.team-field{height:auto;aspect-ratio:500/520;max-width:500px;background:none;border-radius:0;overflow:visible}.team-field:before{display:none}.team-field-art{position:absolute;inset:0;width:100%;height:100%;display:block}.team-fielder{z-index:1;min-width:60px;white-space:nowrap}@media(max-width:550px){.team-fielder{min-width:50px;padding:3px 4px;border-width:1px}.team-fielder a{font-size:10px}.team-fielder small{font-size:8px}}
.home-page{max-width:1800px;margin:auto;padding:28px 24px 55px;background:#f5f7fa}.home-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.home-heading h1{font-size:28px;margin:4px 0;color:#20354b}.home-heading p{color:#596779}.home-heading label{white-space:nowrap}.home-top-grid{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(0,1.5fr);gap:24px;align-items:start}.home-page .player-card h2{font-size:15px;color:#fff;background:#b94017;padding:12px 16px;margin:-20px -22px 16px;border-radius:6px 6px 0 0}.home-page .player-table-wrap{max-height:none}.home-page .player-table-wrap td,.home-page .player-table-wrap th{padding:10px 9px}.home-player{display:flex;flex-direction:column;gap:2px;align-items:center;min-width:65px}.home-player small{font-size:9px;color:#596779}.home-player strong{color:#273a50}.home-prob{display:inline-block;min-width:74px;padding:5px 6px;background:linear-gradient(90deg,#fbd8c5 var(--chance,0%),#f2f4f6 var(--chance,0%));border-radius:3px;color:#a7401d;font-weight:700;text-align:center}.home-method{background:white;padding:18px 22px;border:1px solid #dfe5ec;border-radius:6px;color:#6b7988;line-height:1.9}.home-method summary{cursor:pointer;color:#344d65;font-weight:700}.home-method a{color:#b44c27}#home-status{color:#596779;margin:0 0 18px}@media(max-width:1000px){.home-top-grid{grid-template-columns:1fr}.home-top-grid #home-standings{order:-1}}@media(max-width:550px){.home-page{padding:20px 12px}.home-heading h1{font-size:23px}.home-page .player-card h2{margin:-17px -14px 16px}.home-page .player-table-wrap td{padding:9px 6px}}

/* Standings above three equally sized ranking cards. */
.home-top-grid{display:block;max-width:1200px;margin:0 auto 28px}.home-leaders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.home-leaders-grid>.player-card{min-width:0;margin-bottom:0;display:flex;flex-direction:column}.home-leaders-grid .player-table-wrap{flex:1;display:flex}.home-leaders-grid table{width:100%;height:100%;table-layout:fixed}.home-leaders-grid td,.home-leaders-grid th{white-space:normal;overflow-wrap:anywhere}.home-leaders-grid .home-player{min-width:0}.home-leaders-grid h2{flex:none}.home-leaders-grid thead{height:40px}#home-leaders-note{margin:16px 0 24px}@media(max-width:1000px){.home-leaders-grid{grid-template-columns:1fr;grid-auto-rows:1fr}.home-leaders-grid>.player-card{min-height:620px}}

.home-top-grid{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.65fr);max-width:none;gap:24px;align-items:start}.home-top-grid>.player-card{min-width:0}.home-results-list{display:flex;flex-direction:column;gap:16px}.home-game{border-bottom:1px solid #e5eaf0;padding-bottom:14px}.home-game:last-child{border-bottom:0}.home-game-venue{margin:0 0 8px;color:#596779;font-size:11px}.home-game table{width:100%}.home-game-decisions{display:flex;gap:6px 12px;flex-wrap:wrap;margin-top:9px;font-size:11px}.home-decision-label{color:#bc4b26;font-weight:700;margin-right:6px}@media(max-width:1000px){.home-top-grid{grid-template-columns:1fr}.home-top-grid #home-standings{order:0}}

.home-top-grid{align-items:stretch}.home-top-grid>.player-card{margin-bottom:0}#home-results{display:flex;flex-direction:column}.home-results-list{display:grid;grid-template-rows:repeat(5,minmax(56px,1fr));flex:1;gap:0}.home-game{display:flex;flex-wrap:wrap;align-content:center;align-items:center;justify-content:space-between;gap:10px;padding:12px 0}.home-scoreline{display:grid;grid-template-columns:auto 18px 48px 18px auto;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.home-scoreline strong{text-align:center}.home-game-date{background:#f0f2f5;color:#34475b;border-radius:3px;padding:5px;text-align:center;font-size:11px}.home-game-decisions{margin:0;font-size:10px;gap:6px 9px}.home-game-decisions>div{display:flex;align-items:center;gap:4px}.home-decision-badge{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:3px;color:#fff;font-size:10px;font-weight:700}.decision-W{background:#fa7b86}.decision-L{background:#75a6ff}.decision-H{background:#6eac90}.decision-S{background:#fb880b}@media(max-width:1000px){.home-results-list{grid-template-rows:none;grid-auto-rows:minmax(62px,auto);flex:none}}

.game-page{max-width:1600px;margin:auto;padding:28px 24px}.game-page h1{margin:20px 0}.game-month-controls{display:flex;gap:12px;align-items:center}.game-calendar-scroll{overflow:auto}.game-calendar{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px;gap:1px;background:#dfe5ec;border:1px solid #dfe5ec;margin:22px 0}.calendar-weekday{padding:12px;background:#f4f6f9;text-align:center;font-weight:700}.calendar-day,.calendar-blank{background:white;padding:10px;min-height:140px}.calendar-day>small{display:block;margin-top:15px}.calendar-game{display:flex;flex-direction:column;font-size:11px;color:#263b50;border-bottom:1px solid #edf0f4;padding:9px 0;text-decoration:none}.calendar-game:hover{color:#e85c2b;background:#fff6f0}.calendar-game small{font-size:9px;color:#596779}.game-probability{width:100%;height:auto;min-width:320px}.game-page .player-card{overflow:auto}.pitch-location-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.pitch-location-card{border:1px solid #e2e7ed;border-radius:6px;background:white;padding:12px}.pitch-location-card h3{margin:0 0 6px;font-size:15px}.pitch-location-card small{color:#596779}.pitch-location-card canvas{display:block;width:100%;height:auto}.home-scoreline{grid-template-columns:auto 18px 48px 18px auto auto}@media(max-width:600px){.game-page{padding:20px 12px}.pitch-location-grid{grid-template-columns:1fr}}

.home-top-grid{grid-template-columns:minmax(250px,.85fr) minmax(0,2fr) minmax(245px,.8fr);gap:16px}.home-top-grid>.player-card{padding:18px 14px}.home-top-grid>.player-card h2{margin:-18px -14px 14px}.home-top-grid .player-table-wrap td,.home-top-grid .player-table-wrap th{padding:10px 5px;font-size:11px}.home-scoreline{grid-template-columns:auto 18px 44px 18px auto auto;gap:5px}.game-play{border-bottom:1px solid #e3e8ef;padding:12px 8px}.game-play summary{cursor:pointer;line-height:1.7;color:#30465b}.game-play:focus{outline:2px solid #ec5c2b}.game-play-events{padding:8px 16px;background:#f6f8fb;font-size:13px;line-height:1.6}@media(max-width:1250px){.home-top-grid{grid-template-columns:minmax(250px,1fr) minmax(0,2fr)}#home-monthly{grid-column:1/-1}}@media(max-width:800px){.home-top-grid{grid-template-columns:1fr}#home-monthly{grid-column:auto}}
.game-highlights td:nth-child(4){white-space:normal;min-width:220px;line-height:1.6}.game-highlights table{width:100%}

/* DIAMOND is one record-room tab, with its own responsive game canvas. */
.diamond-page{background:#f5f7fa;min-height:calc(100vh - 109px);padding:0 0 29px}.diamond-page iframe{display:block;width:100%;height:1050px;border:0;background:#f5f7fa}.room-nav{min-width:0;gap:2px}.room{min-width:83px;padding:0 10px}@media(max-width:1150px){.site-header{gap:12px}.room{min-width:70px;padding:0 7px}.header-actions{gap:6px}.header-actions .button{padding:0 8px}}@media(max-width:950px){.site-header{flex-wrap:wrap;height:auto;min-height:106px;padding-top:12px}.room-nav{order:3;width:100%;height:40px;overflow-x:auto;justify-content:flex-start}.room{flex:1 0 78px}.header-actions{margin-left:auto}.diamond-page{min-height:calc(100vh - 135px)}}

/* Readability QA: clear secondary text, reachable controls, and local table scrolling. */
.room{font-size:13px;color:#536174}.button{min-height:36px;height:auto;font-size:13px}.text-button{font-size:12px;min-height:36px}
input,select{height:36px;font-size:13px}input::placeholder{color:#657386;opacity:1}.role{height:34px;font-size:13px}.role.active{background:#b94017}
.filter-line label,.line-label{font-size:12px}.filter-footer,.filter-hint,.dataset-caption,.record-heading #page-description,.result-bar,.pagination,.warnings,.loading,.site-footer{font-size:12px}
.view-nav button{font-size:13px;min-height:44px}.subnav-bar{min-width:0}.view-nav{min-width:0}.league-metric-label{font-size:11px}.league-metric-value{font-size:15px}
table,.player-table-wrap table{font-size:13px}th,td{height:36px;padding:7px 10px}th button{font-size:12px;height:36px}td .player-link,td.team,td.applied,th.applied{font-size:12px}
.table-scroll{max-height:65vh}.table-scroll,.player-table-wrap{scrollbar-width:auto;overscroll-behavior-x:contain}.player-table-wrap:focus-visible,.game-calendar-scroll:focus-visible{outline:2px solid #b94017;outline-offset:3px}
.scroll-hint{margin:0 20px 8px;color:#596779;font-size:12px}.record-body:not(:has(#records tbody tr)) .scroll-hint{display:none}
.player-table-wrap th,.player-table-wrap td,.home-top-grid .player-table-wrap th,.home-top-grid .player-table-wrap td{font-size:12px}
.home-page .player-card h2,.team-page .player-card h2{background:#b94017}.home-heading p,.player-note,.player-source,.player-empty,.player-choice small,.team-game small,.home-player small,.calendar-game small{color:#596779;font-size:12px}
.home-leaders-grid table{height:auto;table-layout:auto}.home-leaders-grid .player-table-wrap{display:block;flex:initial}.home-leaders-grid td,.home-leaders-grid th{white-space:nowrap;overflow-wrap:normal}.home-leaders-grid .home-player{gap:4px}.home-player a{white-space:nowrap}
.home-game-decisions{font-size:12px}.home-decision-badge{width:22px;height:22px;font-size:11px}.decision-W{background:#b72d45}.decision-L{background:#3261b0}.decision-H{background:#367051}.decision-S{background:#a95408}
.player-tabs button{font-size:13px}.player-controls label{font-size:12px}.player-hero>div{min-width:0}.player-hero p{overflow-wrap:anywhere}#player-title{outline:none}.player-kpi span{font-size:12px;color:#596779}
.site-footer{position:static;min-height:36px;height:auto;padding:8px 20px;gap:16px}.game-month-controls{flex-wrap:wrap}.calendar-game{font-size:13px;min-height:44px}.calendar-date{display:block;color:#34475b}.calendar-date .mobile-weekday{display:none}
@media(max-width:1000px){.home-leaders-grid{grid-auto-rows:auto}.home-leaders-grid>.player-card{min-height:0}}
@media(max-width:650px){
 .site-header{padding:12px 12px 0;gap:10px;min-height:0}.header-actions .button{font-size:12px;min-height:44px;padding:0 10px}.room-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;overflow:visible;gap:0}.room{min-width:0;height:44px;font-size:12px;padding:0 3px;white-space:nowrap}.room.active{background:#fff3ec}.room.active:after{left:5px;right:5px}
 input,select,input[type=date],input[type=month],.date-range input,.dialog-inner input{font-size:16px;min-height:44px;height:44px}.button,.pagination .button,.text-button,.role{min-height:44px;height:auto;font-size:13px}.filter-line label{font-size:12px}.filter-line{gap:10px}.filter-footer{font-size:12px}.basic-filters label{flex:1 1 calc(50% - 10px);min-width:0;justify-content:space-between}.basic-filters select{flex:1;min-width:0;max-width:125px}.basic-filters>.button{flex:1 1 calc(50% - 10px)}
 .record-heading{padding:10px 12px;flex-wrap:wrap}.table-scroll{margin:0 12px}.table-scroll td.name,.table-scroll th.name{width:104px;min-width:104px;max-width:104px}.table-scroll td.applied,.table-scroll th.applied{left:auto;width:auto;min-width:84px;max-width:none;box-shadow:none}.table-scroll td.applied{position:static}.table-scroll th.applied{position:sticky;top:0;z-index:2}.table-scroll td .player-link{font-size:13px}.table-scroll th button{min-height:44px;height:auto}.pitch-group-row th{height:36px}.pitch-metric-row th{top:36px}.scroll-hint{margin:0 12px 10px}.result-bar{gap:8px;flex-wrap:wrap;padding:12px}.pagination{gap:10px;flex-wrap:wrap;margin:14px 12px}.pagination>div{gap:10px}.league-overview{margin:12px}.league-overview-title{min-width:76px;padding:0 10px}.league-metric{padding:10px}
 .home-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:18px}.home-heading h1{font-size:26px}.home-heading p{margin:7px 0}.home-heading label{display:flex;gap:10px;align-items:center}.home-leaders-grid{gap:18px}.home-page .player-table-wrap td,.home-page .player-table-wrap th{font-size:13px;padding:10px 8px}.home-leaders-grid table{min-width:360px}.home-leaders-grid .home-player small{font-size:11px}.home-leaders-grid .home-player a{font-size:13px}
 .player-tabs{flex-wrap:wrap;overflow:visible;gap:0}.player-tabs button{padding:10px 12px;min-height:44px}.player-controls{gap:12px}.player-controls label{min-width:0;flex:1 1 calc(50% - 12px)}.player-controls select{width:100%;max-width:none}.player-controls input[type=date]{width:100%}.player-kpis{gap:14px 10px}.player-hero{padding:18px 14px}.player-choice{flex-wrap:wrap;gap:5px 14px}.player-choice small{flex-basis:100%}#search-results{max-height:45dvh}.dialog-inner{padding:20px}.site-footer{font-size:12px;line-height:1.6}
 .game-calendar{min-width:0;grid-template-columns:1fr;gap:12px;background:transparent;border:0;margin:18px 0}.calendar-weekday,.calendar-blank{display:none}.calendar-day{min-height:0;border:1px solid #dfe5ec;border-radius:6px;padding:12px}.calendar-date{padding-bottom:8px;border-bottom:1px solid #e2e6ed;font-size:15px}.calendar-date .mobile-weekday{display:inline}.calendar-game{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}.calendar-game small{text-align:right}.game-month-controls{gap:8px}.game-month-controls input{flex:1;max-width:155px;min-width:110px}
}

.role:not(.active),.player-tabs button,.player-controls label{color:#596779}.player-tabs button.active{color:#b94017}
@media(min-width:1800px){body{font-size:14px}}
.player-monogram{flex-shrink:0}.player-hero>div:nth-child(2){flex:1;min-width:0}.pct-axis{fill:#596779;font-size:13px}.pct-number{fill:#202d40;font-size:13px}.pct-label,.pct-value{font-size:14px}
.percentile-mobile{display:none}
/* Team text palette follows diamond-game/lib/player-appearance.ts. The orange and
   blue use deeper kit shades so normal-sized names remain readable on white. */
.team-name[data-team=HH]{--team-text-color:#b94410}.team-name[data-team=HT]{--team-text-color:#bf2538}.team-name[data-team=LG]{--team-text-color:#a61847}.team-name[data-team=LT]{--team-text-color:#b72740}.team-name[data-team=SS]{--team-text-color:#1b5da5}.team-name[data-team=SK]{--team-text-color:#bb2639}.team-name[data-team=WO]{--team-text-color:#71263c}.team-name[data-team=KT]{--team-text-color:#252931}.team-name[data-team=NC]{--team-text-color:#224b79}.team-name[data-team=OB]{--team-text-color:#192b47}.team-name[data-team=neutral]{--team-text-color:#536174}
.team-name[data-team]{color:var(--team-text-color)!important;fill:var(--team-text-color);font-weight:600}.team-name[data-team]:is(a):hover{text-decoration:underline;text-underline-offset:3px}.team-name[data-team]:is(select){font-weight:600}.team-name option:not([data-team]){color:#202d40}.team-names{white-space:normal}.player-card h2:has(.team-name){background:#f3f6fa;color:#202d40}.team-page #tp-mark{background:#f3f6fa;border:1px solid #dce3ed}
@media(max-width:650px){.percentile-card svg{display:none}.percentile-mobile{display:grid;gap:18px;margin:20px 0}.percentile-mobile-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 76px;align-items:baseline;gap:10px;margin-bottom:7px;font-size:14px}.percentile-mobile-heading small{text-align:right;color:#596779;font-size:12px}.percentile-mobile-track{height:8px;border-radius:4px;background:#edf1f5;overflow:hidden}.percentile-mobile-track>span{display:block;height:100%;border-radius:4px}.player-hero .player-monogram{width:50px;font-size:15px}.player-hero h1{font-size:28px}}

/* Park factor badges: color-coded pill around the league-neutral value of 100.
   Uses the site's own accent color (--pink) for the high end, same as every other
   emphasized value on the page (stat-emphasis, league-metric.emphasis, etc.). */
.pf-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:3px 9px;border-radius:999px;font-weight:700;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.4}
.pf-badge.pf-low{background:#eaf1fb;color:#2b62a8}
.pf-badge.pf-mid{background:#eef0f4;color:#596779}
.pf-badge.pf-high{background:#fdeee7;color:var(--pink)}
td.pf-cell{text-align:center}

.checkbox-label{gap:5px!important}
.checkbox-label input[type=checkbox]{width:15px;height:15px;accent-color:var(--pink);cursor:pointer}
