.matches-directory{width:100%;min-width:0;max-width:none;color:inherit}
.md-controls{display:flex;align-items:end;flex-wrap:wrap;gap:.55rem;margin-block:.75rem}
.md-controls .md-field{display:grid;gap:.25rem;font-size:.85rem;font-weight:600;min-width:0}
.md-controls input,#md-status button{font:inherit;color:inherit;background:var(--surface,Canvas);border:1px solid color-mix(in srgb,currentColor 32%,transparent);border-radius:.45rem;min-height:2.5rem;padding:.35rem .6rem;max-width:100%}
.md-controls .language-control{position:relative;min-width:5rem;max-width:100%}
.md-controls .language-trigger{width:100%;min-width:0;max-width:100%}
.md-controls>.language-trigger{width:auto}
.md-day-navigation{display:flex;align-items:end;gap:inherit;max-width:100%}
.md-controls .language-trigger{box-sizing:border-box;height:var(--fa-control-height-regular);min-height:var(--fa-control-height-regular)}
.md-day-navigation .md-day-arrow{display:inline-grid;grid-template:1fr / 1fr;place-items:center;place-content:center;gap:0;flex:none;width:var(--fa-control-height-regular);padding:0}
.md-field>[data-word]{cursor:default;user-select:none;-webkit-user-select:none}
.md-controls .language-menu{width:max-content;min-width:100%;inset-inline-start:0;inset-inline-end:auto;max-width:min(19rem,90vw);max-height:16rem;overflow-y:auto}
.md-controls .md-field:has([aria-expanded="true"]){position:relative;z-index:50}
.md-controls button:disabled{opacity:.5}
#md-status{min-height:1.6em;margin:.6rem 0}#md-list{min-height:26rem}
#md-list h2{display:grid;grid-auto-flow:column;grid-template-rows:minmax(1.55em,auto);align-content:center;justify-content:start;align-items:end;align-items:last baseline;gap:.45rem;font-size:1rem;padding:.65rem;margin:0;min-height:2.8rem}
#md-list a{color:inherit;text-decoration:none}#md-list :is(.md-team,h2) a:hover{text-decoration:underline}
/* The artwork sits inside a fixed, padded square at every breakpoint. SVG
   viewBoxes differ by country: never clip the original paths to the slot. */
#md-list h2>.md-logo{align-self:center;width:28px;height:28px;box-sizing:border-box;overflow:visible}
#md-list h2>.md-logo img,#md-list h2>.md-logo svg{display:block;width:24px;height:24px;max-width:none;object-fit:contain}
#md-list h2>.md-logo.app-competition-logo-placeholder{border:0;background:transparent;color:inherit}
.md-team{display:flex;align-items:center;gap:.45rem;min-width:0}
.md-team:first-child{justify-content:flex-end;text-align:right}.md-team-name-compact{display:none}.md-team-label{min-width:0;line-height:var(--md-team-line-height,1.25em);overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--md-team-lines);overflow:hidden}
#md-list .md-logo{width:24px;height:24px;flex:none;position:relative;display:inline-grid;place-items:center;overflow:hidden}
#md-list .md-logo:has(img){border:0;background:transparent}
#md-list .md-logo:has(img)::before{display:none}
#md-list .md-logo img{width:100%;height:100%;object-fit:contain}
#md-list .app-competition-logo-placeholder{font-size:.5rem}
.md-row{--md-team-lines:1;--md-detail-lines:1;--md-team-line-height:1.25em;--md-detail-line-height:1.25rem;display:grid;grid-template-rows:max(1.5rem,calc(var(--md-team-lines) * var(--md-team-line-height))) calc(var(--md-detail-lines) * var(--md-detail-line-height));grid-template-columns:minmax(0,1fr) minmax(4rem,auto) minmax(0,1fr);align-items:center;gap:.2rem .6rem;min-height:3.4rem;padding:.35rem;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent);cursor:pointer}
@media(hover:hover) and (pointer:fine){.matches-directory:not([data-scrolling]) .md-row:not(.md-skeleton):hover{background:color-mix(in srgb,var(--fa-shell-accent) 11%,var(--surface))}}
.md-row:has(.md-score:focus-visible){background:color-mix(in srgb,var(--fa-shell-accent) 11%,var(--surface));outline:2px solid var(--focus);outline-offset:-2px}
.md-score{text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.md-row:not(.md-skeleton) small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--md-detail-lines);overflow:hidden}
.md-row small{line-height:var(--md-detail-line-height);text-align:center;grid-column:1/-1;opacity:.8}
#md-list i{border-radius:.25rem;display:inline-block;width:min(7rem,75%);height:.75rem;background:color-mix(in srgb,currentColor 15%,transparent)}
#md-list .md-name-bar{width:8rem;align-self:center}
.md-skeleton .md-logo{border-radius:50%;background:color-mix(in srgb,currentColor 10%,transparent)}
#md-list .md-team-bar{height:.75rem;min-width:0;background:color-mix(in srgb,currentColor 15%,transparent)}
.md-skeleton :is(.md-score,small){display:grid;place-items:center}
.md-skeleton .md-score{line-height:inherit;min-height:1lh}
.md-skeleton small{min-height:var(--md-detail-line-height)}
.md-skeleton small i{max-width:5rem}
#md-list .md-skeleton .md-score i{width:2.5rem;height:1em}
@media(max-width:540px){.md-controls{gap:.35rem}.md-controls .md-field{max-width:100%}#md-list .md-logo{width:20px;height:20px}
 #md-list h2>.md-logo{width:24px;height:24px}
 #md-list h2>.md-logo img,#md-list h2>.md-logo svg{width:20px;height:20px}}

.matches-directory{container-type:inline-size}
.md-filters{display:grid;grid-template-columns:9rem 15rem minmax(0,25rem);margin-block-end:.35rem}
#md-status:empty{min-height:0;margin:0}
.md-filters :is(.language-trigger,input){box-sizing:border-box;width:100%;height:var(--fa-control-height-regular);min-height:var(--fa-control-height-regular)}
.md-filters .language-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#md-current:disabled{cursor:default;pointer-events:none}
@container(max-width:44rem){
 .md-controls:not(.md-filters){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.45rem}
 .md-controls:not(.md-filters)>.md-field{width:100%;min-width:0}
 .md-controls:not(.md-filters) .language-control{width:100%;min-width:0}
 .md-controls:not(.md-filters) .language-trigger{width:100%}
 .md-day-navigation{display:grid;grid-template-columns:var(--fa-control-height-regular) minmax(0,1fr) var(--fa-control-height-regular);gap:.35rem;min-width:0;width:100%}
 .md-day-navigation>.md-field{min-width:0}
 .md-controls:not(.md-filters)>#md-current{grid-column:1/-1;justify-self:center;width:max-content;max-width:100%;padding-inline:1rem;display:inline-grid;place-items:center;text-align:center}
 .md-row{--md-team-line-height:1.18em;--md-detail-line-height:1.05rem;--md-detail-lines:1;font-size:.84rem;grid-template-columns:minmax(0,1fr) minmax(2.75rem,max-content) minmax(0,1fr);column-gap:.15rem;row-gap:.12rem;min-height:0;padding:.22rem 0}
 .md-team{gap:.2rem}
 .md-filters{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
 .md-filters .md-search{grid-column:1/-1}
}

#md-list h2 small{font-weight:400;color:var(--muted,currentColor)}
@container(max-width:24rem){#md-list h2{min-height:calc(3.1em + 1.3rem)}}
@container(max-width:36rem){
 #md-list h2 .md-leg{display:none}
 .md-team-name-full{display:none}
 .md-team-name-compact{display:inline}}
