.round-participation { margin:1rem 0; }
.round-participation-table { overflow-x:auto; margin:.75rem 0; }
.round-participation table { width:100%; border-collapse:collapse; text-align:left; }
.round-participation th,.round-participation td { padding:.65rem; border-bottom:1px solid var(--border-color,#ddd); vertical-align:top; }
.round-participation small { display:block; margin-top:.3rem; }
.round-participation-status { display:block; padding:.3rem .5rem; border-radius:.25rem; }
.round-participation .unavailable,.round-participation-player.unavailable { background:var(--color-status-unavailable-bg,#fcc); }
.team-lifecycle-withdrawn .round-participation-player.unavailable,
.team-lifecycle-dissolved .round-participation-player.unavailable { background:transparent; }
.round-participation-player { display:inline-block; padding:.1rem .3rem; border-radius:.2rem; }
/* Mobile title help decorates the wrapper, so suppress its underline too. */
.round-participation-player.unavailable,
.round-participation-player a { text-decoration:none; }
.round-participation-calendar { margin:1rem 0; padding:.75rem; border:1px solid var(--border-color,#ddd); border-radius:.4rem; }
.round-participation-message,.round-participation [role=status] { margin:.5rem 0; }
.round-participation [role=status]:empty { display:none; }
.round-participation-legend,.round-participation-lock { font-size:.9em; }
.round-participation select,.round-participation button { max-width:100%; }
.round-sub-slot { padding:.75rem 0; border-top:1px solid var(--border-color,#ddd); }
.round-sub-for { display:block; font-weight:normal; font-size:.85em; }
.round-sub-assignment,.subindicator:has(> .round-sub-for) { display:inline-block; vertical-align:top; }
.round-sub-picker { margin-bottom:.75rem; }
.round-sub-picker summary { cursor:pointer; margin-bottom:.65rem; }
.round-sub-picker label { display:block; margin:.5rem 0; }
.round-sub-picker select,.round-sub-picker input { width:100%; box-sizing:border-box; }
.round-sub-picker [hidden] { display:none; }
.round-participation .round-sub-remove { background:transparent; color:inherit; border:1px solid currentColor; }
.round-sub-history li { margin-bottom:.65rem; }
.round-planned-sub { min-width:12rem; margin-bottom:.65rem; }
.round-planned-sub form { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; }
.round-planned-sub label { min-width:0; flex:1 1 10rem; }
.round-planned-sub select { width:100%; }
.round-planned-sub [role=status] { flex-basis:100%; }
#team-profile-availability th:first-child,#team-profile-availability td:first-child { min-width:8.5rem; }
.round-planned-sub-scroll-hint { display:none; }
@media(max-width:600px) {
    .round-participation th,.round-participation td { padding:.5rem .35rem; }
    .round-planned-sub-scroll-hint { display:block; font-size:.9em; }
}
