.competitions-view,.competitions-view *{box-sizing:border-box}
.competitions-view{min-width:0}
.competitions-view .competition-summary{display:flex;align-items:center;gap:14px;border-color:#ec7000;background:#202c3d}
.competition-team-identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 250px}
.competition-team-identity img{width:64px;height:64px;flex:none;object-fit:contain;border-radius:12px;background:#fff;padding:5px}
.competition-team-identity div{display:grid;gap:2px;min-width:0}
.competition-team-identity small{font-size:.7rem;font-weight:800;color:#ffad65;letter-spacing:.05em}
.competition-team-identity b{font-size:clamp(1rem,2vw,1.3rem);overflow-wrap:anywhere}
.competition-team-identity span{font-size:.85rem;color:#cbd5e1;overflow-wrap:anywhere}
.competitions-view .competition-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));align-items:stretch}
.competitions-view .competition-card{display:block;min-width:0;padding:18px;border:1px solid #344156;border-top:4px solid #ec7000;background:linear-gradient(155deg,#1b283b,#121b29 70%);box-shadow:0 8px 22px #0002}
.competition-card>div:not(.competition-league-mark){min-width:0;width:100%}
.competition-league-mark{display:grid;place-items:center;width:54px;height:54px;margin-bottom:12px;border-radius:12px;background:#fff2e7;color:#b74800;font-size:1.6rem;font-weight:900}
.competitions-view .competition-league-mark img{width:44px;height:44px;object-fit:contain}
.competitions-view .competition-card h2{font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.2;overflow-wrap:anywhere}
.competitions-view .competition-card p,.competitions-view .competition-card h3{overflow-wrap:anywhere}
.competitions-view .competition-card section,.competitions-view .competition-card details{margin-top:14px;padding:12px;border-radius:10px;background:#243247;max-width:100%;overflow-x:auto}
.competitions-view .competition-card table{min-width:320px;border-collapse:collapse}
.competitions-view .competition-card th,.competitions-view .competition-card td{padding:8px;border-bottom:1px solid #ffffff20}
.competitions-view .competition-card tr[style]{color:#ffad65}
.competition-team-chip{display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #ffffff26;font-size:.78rem;color:#cbd5e1;overflow-wrap:anywhere}
.competitions-view .competition-team-chip img{width:28px;height:28px;object-fit:contain;border-radius:6px;background:#fff;padding:2px}
body.light-mode .competitions-view .competition-summary,body.light-mode .competitions-view .competition-card{background:#fff;color:#172033}
body.light-mode .competitions-view .competition-card section,body.light-mode .competitions-view .competition-card details{background:#f1f5f9}
body.light-mode .competition-team-identity span{color:#475569}
body.light-mode .competition-team-chip{color:#475569;border-color:#cbd5e1}
@media(max-width:700px){.competitions-view .competitions-toolbar{display:grid;grid-template-columns:1fr}.competitions-view .competitions-toolbar label,.competitions-view .competitions-toolbar select,.competitions-view .competitions-toolbar button{width:100%}.competitions-view .competition-summary{align-items:flex-start}.competitions-view .competition-summary small{margin-left:0}.competitions-view .competition-card{padding:15px}}
.module-back-arrow{min-width:44px;min-height:44px;flex:none}
.module-close-bar #module-title{flex:1;min-width:0;margin:0 12px}
.lineup-module-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0;padding:16px;border:1px solid #344156;border-radius:14px;background:#1b2533}
.lineup-module-shortcuts button{min-height:48px;padding:10px 12px;border:1px solid #ec7000;border-radius:9px;background:#b84b00;color:#fff;font-weight:800;cursor:pointer}
.lineup-module-shortcuts button:hover{background:#ec7000}
@media(max-width:760px){.lineup-module-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.module-close-bar{gap:4px;padding:8px}.module-close-bar #module-title{font-size:.9rem;margin:0 4px}.module-close-bar button:last-child{font-size:.75rem}}
@media(max-width:390px){.lineup-module-shortcuts{grid-template-columns:1fr}}

.competition-participant{display:flex;align-items:center;gap:8px;min-width:180px}.competition-participant img{width:28px!important;height:28px!important;object-fit:contain;border-radius:5px;background:#fff;padding:2px;flex:none}.competition-match-crest{width:25px!important;height:25px!important;vertical-align:middle;object-fit:contain;margin:0 5px}.competitions-view .competition-card table td{vertical-align:middle}.competitions-view .competition-card details summary{cursor:pointer;color:#ffac67;font-weight:800}.competitions-view .competition-card details[open]{border:1px solid #f97316}

.account-card dd.pending{color:#fbbf24}
