/* Whole-club interface, sharing the stadium's sage/ivory palette. No external fonts. */
html.fmo-theme{color:#2f4435;background:#e9ede3;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--green:#466b3e;--green-dark:#34563c;--green-soft:#e7efda;--line:#d5dfcd;--panel:#fbfcf6;--panel2:#f0f4e8;--head:#e7efda;--muted:#718171;--orange:#466b3e;--orange-dark:#34563c;--danger:#a04545}
html.fmo-theme body{background:#e9ede3;font-size:13px;line-height:1.5;color:#2f4435}
html.fmo-theme a{color:#34563c}html.fmo-theme .muted{color:#718171}html.fmo-theme h1,html.fmo-theme h2,html.fmo-theme h3{font-family:inherit;color:#34563c;letter-spacing:-.025em;font-weight:700;text-shadow:none}
html.fmo-theme h1{font-size:27px;line-height:1.2;margin:3px 0 8px}html.fmo-theme h2{font-size:20px;line-height:1.3}html.fmo-theme h3{font-size:15px}
html.fmo-theme .shell{width:min(1480px,calc(100% - 32px));margin:16px auto 32px;border:1px solid #ccd7c6;border-radius:16px;overflow:hidden;box-shadow:0 4px 22px #34563c0a;background:#f5f8ee;min-height:calc(100vh - 48px);grid-template-columns:216px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;grid-template-areas:'mast mast' 'tabs tabs' 'clock clock' 'side main'}
html.fmo-theme .masthead{background:#fbfcf6;color:#34563c;border-bottom:1px solid #dce3d1;padding:18px 24px;gap:24px;min-height:84px}
html.fmo-theme .logo,html.fmo-theme .brand-name{font-family:inherit;letter-spacing:-.055em;text-shadow:none}html.fmo-theme .logo{font-size:27px;gap:14px}html.fmo-theme .logo-emblem{width:44px;height:44px;flex-basis:44px;filter:none}html.fmo-theme .logo-name{display:flex;flex-wrap:wrap;align-items:center;gap:9px;line-height:1.15}
html.fmo-theme .logo-sub,html.fmo-theme .brand-sub{color:#788975;letter-spacing:.17em;font-size:9px;margin-top:6px}html.fmo-theme .build-version{color:#59734f;background:#e7efda;border:1px solid #d5dfc9;border-radius:6px;padding:5px 7px;font-family:inherit;font-size:10px;letter-spacing:.01em;text-shadow:none;white-space:normal;line-height:1.2}
html.fmo-theme .club-id{min-width:0;display:block}html.fmo-theme .club-id b{font-size:16px}html.fmo-theme .club-id small{color:#718171}html.fmo-theme .transfer-window-mini{border:1px solid #d5dfc9;color:#34563c;background:#e7efda;text-shadow:none;border-radius:8px;padding:8px 12px;font-size:11px}
html.fmo-theme .top-tabs{background:#f1f5e8;border-bottom:1px solid #dce3d1;padding:8px 20px;gap:8px;scrollbar-width:thin;align-items:center}
html.fmo-theme .top-tabs button{min-height:42px;border:1px solid transparent;border-radius:8px;color:#6c7e68;background:transparent;box-shadow:none;padding:10px 18px;flex-shrink:0}
html.fmo-theme .top-tabs button.active,html.fmo-theme .top-tabs button:hover{background:#e1ebd2;border-color:#c6d5bb;color:#34563c;box-shadow:none}
html.fmo-theme .world-strip{grid-area:clock;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;border-bottom:1px solid #dce3d1;background:#fbfcf6;min-width:0}
html.fmo-theme .world-season{white-space:nowrap;font-size:12px;color:#718171}html.fmo-theme .world-season b{color:#34563c}html.fmo-theme .world-strip .world-clock{border:0;background:transparent;padding:0;font-size:11px;text-align:right;border-radius:0;color:#6c7e68;line-height:1.5;overflow-wrap:anywhere}
html.fmo-theme .content .topline>.world-clock{display:none}
html.fmo-theme .sidebar{background:#f1f5e8;border-right:1px solid #dce3d1;padding:18px 12px}html.fmo-theme .sidebar-title{color:#788975;font-size:10px;letter-spacing:.12em;padding:4px 12px 12px}
html.fmo-theme .nav{display:flex;flex-direction:column;gap:4px}html.fmo-theme .nav button{background:transparent;color:#6c7e68;border:1px solid transparent;border-radius:7px;padding:10px 12px;min-height:42px;line-height:1.3;font-size:12px}html.fmo-theme .nav button:before{content:none}html.fmo-theme .nav button.active,html.fmo-theme .nav button:hover{background:#e1ebd2;border-color:#c6d5bb;color:#34563c;font-weight:650}
html.fmo-theme .userbox{border-top:1px solid #d5dfcd;padding:16px 12px;color:#718171}html.fmo-theme .content{background:#f8faf2;padding:24px;min-width:0;overflow-wrap:break-word}html.fmo-theme .topline{border-bottom:1px solid #dce3d1;padding-bottom:18px;margin-bottom:20px;gap:20px}html.fmo-theme .section{margin-top:20px}
html.fmo-theme .page-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#788975;margin-bottom:6px}
html.fmo-theme .card,html.fmo-theme .metric,html.fmo-theme .club-card,html.fmo-theme .tip{border:1px solid #d5dfcd;border-radius:12px;background:#fbfcf6;padding:18px;box-shadow:none;min-width:0}
html.fmo-theme .card>h2:first-child,html.fmo-theme .card>h3:first-child{margin:0 0 16px;padding:0;background:none;border:0;color:#34563c}
html.fmo-theme .grid,html.fmo-theme .split{gap:16px}html.fmo-theme .metric{background:#fbfcf6;padding:18px}html.fmo-theme .metric span{font-size:10px;letter-spacing:.05em;color:#788975}html.fmo-theme .metric b{font-family:inherit;font-size:24px;font-weight:700;color:#34563c;margin-top:8px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
html.fmo-theme button{background:#466b3e;border:1px solid #466b3e;border-radius:7px;min-height:40px;padding:9px 13px;font-size:12px;color:#fffef3;text-shadow:none;box-shadow:none;line-height:1.4;font-weight:650;transition:background-color .12s,border-color .12s}
html.fmo-theme button:hover{background:#34563c;border-color:#34563c}html.fmo-theme button.secondary{background:#f8f9f3;border-color:#ccd7c6;color:#34563c;text-shadow:none;box-shadow:none}html.fmo-theme button.secondary:hover{background:#e7efda;border-color:#a9be9f}html.fmo-theme button.active:not([data-view]){background:#e7efda;color:#34563c;border-color:#537c49;box-shadow:inset 0 0 0 1px #537c49}
html.fmo-theme button.danger{background:#a04545;border-color:#a04545}html.fmo-theme button:disabled{background:#e4e9db;border-color:#d2dac7;color:#89967e;opacity:1;cursor:default}html.fmo-theme button.small{min-height:32px;padding:6px 9px;font-size:11px}
html.fmo-theme .player-link{min-height:0;background:transparent;border:0;color:#34563c;padding:0;text-shadow:none;box-shadow:none;text-align:inherit}html.fmo-theme .player-link:hover{background:transparent;color:#466b3e;text-decoration:underline}
html.fmo-theme input,html.fmo-theme select,html.fmo-theme textarea{background:#fffef9;border:1px solid #ccd7c6;border-radius:7px;min-height:40px;padding:9px 11px;color:#34563c;font:inherit;max-width:100%}html.fmo-theme input:focus,html.fmo-theme select:focus,html.fmo-theme textarea:focus{border-color:#537c49;box-shadow:0 0 0 3px #e7efda;outline:none}html.fmo-theme label{color:#6c7e68;font-size:11px;margin-top:12px}html.fmo-theme input[type=checkbox],html.fmo-theme input[type=radio]{min-height:0;accent-color:#466b3e}
html.fmo-theme .badge{background:#e7efda;border-color:#ccd7c6;border-radius:6px;color:#446448;padding:5px 8px;font-size:11px;line-height:1.4}html.fmo-theme .positive{color:#466b3e}html.fmo-theme .negative,html.fmo-theme .status-danger{color:#a04545}html.fmo-theme .status-warning{color:#9c7c40}
html.fmo-theme .table-wrap{border:1px solid #d5dfcd;border-radius:10px;background:#fbfcf6;scrollbar-width:thin;max-width:100%;overscroll-behavior-x:contain}
html.fmo-theme th{background:#e7efda;color:#59734f;font-size:10px;font-weight:750;letter-spacing:.02em;padding:11px 12px;border-color:#d5dfcd}
html.fmo-theme td{padding:10px 12px;border-color:#e3e8da;color:#34563c;font-size:12px}html.fmo-theme .table-wrap tbody tr:nth-child(even){background:#f5f8ef}html.fmo-theme .table-wrap tbody tr:hover{background:#edf3e3}html.fmo-theme .me{background:#e7efda!important}html.fmo-theme .mini-row{padding:10px 0;border-color:#d5dfcd}
html.fmo-theme .fixtures-card{padding:0;overflow:hidden}html.fmo-theme .fixture{background:#fbfcf6;border-bottom:1px solid #e3e8da;padding:14px 16px;grid-template-columns:44px minmax(0,1fr) 104px minmax(0,1fr) 140px;gap:12px;line-height:1.35}html.fmo-theme .fixture:nth-child(even){background:#f5f8ef}html.fmo-theme .fixture:last-child{border-bottom:0}html.fmo-theme .fixture .score{font-family:inherit;font-size:18px;color:#34563c;font-variant-numeric:tabular-nums}html.fmo-theme .fixture-time{font-size:10px;color:#788975;font-weight:400;margin-top:5px}html.fmo-theme .live-callout{background:#eef4e4;border-color:#bfd1af;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}html.fmo-theme .live-callout h2{margin:0}html.fmo-theme .live-callout p{margin:6px 0 0}
html.fmo-theme .transfer-window-banner,html.fmo-theme .transfer-summary,html.fmo-theme .market-pool{background:#f0f5e7;color:#34563c;border-color:#d5dfcd;border-radius:10px;box-shadow:none}html.fmo-theme .transfer-window-banner.closed{background:#f6f8ef;color:#718171}html.fmo-theme .transfer-filters{padding:18px;gap:12px}html.fmo-theme .tf-field{margin:0}html.fmo-theme .market-pagination{padding:14px 0;gap:12px}html.fmo-theme .market-status{line-height:1.5}
html.fmo-theme .training-player,html.fmo-theme .check-player,html.fmo-theme .facility-card,html.fmo-theme .development-card,html.fmo-theme .staff-card{background:#fbfcf6;border-color:#d5dfcd;border-radius:8px}html.fmo-theme .training-player:hover,html.fmo-theme .check-player:hover{background:#edf3e3}html.fmo-theme .pitch-panel{background:#f0f5e7;border-color:#ccd7c6;border-radius:12px;padding:12px}html.fmo-theme .facility-level{font-family:inherit;color:#34563c}html.fmo-theme .match-log{background:#fbfcf6;border-color:#d5dfcd;border-radius:8px}html.fmo-theme .event{border-color:#d5dfcd}html.fmo-theme .event b{color:#466b3e}
html.fmo-theme .classic-modal-box{background:#fbfcf6;border-color:#d5dfcd;border-radius:14px;box-shadow:0 10px 40px #203c2326;max-height:90dvh}html.fmo-theme .player-profile-head{background:#eef4e4;border-color:#d5dfcd;color:#34563c}html.fmo-theme .player-shirt{background:#466b3e;color:#fffef3}html.fmo-theme .info-list>div{border-color:#d5dfcd}html.fmo-theme .toast{background:#fbfcf6;border-color:#b7caa8;color:#34563c;border-radius:10px;box-shadow:0 6px 24px #34563c16;max-width:calc(100vw - 32px);line-height:1.5}html.fmo-theme .toast.error{background:#fbefec;color:#a04545;border-color:#dbb3ad}
html.fmo-theme .auth{background:#f8faf2;border-color:#ccd7c6;border-radius:16px;box-shadow:0 4px 22px #34563c0a;overflow:hidden;margin:40px auto;padding:0 24px 28px;min-height:0}html.fmo-theme .brand{background:#fbfcf6;border-bottom:1px solid #dce3d1;color:#34563c;margin:0 -24px 24px;padding:24px;text-shadow:none;font-family:inherit;letter-spacing:-.04em}html.fmo-theme .brand span{color:#59734f}html.fmo-theme .brand-emblem{width:58px;height:58px;filter:none}html.fmo-theme .brand-name{line-height:1.25;font-size:30px}html.fmo-theme .brand-name .build-version{display:inline-block;margin-left:6px;vertical-align:middle}html.fmo-theme .subtitle{color:#718171;line-height:1.7}html.fmo-theme .auth-grid{gap:20px}html.fmo-theme .auth .card{padding:22px}html.fmo-theme .view-loading{gap:12px;min-height:260px;text-align:center;color:#34563c}html.fmo-theme .view-loading>span{color:#718171;max-width:500px}html.fmo-theme .view-spinner{border-color:#d5dfcd;border-top-color:#466b3e}
html.fmo-theme .ground-overview.card{padding:0!important}html.fmo-theme .ground-facts,html.fmo-theme .ground-quote-facts{font-variant-numeric:tabular-nums}html.fmo-theme .ground-stand-tabs button,html.fmo-theme .ground-options button,html.fmo-theme .ground-facilities button{background:#f8f9f3;color:#34563c;border-color:#ccd7c6;box-shadow:none;text-shadow:none}html.fmo-theme .ground-stand-tabs button.selected,html.fmo-theme .ground-options button.selected,html.fmo-theme .ground-facilities button.selected{background:#e7efda;border-color:#537c49;box-shadow:inset 0 0 0 1px #537c49}
html.fmo-theme hr{border-color:#d5dfcd}html.fmo-theme .match-controls{gap:8px}html.fmo-theme .match-viewer.card{padding:0;overflow:hidden}html.fmo-theme .viewer-scorebar{background:#e7efda;border-color:#ccd7c6;color:#34563c}html.fmo-theme .viewer-team,html.fmo-theme .viewer-center{color:#34563c;font-family:inherit}
@media(max-width:1120px){html.fmo-theme .shell{grid-template-columns:190px minmax(0,1fr)}html.fmo-theme .content{padding:18px}html.fmo-theme .masthead{padding:16px 18px;gap:16px}html.fmo-theme .logo-name{font-size:24px}html.fmo-theme .grid{gap:10px}html.fmo-theme .metric{padding:14px}html.fmo-theme .metric b{font-size:21px}html.fmo-theme .fixture{grid-template-columns:32px minmax(0,1fr) 84px minmax(0,1fr) 118px;gap:8px;padding:12px}html.fmo-theme .fixture button{font-size:11px;padding:8px}}
@media(max-width:820px){html.fmo-theme .shell{width:100%;margin:0;border:0;border-radius:0;box-shadow:none;min-height:100dvh;display:flex;flex-direction:column}html.fmo-theme .masthead{padding:16px;flex-wrap:wrap;gap:12px}html.fmo-theme .logo{font-size:24px;flex:1 1 180px}html.fmo-theme .logo-name{display:block;font-size:24px}html.fmo-theme .logo-name .build-version{display:block;width:fit-content;margin-top:7px;font-size:9px}html.fmo-theme .logo-emblem{width:40px;height:40px;flex-basis:40px}html.fmo-theme .club-id{max-width:100%;font-size:11px;text-align:right}html.fmo-theme .club-id b{font-size:13px}html.fmo-theme .transfer-window-mini{width:100%;font-size:10px}html.fmo-theme .top-tabs{padding:8px 12px;gap:6px}html.fmo-theme .top-tabs button{padding:10px 14px;min-height:44px;font-size:12px}html.fmo-theme .world-strip{padding:10px 16px;align-items:flex-start;gap:12px}html.fmo-theme .world-strip .world-clock{font-size:10px}html.fmo-theme .sidebar{border-right:0;border-bottom:1px solid #dce3d1;padding:10px 12px}html.fmo-theme .sidebar-title{display:none}html.fmo-theme .nav{display:flex;flex-direction:row;overflow-x:auto;gap:6px;scrollbar-width:thin;padding-bottom:3px}html.fmo-theme .nav button{width:auto;flex:0 0 auto;white-space:nowrap;padding:10px 12px;min-height:40px;font-size:11px}html.fmo-theme .userbox{margin:8px 0 0;padding:8px 4px 0;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}html.fmo-theme .userbox br{display:none}html.fmo-theme .userbox button{margin:0!important;min-height:32px;font-size:10px;padding:6px 10px}html.fmo-theme .content{padding:18px 14px 28px;flex:1;overflow:hidden}html.fmo-theme h1{font-size:24px}html.fmo-theme .topline{padding-bottom:14px;margin-bottom:16px;display:block}html.fmo-theme .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.fmo-theme .split{grid-template-columns:minmax(0,1fr);gap:12px}html.fmo-theme .card,html.fmo-theme .club-card,html.fmo-theme .tip{padding:16px;border-radius:10px}html.fmo-theme .metric{padding:14px}html.fmo-theme .metric b{font-size:22px}html.fmo-theme .fixture{grid-template-columns:32px minmax(0,1fr) 64px minmax(0,1fr);gap:8px;padding:14px 12px}html.fmo-theme .fixture>button,html.fmo-theme .fixture>.row-actions,html.fmo-theme .fixture>.next-match-clock{grid-column:2/-1;width:100%;margin-top:4px}html.fmo-theme .fixture .score{font-size:16px}html.fmo-theme .fixture-time{font-size:9px}html.fmo-theme button{min-height:44px}html.fmo-theme .live-callout{display:block}html.fmo-theme .live-callout>button{width:100%;margin-top:14px}html.fmo-theme .fixtures-card{padding:0}html.fmo-theme .auth{width:calc(100% - 24px);margin:16px auto;padding:0 16px 20px}html.fmo-theme .brand{margin:0 -16px 18px;padding:18px 16px;gap:10px}html.fmo-theme .brand-name{font-size:24px}html.fmo-theme .brand-name .build-version{display:block;margin:8px 0 0;width:fit-content}html.fmo-theme .auth-grid{grid-template-columns:minmax(0,1fr);gap:14px}html.fmo-theme .auth .card{padding:18px}html.fmo-theme .club-grid{grid-template-columns:minmax(0,1fr)}html.fmo-theme .classic-modal-box{width:calc(100% - 24px);padding:16px}html.fmo-theme .toast{right:12px;top:12px}html.fmo-theme .ground-overview.card{padding:0!important}html.fmo-theme .match-viewer.card{padding:0}html.fmo-theme .match-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html.fmo-theme button{transition:none}}

@media(max-width:820px){html.fmo-theme input,html.fmo-theme select,html.fmo-theme textarea{font-size:16px}html.fmo-theme .content{padding-bottom:max(28px,env(safe-area-inset-bottom))}}

/* Contract decisions use the same restrained stadium panel palette. */
.contract-warning{display:flex;flex-direction:column;gap:6px;padding:16px 20px;margin:0 0 18px;border:1px solid #cdb878;border-left:4px solid #b38835;border-radius:12px;background:#f7f1df;color:#65522b}
.contract-warning span{font-size:13px;line-height:1.5}
.contract-status{display:inline-block;font-size:11px;line-height:1.4;color:#69736c;margin-top:4px;white-space:normal}
.contract-status.contract-due{color:#8a571c;font-weight:700}
