/* Scoped to the read-only card section; no global layout overrides. */
.ys-redcards{min-width:0;scroll-margin-top:90px}
.ys-redcards .panel-title p{margin:5px 0 0}
.ys-redcards-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:16px 0 12px}
.ys-redcards-filters label{display:grid;gap:6px;flex:1 1 180px;min-width:0;font-size:13px;font-weight:600}
.ys-redcards-filters :is(select,input){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.ys-redcards-filters button{flex:0 0 auto;min-height:42px}
.ys-redcards-nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 18px;font-size:13px}
.ys-redcards-nav a{display:inline-flex;align-items:center;min-height:36px}
.ys-redcards-league{min-width:0;margin:20px 0 0}
.ys-redcards-league h4{margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid #dee5ed;overflow-wrap:anywhere}
.ys-redcards-list,.ys-redcards-events{list-style:none;padding:0;margin:0}
.ys-redcards-player{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid #e6eaf0;min-width:0}
.ys-redcards-person{display:flex;gap:10px;align-items:start;min-width:0}
.ys-redcards-person .ys-home-portrait{flex:0 0 40px;width:40px;height:40px}
.ys-redcards-identity,.ys-redcards-context{display:grid;align-content:start;gap:5px;min-width:0;overflow-wrap:anywhere}
.ys-redcards-identity strong{font-size:14px;line-height:1.4}
.ys-redcards-identity span,.ys-redcards-context small{font-size:12px;line-height:1.5;color:#64748b}
.ys-redcards-context>a{font-size:13px;font-weight:600;line-height:1.4}
.ys-redcards-events{display:grid;gap:4px;margin-top:4px;color:#a52235;font-size:12px;font-weight:600;line-height:1.5}
.ys-redcards .ys-redcards-warning{font-size:12px;line-height:1.5;color:#8a4b10}
.ys-redcards-note{font-size:12px;line-height:1.7;margin:16px 0 0}
@media(max-width:600px){
 .ys-redcards-player{grid-template-columns:minmax(0,1fr);gap:10px}
 .ys-redcards-context{padding-left:50px}
 .ys-redcards-filters label:first-of-type{flex-basis:100%}
}
@media(max-width:350px){.ys-redcards-context{padding-left:0}.ys-redcards-filters button{width:100%}}
