/* FM27 R27.25.24 – only external Vereinsseite (?page=team&id=...) */
/* Remove the legacy page frame from this view and use all available layout width. */
body.fm27-midnight.fm27-club-detail-page #contentArea{min-width:0;width:100%;max-width:none;flex:0 0 100%}
body.fm27-midnight.fm27-club-detail-page #contentArea>div.fm27-r272-unboxed,
body.fm27-midnight.fm27-club-detail-page #pagecontent,
body.fm27-midnight.fm27-club-detail-page #pagecontent>.fm27-clubsite{width:100%;max-width:none!important;min-width:0;margin-left:0;margin-right:0}
body.fm27-midnight.fm27-club-detail-page #contentArea>div.fm27-r272-unboxed{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite{max-width:none!important;width:100%!important;margin:0 0 28px!important;overflow-x:clip}
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-panels{min-width:0}
/* Keep both loaded AJAX tables visually identical and scroll only the table on small devices. */
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-ajax>.fm27-v8528-external-wrap,
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-ajax>.fm27-r272524-youth-wrap{overflow-x:auto;max-width:100%;width:100%;border-radius:12px}
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-ajax table.fm27-v8528-external-table{width:100%;min-width:690px!important;border-radius:0;margin:0!important}
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-ajax table.fm27-v8528-external-table thead th,
body.fm27-midnight.fm27-club-detail-page .fm27-clubsite-ajax table.fm27-v8528-external-table tbody td{vertical-align:middle}
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-contract{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-contract-expired{color:#f1afad}
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-youth-name{font-weight:760;color:#eef3ff}
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-fee-empty{color:#9fafc7}
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-fee .fm27-r272524-buy{display:inline-flex;align-items:center;gap:5px;margin-left:10px;white-space:nowrap;font-weight:750;font-size:.74rem}
@media(max-width:700px){body.fm27-midnight.fm27-club-detail-page .fm27-r272524-fee .fm27-r272524-buy{margin-left:0;margin-top:6px;display:flex;max-width:max-content}}

/* R27.25.25 – genuine transfer actions remain visible without an extra fee column. */
body.fm27-midnight.fm27-club-detail-page .fm27-r272524-youth-name .fm27-r272524-buy{display:inline-flex;vertical-align:middle;align-items:center;gap:5px;margin-left:10px;white-space:nowrap;font-weight:700;font-size:.73rem}
@media(max-width:700px){body.fm27-midnight.fm27-club-detail-page .fm27-r272524-youth-name .fm27-r272524-buy{display:flex;max-width:max-content;margin:6px 0 0}}
