:root{--ink:#172230;--muted:#77818e;--line:#e6e9ed;--blue:#2465dd;--blue-light:#edf3ff;--pale:#f6f7f8;--card:#fff;--shadow:0 8px 24px rgba(22,42,64,.035);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;color:var(--ink);background:var(--pale)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:16px}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8eb6ff;outline-offset:2px}.app-shell{min-height:100vh}
.site-header{height:76px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #eceef1}.brand{display:inline-flex;align-items:center;gap:12px}.mark{display:flex;align-items:center;justify-content:center;width:43px;height:43px;background:#1c3551;transform:rotate(-11deg);border-radius:7px}.mark-inner{color:#fff;font-size:25px;font-weight:900;transform:rotate(11deg)}.brand-copy{display:flex;flex-direction:column;line-height:1.35}.brand-copy strong{font-size:16px;letter-spacing:.5px}.brand-copy strong span{color:var(--blue)}.brand-copy small{font-size:9px;letter-spacing:2.2px;color:var(--muted);font-weight:700}.header-right{display:flex;gap:26px;align-items:center}.season-chip{color:#89929d;letter-spacing:1.5px;font-size:10px;font-weight:700}.season-chip strong{font-size:12px;color:#223650;margin-left:8px}.status-dot{font-weight:800;color:#596676;font-size:10px;letter-spacing:1px}.status-dot i{display:inline-block;background:#31ac80;width:7px;height:7px;border-radius:50%;margin-right:7px}.topline{height:3px;background:linear-gradient(90deg,#1a3a68,#3a82e3 62%,#d5e4ff)}
.body-wrap{display:flex;min-height:calc(100vh - 79px)}.sidebar{width:250px;background:#fff;border-right:1px solid var(--line);padding:36px 20px;flex-shrink:0;display:flex;flex-direction:column}.sidebar-label{font-size:10px;font-weight:800;color:#9ba5b0;letter-spacing:2.1px;padding:0 12px;margin:0 0 16px}.side-nav{display:flex;flex-direction:column;gap:4px}.side-nav a{display:flex;align-items:center;gap:13px;padding:13px 12px;border-radius:9px;color:#5c6776;font-weight:650;transition:.2s}.side-nav a:hover{background:#f3f6fa}.side-nav a.active{background:#ebf1fd;color:#1e57b8}.nav-symbol{font-size:19px;width:22px;display:inline-flex;justify-content:center}.sidebar-line{height:1px;background:var(--line);margin:28px 6px}.sidebar-tip{font-size:12px;line-height:2.05;color:#7b8693;margin-left:12px}.sidebar-bottom{margin-top:auto;color:#9aa3af;font-size:9px;letter-spacing:1.1px;font-weight:800;line-height:2.2;padding:28px 12px 0}.sidebar-bottom small{font-weight:400;letter-spacing:0;font-size:11px}.data-mark{display:inline-block;width:8px;height:8px;border:1px solid #4e83d7;transform:rotate(45deg);margin-right:6px}
.main-area{flex:1;min-width:0;max-width:1540px;margin:0 auto;padding:45px clamp(22px,4vw,65px) 24px}.main-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{color:var(--blue);font-size:10px;font-weight:850;letter-spacing:2.1px;margin-bottom:9px}.main-top h1{font-size:clamp(23px,2.7vw,34px);line-height:1.35;letter-spacing:-.8px;margin:0;font-weight:820}.main-top p{color:#85909a;margin:9px 0 0;font-size:13px;line-height:1.8}.division-tabs{display:inline-flex;padding:5px;background:#e8ebef;border-radius:10px}.division-tabs button{border:0;background:transparent;border-radius:7px;color:#66717e;min-width:64px;padding:9px 16px;font-weight:800}.division-tabs button.active{background:#fff;box-shadow:0 1px 4px #132c5118;color:#1c4e9c}
.panel{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.panel-head,.panel-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}.panel-head strong{font-size:13px}.panel-head span,.panel-toolbar>span{color:var(--muted);font-size:11px}.table-scroll{overflow-x:auto}.records-table{border-collapse:collapse;width:100%;font-size:12px;min-width:560px;font-variant-numeric:tabular-nums}.records-table th{background:#f9fafb;color:#7a8694;font-weight:750;text-align:left;font-size:11px;white-space:nowrap;padding:14px 15px;border-bottom:1px solid var(--line)}.records-table td{padding:13px 15px;border-bottom:1px solid #edf0f2;white-space:nowrap;font-weight:500}.records-table tr:last-child td{border-bottom:0}.records-table tbody tr:hover td{background:#f8fbff}.align-right{text-align:right!important}.rank{display:flex;align-items:center;justify-content:center;background:#f0f3f6;color:#647180;border-radius:6px;width:25px;height:25px;font-weight:750}.rank-top{background:#dfeaff;color:#245ac6}.score-cell{font-size:14px;font-weight:800!important;letter-spacing:1px;color:#203957}.panel-toolbar{padding:14px 20px}.segmented{display:flex;gap:4px;padding:4px;background:#e8ebef;border-radius:9px}.segmented button{border:0;background:transparent;border-radius:6px;color:#66717e;padding:7px 13px;font-size:11px;font-weight:750}.segmented button.selected{background:#fff;color:#1c4e9c;box-shadow:0 1px 4px #132c5118}
.season-picker{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#7b8794;font-size:10px;font-weight:800;letter-spacing:.5px}.season-picker select{appearance:auto;border:0;background:transparent;color:#223650;font:inherit;font-size:13px;min-width:82px;padding:3px 2px;outline:0}.season-picker.is-loading{min-width:126px;justify-content:center}.points-cell{font-weight:850!important;color:#1d4f9e}.empty-state{padding:70px 20px;text-align:center;color:var(--muted);font-size:12px}
.footer{margin-top:55px;display:flex;justify-content:space-between;gap:18px;border-top:1px solid #e4e7eb;padding:25px 0;color:#9ba5b0;font-size:10px;letter-spacing:.25px}.footer a{color:#597797}.mobile-nav{display:none}
@media(max-width:850px){.sidebar{display:none}.site-header{padding:0 23px;height:66px}.body-wrap{min-height:calc(100vh - 69px)}.main-area{padding:29px 22px 95px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:12px 10px 17px;justify-content:space-around;z-index:20;box-shadow:0 -4px 18px #18324a0a}.mobile-nav a{font-size:11px;color:#7b8794;font-weight:800;padding:5px 28px}.mobile-nav a.active{color:var(--blue)}.footer{margin-bottom:55px}}
@media(max-width:580px){.header-right .season-chip{display:none}.site-header{padding:0 18px}.brand-copy strong{font-size:14px}.brand-copy small{font-size:8px;letter-spacing:1.4px}.mark{width:36px;height:36px}.mark-inner{font-size:21px}.main-area{padding:25px 16px 95px}.main-top{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:23px}.division-tabs{width:100%}.division-tabs button{flex:1}.panel-head,.panel-toolbar{padding:16px}.panel-toolbar{align-items:flex-end;flex-direction:column-reverse}.segmented{width:100%}.segmented button{flex:1}.records-table{display:block;width:100%;min-width:0}.records-table thead{display:none}.records-table tbody{display:grid;gap:10px;padding:10px}.records-table tbody tr{display:grid;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.records-table tbody td{display:flex;min-width:0;gap:6px;align-items:center;white-space:normal;border:0;padding:5px 4px;background:transparent!important}.records-table tbody td:before{color:#8290a0;font-size:10px;font-weight:650;min-width:44px}.records-table:not(.match-records) tbody tr{grid-template-columns:46px 1fr auto;align-items:center}.records-table:not(.match-records) td:nth-child(1):before{content:"";min-width:0}.records-table:not(.match-records) td:nth-child(2):before{content:"クラブ"}.records-table:not(.match-records) td:nth-child(3):before{content:"直近"}.match-records tbody tr{grid-template-columns:1fr 1fr}.match-records td:nth-child(1):before{content:"日付"}.match-records td:nth-child(2):before{content:"時刻"}.match-records td:nth-child(3){grid-column:1/-1;font-size:14px;font-weight:750}.match-records td:nth-child(3):before{content:"対戦"}.match-records td:nth-child(4):before{content:"結果"}.match-records td:nth-child(5):before{content:"会場"}.match-records td:nth-child(6):before{content:"入場者"}.match-records td:nth-child(4),.match-records td:nth-child(6){text-align:left!important}.footer{flex-direction:column}}
@media(max-width:580px){body{overflow-x:hidden}.main-area{width:100%}.panel-toolbar{min-width:0}.segmented{min-width:0}.segmented button{min-width:0;padding:7px 4px;white-space:nowrap}}
@media(max-width:580px){.season-picker{width:100%;justify-content:space-between;padding-left:14px}.standings-records{display:table;min-width:760px}.standings-records thead{display:table-header-group}.standings-records tbody{display:table-row-group;padding:0}.standings-records tbody tr{display:table-row;padding:0;border:0;border-radius:0}.standings-records tbody td{display:table-cell;white-space:nowrap;border-bottom:1px solid #edf0f2;padding:11px 12px}.standings-records tbody td:before{content:none!important;display:none}.standings-records tbody tr:last-child td{border-bottom:0}}

/* Database views */
.grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.section-gap{margin-top:18px}.panel-head>div{display:flex;flex-direction:column;gap:4px}.panel-head strong{font-size:.95rem}.panel-head span{font-size:.75rem}.secondary-link{color:#2b63b4;font-size:.78rem;font-weight:750;white-space:nowrap}.secondary-link:hover{text-decoration:underline}.data-table{width:100%;border-collapse:collapse;font-size:.78rem;font-variant-numeric:tabular-nums}.data-table th{padding:13px 14px;background:#f8fafc;color:#778494;border-bottom:1px solid var(--line);font-size:.72rem;text-align:left;white-space:nowrap}.data-table td{padding:12px 14px;border-bottom:1px solid #edf0f3;white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:#f8fbff}.data-table .num{text-align:right}.points-cell{color:#1c57ad;font-weight:850}.overview-list{padding:0 18px 14px}.overview-standing,.overview-player{display:grid;grid-template-columns:34px minmax(0,1fr) 65px 54px;align-items:center;gap:10px;min-height:60px;padding:8px 4px;border-bottom:1px solid var(--line)}.overview-standing:last-child,.overview-player:last-child{border-bottom:0}.overview-rank{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:7px;background:#edf2f8;color:#45617e;font-size:.78rem;font-weight:850}.overview-standing>div,.overview-player>div{display:flex;min-width:0;flex-direction:column;gap:3px}.overview-standing strong,.overview-player strong{overflow:hidden;color:#203a55;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.overview-standing small,.overview-player small{color:#84909c;font-size:.67rem}.overview-standing>span:not(.overview-rank),.overview-player>span:not(.overview-rank){display:flex;flex-direction:column;align-items:center}.overview-standing b,.overview-player b{font-size:.82rem}.overview-player:hover{background:#f7faff}.overview-player .emphasis b{color:#1e5cb4;font-size:1rem}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.summary-grid article{display:flex;min-height:126px;flex-direction:column;justify-content:center;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.summary-grid article>span{color:#7c8997;font-size:.72rem}.summary-grid strong{margin:8px 0 3px;color:#213e5c;font-size:1.75rem}.summary-grid strong small{margin-left:4px;font-size:.72rem}.summary-grid em{color:#8b96a2;font-size:.66rem;font-style:normal}.player-panel{overflow:visible}.filterbar{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr) minmax(140px,1fr) auto;align-items:end;gap:10px;padding:16px 20px;background:#f8fafc;border-bottom:1px solid var(--line)}.filterbar label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#718092;font-size:.72rem;font-weight:750}.filterbar input,.filterbar select{width:100%;height:42px;padding:0 12px;border:1px solid #d8dfe7;border-radius:8px;background:#fff;color:#22384e;font-size:.85rem}.filterbar button{height:42px;padding:0 22px;border:0;border-radius:8px;background:#244d7a;color:#fff;font-size:.82rem;font-weight:800}.result-count{padding:13px 20px;color:#7b8795;font-size:.72rem}.player-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 20px 20px}.player-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(190px,1.4fr);align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}.player-row:hover{border-color:#b8cae1;background:#fbfdff}.player-row>div:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.player-row strong{overflow:hidden;color:#244665;font-size:.85rem;text-overflow:ellipsis;white-space:nowrap}.player-row>div>span{overflow:hidden;color:#7c8996;font-size:.67rem;text-overflow:ellipsis;white-space:nowrap}.player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.player-stats span{display:flex;flex-direction:column;align-items:center;padding:6px 3px;border-radius:7px;background:#f5f7fa}.player-stats small{color:#85919e;font-size:.6rem}.player-stats b{font-size:.78rem}.player-stats .primary b{color:#1d5db3;font-size:1rem}.back-link{display:inline-block;margin-bottom:18px;color:#54708e;font-size:.78rem;font-weight:750}.profile-panel{padding:25px}.profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.profile-kicker{color:#2a67b6;font-size:.68rem;font-weight:850;letter-spacing:.15em}.profile-head h2{margin:8px 0 5px;font-size:1.65rem}.profile-head p{margin:0;color:#758292;font-size:.85rem}.profile-season{padding:7px 12px;border-radius:7px;background:#edf3fc;color:#245da9;font-size:.78rem;font-weight:850}.profile-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:25px}.profile-metrics article{display:flex;min-height:100px;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:#f5f7fa}.profile-metrics span{color:#788696;font-size:.7rem}.profile-metrics strong{margin:5px 0;color:#29445f;font-size:1.55rem}.profile-metrics small{color:#8a96a2;font-size:.65rem}.profile-metrics .primary{background:#edf4ff}.profile-metrics .primary strong{color:#1f5eb4}.single-season{display:grid;grid-template-columns:80px minmax(140px,1fr) auto;align-items:center;gap:15px;padding:18px 22px}.single-season>strong{color:#254f7d;font-size:1rem}.single-season>span{color:#38536e;font-size:.88rem;font-weight:750}.single-season>div{display:grid;grid-template-columns:repeat(6,auto);align-items:baseline;gap:5px 12px}.single-season b{color:#223d59;font-size:1rem}.single-season small{color:#84919e;font-size:.65rem}.club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.club-card{display:grid;grid-template-columns:36px minmax(0,1fr) 52px;align-items:center;gap:12px;padding:15px 17px;border:1px solid var(--line);border-radius:11px;background:#fff}.club-card>div{display:flex;flex-direction:column;gap:3px}.club-card strong{font-size:.9rem}.club-card small{color:#84909c;font-size:.68rem}.club-card>span:last-child{display:flex;flex-direction:column;align-items:center}.club-card>span:last-child b{color:#1d58a8;font-size:1rem}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.history-card{display:flex;min-height:145px;flex-direction:column;padding:17px;border:1px solid var(--line);border-radius:11px;background:#fff}.history-card:hover{border-color:#aac2de;background:#fbfdff}.history-card>span{color:#2d66ab;font-size:.75rem;font-weight:850}.history-card>strong{margin:12px 0 7px;color:#213d59;font-size:.92rem}.history-card>div{color:#637386;font-size:.72rem}.history-card>small{margin-top:auto;color:#8a96a3;font-size:.65rem}

@media(max-width:1100px){.grid-two{grid-template-columns:1fr}.player-directory{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.data-table{font-size:.8rem}.data-table thead{display:none}.data-table tbody{display:grid;gap:9px;padding:10px}.data-table tbody tr{display:grid;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.data-table tbody td{display:flex;align-items:center;gap:6px;padding:5px 3px;border:0;white-space:normal}.data-table tbody td:before{content:attr(data-label);min-width:48px;color:#8290a0;font-size:.62rem;font-weight:700}.data-table .num{text-align:left}.standings-table tbody tr{grid-template-columns:repeat(6,minmax(0,1fr))}.standings-table td:first-child{grid-column:1}.standings-table td:nth-child(2){grid-column:2/-1;font-size:.9rem;font-weight:750}.standings-table td:nth-child(-n+2):before{display:none}.standings-table td:nth-child(n+3){grid-column:span 2;flex-direction:column;align-items:center}.matches-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.matches-table td:nth-child(3),.matches-table td:nth-child(4),.matches-table td:nth-child(5){grid-column:1/-1}.matches-table td:nth-child(4){justify-content:center}.filterbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.filterbar label:first-child{grid-column:1/-1}.filterbar button{width:100%}.player-directory{padding:0 13px 14px}.player-row{grid-template-columns:minmax(105px,1fr) minmax(180px,1.5fr);padding:10px}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metrics article{min-height:88px}.profile-metrics .primary{grid-column:span 2}.single-season{grid-template-columns:1fr}.single-season>div{grid-template-columns:repeat(3,auto);justify-content:start}.single-season small{display:none}.club-grid,.history-grid{grid-template-columns:1fr}.overview-standing,.overview-player{grid-template-columns:30px minmax(0,1fr) 52px 45px}.summary-grid article{min-height:110px}.summary-grid strong{font-size:1.45rem}}

/* Compact dashboard and multi-season player records */
.dashboard .main-top{margin-bottom:20px}.compact-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.compact-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:12px 15px;border-right:1px solid var(--line)}.compact-stats>div:last-child{border-right:0}.compact-stats span{color:#7d8996;font-size:.68rem}.compact-stats strong{color:#23415f;font-size:1.15rem}.compact-stats small{margin-left:3px;color:#8090a0;font-size:.6rem}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-grid .panel-head{padding:14px 15px}.dashboard-grid .overview-list{padding:0 12px 8px}.dashboard-grid .overview-standing,.dashboard-grid .overview-player{grid-template-columns:28px minmax(0,1fr) 50px 40px;gap:7px;min-height:48px;padding:5px 2px}.dashboard-grid .overview-rank{width:24px;height:24px;font-size:.68rem}.dashboard-grid .overview-standing strong,.dashboard-grid .overview-player strong{font-size:.74rem}.dashboard-grid .overview-standing small,.dashboard-grid .overview-player small{font-size:.58rem}.dashboard-grid .overview-standing b,.dashboard-grid .overview-player b{font-size:.72rem}.compact-matches{padding:0 12px 8px}.compact-matches a{display:grid;grid-template-columns:38px minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:5px;min-height:48px;border-bottom:1px solid var(--line);font-size:.68rem}.compact-matches a:last-child{border-bottom:0}.compact-matches a:hover{background:#f8fbff}.compact-matches span{color:#8a95a0;font-size:.58rem}.compact-matches strong{overflow:hidden;color:#2b455f;text-overflow:ellipsis;white-space:nowrap}.compact-matches strong:last-child{text-align:right}.compact-matches b{text-align:center;color:#1f4d7b;font-size:.75rem}.player-history-filter{grid-template-columns:minmax(90px,.65fr) minmax(170px,1.45fr) minmax(140px,1fr) minmax(140px,1fr) auto}
.pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:2px 20px 20px}.pagination button{min-width:76px;padding:8px 12px;border:1px solid #d5dee8;border-radius:7px;background:#fff;color:#31577e;font-weight:750}.pagination button:disabled{cursor:default;opacity:.4}.pagination span{color:#7b8794;font-size:.72rem;font-variant-numeric:tabular-nums}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid .panel:last-child{grid-column:1/-1}.compact-matches{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.compact-matches a:last-child{border-bottom:1px solid var(--line)}.player-history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.player-history-filter label:nth-child(2){grid-column:auto}.player-history-filter button{width:100%}}
@media(max-width:700px){.compact-stats{grid-template-columns:1fr 1fr}.compact-stats>div{border-bottom:1px solid var(--line)}.compact-stats>div:nth-child(2){border-right:0}.compact-stats>div:nth-child(n+3){border-bottom:0}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .panel:last-child{grid-column:auto}.compact-matches{display:block}.player-history-filter{grid-template-columns:1fr 1fr}.player-history-filter label:first-child{grid-column:auto}.player-history-filter label:nth-child(2){grid-column:1/-1}.player-history-filter button{grid-column:1/-1}}

/* Compact player detail */
.compact-profile{padding:22px}.compact-profile .profile-head{align-items:center}.compact-profile .profile-head h1{margin:6px 0 4px;color:#172b40;font-size:1.55rem;line-height:1.25}.profile-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.profile-primary article{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;padding:12px 14px;border-radius:9px;background:#f5f7fa}.profile-primary article>span{grid-column:1/-1;color:#788696;font-size:.7rem}.profile-primary strong{color:#26425e;font-size:1.45rem}.profile-primary small{color:#8a96a2;font-size:.64rem}.profile-primary .primary{background:#edf4ff}.profile-primary .primary strong{color:#1f5eb4}.profile-ranks{display:flex;gap:22px;margin-top:10px;padding:10px 13px;border-top:1px solid var(--line);color:#718092;font-size:.72rem}.profile-ranks b{margin-left:6px;color:#294966;font-size:.82rem}.compact-season-panel .panel-head{padding:15px 18px}.season-record-table{padding:0 18px 16px;font-variant-numeric:tabular-nums}.season-record-head,.season-record-row{display:grid;grid-template-columns:72px minmax(150px,1fr) repeat(3,72px);align-items:center;gap:8px}.season-record-head{min-height:34px;color:#85919e;font-size:.65rem}.season-record-row{min-height:48px;padding:8px 0;border-top:1px solid var(--line);color:#28445f;font-size:.82rem}.season-record-row b{color:#22598f}.season-record-row span{text-align:right;font-weight:750}
@media(max-width:700px){.back-link{margin-bottom:10px;font-size:.72rem}.compact-profile{padding:15px}.compact-profile .profile-head{align-items:flex-start}.compact-profile .profile-head h1{font-size:1.3rem}.compact-profile .profile-head p{font-size:.72rem}.compact-profile .profile-season{padding:5px 8px;font-size:.68rem}.profile-primary{gap:5px;margin-top:13px}.profile-primary article{display:flex;min-height:72px;flex-direction:column;align-items:center;justify-content:center;padding:7px 4px}.profile-primary article>span{font-size:.62rem}.profile-primary strong{font-size:1.2rem;line-height:1.1}.profile-primary small{font-size:.58rem}.profile-ranks{justify-content:space-between;gap:8px;margin-top:7px;padding:8px 4px 0;font-size:.64rem}.profile-ranks b{font-size:.72rem}.compact-season-panel{margin-top:10px}.compact-season-panel .panel-head{padding:13px 14px}.season-record-table{padding:0 14px 12px}.season-record-head,.season-record-row{grid-template-columns:48px minmax(72px,1fr) 42px 58px 38px;gap:5px}.season-record-head{font-size:.58rem}.season-record-head span:nth-child(n+3){text-align:right}.season-record-row{font-size:.72rem}.season-record-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer{margin-top:30px}}

/* Season totals and round-by-round player records */
.season-summary-panel .panel-head,.fixture-panel .panel-head{padding:15px 18px}.season-stat-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:0 18px 16px}.season-stat-grid span{display:flex;min-height:64px;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;background:#f5f7fa}.season-stat-grid small{color:#82909d;font-size:.62rem}.season-stat-grid b{margin-top:3px;color:#284761;font-size:1rem}.season-stat-grid .yellow-stat b{color:#987100}.season-stat-grid .red-stat b{color:#bd3141}.fixture-legend{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:0 18px 12px;color:#738190;font-size:.64rem}.appearance-badge{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 8px;border-radius:6px;background:#eef2f6;color:#5f7081;font-size:.64rem;font-weight:800;white-space:nowrap}.appearance-badge.full,.appearance-badge.starter{background:#eaf2ff;color:#225da8}.appearance-badge.substitute,.appearance-badge.substitute_off{background:#e9f8fb;color:#26758b}.appearance-badge.bench{background:#f2f3f5;color:#77828d}.appearance-badge.suspended{background:#fff0f2;color:#b52e40}.event-badge{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:6px;color:#fff;font-size:.65rem;font-weight:900}.event-badge.goal{background:#2475c5}.event-badge.yellow{background:#d9a600}.event-badge.red{background:#d63849}.fixture-records{margin:0 18px 18px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.fixture-row{position:relative;display:grid;grid-template-columns:86px minmax(110px,1fr) 52px 110px 54px 86px;align-items:center;gap:8px;min-height:52px;padding:7px 11px;border-bottom:1px solid var(--line);font-size:.76rem}.fixture-row:last-child{border-bottom:0}.fixture-row.has-yellow:before,.fixture-row.has-red:before{content:"";position:absolute;top:0;bottom:0;left:0;width:4px;background:#e2b11d}.fixture-row.has-red:before{background:#da3a4a}.fixture-round{display:flex;flex-direction:column;color:#657486;font-size:.68rem}.fixture-round small{margin-top:2px;color:#909aa5;font-size:.57rem}.fixture-opponent{overflow:hidden;color:#294862;text-overflow:ellipsis;white-space:nowrap}.fixture-score{text-align:center;color:#274c70;font-variant-numeric:tabular-nums}.fixture-minute{color:#637385;text-align:center;font-variant-numeric:tabular-nums}.fixture-events{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#a0a8b0}.fixture-events .event-badge{width:23px;height:23px}
@media(max-width:800px){.season-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0 13px 13px}.season-stat-grid span{min-height:54px}.fixture-legend{padding:0 13px 10px}.fixture-records{margin:0 13px 13px}.fixture-row{grid-template-columns:52px minmax(70px,1fr) 40px minmax(68px,auto) 38px 52px;gap:5px;min-height:48px;padding:6px 7px;font-size:.66rem}.fixture-round{font-size:.59rem}.fixture-round small{font-size:.52rem}.appearance-badge{padding:2px 5px;font-size:.57rem}.fixture-minute{font-size:.6rem}.fixture-events .event-badge{width:20px;height:20px;font-size:.57rem}}
@media(max-width:580px){.fixture-row{grid-template-columns:42px minmax(55px,1fr) 32px 58px 32px 40px;gap:4px;padding:5px}.fixture-opponent{font-size:.62rem}.fixture-score,.fixture-minute{font-size:.58rem}.appearance-badge{padding:2px 3px;font-size:.52rem}.fixture-events{gap:2px}.fixture-events .event-badge{width:18px;height:18px;font-size:.52rem}}

/* Current form and head-to-head search */
.rank-bottom{background:#fff0f1;color:#bc3444}.current-table{min-width:900px}.form-dots{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.form-dots i,.form-legend i{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:.75rem;font-style:normal;font-weight:900}.form-w{background:#2776c8}.form-d{background:#8b98a5}.form-l{background:#d44a58}.form-legend{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:12px 18px;border-top:1px solid var(--line);color:#667688;font-size:.8rem}.form-legend>span{display:flex;align-items:center;gap:5px}.form-legend small{color:#929da7;font-size:.75rem}
.h2h-filter{display:grid;grid-template-columns:minmax(130px,1fr) auto minmax(130px,1fr) repeat(3,minmax(105px,.72fr));align-items:end;gap:10px;padding:16px 18px}.h2h-filter label{display:flex;min-width:0;flex-direction:column;gap:7px;color:#617286;font-size:.875rem;font-weight:750}.h2h-filter select{width:100%;height:42px;padding:0 30px 0 11px;border:1px solid #d6dee7;border-radius:8px;background:#fff;color:#203b55;font-size:.875rem}.versus{align-self:center;margin-top:25px;color:#8b97a3;font-size:.75rem;font-weight:900}.h2h-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.h2h-summary article{display:flex;min-height:76px;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:#fff}.h2h-summary span{color:#7c8996;font-size:.8rem}.h2h-summary strong{margin-top:5px;color:#263f58;font-size:1.25rem}.h2h-summary .win strong{color:#2470bd}.h2h-summary .draw strong{color:#758391}.h2h-summary .loss strong{color:#c33d4c}.h2h-records{padding:0 18px 15px}.h2h-row{display:grid;grid-template-columns:130px minmax(300px,1fr) minmax(270px,.9fr);align-items:center;gap:14px;min-height:66px;border-bottom:1px solid var(--line)}.h2h-row:last-child{border-bottom:0}.h2h-meta{display:flex;flex-direction:column;gap:3px}.h2h-meta strong{color:#334e68;font-size:.8rem}.h2h-meta span{color:#87939f;font-size:.75rem}.h2h-scoreline{display:grid;grid-template-columns:minmax(70px,1fr) 28px 70px minmax(70px,1fr);align-items:center;gap:7px}.h2h-scoreline>strong{overflow:hidden;color:#29465f;font-size:.875rem;text-overflow:ellipsis;white-space:nowrap}.h2h-scoreline>strong:last-child{text-align:right}.h2h-scoreline>b{text-align:center;color:#203f5e;font-size:1rem;font-variant-numeric:tabular-nums}.h2h-result{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:.75rem;font-weight:900}.h2h-result.win{background:#2776c8}.h2h-result.draw{background:#8b98a5}.h2h-result.loss{background:#d44a58}.h2h-detail{display:grid;grid-template-columns:58px minmax(70px,1fr) 70px 76px;align-items:center;gap:7px;color:#758392;font-size:.75rem}.h2h-detail span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.venue-side{padding:4px 5px;border-radius:5px;background:#eef3f8;color:#506b84;text-align:center;font-weight:800}
@media(max-width:1050px){.h2h-filter{grid-template-columns:minmax(130px,1fr) auto minmax(130px,1fr) repeat(3,minmax(90px,1fr))}.h2h-row{grid-template-columns:110px minmax(270px,1fr)}.h2h-detail{grid-column:1/-1;padding:0 0 9px 124px}}
@media(max-width:700px){.current-table{min-width:0}.current-table tbody td:nth-child(11){grid-column:1/-1;flex-direction:row;justify-content:space-between}.form-legend{justify-content:flex-start;flex-wrap:wrap}.h2h-panel .panel-head{padding:12px 13px}.h2h-filter{grid-template-columns:1fr 1fr;gap:8px;padding:10px 13px 12px}.h2h-filter .versus{display:none}.h2h-filter label{gap:4px;font-size:.72rem}.h2h-filter label:nth-of-type(n+3){grid-column:auto}.h2h-filter select{height:36px;padding-right:26px;font-size:.78rem}.h2h-summary{gap:5px;margin-top:8px}.h2h-summary article{min-height:58px}.h2h-summary span{font-size:.68rem}.h2h-summary strong{margin-top:3px;font-size:.95rem}.h2h-records{padding:0 13px 12px}.h2h-row{display:block;padding:13px 0}.h2h-meta{flex-direction:row;align-items:center;justify-content:space-between}.h2h-scoreline{margin:10px 0}.h2h-detail{display:flex;grid-column:auto;flex-wrap:wrap;gap:6px 12px;padding:0}.h2h-detail span{white-space:normal}.mobile-nav a{padding:5px 12px}}
@media(max-width:420px){.form-dots{gap:3px}.form-dots i{width:22px;height:22px}.h2h-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.h2h-filter label{grid-column:auto!important}.h2h-filter select{min-width:0;padding-left:8px;font-size:.74rem}.h2h-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.h2h-summary article{min-height:54px}.h2h-summary strong{font-size:.86rem}.h2h-scoreline{grid-template-columns:minmax(62px,1fr) 25px 58px minmax(62px,1fr);gap:4px}.h2h-scoreline>strong{font-size:.78rem}}

/* Keep each standings club on one horizontal row on small screens */
@media(max-width:700px){.standings-panel .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.standings-table,.standings-table.current-table{display:table;width:100%;min-width:980px;border-collapse:separate;border-spacing:0}.standings-table thead{display:table-header-group}.standings-table tbody{display:table-row-group;padding:0}.standings-table tbody tr{display:table-row;padding:0;border:0;border-radius:0;background:#fff}.standings-table tbody td{display:table-cell;min-width:auto;padding:11px 10px;border-bottom:1px solid #edf0f2;white-space:nowrap;vertical-align:middle}.standings-table tbody td:before{display:none!important;content:none!important}.standings-table th{padding:11px 10px}.standings-table th:first-child,.standings-table td:first-child{position:sticky;left:0;z-index:3;width:52px;min-width:52px;background:#fff}.standings-table th:nth-child(2),.standings-table td:nth-child(2){position:sticky;left:52px;z-index:3;width:128px;min-width:128px;background:#fff;box-shadow:8px 0 12px -12px #24384f}.standings-table thead th:first-child,.standings-table thead th:nth-child(2){z-index:4;background:#f8fafc}.standings-table tbody tr:hover td:first-child,.standings-table tbody tr:hover td:nth-child(2){background:#f8fbff}.standings-table.current-table tbody td:nth-child(11){display:table-cell}.standings-table .form-dots{gap:4px}.standings-table .form-dots i{width:22px;height:22px;font-size:.7rem}}

/* Fit the complete current table inside a phone viewport */
@media(max-width:700px){.standings-panel .table-scroll{overflow-x:hidden}.standings-table.current-table{width:100%;min-width:0;table-layout:fixed}.current-table th,.current-table td{position:static!important;left:auto!important;min-width:0!important;box-shadow:none!important;text-align:center!important}.current-table th{height:34px;padding:6px 1px;font-size:0}.current-table th:after{content:attr(data-short);color:#758394;font-size:.58rem;font-weight:800}.current-table td{height:47px;padding:7px 1px!important;overflow:hidden;font-size:.66rem;text-overflow:clip}.current-table th:nth-child(1),.current-table td:nth-child(1){width:8%}.current-table th:nth-child(2),.current-table td:nth-child(2){width:20%;text-align:left!important}.current-table th:nth-child(3),.current-table td:nth-child(3){width:7%}.current-table th:nth-child(4),.current-table td:nth-child(4){width:7%}.current-table th:nth-child(5),.current-table td:nth-child(5),.current-table th:nth-child(6),.current-table td:nth-child(6),.current-table th:nth-child(7),.current-table td:nth-child(7){width:5%}.current-table th:nth-child(8),.current-table td:nth-child(8),.current-table th:nth-child(9),.current-table td:nth-child(9){width:6%}.current-table th:nth-child(10),.current-table td:nth-child(10){width:8%}.current-table th:nth-child(11),.current-table td:nth-child(11){width:23%}.current-table td:nth-child(2){padding-left:3px!important;font-size:.7rem;font-weight:800}.current-table .rank{width:22px;height:22px;margin:auto;border-radius:5px;font-size:.62rem}.current-table .form-dots{justify-content:center;gap:2px}.current-table .form-dots i{width:13px;height:13px;font-size:.45rem}.current-table .points-cell{font-size:.7rem}.standings-panel .form-legend{gap:9px;padding:9px 12px}.standings-panel .form-legend i{width:19px;height:19px;font-size:.6rem}}

.standings-division-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:14px;padding:5px;border-radius:12px;background:#e8ecf2}.standings-division-switch button{height:48px;border:0;border-radius:9px;background:transparent;color:#677586;font-size:.9rem;font-weight:850}.standings-division-switch button.active{background:#fff;color:#225ca9;box-shadow:0 2px 7px rgba(29,51,77,.1)}
@media(max-width:700px){.standings-division-switch{margin-bottom:12px}.standings-division-switch button{height:44px;font-size:.82rem}}

@media(max-width:700px){.standings-table:not(.current-table){width:100%;min-width:0;table-layout:fixed}.standings-table:not(.current-table) th,.standings-table:not(.current-table) td{position:static!important;left:auto!important;min-width:0!important;box-shadow:none!important;text-align:center!important}.standings-table:not(.current-table) th{height:34px;padding:6px 1px;font-size:0}.standings-table:not(.current-table) th:after{content:attr(data-short);color:#758394;font-size:.58rem;font-weight:800}.standings-table:not(.current-table) td{height:47px;padding:7px 1px!important;overflow:hidden;font-size:.66rem;text-overflow:clip}.standings-table:not(.current-table) th:nth-child(1),.standings-table:not(.current-table) td:nth-child(1){width:8%}.standings-table:not(.current-table) th:nth-child(2),.standings-table:not(.current-table) td:nth-child(2){width:25%;text-align:left!important}.standings-table:not(.current-table) th:nth-child(3),.standings-table:not(.current-table) td:nth-child(3){width:8%}.standings-table:not(.current-table) th:nth-child(4),.standings-table:not(.current-table) td:nth-child(4){width:8%}.standings-table:not(.current-table) th:nth-child(5),.standings-table:not(.current-table) td:nth-child(5),.standings-table:not(.current-table) th:nth-child(6),.standings-table:not(.current-table) td:nth-child(6),.standings-table:not(.current-table) th:nth-child(7),.standings-table:not(.current-table) td:nth-child(7){width:6%}.standings-table:not(.current-table) th:nth-child(8),.standings-table:not(.current-table) td:nth-child(8),.standings-table:not(.current-table) th:nth-child(9),.standings-table:not(.current-table) td:nth-child(9){width:7%}.standings-table:not(.current-table) th:nth-child(10),.standings-table:not(.current-table) td:nth-child(10){width:19%}.standings-table:not(.current-table) td:nth-child(2){padding-left:3px!important;font-size:.7rem;font-weight:800;text-overflow:ellipsis}.standings-table:not(.current-table) .rank{width:22px;height:22px;margin:auto;border-radius:5px;font-size:.62rem}.standings-table:not(.current-table) .points-cell{font-size:.7rem}}

/* Season history and award archive */
.history-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:18px 20px;background:#f8fafc;border-bottom:1px solid var(--line)}.history-categories{display:flex;flex-wrap:wrap;gap:6px}.history-categories button{min-height:34px;padding:6px 12px;border:1px solid #dce3ea;border-radius:7px;background:#fff;color:#607083;font-size:.72rem;font-weight:800}.history-categories button.active{border-color:#2b66b4;background:#285f9f;color:#fff}.history-sort{display:flex;flex:0 0 126px;flex-direction:column;gap:5px;color:#748292;font-size:.66rem;font-weight:750}.history-sort select{height:36px;padding:0 9px;border:1px solid #d5dde6;border-radius:7px;background:#fff;color:#263f59;font-size:.75rem}.history-panel>.history-division-switch{margin:14px 20px}.history-list{padding:0 20px 18px}.history-season-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:64px;padding:11px 2px;border-bottom:1px solid var(--line)}.history-season-row:last-child{border-bottom:0}.history-season-row time{color:#245c99;font-size:.9rem;font-weight:900;font-variant-numeric:tabular-nums}.champion-row>div{display:flex;min-width:0;flex-direction:column;gap:3px}.champion-row strong{overflow:hidden;color:#223d58;font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.champion-row span,.champion-row small{color:#7c8996;font-size:.68rem}.champion-row>small{color:#2a64a8;font-weight:750}.champion-row:hover{background:#f8fbff}.award-row{align-items:start;grid-template-columns:72px minmax(0,1fr)}.award-season-content{display:grid;gap:10px}.award-entry{display:grid;grid-template-columns:minmax(150px,.34fr) minmax(0,1fr);gap:16px}.award-entry h3{margin:2px 0;color:#53677c;font-size:.72rem}.award-entry ul{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0;padding:0;list-style:none}.award-entry li{color:#243f59;font-size:.78rem;line-height:1.65}.award-entry li:not(:last-child):after{content:"";display:inline-block;width:3px;height:3px;margin-left:12px;border-radius:50%;background:#c3ccd5;vertical-align:middle}
@media(max-width:700px){.history-toolbar{align-items:stretch;flex-direction:column;padding:13px}.history-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.history-categories button{min-width:0;padding:5px 3px;font-size:.64rem}.history-sort{width:100%;flex-basis:auto}.history-panel>.history-division-switch{margin:12px 13px}.history-list{padding:0 13px 12px}.history-season-row{grid-template-columns:52px minmax(0,1fr);gap:10px;min-height:58px;padding:9px 1px}.champion-row>small{display:none}.history-season-row time{font-size:.78rem}.champion-row strong{font-size:.8rem}.champion-row span{font-size:.62rem}.award-entry{display:block}.award-entry h3{margin:0 0 4px;font-size:.64rem}.award-entry ul{display:block}.award-entry li{font-size:.71rem;line-height:1.65}.award-entry li:not(:last-child):after{display:none}}
/* Complete match results */
.match-search-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.match-search-toolbar label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#66778a;font-size:.72rem;font-weight:800}.match-search-toolbar select{width:100%;height:42px;padding:0 34px 0 11px;border:1px solid #d6dee7;border-radius:8px;background-color:#f8fafc;color:#243f59;font-size:.82rem;font-weight:750}.match-search-toolbar select:focus{border-color:#73a5df;outline:2px solid #dceaff;outline-offset:0}
.match-edition-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:12px;padding:5px;border-radius:12px;background:#e8ecf2}.match-edition-tabs button{height:46px;border:0;border-radius:9px;background:transparent;color:#647486;font-size:.82rem;font-weight:850}.match-edition-tabs button.active{background:#fff;color:#225ca9;box-shadow:0 2px 7px rgba(29,51,77,.1)}.match-division-switch{margin-bottom:12px}.match-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 20px;border-bottom:1px solid var(--line);background:#f8fafc}.match-filter label{display:flex;flex-direction:column;gap:6px;color:#66778a;font-size:.72rem;font-weight:750}.match-filter select{height:40px;padding:0 10px;border:1px solid #d6dee7;border-radius:8px;background:#fff;color:#243f59;font-size:.8rem}.source-note{color:#748392;font-size:.7rem}.match-result-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 20px}.match-result-card{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.match-result-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;background:#f7f9fb;color:#718092;font-size:.66rem}.match-result-card header time{color:#38536e;font-weight:800}.match-result-card header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-scoreline{display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:7px;min-height:50px;padding:7px 10px}.match-scoreline>strong{overflow:hidden;color:#263f58;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.match-scoreline>strong:last-child{text-align:right}.match-scoreline>div{display:flex;flex-direction:column;align-items:center}.match-scoreline b{color:#1f405f;font-size:1.1rem;font-variant-numeric:tabular-nums}.match-pk{margin-top:2px;color:#7b8794;font-size:.6rem}.match-meta{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:6px 10px;border-top:1px solid var(--line);color:#758392;font-size:.68rem}.match-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-meta a{padding:5px 7px;border-radius:6px;background:#eaf2ff;color:#225ea8;font-weight:850;white-space:nowrap}.match-meta a:hover{background:#dceaff}.match-pagination{padding-top:4px}
.match-filter.match-club-filter{grid-template-columns:minmax(0,320px)}
@media(max-width:900px){.match-result-list{grid-template-columns:1fr}}
@media(max-width:700px){.match-search-toolbar{gap:6px;padding:10px}.match-search-toolbar label{font-size:.68rem}.match-search-toolbar select{height:40px;padding-left:8px;font-size:.75rem}.match-edition-tabs button{height:42px;font-size:.76rem}.match-filter{padding:12px 13px}.match-result-list{gap:7px;padding:9px 13px}.match-result-card header{padding:6px 9px}.match-scoreline{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);min-height:48px;padding:6px 9px}.match-scoreline b{font-size:1.05rem}.match-meta{gap:6px;padding:6px 9px}.match-meta a{padding:5px 6px}.match-results-panel .panel-head{padding:13px}}
@media(max-width:420px){.match-search-toolbar{grid-template-columns:1fr 1fr}.match-search-toolbar label:first-child{grid-column:1/-1}.match-filter,.match-club-filter{grid-template-columns:1fr}.match-meta{font-size:.65rem}}
/* Referee archive */
.muted{color:#98a3ae;font-size:.7rem}.official-link{color:#245f9f;font-weight:800}.referee-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.referee-filter{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(5,minmax(115px,1fr)) auto;align-items:end;gap:9px;padding:16px 20px;border-bottom:1px solid var(--line);background:#f8fafc}.referee-filter label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#718092;font-size:.68rem;font-weight:750}.referee-filter input,.referee-filter select{width:100%;height:42px;padding:0 11px;border:1px solid #d8dfe7;border-radius:8px;background:#fff;color:#22384e;font-size:.8rem}.referee-filter button{height:42px;padding:0 19px;border:0;border-radius:8px;background:#244d7a;color:#fff;font-size:.8rem;font-weight:800}.referee-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 20px 20px}.referee-card{display:flex;min-width:0;min-height:78px;flex-direction:column;justify-content:center;gap:8px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff}.referee-card:hover{border-color:#aac1dc;background:#fbfdff;box-shadow:0 4px 14px rgba(31,64,95,.06)}.referee-card-line{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px}.referee-identity{display:flex;min-width:0;align-items:center;gap:8px}.referee-card strong{overflow:hidden;color:#1f405f;font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.referee-card small{overflow:hidden;max-width:100%;color:#84919e;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.association-chip{display:inline-flex;flex:0 0 auto;padding:3px 7px;border-radius:5px;background:#eaf1fa;color:#285d95;font-size:.68rem;font-weight:850}.referee-card-stats{display:flex;flex:0 0 auto;align-items:center;gap:4px}.referee-card-stats span{display:flex;align-items:baseline;gap:3px;padding:4px 7px;border-radius:6px;background:#f4f7fa}.referee-card-stats small{font-size:.68rem}.referee-card-stats b{color:#244f7c;font-size:.82rem}.referee-card-secondary{min-height:22px}.referee-latin{flex:1;min-width:0}.role-tags{display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:4px}.role-tags span,.team-cloud a{padding:3px 7px;border-radius:99px;background:#f0f4f8;color:#536d86;font-size:.68rem;font-weight:750;white-space:nowrap}.referee-profile{padding:22px}.role-stat-strip{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.role-stat-strip span{display:flex;align-items:baseline;gap:6px;padding:7px 10px;border-radius:7px;background:#f4f7fa}.role-stat-strip small{color:#718092;font-size:.64rem}.role-stat-strip b{color:#254e77;font-size:.85rem}.team-cloud{display:flex;flex-wrap:wrap;gap:7px;padding:0 18px 18px}.team-cloud a:hover{background:#e2edf9;color:#1f5791}.assignment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 18px}.assignment-list a{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:8px}.assignment-list a:hover{border-color:#abc1db;background:#f9fcff}.assignment-list span,.assignment-list small{color:#7c8996;font-size:.62rem}.assignment-list strong{overflow:hidden;color:#294760;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.official-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 18px 18px}.official-grid a{display:grid;grid-template-columns:125px minmax(0,1fr) 46px;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px}.official-grid a:hover{border-color:#abc3df;background:#f9fcff}.official-grid span{color:#49729a;font-size:.67rem;font-weight:800}.official-grid strong{color:#203e5b;font-size:.86rem}.official-grid small{color:#7f8c99;font-size:.65rem;text-align:right}
@media(max-width:1200px){.referee-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.referee-filter button{width:100%}}
@media(max-width:800px){.referee-directory,.assignment-list,.official-grid{grid-template-columns:1fr}.referee-filter{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.referee-filter label:first-child{grid-column:1/-1}.referee-filter button{grid-column:1/-1}.assignment-list a{grid-template-columns:90px minmax(0,1fr)}.assignment-list small{grid-column:2}.official-grid a{grid-template-columns:105px minmax(0,1fr) 40px}}
@media(max-width:580px){.referee-summary{grid-template-columns:1fr 1fr}.referee-directory{padding:0 13px 14px}.referee-card{min-height:84px;padding:10px 11px}.referee-card-line{gap:7px}.referee-identity{gap:6px}.referee-card-stats span{padding:4px 5px}.referee-card-stats span:nth-child(3){display:none}.referee-card-secondary{align-items:flex-start;flex-direction:column;gap:5px}.role-tags{max-width:100%;overflow:hidden}.role-tags span{font-size:.64rem}.assignment-list{padding:0 13px 13px}.assignment-list a{grid-template-columns:1fr}.assignment-list small{grid-column:auto}.official-grid{padding:0 13px 13px}.official-grid a{grid-template-columns:1fr auto}.official-grid span{grid-column:1/-1}}

/* Compact single-line referee cards */
.referee-card{display:grid;grid-template-columns:minmax(90px,1fr) auto auto;min-height:54px;align-items:center;gap:7px;padding:8px 10px}.referee-identity{gap:6px}.referee-card-stats{gap:3px}.referee-card-stats span{padding:3px 6px}.referee-card-stats b{font-size:.8rem}.referee-card-stats small{font-size:.66rem}.referee-card .role-tags{min-width:0;max-width:100%;overflow:hidden;gap:3px}.referee-card .role-tags span{padding:3px 6px;font-size:.65rem}.referee-card .association-chip{padding:3px 6px;font-size:.65rem}
@media(max-width:580px){.referee-directory{padding:0 8px 12px}.referee-card{grid-template-columns:minmax(70px,1fr) auto auto;min-height:50px;gap:4px;padding:7px 8px}.referee-card strong{font-size:.84rem}.referee-card-stats span{padding:3px 4px}.referee-card-stats b{font-size:.74rem}.referee-card-stats small{font-size:.6rem}.referee-card .association-chip{padding:2px 4px;font-size:.58rem}.referee-card .role-tags{flex-wrap:nowrap}.referee-card .role-tags span{padding:3px 4px;font-size:.58rem}}

/* Referee profile match filters */
.referee-match-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);background:#f8fafc}.referee-match-filter label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#66778a;font-size:.78rem;font-weight:750}.referee-match-filter select{width:100%;height:42px;padding:0 11px;border:1px solid #d6dee7;border-radius:8px;background:#fff;color:#243f59;font-size:.85rem}.assignment-limit{margin:0;padding:0 18px 16px;color:#768493;font-size:.75rem}.referee-assignments .empty-state{grid-column:1/-1}
@media(max-width:580px){.referee-match-filter{grid-template-columns:1fr 1fr;padding:12px 13px}.referee-match-filter label:last-child{grid-column:1/-1}.referee-match-filter select{height:40px}.assignment-limit{padding:0 13px 13px}}

/* Compact two-line referee assignments */
.referee-assignments .assignment-list{gap:6px;padding-top:10px}.referee-assignments .assignment-list a{display:flex;min-height:58px;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;padding:9px 11px}.assignment-meta{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px}.assignment-meta span,.assignment-meta small{overflow:hidden;color:#7b8795;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.assignment-meta small{text-align:right}.referee-assignments .assignment-list strong{font-size:.85rem;line-height:1.3}
@media(max-width:580px){.referee-assignments .assignment-list{gap:5px;padding:8px 9px 12px}.referee-assignments .assignment-list a{min-height:54px;gap:4px;padding:8px 9px}.assignment-meta{gap:6px}.assignment-meta span,.assignment-meta small{font-size:.66rem}.referee-assignments .assignment-list strong{font-size:.82rem}}
