/* FM27 R27.17 – Finance/Stadium refinements + football world full-width pages. */
body.fm27-midnight .fm27-r2716-finance .fm27-r2716-ledger{margin:18px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.fm27-midnight .fm27-r2716-finance .fm27-r2717-ledger-divider{height:1px;background:#36475f;margin:0 0 14px}
body.fm27-midnight .fm27-r2716-finance .fm27-r2717-ledger-title{font-size:1.05rem;line-height:1.25;font-weight:700;color:#f5f8ff;margin:0 0 12px;padding:0}
body.fm27-midnight .fm27-r2716-finance .fm27-r2715-ledger-empty{display:flex;align-items:center;gap:8px}
body.fm27-midnight .fm27-r2715-stadium .fm27-r2715-stadium-layout{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;gap:16px!important;align-items:start!important}
body.fm27-midnight .fm27-r2715-stadium .fm27-r2717-stadium-main,body.fm27-midnight .fm27-r2715-stadium .fm27-r2717-stadium-side{display:flex;flex-direction:column;gap:14px;min-width:0}
body.fm27-midnight .fm27-r2715-stadium .fm27-r2717-stadium-side{height:100%}
body.fm27-midnight .fm27-r2715-stadium .fm27-r2717-side-capacity{display:block!important;flex:1 1 auto;min-width:0}
body.fm27-midnight .fm27-r2715-stadium .fm27-r2717-side-capacity .fm27-s74-capacity{height:100%}
@media(max-width:1030px){body.fm27-midnight .fm27-r2715-stadium .fm27-r2715-stadium-layout{grid-template-columns:minmax(0,1fr)!important}}
body.fm27-midnight .fm27-r2717-world-shell{display:flex;flex-direction:column;gap:18px;min-width:0}
body.fm27-midnight .fm27-r2717-world-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:2px 0}
body.fm27-midnight .fm27-r2717-eyebrow{display:inline-block;font-size:.72rem;letter-spacing:.16em;font-weight:700;color:#7ea3d7;margin:0 0 4px}
body.fm27-midnight .fm27-r2717-world-intro h2{margin:0 0 6px;font-size:1.6rem;line-height:1.1;color:#fff}
body.fm27-midnight .fm27-r2717-world-intro p{margin:0;color:#aebed5;font-size:.94rem}
body.fm27-midnight .fm27-r2717-world-content{min-height:24px}
body.fm27-midnight .fm27-r2717-inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:14px 16px;background:rgba(22,33,61,.42);border:1px solid #2d3b56;border-radius:16px}
body.fm27-midnight .fm27-r2717-inline-form .form-label{margin:0;font-weight:600;color:#dbe7f6}
body.fm27-midnight .fm27-r2717-inline-form .form-select{max-width:360px;background:#14203a;border-color:#31415e;color:#eef4ff}
body.fm27-midnight .fm27-r2717-news-list{display:grid;gap:14px}
body.fm27-midnight .fm27-r2717-news-item{padding:18px 20px;border-radius:18px;background:rgba(22,33,61,.46);border:1px solid #2d3b56}
body.fm27-midnight .fm27-r2717-news-item h3{margin:0 0 8px;font-size:1.18rem}
body.fm27-midnight .fm27-r2717-news-item h3 a{color:#fff;text-decoration:none}body.fm27-midnight .fm27-r2717-news-item h3 a:hover{color:#98f0d5}
body.fm27-midnight .fm27-r2717-news-meta{font-size:.82rem;color:#86a0c3;margin-bottom:8px}
body.fm27-midnight .fm27-r2717-news-item p{margin:0;color:#c7d4e8;line-height:1.55}
body.fm27-midnight .fm27-r2717-readmore{display:inline-flex;align-items:center;gap:6px;margin-top:12px;color:#94e9ce;text-decoration:none;font-weight:600}body.fm27-midnight .fm27-r2717-readmore:hover{text-decoration:underline}
body.fm27-midnight .fm27-r2717-table-wrap{border:1px solid #2d3b56;border-radius:18px;background:rgba(22,33,61,.46);overflow:hidden}
body.fm27-midnight .fm27-r2717-table-wrap table{margin:0;color:#eef4ff}
body.fm27-midnight .fm27-r2717-table-wrap thead th{background:#192643;color:#9eb7d9;border-bottom-color:#324463;font-size:.78rem;letter-spacing:.03em;text-transform:uppercase}
body.fm27-midnight .fm27-r2717-table-wrap tbody td{background:transparent;border-color:#2f3e5d;vertical-align:middle}
body.fm27-midnight .fm27-r2717-user-cell,body.fm27-midnight .fm27-r2717-club-cell{display:flex;align-items:center;gap:10px;min-width:0}
body.fm27-midnight .fm27-r2717-club-col a,body.fm27-midnight .fm27-r2717-highscore-table a{color:#fff;text-decoration:none}body.fm27-midnight .fm27-r2717-club-col a:hover,body.fm27-midnight .fm27-r2717-highscore-table a:hover{color:#98f0d5}
body.fm27-midnight .fm27-r2717-club-cell small{display:block;margin-top:2px;color:#8ca5c8;font-size:.78rem}
body.fm27-midnight .fm27-r2717-disabled-choice{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);color:#9cb1cb;font-size:.78rem;font-weight:600}
body.fm27-midnight .fm27-r2717-stars{display:inline-flex;gap:2px;color:#ffd85a;white-space:nowrap}
body.fm27-midnight .fm27-r2717-switcher{gap:8px;border-bottom:0}
body.fm27-midnight .fm27-r2717-switcher .nav-link{border:1px solid #31415e;border-radius:999px!important;background:rgba(22,33,61,.42);color:#d6e3f3;font-weight:600;display:inline-flex;align-items:center;gap:7px;padding:.6rem .95rem}
body.fm27-midnight .fm27-r2717-switcher .nav-link.active{background:#1f8d6e;border-color:#1f8d6e;color:#fff}
body.fm27-midnight .fm27-r2717-accordion .accordion-item{border:1px solid #2d3b56;border-radius:16px!important;background:rgba(22,33,61,.46);overflow:hidden;margin-bottom:12px}
body.fm27-midnight .fm27-r2717-accordion .accordion-button{background:#192643;color:#eef4ff;box-shadow:none;font-weight:700;display:flex;gap:12px;align-items:center}
body.fm27-midnight .fm27-r2717-accordion .accordion-button:not(.collapsed){background:#1d2b49;color:#fff}
body.fm27-midnight .fm27-r2717-accordion .accordion-button::after{filter:invert(1) brightness(2)}
body.fm27-midnight .fm27-r2717-accordion .accordion-body{padding:0}
body.fm27-midnight .fm27-r2717-accordion-count{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:26px;padding:0 10px;border-radius:999px;background:rgba(148,233,206,.15);color:#94e9ce;font-size:.78rem}
body.fm27-midnight .fm27-r2717-empty{display:flex;align-items:center;gap:10px;padding:18px 20px;border-radius:18px;background:rgba(22,33,61,.46);border:1px solid #2d3b56;color:#d9e7f7}
body.fm27-midnight .fm27-r2717-world-context{min-height:10px}
body.fm27-midnight .fm27-r2717-freeclubs-table th:nth-child(3),body.fm27-midnight .fm27-r2717-freeclubs-table th:nth-child(4),body.fm27-midnight .fm27-r2717-freeclubs-table th:nth-child(5),body.fm27-midnight .fm27-r2717-freeclubs-table td:nth-child(3),body.fm27-midnight .fm27-r2717-freeclubs-table td:nth-child(4),body.fm27-midnight .fm27-r2717-freeclubs-table td:nth-child(5){white-space:nowrap}
@media(max-width:768px){body.fm27-midnight .fm27-r2717-world-intro h2{font-size:1.35rem}body.fm27-midnight .fm27-r2717-inline-form{padding:12px}body.fm27-midnight .fm27-r2717-switcher{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}body.fm27-midnight .fm27-r2717-switcher .nav-link{white-space:nowrap}}
