/* Competition-specific structure; shared foundation owns colors and controls. */
.competition-gallery img { max-width:100%; height:auto; }
.competition-standings { min-width:540px; }
.competition-standings th:first-child { min-width:180px; }
.competition-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ui-space-5); }
.competition-summary { align-self:start; }
.competition-season-picker,.competition-season-picker form { display:flex; align-items:end; flex-wrap:wrap; gap:var(--ui-space-4); }
.competition-season-picker { justify-content:space-between; }
.competition-season-picker .ui-field { min-width:130px; }
.competition-card-heading { display:flex; align-items:center; gap:var(--ui-space-4); margin-bottom:var(--ui-space-4); }
.competition-card-heading img { object-fit:contain; flex-shrink:0; }
.competition-event { display:flex; justify-content:space-between; flex-wrap:wrap; gap:var(--ui-space-4); padding-block:var(--ui-space-5); border-bottom:1px solid var(--ui-line); }
.competition-event:first-of-type { padding-top:0; }
.competition-event:last-child { border-bottom:0; padding-bottom:0; }
.competition-event-main { min-width:0; flex:1 1 240px; }
.competition-meta,.competition-points { display:flex; align-items:center; flex-wrap:wrap; gap:var(--ui-space-3); margin-bottom:var(--ui-space-2); }
.competition-points > span { display:flex; align-items:center; gap:var(--ui-space-2); }
.competition-event p { margin-block:var(--ui-space-2); }
.competition-event-links { display:flex; flex-direction:column; gap:var(--ui-space-2); align-items:flex-start; justify-content:center; }
.competition-note { margin-top:var(--ui-space-4); }
.competition-roster { min-width:0; }
.competition-roster > div > .ui-list { margin-top:var(--ui-space-4); }
@media(max-width:800px) { .competition-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .competition-card-heading img { width:60px; height:72px; } .competition-season-picker { gap:var(--ui-space-3); } .competition-event { padding-block:var(--ui-space-4); } .competition-event-links { width:100%; } }
