.pro-workspace{max-width:1450px;margin:0 auto;padding:28px 32px;color:#234637}.pro-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.pro-heading h1{font-size:26px;margin:0 0 8px}.pro-heading p{color:#7b9384;font-size:14px;margin:0}.pro-workspace button,.pro-dialog button{font:inherit;cursor:pointer;border:1px solid #d4e4da;border-radius:8px;padding:9px 14px;background:#fff;color:#375e48}.pro-workspace button:hover,.pro-dialog button:hover{background:#edf7f0}.pro-workspace button:disabled{opacity:.5;cursor:default}.pro-workspace button[aria-pressed=true]{background:#e5f4e9;border-color:#87b69b;color:#087f5b;font-weight:600}.pro-filters{padding:20px;border:1px solid #dbe7df;border-radius:12px;background:#fff;display:grid;gap:16px}.pro-regions,.pro-date,.pro-competitions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.pro-regions button{min-width:128px}.pro-date label{font-size:13px;display:flex;align-items:center;gap:9px}.pro-date input,.pro-date select,.pro-dialog input,.pro-dialog select{font:inherit;border:1px solid #d3e2d8;border-radius:7px;padding:9px;color:#2e523f;background:#fff}.pro-competitions{padding-top:15px;border-top:1px solid #edf1ee}.pro-competitions button{border-color:transparent;padding:7px 14px}.pro-matches{display:grid;gap:12px;margin:16px 0}.pro-match{background:#fff;border:1px solid #dce8e0;border-radius:12px;padding:18px;display:grid;grid-template-columns:150px 1fr 100px;gap:18px;align-items:center}.pro-match-meta{display:grid;gap:7px;font-size:12px;color:#7a9183}.pro-match-meta strong{color:#476d54}.pro-opponents{display:grid;grid-template-columns:1fr 100px 1fr;align-items:center;gap:12px;text-align:center}.pro-opponents strong{font-size:17px}.pro-score{display:grid;gap:5px;font-size:23px;font-variant-numeric:tabular-nums}.pro-score small{font-size:11px;color:#8b9d91;font-weight:400}.pro-source{font-size:12px;color:#819689;line-height:1.8}.pro-source p{margin:4px 0}.pro-source a{color:#087f5b}.pro-empty{background:#fff;border:1px dashed #d6e4da;border-radius:12px;padding:48px 20px;text-align:center;color:#809688}.pro-dialog{width:min(700px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:32px;color:#234637;box-shadow:0 25px 70px #102c2333}.pro-dialog::backdrop{background:#102c2388}.pro-close{position:absolute;right:16px;top:14px;border:0!important;font-size:24px!important;padding:2px 7px!important}.pro-dialog h2{font-size:22px;margin:6px 0 20px}.pro-dialog h3{font-size:16px;margin:24px 0 14px}.pro-dialog .pro-opponents{margin:25px 0}.pro-detail-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:13px;color:#7d9384}.pro-create-form{display:grid;gap:16px;border-top:1px solid #e3ece6;margin-top:24px;padding-top:4px}.pro-create-form label{display:grid;gap:7px;font-size:13px}.pro-form-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pro-dialog .primary{background:#087f5b;color:white;border-color:#087f5b;padding:12px}.pro-dialog .pro-notice{background:#f0f7f2;border:1px solid #d7e8dc;border-radius:9px;padding:12px;font-size:13px;line-height:1.8}.pro-error{color:#ad5142!important}.pro-dialog [role=status]{font-size:13px;color:#a55140}.pro-source-caption{margin:20px 0 0;color:#83978a;font-size:12px;line-height:1.8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #88baa1;outline-offset:2px}
@media(max-width:950px){.pro-workspace{padding:22px 18px}.pro-match{grid-template-columns:1fr 80px}.pro-match-meta{grid-column:1/-1;display:flex;flex-wrap:wrap}.pro-opponents strong{font-size:15px}.pro-opponents{grid-template-columns:1fr 75px 1fr}}@media(max-width:600px){.pro-heading{align-items:flex-start;flex-wrap:wrap}.pro-workspace{padding:20px 12px}.pro-filters{padding:13px}.pro-match{padding:14px;gap:12px}.pro-opponents{gap:5px;grid-template-columns:1fr 60px 1fr}.pro-opponents strong{font-size:13px}.pro-score{font-size:19px}.pro-match button{padding:8px}.pro-dialog{padding:26px 18px}.pro-form-two{gap:10px}.pro-date{font-size:12px}.pro-date label{font-size:12px}}

.pro-workspace [hidden],.pro-dialog [hidden]{display:none!important}

/* Compact filters share one row on desktop, wrapping only on narrower windows. */
.pro-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;border-radius:8px}
.pro-regions,.pro-date,.pro-competitions{gap:4px;flex-wrap:nowrap}
.pro-regions button{min-width:0}
.pro-workspace .pro-filters button{font-size:12px;line-height:18px;padding:6px 9px;border-radius:6px;white-space:nowrap}
.pro-competitions{padding:0;border:0}
.pro-competitions button{padding-inline:7px!important}
.pro-date{margin-left:auto}
.pro-date label{font-size:12px;white-space:nowrap;gap:5px}
.pro-date input,.pro-date select{height:32px;padding:4px 6px;font-size:12px;max-width:136px}
#proStatus:empty,.pro-source:has(#proSource:empty):has(#proUpdate:empty):has(#proSourceLink[hidden]){display:none}
@media(max-width:1100px){.pro-date{margin-left:0}.pro-filters{gap:8px}.pro-competitions{overflow-x:auto;max-width:100%}}

/* Match details put the two rosters first; creation is a compact secondary action. */
.pro-dialog{width:min(900px,94vw);padding:28px 30px;overscroll-behavior:contain}
.pro-dialog h2{font-size:20px;margin:4px 32px 16px 0}
.pro-dialog .pro-opponents{margin:24px 0}
.pro-dialog .pro-opponents strong{font-size:20px}
.pro-detail-meta{font-size:12px;gap:8px 18px;line-height:1.8}
.pro-lineup-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e3ece6;margin-top:22px;padding-top:18px}
.pro-dialog .pro-lineup-title h3{margin:0;font-size:16px}
.pro-dialog #proCreate{font-size:12px;padding:6px 10px;white-space:nowrap;border-color:#bad7c7;background:#f2f8f4;color:#087f5b}
.pro-lineups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:14px}
.pro-lineup{border:1px solid #e0eae3;border-radius:10px;overflow:hidden;min-width:0}
.pro-lineup header{display:flex;align-items:center;gap:10px;padding:16px 14px;background:#f7faf8;min-height:70px}
.pro-lineup header>div{flex:1;min-width:0}
.pro-lineup h4{font-size:15px;margin:0;overflow-wrap:anywhere}
.pro-lineup header p{font-size:11px;color:#7a9183;margin:5px 0 0}
.pro-team-mark{display:grid;place-items:center;flex:0 0 30px;height:34px;border-radius:6px 6px 12px 12px;background:#dfefe6;color:#277353;font-size:12px;font-weight:600}
.pro-team-crest{flex:0 0 30px;width:30px;height:34px;object-fit:contain}
.pro-lineup-away .pro-team-mark{background:#e4edf7;color:#466d99}
.pro-formation{border:1px solid #dce6df;border-radius:5px;padding:4px 6px;font-size:11px;white-space:nowrap}
.pro-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px 8px}
.pro-roster-heading h5{font-size:12px;margin:0;color:#466653}
.pro-roster-heading small{font-size:10px;color:#879b8d}
.pro-player-list{list-style:none;margin:0;padding:0 14px 10px}
.pro-player-list li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #eff3f0;line-height:1.4}
.pro-player-list li:last-child{border:0}
.pro-shirt{display:grid;place-items:center;flex:0 0 24px;height:24px;font-size:11px;font-variant-numeric:tabular-nums;background:#f0f5f1;border-radius:5px;color:#50745e}
.pro-player-name{flex:1;font-size:12px;min-width:0;overflow-wrap:anywhere}
.pro-player-list small{font-size:10px;color:#8a9c90;max-width:35%;text-align:right}
.pro-roster-empty{display:grid;justify-items:center;align-content:center;min-height:135px;color:#92a497;font-size:12px}
.pro-roster-empty svg{width:36px;height:36px;stroke:#bed0c3;stroke-width:1.5;fill:none}
.pro-roster-empty p{margin:10px 0}
.pro-bench-empty{font-size:11px;color:#92a497;margin:4px 14px 18px}
#proCreateStatus:empty{display:none}
@media(max-width:600px){.pro-dialog{padding:24px 16px}.pro-lineups{grid-template-columns:1fr}.pro-dialog .pro-opponents strong{font-size:16px}.pro-dialog .pro-opponents{grid-template-columns:1fr 70px 1fr}}
