/* FM27 V10.73.1 DESIGN: player profile presentation only; no business or DB changes. */
/* FM27 V10.73.1 - Player reports, shortlist, offer modal.
   Additive CSS scoped to report/scouting; no JS or OWS controls replaced. */
body.fm27-midnight .fm27-report-hero{display:grid;grid-template-columns:minmax(230px,1.15fr) minmax(380px,1.6fr);gap:15px;background:linear-gradient(105deg,#202943,#222a45 68%,#2b2744);border:1px solid #40516e;border-radius:13px;padding:13px 16px;margin-bottom:5px;min-width:0;color:#f6f7ff}
body.fm27-midnight .fm27-report-person{display:flex;align-items:center;gap:14px;min-width:0}
body.fm27-midnight .fm27-report-portrait{width:114px;min-width:114px;height:130px;display:flex;align-items:center;justify-content:center;border:1px solid #536484;border-radius:9px;background:#17243b;overflow:hidden;color:#91a6c8;font-size:53px}
body.fm27-midnight .fm27-report-portrait img{width:100%;height:100%;object-fit:contain;object-position:bottom}
body.fm27-midnight .fm27-report-identity{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
body.fm27-midnight .fm27-report-identity h2{font-size:clamp(18px,1.7vw,26px);line-height:1.16;margin:0;font-weight:850;color:#fff;overflow-wrap:anywhere}
body.fm27-midnight .fm27-report-subtitle{font-size:12px;color:#cbd5e9}
body.fm27-midnight .fm27-report-actions{min-width:250px}
body.fm27-midnight .fm27-report-actions .dropdown-item{font-size:12px;display:flex;gap:9px;align-items:center}
body.fm27-midnight .fm27-report-actions form{margin:0}
body.fm27-midnight .fm27-report-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 11px;align-content:center}
body.fm27-midnight .fm27-report-facts>div{border-left:1px solid #ffffff24;padding:8px 9px;min-width:0;display:flex;flex-direction:column;gap:6px}
body.fm27-midnight .fm27-report-facts small{font-size:10px;color:#a7b7d1}
body.fm27-midnight .fm27-report-facts strong{font-size:13px;font-weight:750;color:#f5f6ff;line-height:1.3;overflow-wrap:anywhere}
body.fm27-midnight .fm27-report-facts a{color:#fff;text-decoration:none;display:inline-flex;gap:8px;align-items:center}
body.fm27-midnight .fm27-report-facts a:hover{text-decoration:underline}
body.fm27-midnight .fm27-report-crest{height:24px;width:24px;object-fit:contain}
body.fm27-midnight .fm27-country-label{font-size:11px}
body.fm27-midnight .fm27-report-caveat{font-size:10px;color:#9aaecb;margin:4px 0 13px;text-align:right}
body.fm27-midnight .fm27-report-hint{border:1px solid #6a5b39;border-radius:9px;padding:9px 12px;background:#342e29;color:#e9d8b1;margin:8px 0}
body.fm27-midnight .fm27-report-tab-content{margin-top:12px;color:#f2f4ff}
body.fm27-midnight .fm27-player-subnav>a{min-width:120px}
body.fm27-midnight .fm27-report-layout{display:grid;grid-template-columns:minmax(265px,0.95fr) minmax(315px,1.5fr);gap:13px}
body.fm27-midnight .fm27-report-panel{border:1px solid #374a68;border-radius:12px;background:#1c2841;padding:17px;min-width:0;margin-bottom:15px}
body.fm27-midnight .fm27-report-panel h3{font-size:16px;font-weight:780;color:#fff;margin:0 0 17px}
body.fm27-midnight .fm27-position-hint{display:flex;flex-wrap:wrap;gap:8px 13px;font-size:10px;color:#b8c8dc;margin-bottom:13px}
body.fm27-midnight .fm27-position-hint>span{display:flex;align-items:center;gap:5px}
body.fm27-midnight .fm27-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#637188}
body.fm27-midnight .fm27-dot.main{background:#14694a}.fm27-dot.second{background:#4cc76b!important}.fm27-dot.related{background:#dcc15e!important}
body.fm27-midnight .fm27-position-map{position:relative;width:100%;max-width:375px;margin:0 auto 15px;aspect-ratio:1.32;background:repeating-linear-gradient(0deg,#155f51 0%,#155f51 24%,#176b5b 24%,#176b5b 50%);border:2px solid #4d9f8e;box-shadow:inset 0 0 0 8px #113f39;border-radius:8px;overflow:hidden}
body.fm27-midnight .fm27-position-map:before{content:"";position:absolute;inset:11px;border:1px solid #b5d4c0a1;background:linear-gradient(to bottom,transparent 49.7%,#b9dacaad 50%,transparent 50.4%);pointer-events:none}
body.fm27-midnight .fm27-position-map:after{content:"";position:absolute;left:35%;top:41%;width:30%;height:21%;border:1px solid #b9daca80;border-radius:50%;pointer-events:none}
body.fm27-midnight .fm27-map-spot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;min-width:29px;height:26px;border-radius:7px;border:1px solid #546a73;font-weight:800;font-size:10px;background:#263d47;color:#ccd7dd;z-index:1;box-shadow:0 2px 5px #0a1a2299}
body.fm27-midnight .fm27-map-spot.is-main,body.fm27-midnight .fm27-position-tag.is-main{background:#126849;color:#fff;border-color:#66ad8d}
body.fm27-midnight .fm27-map-spot.is-second,body.fm27-midnight .fm27-position-tag.is-second{background:#49c775;color:#0d3720;border-color:#a3e4b7}
body.fm27-midnight .fm27-map-spot.is-related,body.fm27-midnight .fm27-position-tag.is-related{background:#d5bb57;color:#2e270c;border-color:#e9d897}
body.fm27-midnight .fm27-pos-T{left:50%;top:93%}.fm27-pos-LV{left:16%;top:73%}.fm27-pos-IV{left:50%;top:78%}.fm27-pos-RV{left:84%;top:73%}
body.fm27-midnight .fm27-pos-LM{left:15%;top:43%}.fm27-pos-DM{left:50%;top:61%}.fm27-pos-ZM{left:50%;top:43%}.fm27-pos-OM{left:50%;top:28%}.fm27-pos-RM{left:85%;top:43%}
body.fm27-midnight .fm27-pos-LS{left:18%;top:16%}.fm27-pos-MS{left:50%;top:10%}.fm27-pos-RS{left:82%;top:16%}
body.fm27-midnight .fm27-position-ratings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
body.fm27-midnight .fm27-position-rating{display:flex;align-items:center;gap:8px;padding:5px 7px;background:#26334c;border-radius:7px;font-size:11px;min-width:0}
body.fm27-midnight .fm27-position-tag{min-width:27px;text-align:center;font-size:10px;border-radius:5px;padding:4px 3px;color:#cbd6e9;background:#3c475d;font-weight:800}
body.fm27-midnight .fm27-position-rating small{margin-left:auto;color:#c5d2eb!important}
body.fm27-midnight .fm27-report-stars{display:inline-flex;gap:1px;white-space:nowrap}
body.fm27-midnight .fm27-rating-star{font-size:16px;line-height:1;color:#6d7890}
body.fm27-midnight .fm27-rating-star.full{color:#e7be4d}
body.fm27-midnight .fm27-rating-star.half{background:linear-gradient(90deg,#e7be4d 50%,#6d7890 50%);background-clip:text;-webkit-background-clip:text;color:transparent}
body.fm27-midnight .fm27-report-abilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:19px}
body.fm27-midnight .fm27-report-abilities>div{background:#14263a;border:1px solid #3a655e;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between}
body.fm27-midnight .fm27-report-abilities small{font-size:12px;color:#c7e8e1}.fm27-report-abilities strong{font-size:25px;color:#fff;font-weight:830}
body.fm27-midnight .fm27-report-meter{display:grid;grid-template-columns:1fr auto;gap:3px;margin:10px 0 13px;font-size:12px;color:#c5d2e8}
body.fm27-midnight .fm27-report-meter strong{color:#f5f9ff}.fm27-report-meter-track{grid-column:1/-1;height:7px;border-radius:10px;background:#3d4b63;overflow:hidden}
body.fm27-midnight .fm27-report-meter-track>i{display:block;height:100%;background:#4ac59c;border-radius:10px}
body.fm27-midnight .fm27-report-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}
body.fm27-midnight .fm27-report-facts-grid>div{background:#223149;border:1px solid #354d6d;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:6px}
body.fm27-midnight .fm27-report-facts-grid small{color:#aebeda;font-size:11px}.fm27-report-facts-grid strong{color:#fff;font-weight:760;font-size:13px}
body.fm27-midnight .fm27-stat-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}
body.fm27-midnight .fm27-stat-compare>div{border:1px solid #3e5173;border-radius:9px;background:#23324b;padding:11px 13px;display:flex;flex-direction:column;gap:5px}
body.fm27-midnight .fm27-stat-compare span{font-size:11px;color:#becce2}.fm27-stat-compare strong{font-size:24px;color:#f3f6ff}.fm27-stat-compare small{font-size:10px;color:#a6b6d1}
body.fm27-midnight .fm27-stat-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
body.fm27-midnight .fm27-stat-heading h3{font-size:14px;color:#fff;margin:0}.fm27-stat-heading span{font-size:11px;color:#9aaecb}
body.fm27-midnight .fm27-history-copy{white-space:normal;background:#23344c;padding:12px 15px;border-radius:9px;margin-bottom:18px}

/* V10.73.1-Design: profile-only; green Bootstrap tabs replace recruitment shortcuts. */
body.fm27-midnight .fm27-profile-green-tabs{display:flex;flex-wrap:wrap;gap:8px}
body.fm27-midnight .fm27-profile-green-tabs a.active{background:#129784;border-color:#66c5b3;color:#fff}
body.fm27-midnight .fm27-report-hero-design{grid-template-columns:minmax(265px,1fr) minmax(415px,1.55fr)}
body.fm27-midnight .fm27-report-overline{font-size:10px;letter-spacing:.1em;font-weight:750;color:#b1a6f0}
body.fm27-midnight .fm27-report-identity h2{overflow-wrap:anywhere}
body.fm27-midnight .fm27-profile-actions .dropdown-menu{min-width:260px}
body.fm27-midnight .fm27-profile-actions .dropdown-item{white-space:normal;font-size:12px}
body.fm27-midnight .fm27-report-facts .fm27-profile-nationality{display:flex;align-items:center;gap:7px}
body.fm27-midnight .fm27-report-facts .fm27-profile-nationality img{max-width:20px;height:auto}
body.fm27-midnight .fm27-report-notice{border-radius:9px;background:#163e3c;border:1px solid #396e64;color:#ccece4;padding:10px 13px;font-size:12px}
body.fm27-midnight .fm27-report-notice a{color:#f5fffc}
body.fm27-midnight .fm27-report-subheading{font-size:12px;color:#aebcda;font-weight:760;margin:16px 0 10px}
body.fm27-midnight .fm27-report-muted{font-size:11px;color:#adc0d9;line-height:1.5;margin:12px 0}
body.fm27-midnight .fm27-stars-placeholder{color:#a7b4cc;letter-spacing:1px;font-size:16px}
body.fm27-midnight .fm27-report-hero .dropdown-menu{z-index:1055}
body.fm27-midnight .fm27-report-panel h3{font-size:16px;color:#fff;font-weight:780;margin:0 0 17px}
body.fm27-midnight .fm27-position-map{max-width:400px}
body.fm27-midnight .fm27-profile-green-tabs [role=tab]:focus-visible{outline:2px solid #ccfff1;outline-offset:2px}
@media(max-width:1160px){body.fm27-midnight .fm27-report-hero-design{grid-template-columns:1fr}body.fm27-midnight .fm27-report-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){body.fm27-midnight .fm27-report-layout{grid-template-columns:1fr}body.fm27-midnight .fm27-report-facts{grid-template-columns:repeat(2,minmax(0,1fr))}body.fm27-midnight .fm27-report-portrait{width:92px;height:110px;min-width:92px}body.fm27-midnight .fm27-stat-compare{grid-template-columns:repeat(2,minmax(0,1fr))}body.fm27-midnight .fm27-report-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:465px){body.fm27-midnight .fm27-report-hero-design{padding:12px}body.fm27-midnight .fm27-report-person{align-items:flex-start}body.fm27-midnight .fm27-report-identity h2{font-size:17px}body.fm27-midnight .fm27-report-facts{grid-template-columns:1fr}body.fm27-midnight .fm27-report-facts-grid{grid-template-columns:1fr}body.fm27-midnight .fm27-position-ratings{grid-template-columns:1fr}}


/* R27.25.5 - denser statistics presentation aligned with the profile redesign. */
body.fm27-midnight .fm27-stat-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
body.fm27-midnight .fm27-stat-summary-grid>div{border:1px solid #3e5173;border-radius:9px;background:#23324b;padding:11px 13px;display:flex;flex-direction:column;gap:5px}
body.fm27-midnight .fm27-stat-summary-grid small{font-size:10px;color:#becce2}
body.fm27-midnight .fm27-stat-summary-grid strong{font-size:22px;color:#f3f6ff}
body.fm27-midnight .fm27-stat-summary-grid span{font-size:10px;color:#a6b6d1}
body.fm27-midnight .fm27-report-facts-grid.fm27-report-facts-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0;margin-bottom:18px}
@media(max-width:1000px){body.fm27-midnight .fm27-stat-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){body.fm27-midnight .fm27-report-facts-grid.fm27-report-facts-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:465px){body.fm27-midnight .fm27-stat-summary-grid,body.fm27-midnight .fm27-report-facts-grid.fm27-report-facts-grid-wide{grid-template-columns:1fr}}
