.tour-discovery .tour-search{display:flex;flex-wrap:wrap;gap:10px}
.tour-discovery .tour-search>label{flex:1 1 240px;min-width:0}
.tour-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1 1 100%;order:2}
.tour-discovery .tour-filter-fields label{display:flex;flex-direction:column;align-items:stretch;gap:5px;background:transparent;padding:0;border:0;min-width:0;font-size:11px;color:#607970}
.tour-filter-fields select{width:100%;min-width:0;height:38px;padding:4px 9px;border-radius:11px;border:1px solid #d7e5de;background:#fff;font:inherit;color:#244d40}
#tournament-results{scroll-margin-top:85px}
@media(max-width:700px){
 html:has(body.page-home),html:has(body.page-matchmaking){scroll-snap-type:none;scroll-padding-block:76px 104px}
 body{--mobile-section-height:calc(100svh - 174px)}
 #tp-page-main .oc-hero,#tp-page-main #social-tab-panel,#tp-page-main #club-ranking{min-height:var(--mobile-section-height)!important;box-sizing:border-box;scroll-snap-align:none;scroll-margin-block:12px;}
 #tp-page-main #home-events,#tp-page-main #home-players,#tp-page-main #home-ranking,#tp-page-main .hp-open-play{min-height:0!important;height:auto!important;box-sizing:border-box;scroll-margin-block:12px;}
 .page-home #home-quicknav{position:relative!important;top:auto!important}
 .page-home #home-players{display:flex;flex-direction:column;justify-content:center}
 .page-home .home-modern .hps-stage{height:clamp(230px,calc(100svh - 360px),370px)!important}
 .page-home .home-modern .hps-card,.page-home .home-modern .hps-card[data-pos]{height:calc(100% - 24px)!important;min-height:206px}
 .page-home .hps-foot{padding-block:8px 14px!important}.page-home .hps-foot p{margin-block:6px!important}
 .page-matchmaking #social-results-content{max-height:max(300px,calc(100svh - 320px));overflow:auto;scrollbar-width:thin;overscroll-behavior:auto}
 .page-matchmaking .oc-hero{grid-template-columns:1fr}.page-matchmaking .oc-hero-copy{padding:24px}
 .tour-filter-fields{gap:6px}.tour-discovery .tour-search>label{flex-basis:180px}.tour-discovery .tour-search>.btn{padding-inline:12px;font-size:11px}
 .tour-pagination{position:relative;justify-content:center;gap:8px;padding:14px}
}
@media(prefers-reduced-motion:reduce){html:has(body.page-home),html:has(body.page-matchmaking){scroll-snap-type:none}}

/* Keep filtering compact, with an inline disclosure instead of a floating panel. */
#tournament-results .tour-search{display:grid!important;grid-template-columns:minmax(0,1fr) 36px;gap:7px!important;align-items:start;padding:0!important}
#tournament-results .tour-search>label{grid-column:1;grid-row:1;min-width:0;height:38px!important;padding:0 10px!important;border:1px solid #d8e5df!important;border-radius:12px!important;box-sizing:border-box}
#tournament-results .tour-search>label input{min-width:0!important;width:100%!important;height:34px!important;font-size:12px!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
#tournament-results .tour-search-submit{grid-column:2;grid-row:1;display:grid;place-items:center;height:38px;border:0;border-radius:11px;background:#e1efdb;color:#31573c;cursor:pointer}
#tournament-results .tour-filter-toggle{grid-column:1/-1;min-width:0;border:0;padding:0;background:none;box-shadow:none}
#tournament-results .tour-filter-toggle summary{display:flex;align-items:center;gap:6px;list-style:none;font-size:11px;font-weight:750;color:#456a5b;width:max-content;padding:5px 0;cursor:pointer}
#tournament-results .tour-filter-toggle summary::-webkit-details-marker{display:none}
#tournament-results .tour-filter-toggle summary:after{content:'⌄';margin-inline-start:5px}
#tournament-results .tour-filter-toggle[open] summary:after{content:'⌃'}
#tournament-results .tour-filter-toggle summary b{display:grid;place-items:center;background:#e0edce;border-radius:50%;width:17px;height:17px;font-size:10px}
#tournament-results .tour-filter-fields{margin-top:7px;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#tournament-results .tour-filter-fields label{display:flex!important;align-items:stretch!important;background:none!important;border:0!important;padding:0!important;min-width:0!important;max-width:100%;font-size:10px!important;box-shadow:none!important}
#tournament-results .tour-filter-fields select{width:100%!important;min-width:0!important;height:34px!important;padding:3px 5px!important;font-size:11px!important}
#tournament-results .tour-filter-apply{margin-top:9px;height:32px;padding:4px 15px;font-size:11px}
#tournament-results .tour-search-clear{grid-column:1/-1;font-size:10px}
