.tournament-leader-buttons,.competition-heading-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
.tournament-leader-buttons button{min-height:40px;padding:8px 11px;border:1px solid #446476;border-radius:7px;background:#142e40;color:#d7ebf5;font:inherit;font-size:12px;font-weight:750;line-height:1.25;cursor:pointer;overflow-wrap:anywhere}
.tournament-leader-buttons button:hover{border-color:#c3e572;color:#dcff94}
.table-panel>.section-heading:has(.tournament-leader-buttons),.national-cup-heading:has(.tournament-leader-buttons),.iv42-panel>.section-heading:has(.tournament-leader-buttons){align-items:center;gap:12px;flex-wrap:wrap}
.modal.modal-tournament-leaders{width:min(650px,100%);max-height:calc(100dvh - max(12px,var(--safe-t,0px)) - max(12px,var(--safe-b,0px)));padding:24px;overflow-y:auto;overscroll-behavior:contain}
.competition-leaders-content{min-width:0}
.competition-leaders-content>.eyebrow{display:block;padding-right:40px;overflow-wrap:anywhere}
.competition-leaders-content h2{font-size:clamp(22px,4vw,30px);margin:8px 36px 15px 0;overflow-wrap:anywhere}
.competition-leader-tabs{display:flex;gap:8px;margin:0 0 12px}
.competition-leader-tabs .btn{flex:1;min-width:0;min-height:44px;padding:8px;font-size:12px;white-space:normal}
.competition-leader-list{display:grid;gap:6px}
.competition-leader-row{display:grid;grid-template-columns:24px 27px minmax(0,1fr) 58px;align-items:center;gap:10px;padding:11px 10px;border:1px solid #38586c;border-radius:8px;background:#0f2637}
.competition-leader-row.your-player{border-color:#a6c650;background:#233a32}
.competition-leader-row>b{color:#90aeba;font-size:12px}
.competition-leader-row .club-badge{width:26px;height:28px}
.competition-leader-row>span{min-width:0}
.competition-leader-row>span>strong{display:block;color:#eff8fc;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.competition-leader-row small{display:block;margin-top:3px;color:#a4bdce;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.competition-leader-row>div{text-align:right;min-width:0}
.competition-leader-row>div>strong{color:#d9fc7b;font-size:22px;font-variant-numeric:tabular-nums}
.competition-leaders-note{font-size:11px;line-height:1.4;margin-top:14px}
.rewarded-transfer-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin:0 0 18px;border-color:#667d42;background:linear-gradient(115deg,#203a33,#102638)}
.rewarded-transfer-card>div{min-width:0}
.rewarded-transfer-card h3{font-size:17px;margin:0 0 5px;color:#e4f5cb;overflow-wrap:anywhere}
.rewarded-transfer-card p{font-size:12px;color:#acc5d0;line-height:1.4;margin:0;max-width:550px}
.rewarded-transfer-card>.btn{flex:none;min-height:44px;max-width:100%;font-size:12px;white-space:normal}
.rewarded-transfer-card>.btn>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){
 .competition-heading-tools{justify-content:flex-start;width:100%}
 .tournament-leader-buttons{justify-content:flex-start;flex:1}
 .tournament-leader-buttons button{min-height:44px;flex:1}
 .competition-heading-tools>.tag{flex:none}
 .modal.modal-tournament-leaders{padding:18px 14px}
 .competition-leader-row{gap:7px;padding:10px 8px;grid-template-columns:20px 24px minmax(0,1fr) 47px}
 .competition-leader-row>span>strong{font-size:12px}
 .competition-leader-row small{font-size:10px}
 .rewarded-transfer-card{flex-direction:column;align-items:stretch;gap:12px;padding:16px}
 .rewarded-transfer-card>.btn{width:100%}
 .modal-negotiation .negotiation-window,.modal-negotiation .negotiation-header>div,.modal-negotiation .negotiation-response,.modal-negotiation .contract-terms-grid>div,.modal-negotiation .number-selection,.modal-negotiation .number-selection>*{min-width:0}
 .modal-negotiation .number-selection{grid-template-columns:minmax(0,90px) minmax(0,1fr)}
 .modal-negotiation .contract-terms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .modal-negotiation .contract-terms-grid b,.modal-negotiation .contract-ready h3{overflow-wrap:anywhere}
 .modal-negotiation .contract-terms-grid>div{padding:10px 8px}
 .modal .modal-footer .btn{overflow-wrap:anywhere}
 .modal-season .sponsor-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
}
@media(max-width:400px){
 .modal-season .modal-footer,.modal-season-offers .modal-footer,.modal-negotiation .modal-footer{flex-direction:column;align-items:stretch}
 .modal-season .modal-footer>.btn,.modal-season-offers .modal-footer>.btn,.modal-negotiation .modal-footer>.btn{width:100%;flex:none;min-height:44px}
}
@media(max-width:700px){
 .modal-negotiation .negotiation-header h2{font-size:clamp(20px,5.5vw,27px)!important;line-height:1.15;overflow-wrap:anywhere}
 .modal-negotiation .negotiation-header .eyebrow{overflow-wrap:anywhere}
}

@media(max-width:400px){.sponsor-options{grid-template-columns:minmax(0,1fr)}}
