/* Approved section separation, scoped to Matches. Navigation and card styling are owned by their existing stylesheets. */
html body.wp-excellence.wp-match-sections main.players-layout>.trainer-results-panel{
 background:#fff!important;border:1px solid #d5dce6!important;border-radius:18px!important;
 box-shadow:0 8px 22px #19313b08!important;
}
html body.wp-match-sections .match-results-head{
 background:#f4f1fb;border-top:3px solid #7752c6;border-bottom:1px solid #d9dfe9;
 padding:22px 18px!important;border-radius:12px 12px 0 0;margin-bottom:24px!important;
}
/* The extra filter introduction belongs to the phone layout only. */
html body.wp-match-sections .wp-match-filter-heading{display:none}
/* Phone: the full-width filter title is the first visible part of this card. */
@media(max-width:760px){
 html body.wp-excellence.wp-match-sections{background:#e9eff2}
 html.wp-mobile-results-first body.wp-excellence.wp-match-sections main.players-layout{gap:30px!important}
 html body.wp-excellence.wp-match-sections main.players-layout>.trainer-filter-panel{
  background:#e7f1ef!important;border:1px solid #b8d4cf!important;border-radius:18px!important;
  box-shadow:none!important;
 }
html body.wp-match-sections .wp-match-filter-heading{
 display:block;
 background:#cee5e2;border-top:3px solid #168982;border-bottom:1px solid #b7d4d0;
 padding:22px 18px;border-radius:12px 12px 0 0;margin:20px 0 24px;color:#164b49;
}
/* Compact search actions; preserve the original submit/reset controls and hit areas. */
html body.wp-excellence.wp-match-sections #player-filter-form>button[type="submit"]{
 position:relative!important;display:flex!important;justify-content:center!important;align-items:center!important;
 min-height:48px!important;padding:12px 42px!important;border-radius:12px!important;
 margin:0!important;box-shadow:none!important;text-align:center;gap:0!important;
}
html body.wp-match-sections #player-filter-form>button[type="submit"]>span:last-child{
 position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:16px;
}
html body.wp-excellence.wp-match-sections #player-filter-form>#player-reset{
 display:flex;justify-content:center;align-items:center;gap:7px;
 min-height:44px!important;padding:8px 12px!important;margin:4px 0 0!important;
 border:0!important;border-radius:8px!important;background:transparent!important;
 box-shadow:none!important;color:#526576!important;font-size:13px!important;font-weight:600;
}
html body.wp-match-sections #player-reset:hover{text-decoration:underline}
html body.wp-match-sections #player-reset:focus-visible{outline:2px solid #168982;outline-offset:2px}
html body.wp-match-sections .wp-match-filter-heading p{font-size:10px;letter-spacing:1.2px;margin:0 0 6px;font-weight:700}
html body.wp-match-sections .wp-match-filter-heading h2{font-size:18px;line-height:1.2;margin:0;color:#164b49}
 html.wp-mobile-results-first body.wp-match-sections .wp-match-filter-heading{margin:0 0 22px}
 html.wp-mobile-results-first body.wp-match-sections #player-filter-form .personal-search-mode{background:transparent}
 html.wp-mobile-results-first body.wp-match-sections #player-filter-form>button[type="submit"]{position:relative!important}
 html.wp-mobile-results-first body.wp-excellence.wp-match-sections .match-results-head{
  box-sizing:border-box;width:calc(100% + 24px);margin:-16px -12px 22px!important;
  border-radius:17px 17px 0 0;
 }
 html.wp-mobile-results-first body.wp-match-sections #player-search-heading>.wp-search-first-filter-heading{display:none}
 html.wp-mobile-results-first body.wp-match-sections #player-filter-form>.wp-search-first-selection{display:none}
 /* Match the adjacent field text; retain the input's 16px anti-zoom size. */
 html.wp-mobile-results-first body.wp-match-sections #player-origin::placeholder{font-size:var(--wp-mobile-type-control,var(--wp-search-control-font))}
 /* Calm region labels; keep the existing full-size checkbox hit areas. */
 html.wp-mobile-results-first body.wp-match-sections #player-region-options .chip label{
  font-size:var(--wp-mobile-type-control,var(--wp-search-control-font))!important;font-weight:600!important;
  white-space:normal!important;overflow-wrap:anywhere;hyphens:auto;
 }
 html.wp-mobile-results-first body.wp-match-sections #player-region-options .chip label::before{
  flex:0 0 16px!important;width:16px!important;min-width:16px!important;
  height:16px!important;min-height:16px!important;font-size:10px!important;font-weight:600!important;
 }
 html.wp-mobile-results-first body.wp-match-sections #player-region-options .chip input:checked+label::before{
  background:transparent!important;border-color:#168982!important;color:#087f7a!important;
 }
 html.wp-mobile-results-first body.wp-match-sections #player-filter-form>.wp-match-filter-heading{
  box-sizing:border-box;width:calc(100% + 32px);margin:-16px -16px 22px;
  border-radius:17px 17px 0 0;
 }
}
