/* Screen-only mobile reading layer. Desktop tables and printed exports stay intact. */
.mf-mobile-player-identity{display:inline-flex;align-items:center;gap:8px;min-width:0}
.mf-mobile-player-identity>.mf-team-logo{width:28px;height:28px;object-fit:contain;flex:none}
@media screen and (max-width:1280px){
 main .mf-mobile-readable-wrap{overflow:visible;min-width:0;max-width:100%}
 main table.mf-mobile-readable-table{display:block;width:100%;min-width:0!important;max-width:100%;border:0;table-layout:auto}
 main table.mf-mobile-readable-table>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 main table.mf-mobile-readable-table>tbody{display:grid;gap:12px;width:100%}
 main table.mf-mobile-readable-table>tbody>tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;min-width:0;border:1px solid var(--border,#ccd6e2);border-radius:10px;background:var(--surface,#fff);overflow:hidden;box-sizing:border-box}
 main table.mf-mobile-readable-table>tbody>tr>td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;width:auto!important;padding:10px!important;border:0;border-bottom:1px solid var(--border,#ccd6e2);box-sizing:border-box;text-align:left!important;white-space:normal!important;background:transparent;overflow-wrap:anywhere;font-size:14px;line-height:1.45}
 main table.mf-mobile-readable-table>tbody>tr>td::before{content:attr(data-mobile-label);font-size:11px;font-weight:600;line-height:1.3;color:var(--muted,#526477)}
 main table.mf-mobile-readable-table .mf-mobile-cell-wide{grid-column:1/-1}
 main table.mf-mobile-readable-table .mf-team,main table.mf-mobile-readable-table .mf-mobile-player-identity{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;white-space:normal!important}
 main table.mf-mobile-readable-table .mf-team>span,main table.mf-mobile-readable-table .mf-mobile-player-identity>span{min-width:0;white-space:normal!important;overflow-wrap:break-word}
 main table.mf-mobile-readable-table .mf-team-logo{flex:none}
 body main .health-sheets .match-table table a.health-match-link[class][href]{display:flex!important;min-width:0!important;max-width:100%!important;width:100%;white-space:normal!important;box-sizing:border-box}
 main .health-sheets .health-match-link .mf-match-teams{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%;white-space:normal}
 main .health-sheets .health-match-link .mf-match-separator{display:none}
 main .health-sheets .health-match-link .mf-team{white-space:normal;min-width:0;max-width:100%}
 main .health-sheets .health-match-link .mf-team>span{min-width:0;overflow-wrap:break-word;white-space:normal}
 main table.mf-mobile-readable-table progress{width:100%;max-width:220px}
 html[data-theme=dark] main table.mf-mobile-readable-table>tbody>tr{background:#1c2c3d;color:#edf3fa;border-color:#40556d}
 html[data-theme=dark] main table.mf-mobile-readable-table>tbody>tr>td{border-color:#40556d;color:#edf3fa;background:transparent}
 html[data-theme=dark] main table.mf-mobile-readable-table>tbody>tr>td::before{color:#b9c8da}
}
@media screen and (max-width:600px){
 .mf-admin-workspace main>.section.container,.mf-admin-workspace main>.container:not(.section),main.content{padding-left:10px!important;padding-right:10px!important}
 .mf-admin-workspace main>.container.section.standings-content{width:100%!important;box-sizing:border-box;margin-left:0;margin-right:0;padding:12px 10px 20px}
 main .standings-content .standings-panel{padding:10px!important}
 main.content>.card.photographer-dashboard-card{padding:12px}
 main .photographer-dashboard-card #photographer-match-dashboard{padding-left:0;padding-right:0}
 main .mg-card{padding:12px}
 main .mg-people>fieldset{padding-left:10px;padding-right:10px}
 main :is(.match-actions,.profile-actions,.reportage-actions){gap:8px}
 main :is(input,select,textarea){box-sizing:border-box;max-width:100%}
}
@media screen and (max-width:360px){
 main table.mf-mobile-readable-table>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr))}
 main .mg-pair{grid-template-columns:minmax(0,1fr)}
}

@media screen and (min-width:900px) and (max-width:1280px){main table.mf-mobile-readable-table>tbody{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
