.fcstat-page{padding-top:7px}
.fcstat-hero{margin-top:0}
.fcstat-family-picker{width:100%;height:52px;border:1px solid rgba(93,176,226,.42);color:#fff;cursor:pointer;text-align:left}
.fcstat-family-picker>.fcstat-family-icon{width:34px;flex:0 0 34px;display:grid;place-items:center;font-size:24px}
.fcstat-family-picker>.fcstat-family-icon.has-image{height:30px;border-radius:8px;background:#3d55f4;overflow:hidden}
.fcstat-family-picker>.fcstat-family-icon img{width:100%;height:100%;display:block;object-fit:contain}
.fcstat-family-picker>span:nth-child(2){min-width:0;flex:1}
.fcstat-family-picker b{display:block;font-size:17px;line-height:1;font-weight:1000}
.fcstat-family-picker>i{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#17283a;color:#9edcf4;font-size:20px;font-style:normal;transition:transform .2s}
.fcstat-family-picker[aria-expanded="true"]>i{transform:rotate(180deg)}
.fcstat-family-grid[hidden]{display:none}
.fcstat-family-grid{margin-top:9px;padding:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border:1px solid rgba(80,163,214,.24);border-radius:13px;background:rgba(4,13,23,.72)}
.fcstat-family-grid>a{min-width:0;min-height:60px;padding:9px 10px;display:flex;align-items:center;gap:9px;border:1px solid #253e53;border-radius:11px;background:linear-gradient(145deg,#12263a,#091522);color:#d9e6ef;text-decoration:none}
.fcstat-family-grid>a>span{width:34px;flex:0 0 34px;font-size:28px;text-align:center}
.fcstat-family-grid>a>span.has-image{height:29px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#3d55f4}
.fcstat-family-grid>a>span.has-image img{width:100%;height:100%;display:block;object-fit:contain}
.fcstat-family-grid b{min-width:0;display:block;font-size:17px;line-height:1.05;font-weight:1000}
.fcstat-family-grid>a.is-active{border-color:#49d2f2;background:linear-gradient(145deg,#174c68,#102a40);box-shadow:inset 0 1px rgba(255,255,255,.09),0 0 16px rgba(52,200,239,.18);color:#fff}
.fcstat-metric-form{margin-top:9px}
.fcstat-metric-picker{position:relative;width:100%;border-color:rgba(87,213,245,.42);background:linear-gradient(145deg,rgba(15,44,64,.96),rgba(4,17,29,.94))}
.fcstat-metric-picker>span{width:34px;flex:0 0 34px;display:grid;place-items:center;font-size:24px}
.fcstat-metric-picker>select{position:relative;z-index:2;min-width:0;height:100%;flex:1;padding:0 36px 0 0;border:0;outline:0;appearance:none;background:transparent;color:#fff;font-size:17px;font-weight:1000}
.fcstat-metric-picker>select option{background:#0a1725;color:#fff}
.fcstat-metric-picker>i{position:absolute;z-index:1;right:9px;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#17283a;color:#9edcf4;font-size:20px;font-style:normal;pointer-events:none}
.fcstat-hero>.fcstat-actions{grid-template-columns:1fr 1fr}
.fcstat-inline-order{height:52px;padding:5px;display:grid;grid-template-columns:1fr 1fr;gap:6px;box-sizing:border-box;border:1px solid rgba(88,161,209,.28);border-radius:12px;background:linear-gradient(145deg,#15273a,#0b1726)}
.fcstat-inline-order a{min-width:0;display:grid;place-items:center;border:1px solid #314a5f;border-radius:8px;background:#091522;color:#8297a9;font-size:25px;line-height:1;font-weight:1000;text-decoration:none}
.fcstat-inline-order a.is-active{border-color:#43d1f2;background:linear-gradient(145deg,#17506d,#0d2b40);color:#fff;box-shadow:0 0 12px rgba(50,202,239,.22)}
.fcstat-page .fcrank-list.fcs-results{padding-top:11px!important}
.fcstat-toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fcstat-page .fcs-position-filter input[value="1"]:checked+span{border-color:#e0b629;background:linear-gradient(145deg,#ffe783,#e8b924);color:#171305;box-shadow:inset 0 1px rgba(255,255,255,.38),0 0 11px rgba(255,216,80,.34)}
.fcstat-page .fcs-position-filter input[value="2"]:checked+span{border-color:#36afd9;background:linear-gradient(145deg,#8ee5ff,#35b9ec);color:#04141b;box-shadow:inset 0 1px rgba(255,255,255,.32),0 0 11px rgba(69,201,255,.34)}
.fcstat-page .fcs-position-filter input[value="3"]:checked+span{border-color:#2cad73;background:linear-gradient(145deg,#8cf2bd,#31c985);color:#04160e;box-shadow:inset 0 1px rgba(255,255,255,.32),0 0 11px rgba(65,224,152,.34)}
.fcstat-page .fcs-position-filter input[value="4"]:checked+span{border-color:#dd4678;background:linear-gradient(145deg,#ff9abb,#ef4f84);color:#1c0710;box-shadow:inset 0 1px rgba(255,255,255,.30),0 0 11px rgba(255,94,147,.34)}
.fcstat-toggle-row .fcs-injury-toggle{min-width:0;height:68px;padding:0 11px}.fcstat-toggle-row .fcs-injury-toggle b{font-size:17px;line-height:1;font-weight:1000;white-space:nowrap}.fcstat-toggle-row .fcs-injury-toggle>i{width:42px;flex:0 0 42px}.fcstat-toggle-row .fcs-injury-toggle input:checked+i:after{left:19px}
.fcstat-market-toggle{border-color:rgba(46,221,156,.38)!important;background:rgba(13,80,60,.24)!important}.fcstat-market-toggle b{color:#53e2ab!important}.fcstat-market-toggle input:checked+i{background:#20bd81!important}
.fcstat-page .fcs-sheet>form{position:relative;width:min(560px,100%);max-height:min(92vh,780px);overflow:hidden;border:1px solid rgba(91,170,219,.34);border-radius:22px 22px 0 0;background:linear-gradient(160deg,#111f31,#07111d 68%);box-shadow:0 -20px 60px rgba(0,0,0,.55);transform:translateY(28px);opacity:0;transition:transform .22s ease,opacity .22s}
.fcstat-page .fcs-sheet.is-open>form{transform:none;opacity:1}.fcstat-page .fcs-sheet>form>header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(105,150,191,.18)}.fcstat-page .fcs-sheet>form>header small{color:#55d7ff;font-size:9px;font-weight:950;letter-spacing:.12em}.fcstat-page .fcs-sheet>form>header h2{margin:3px 0 0;font-size:24px}.fcstat-page .fcs-sheet>form>header>button{width:40px;height:40px;border:1px solid rgba(118,153,188,.2);border-radius:11px;background:#182638;color:#fff;font-size:25px}
.fcstat-page .fcs-sheet>form>.fcs-apply{width:calc(100% - 30px);height:49px;margin:4px 15px 15px;border:0;border-radius:12px;background:linear-gradient(135deg,#25ccef,#1f91dc);color:#04111a;font-size:16px;font-weight:1000}
.fcstat-page .fcs-filter-sheet>form{display:flex;flex-direction:column}.fcstat-page .fcs-filter-sheet footer{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;padding:11px 15px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(111,151,186,.18);background:#07111d}.fcstat-page .fcs-filter-sheet footer a,.fcstat-page .fcs-filter-sheet footer button{height:48px;display:grid;place-items:center;border:1px solid rgba(105,153,194,.27);border-radius:11px;background:#182738;color:#fff;font-size:15px;font-weight:1000;text-decoration:none}.fcstat-page .fcs-filter-sheet footer .fcs-apply{border:0;background:linear-gradient(135deg,#25ccef,#1f91dc);color:#04111a}
@media(max-width:520px){
  .fcstat-page{padding-top:4px}.fcstat-hero{padding:12px}.fcstat-family-picker{height:52px}.fcstat-family-grid{gap:6px;padding:6px}.fcstat-family-grid>a{min-height:57px;padding:8px}.fcstat-family-grid b{font-size:16px}.fcstat-inline-order{height:49px}.fcstat-toggle-row{gap:6px}.fcstat-toggle-row .fcs-injury-toggle{padding-inline:8px}.fcstat-toggle-row .fcs-injury-toggle b{font-size:16px}.fcstat-toggle-row .fcs-injury-toggle>i{width:38px;flex-basis:38px}.fcstat-toggle-row .fcs-injury-toggle>i:after{width:18px;height:18px}.fcstat-toggle-row .fcs-injury-toggle input:checked+i:after{left:16px}
}
@media(max-width:365px){.fcstat-toggle-row{grid-template-columns:1fr}.fcstat-toggle-row .fcs-injury-toggle{height:59px}}

/* Scouting: pink filters; preserve positional and performance colour meanings. */
.fcstat-page .fcstat-hero{background:linear-gradient(135deg,#3c2237,#1f1929);border-color:#e487ba66}
.fcstat-page .fcstat-family-picker,.fcstat-page .fcstat-metric-picker,.fcstat-page [data-open-filters]{background:linear-gradient(135deg,#502d45,#2a1e30);border-color:#ed95c177;color:#fbe7f2}
.fcstat-page .fcstat-family-picker small,.fcstat-page [data-open-filters] small{color:#f1a6ce}
.fcstat-page .fcstat-family-grid{background:#271c2a;border-color:#e487ba55}.fcstat-page .fcstat-family-grid>a.is-active{background:#60354e;border-color:#f09bc6}
.fcstat-page .fcs-sheet>form{border-color:#e487ba66;background:linear-gradient(160deg,#392336,#19131e)}
.fcstat-page .fcs-sheet>form>header{border-bottom-color:#e487ba44}.fcstat-page .fcs-sheet>form>header small{color:#f1a6ce}
.fcstat-page .fcs-filter-sheet footer{background:#241923;border-top-color:#e487ba44}.fcstat-page .fcs-filter-sheet footer .fcs-apply{background:linear-gradient(135deg,#f7abd2,#d969a7);color:#291322}
