/* v911 Zugauswertung: Reiter Planung | Besetzung | Nicht gefahren | Statistik (alle Bildschirmgroessen, Entscheidung 18.10.2026).
   Ohne data-train-view (Mitgliederansicht) bleibt alles sichtbar. Kompakte zweizeilige Zeilen in "Am laengsten nicht Zug gefahren" bis 600 px. */
#train[data-train-view="plan"] [data-train-pane]:not([data-train-pane="plan"]),#train[data-train-view="crew"] [data-train-pane]:not([data-train-pane="crew"]),#train[data-train-view="never"] [data-train-pane]:not([data-train-pane="never"]),#train[data-train-view="stats"] [data-train-pane]:not([data-train-pane="stats"]){display:none}
#train[data-train-view] section[data-train-pane]{margin-top:14px}
html body.allianceRefresh #train .trainViewTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 0}
html body.allianceRefresh #train .trainViewTabs a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;box-sizing:border-box;border:1px solid var(--ae-60849a,#60849a);border-radius:8px;background:var(--ae-21455c,#21455c);color:var(--ae-cce7f8,#cce7f8);font-weight:700;font-size:14px;text-align:center;text-decoration:none;line-height:1.2}
html body.allianceRefresh #train .trainViewTabs a:hover{border-color:var(--ae-ffb15e,#ffb15e)}
html body.allianceRefresh #train .trainViewTabs a:focus-visible{outline:2px solid var(--ae-ffb15e,#ffb15e);outline-offset:2px}
html body.allianceRefresh #train .trainViewTabs a.active{background:var(--ae-ffb15e,#ffb15e);border-color:var(--ae-ffb15e,#ffb15e);color:var(--ae-112636,#112636)}
html body.allianceRefresh #train .trainViewCount{display:inline-block;min-width:22px;padding:2px 7px;box-sizing:border-box;border-radius:999px;background:var(--ae-ffcb91,#ffcb91);color:var(--ae-112636,#112636);font-size:12px;line-height:1.4}
html body.allianceRefresh #train .trainViewTabs a.active .trainViewCount{background:var(--ae-112636,#112636);color:var(--ae-ffcb91,#ffcb91)}
html body.allianceRefresh #train .trainNeverCount{display:inline-flex;align-items:baseline;gap:6px;margin:10px 0 0;padding:6px 12px;border-radius:999px;background:var(--ae-ffb15e24,rgba(255,177,94,.14));color:var(--ae-ffcb91,#ffcb91);font-size:13px}
html body.allianceRefresh #train .trainNeverCount b{font-size:16px}
@media(max-width:600px){
html body.allianceRefresh #train .trainViewTabs{grid-template-columns:repeat(2,minmax(0,1fr))}
html body.allianceRefresh #train .trainViewTabs a{font-size:13px;padding:9px 8px}
html body.allianceRefresh #train .trainLastRideHeader{display:none}
html body.allianceRefresh #train .trainLastRideRow{grid-template-columns:24px minmax(0,1fr) auto;grid-template-areas:"rank player player" "rank last duration";column-gap:8px;row-gap:2px;padding:8px 10px;font-size:13px}
html body.allianceRefresh #train .trainLastRideRow>b:first-child{grid-area:rank;align-self:start;padding-top:4px}
html body.allianceRefresh #train .trainLastRideRow>.playerIdentity{grid-area:player;min-width:0}
html body.allianceRefresh #train .trainLastRideRow>.playerIdentity>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.allianceRefresh #train .trainLastRideRow .avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;box-sizing:border-box;font-size:14px;object-fit:cover}
html body.allianceRefresh #train .trainLastRideRow>.trainNever+.trainBreakDuration{display:none}
html body.allianceRefresh #train .trainLastRideRow>span{grid-area:last;font-size:12px;color:var(--ae-a9c7da,#a9c7da)}
html body.allianceRefresh #train .trainLastRideRow>span.trainNever{color:var(--ae-ffcb91,#ffcb91)}
html body.allianceRefresh #train .trainLastRideRow>.trainBreakDuration{grid-area:duration;grid-column:auto;font-size:12px;text-align:right}
}
