.roster-admin-row{display:grid;grid-template-columns:minmax(130px,2fr) 72px minmax(125px,1fr) 42px;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #2b5876}.roster-admin-row input,.roster-admin-row select{min-width:0;width:100%;border:1px solid #5791b1;background:#f4faff;color:#123e5c;border-radius:8px;padding:10px 7px}.roster-admin-row .admin-btn{padding:9px 6px}.roster-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.roster-admin-actions .admin-btn{font-size:12px}.roster-admin-help{font-size:12px;color:#afdcf0}.admin-main-tabs{flex-wrap:wrap}.admin-main-tab{min-width:120px}@media(max-width:520px){.roster-admin-row{grid-template-columns:minmax(80px,1fr) 48px minmax(82px,1fr) 36px;gap:4px}.roster-admin-row input,.roster-admin-row select{font-size:11px;padding:7px 3px}.admin-main-tab{min-width:95px;font-size:11px}.roster-admin-actions{display:grid}.roster-admin-actions .admin-btn{width:100%}}
/* V66 — tableau de référence Ligue Europa sur mobile et ordinateur. */
.eu-roster-editor{margin-top:22px;padding:17px;border:1px solid #29658a;background:#0c2946;border-radius:14px;color:#ebf8ff}.eu-roster-editor h3{font-size:18px;color:#74d7ff}.eu-roster-editor p{font-size:13px;line-height:1.6;color:#bfd9e9}.eu-roster-date{display:block;font-weight:700;margin:16px 0}.eu-roster-date input{display:block;margin-top:8px;padding:9px;color:#143954;background:#fff;border:1px solid #58a5c9;border-radius:8px}.eu-roster-scroll{overflow-x:auto;margin:12px 0 16px;border-radius:9px;border:1px solid #2f6787;scrollbar-color:#5b9bb9 #0d2c4b}.eu-roster-table{width:100%;min-width:660px;border-collapse:collapse;text-align:center}.eu-roster-table th,.eu-roster-table td{padding:10px 7px;border-bottom:1px solid #274d65;font-size:12px}.eu-roster-table thead th{background:#1a4565;color:#d6f3ff}.eu-roster-table tbody th{text-align:left;min-width:155px}.eu-roster-table tbody tr:nth-child(even){background:#123654}.eu-roster-table input{width:60px;max-width:100%;padding:8px 4px;border:1px solid #72accc;border-radius:6px;background:#eff9ff;color:#073256;text-align:center;font-weight:800;font-size:14px}.eu-roster-table input:focus{outline:2px solid #5ee2ff}@media(max-width:520px){.eu-roster-editor{padding:11px}.eu-roster-table th,.eu-roster-table td{padding:8px 5px}.eu-roster-table input{width:52px}}

/* V67 — photos des fiches joueurs dans Admin → Effectif. */
.player-photos-editor{margin-top:22px;padding:17px;border:1px solid #29658a;background:#0b2946;border-radius:14px;color:#edfaff}
.player-photos-editor h3{color:#74d7ff;font-size:18px;margin:0 0 8px}.player-photos-editor p{font-size:13px;line-height:1.6;color:#bfd9e9}
.player-photos-grid{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:start}
.player-photos-controls label{display:block;font-size:13px;font-weight:800;margin:14px 0 7px}
.player-photos-controls select,.player-photos-controls input[type=file]{display:block;width:100%;min-width:0;background:#f0f8ff;color:#10334d;border:1px solid #72b9d6;border-radius:9px;padding:11px;font-size:14px}
.player-photos-controls small{display:block;color:#b6d7e9;margin:7px 0 12px;font-size:11px;line-height:1.5}
.player-photos-controls .extra-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.player-photos-preview{min-height:240px;padding:9px;border:1px dashed #62aecb;border-radius:12px;background:#061e35;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
.player-photos-preview img{height:187px;width:164px;object-fit:cover;object-position:center 22%;border-radius:8px}
.player-photos-preview #photoPlayerFallback{width:164px;height:187px;display:grid;place-items:center;color:#9ecce0;background:#164361;border-radius:8px;font-weight:800;font-size:12px}
.player-photos-preview #photoPlayerCaption{font-size:12px;font-weight:800;color:#d4f2ff;text-align:center}
@media(max-width:650px){.player-photos-editor{padding:12px}.player-photos-grid{grid-template-columns:minmax(0,1fr)}.player-photos-preview{min-height:190px;flex-direction:row;justify-content:flex-start}.player-photos-preview img,.player-photos-preview #photoPlayerFallback{width:125px;height:150px;flex:0 0 125px}}

/* V74 — recadrage tactile des portraits, avant leur publication. */
.player-photos-preview img{width:160px;height:192px;object-position:center center}
.player-photos-preview #photoPlayerFallback{width:160px;height:192px}
.photo-crop-dialog[hidden]{display:none!important}
.photo-crop-dialog{position:fixed;inset:0;z-index:99999;background:rgba(1,12,26,.88);display:flex;align-items:center;justify-content:center;padding:14px;overflow-y:auto;overscroll-behavior:contain}
.photo-crop-panel{width:min(100%,435px);max-height:calc(100dvh - 28px);overflow-y:auto;box-sizing:border-box;background:#0d2a46;border:1px solid #5da5c8;border-radius:17px;padding:18px;color:#f1faff;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.photo-crop-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.photo-crop-heading h3{margin:0;color:#83e0ff;font-size:20px}
.photo-crop-heading .photo-crop-close{border:1px solid #648fac;border-radius:8px;padding:9px 13px;background:#123c59;color:white;font-size:18px;cursor:pointer}
.photo-crop-panel p{color:#c0dfed;font-size:12px;line-height:1.5;margin:10px 0 12px}
#photoCropCanvas{display:block;width:min(100%,300px);height:auto;aspect-ratio:5/6;margin:0 auto;border:2px solid #89dcf4;border-radius:10px;background:#041d32;touch-action:none;cursor:grab}
#photoCropCanvas:active{cursor:grabbing}
.photo-crop-zoom{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:800;margin-top:13px}
#photoCropZoom{width:100%;margin:11px 0 10px;accent-color:#43c9fa;height:25px;touch-action:pan-x}
.photo-crop-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:7px}
.photo-crop-actions button{font-size:12px;flex:1 1 120px;padding:11px 8px}
@media(max-width:650px){.player-photos-preview img,.player-photos-preview #photoPlayerFallback{width:125px;height:150px;flex:0 0 125px}.photo-crop-panel{padding:12px}.photo-crop-dialog{padding:8px}.photo-crop-actions button{min-height:44px}}
