/* FM27 V10.73.9 club/sponsor surface – FM26-inspired dense navigation. */
body.fm27-midnight :is(.fm27-clean-domain-title){margin:0 0 11px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.fm27-midnight .fm27-clean-domain-title h1{font-size:clamp(1.45rem,2.5vw,2rem)!important;font-weight:800!important;color:#f5f7ff!important;margin:0!important}
body.fm27-midnight .fm27-management-bands{display:grid;gap:7px;margin:0 0 16px;min-width:0}
body.fm27-midnight :is(.fm27-management-primary,.fm27-management-secondary){background:linear-gradient(110deg,#125c54,#134e48);border:1px solid #417e73;color:#f5fffd;box-shadow:inset 0 1px 0 #ffffff12}
body.fm27-midnight .fm27-management-primary{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;padding:12px 16px;min-height:64px;border-radius:11px 11px 3px 3px}
body.fm27-midnight .fm27-management-kicker{display:flex;align-items:center;gap:9px;color:#eefcf8;font-size:13px;font-weight:820;letter-spacing:.02em;margin-right:auto}
body.fm27-midnight .fm27-management-kicker i{font-size:17px;color:#a7efdd}
body.fm27-midnight .fm27-management-stat{display:grid;gap:3px;min-width:115px;max-width:255px;padding-left:14px;border-left:1px solid #d6f0e52c}
body.fm27-midnight .fm27-management-stat>span{font-size:11px;font-weight:650;color:#b9e0d7}
body.fm27-midnight .fm27-management-stat>strong{font-size:14px;color:#fff;font-weight:800;overflow-wrap:anywhere}
body.fm27-midnight .fm27-management-section-name{font-size:12px;color:#c7e8df;font-weight:670}
body.fm27-midnight .fm27-management-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:6px 10px;min-height:46px;border-radius:3px 3px 11px 11px}
body.fm27-midnight .fm27-management-secondary a{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;color:#c4e7df;font-size:12px;font-weight:670;padding:8px 11px;border:1px solid transparent;border-radius:8px;white-space:nowrap}
body.fm27-midnight .fm27-management-secondary a:hover,body.fm27-midnight .fm27-management-secondary a:focus-visible{color:#fff;background:#ffffff19;border-color:#ffffff3c}
body.fm27-midnight .fm27-management-secondary a.is-active{color:#fff;background:#129784;border-color:#66c5b3}
/* Sponsor management – compact contextual cards rather than old OWS listing. */
body.fm27-midnight .fm27-sponsor-current{background:linear-gradient(115deg,#1b3442,#1f3047);border:1px solid #4c8679;border-radius:13px;padding:17px 19px;margin-bottom:20px}
body.fm27-midnight .fm27-sponsor-current-title{display:flex;justify-content:space-between;align-items:start;gap:15px}
body.fm27-midnight .fm27-sponsor-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;color:#9adaca}
body.fm27-midnight .fm27-sponsor-current h2{font-size:20px!important;margin:3px 0 0!important}
body.fm27-midnight .fm27-sponsor-state{color:#aeecd5;background:#175d4c;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:770;white-space:nowrap}
body.fm27-midnight .fm27-sponsor-current-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
body.fm27-midnight .fm27-sponsor-current-facts>div{border-top:1px solid #4c6d74;padding-top:9px;display:grid;gap:4px}
body.fm27-midnight .fm27-sponsor-current-facts span{color:#b6cec8;font-size:11px}
body.fm27-midnight .fm27-sponsor-current-facts strong{font-size:16px;color:#fff;font-variant-numeric:tabular-nums}
body.fm27-midnight .fm27-sponsor-section-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin:0 0 10px}
body.fm27-midnight .fm27-sponsor-section-title h2{font-size:17px!important;margin:0!important}
body.fm27-midnight .fm27-sponsor-section-title>span{color:#acbcd2;font-size:11px}
body.fm27-midnight .fm27-sponsor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
body.fm27-midnight .fm27-sponsor-offer{background:#202c43;border:1px solid #42536e;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:10px;min-width:0}
body.fm27-midnight .fm27-sponsor-offer.is-active{border-color:#4eaa92;background:#203c42}
body.fm27-midnight .fm27-sponsor-offer-top{display:flex;align-items:start;justify-content:space-between;gap:8px}
body.fm27-midnight .fm27-sponsor-offer h3{font-size:16px!important;margin:5px 0 0!important}
body.fm27-midnight .fm27-sponsor-chip{padding:4px 7px;border-radius:6px;background:#37425b;color:#d4dfef;font-size:10px;white-space:nowrap}
body.fm27-midnight .fm27-sponsor-chip.is-active{background:#197860;color:#fff}
body.fm27-midnight .fm27-sponsor-offer-desc{font-size:12px;color:#bfcee0;line-height:1.5;margin:0;min-height:34px}
body.fm27-midnight .fm27-sponsor-main-number{display:grid;gap:4px;padding:10px 0;border-top:1px solid #3d4e65;border-bottom:1px solid #3d4e65}
body.fm27-midnight .fm27-sponsor-main-number span{font-size:11px;color:#bfd1e3}
body.fm27-midnight .fm27-sponsor-main-number strong{font-size:clamp(17px,2vw,22px);font-weight:830;color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.fm27-midnight .fm27-sponsor-terms{display:grid;gap:0;margin:0}
body.fm27-midnight .fm27-sponsor-terms div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;border-bottom:1px solid #34445d}
body.fm27-midnight .fm27-sponsor-terms dt{color:#c0cce0;font-size:11px;font-weight:550}
body.fm27-midnight .fm27-sponsor-terms dd{margin:0;color:#f1f4ff;font-size:12px;font-weight:760;text-align:right;font-variant-numeric:tabular-nums}
body.fm27-midnight .fm27-sponsor-term-highlight dt,body.fm27-midnight .fm27-sponsor-term-highlight dd{color:#9ee6d2}
body.fm27-midnight .fm27-sponsor-locked{font-size:11px;color:#a9c0d4;border:1px solid #475771;border-radius:7px;text-align:center;padding:9px 6px;margin-top:auto}
body.fm27-midnight .fm27-sponsor-offer.is-active .fm27-sponsor-locked{color:#bcead9;border-color:#4b917d}
body.fm27-midnight .fm27-sponsor-select{margin-top:auto;font-size:12px}
body.fm27-midnight .fm27-sponsor-empty,body.fm27-midnight .fm27-sponsor-notice{border-radius:10px;border:1px solid #54617a;background:#222c44;padding:13px 16px;color:#dce5f5;margin-bottom:15px;font-size:12px}
body.fm27-midnight .fm27-finance-ledger-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:21px 0 10px}
body.fm27-midnight .fm27-finance-ledger-title h2{font-size:18px!important;margin:0!important}
body.fm27-midnight .fm27-finance-ledger-title span{font-size:11px;color:#adbdd4}
@media(max-width:1000px){body.fm27-midnight .fm27-sponsor-grid{grid-template-columns:1fr}body.fm27-midnight .fm27-sponsor-offer-desc{min-height:0}}
@media(max-width:680px){body.fm27-midnight .fm27-management-primary{padding:10px 12px;gap:10px}body.fm27-midnight .fm27-management-kicker{flex:1 1 100%}body.fm27-midnight .fm27-management-stat{min-width:115px;flex:1 1 140px;padding-left:10px}body.fm27-midnight .fm27-management-secondary a{flex:1 1 auto;padding:8px;font-size:11px}body.fm27-midnight .fm27-sponsor-current-facts{grid-template-columns:1fr}body.fm27-midnight .fm27-sponsor-current{padding:14px}body.fm27-midnight .fm27-sponsor-state{font-size:10px}}

/* Compact finance/club panels: keep server-owned forms intact. */
body.fm27-club-page .fm27-office-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin:6px 0 22px}
body.fm27-club-page .fm27-office-tile{position:relative;display:grid;grid-template-rows:35px auto auto;gap:7px;min-height:145px;align-content:start;padding:17px;border:1px solid #3d516d;border-radius:12px;background:#1d2b42;text-decoration:none;color:#d5e2f3}
body.fm27-club-page .fm27-office-tile>i:first-child{font-size:23px;color:#8cd7c6}
body.fm27-club-page .fm27-office-tile strong{font-size:16px;color:#fff}
body.fm27-club-page .fm27-office-tile span{font-size:12px;color:#aebdd3}
body.fm27-club-page .fm27-office-tile>i:last-child{position:absolute;right:14px;top:15px;color:#a5c4da}
body.fm27-club-page .fm27-office-tile:hover,body.fm27-club-page .fm27-office-tile:focus-visible{border-color:#68b7a5;background:#233e4b}
body.fm27-club-page .fm27-ticket-form{background:#1c2940;border:1px solid #3d4e68;border-radius:13px;padding:17px;max-width:1050px}
body.fm27-club-page .fm27-ticket-form-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:14px}
body.fm27-club-page .fm27-ticket-form-header h2{font-size:17px!important;margin:0}
body.fm27-club-page .fm27-ticket-form-header span{color:#afbed1;font-size:11px}
body.fm27-club-page .fm27-ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.fm27-club-page .fm27-ticket-grid>.mb-3{margin:0!important;background:#202f48;border:1px solid #394b66;border-radius:10px;padding:13px}
body.fm27-club-page .fm27-ticket-grid>.mb-3 label{font-size:12px;font-weight:730;color:#d5e6f3}
body.fm27-club-page .fm27-ticket-grid input[type=number]{max-width:100%!important;width:100%!important;margin:7px 0 0!important}
body.fm27-club-page .fm27-ticket-grid .form-text{font-size:11px;margin-top:8px}
body.fm27-club-page .fm27-ticket-actions{border-top:1px solid #3d4d64;margin-top:14px;padding-bottom:0!important}
body.fm27-club-page #stadiumUpgradesTable{border-radius:12px;overflow:hidden;border:1px solid #455773}
body.fm27-club-page #stadiumUpgradesTable .btn{font-size:11px;white-space:nowrap}
body.fm27-club-page #existingBuildingsTable td img{max-width:125px;max-height:95px;object-fit:contain;border-radius:8px}
body.fm27-club-page #existingBuildingsTable td p{font-size:12px;color:#c2d0e3}
@media(max-width:580px){body.fm27-club-page .fm27-ticket-grid{grid-template-columns:1fr}body.fm27-club-page .fm27-ticket-form{padding:12px}}
