/* R27.39 – scoped cup navigation, team crests and the two-phase switch. */
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch{display:inline-flex;align-items:center;gap:5px;max-width:100%;flex-wrap:wrap;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:6px 12px;border-radius:7px;border:1px solid #455979;background:#24344f;color:#d1def2;text-decoration:none;font-weight:750;font-size:.73rem;line-height:1.3;white-space:nowrap;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch a:hover{background:#364769;border-color:#8d7ed3;color:#fff;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch a.is-active{background:#51458d;border-color:#9e8eea;color:#fff;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-club{display:inline-flex;align-items:center;gap:8px;min-width:0;text-align:left;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-club img{height:24px;width:24px;object-fit:contain;flex:0 0 24px;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-club>.bi{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;color:#94a7c6;font-size:1.05rem;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-club span{min-width:0;overflow-wrap:anywhere;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2738-tie-team .fm27-r2739-club{flex:1 1 auto;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2738-cup-table td:nth-child(2){min-width:215px;}
body.fm27-midnight .fm27-r2739-cups .fm27-r2739-no-phase-data{padding:24px 18px;text-align:center;color:#b3c4e0;font-size:.79rem;}
@media(max-width:600px){body.fm27-midnight .fm27-r2739-cups .fm27-r2738-cup-section-title{align-items:stretch;}body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch{width:100%;}body.fm27-midnight .fm27-r2739-cups .fm27-r2739-phase-switch a{flex:1 1 auto;}body.fm27-midnight .fm27-r2739-cups .fm27-r2738-bracket-round{min-width:235px;max-width:235px;}}
