/* ElosPlay V4.2 — compact desktop discovery; preserve V4.1 mobile and game mechanics. */
/* Desktop wide: search and functional filters share one horizontal row, so cards appear sooner. */
@media (min-width:1310px){
 .ep4-shell .ep4-library{gap:8px!important}
 .ep4-shell .main-content{padding-top:10px}
 .ep4-shell .ep4-hero{min-height:58px;max-height:66px;padding:9px 19px;border-radius:14px}
 .ep4-hero-copy{max-width:calc(100% - 165px);display:flex;align-items:center;gap:18px;min-width:0}
 .ep4-hero-kicker{display:none!important}
 .ep4-hero h1{font-size:clamp(20px,1.55vw,24px);margin:0;white-space:nowrap;flex-shrink:0;letter-spacing:-.042em}
 .ep4-hero p:not(.ep4-hero-kicker){font-size:11px;padding-left:16px;border-left:1px solid #a8d9d4;line-height:1.28;max-width:435px}
 .ep4-hero-art{width:108px;height:102px;top:-18px;right:29px}
 .ep4-explore{display:grid;grid-template-columns:minmax(265px,1.08fr) minmax(620px,1.92fr);align-items:center;column-gap:9px;row-gap:7px;padding:9px 11px}
 .ep4-explore .ep4-search{grid-column:1;grid-row:1;margin:0}
 .ep4-explore .ep4-filter-row{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(165px,1.1fr) minmax(146px,1fr) minmax(146px,1fr) minmax(97px,auto);gap:7px;min-width:0}
 .ep4-explore .ep4-filter-row label{min-width:0;padding:3px 6px;min-height:44px;gap:4px}
 .ep4-explore .ep4-field-icon{flex-basis:17px;font-size:15px}
 .ep4-explore .ep4-filter-row select{font-size:10px;text-overflow:ellipsis;min-width:0}
 .ep4-explore .ep4-filter-row strong{font-size:9px}
 .ep4-explore .ep4-advanced{min-width:93px;min-height:43px}
 .ep4-explore .ep4-advanced>summary{font-size:10px;padding:7px 8px;min-height:43px}
 .ep4-explore .ep4-categories{grid-column:1/-1;grid-row:2;gap:5px}
 .ep4-shortcuts{gap:7px}
 .ep4-shortcut{min-height:43px;padding:5px 9px;gap:7px}
 .ep4-shortcut-icon{width:28px;height:28px;flex-basis:28px;font-size:16px}
 .ep4-shortcut strong{font-size:11px}
 .ep4-shortcut small{font-size:9px}
 .ep4-shell .ep4-results-head{min-height:31px;padding-top:0}
 .ep4-shell .ep4-activity-card .ep4-cover{height:124px}
 .ep4-shell .ep4-activity-card .ep4-card-body{gap:3px;padding:9px 11px 8px}
 .ep4-shell .ep4-activity-card .v2-card-description{min-height:27px;max-height:29px;line-height:1.3}
 .ep4-shell .ep4-activity-card .v2-card-actions{margin-top:3px}
 .ep4-shell .ep4-activity-card .ep4-card-more{margin-top:0}
}
/* Intermediate desktop: keep compact two-row filters with an optional subtle intro. */
@media (min-width:791px) and (max-width:1309px){
 .ep4-shell .ep4-hero{min-height:73px;max-height:82px;padding:10px 17px}
 .ep4-hero-copy{max-width:calc(100% - 130px)}
 .ep4-hero h1{font-size:23px}
 .ep4-hero-art{width:123px;height:119px;top:-17px;right:13px}
 .ep4-explore{padding:9px 10px;gap:6px}
 .ep4-shortcut{min-height:46px}
 .ep4-shortcut small{font-size:9px}
}
/* More compact on touch devices, without hiding participant selection or advanced filters. */
@media(max-width:790px){
 .ep4-shell .ep4-hero{min-height:91px;max-height:107px}
 .ep4-shell .ep4-library{gap:8px!important}
 .ep4-shell .ep4-explore{gap:7px;padding:8px}
 .ep4-shell .ep4-results-head{min-height:31px}
 .ep4-shell .ep4-activity-card .v2-mechanic-tag{line-height:1.25}
}
/* Cover must fill its entire panel without overlaying card actions or meta. */
.ep4-shell .ep4-activity-card .ep4-cover{overflow:hidden}
.ep4-shell .ep4-activity-card .ep4-cover img{height:100%;width:100%;display:block;object-fit:cover;object-position:center center}
.ep4-shell .ep4-activity-card .v2-mechanic-tag{overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(prefers-reduced-motion:reduce){.ep4-shell .ep4-activity-card{animation:none;transition:none}}
