/* Team Selection redesign — scoped to the page to preserve other tabs. */
#standings #standings-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body:has(#standings.active) .masthead .ff-brand{display:block!important;box-sizing:border-box;width:min(100%,683px)!important;max-width:683px;margin:0 auto 8px!important;padding:0!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;color:transparent!important;-webkit-text-stroke:0 transparent!important;text-shadow:none!important;text-align:center}
body:has(#standings.active) .masthead .ff-brand>br,body:has(#standings.active) .masthead .ff-brand>span{display:none!important}
body:has(#standings.active) .masthead .ff-brand::before{content:"";display:block;width:100%;aspect-ratio:1672/941;background:url("assets/branding/4F_Title_Option3.png") center/contain no-repeat;mix-blend-mode:screen}
#standings .ts-submit,#standings .ts-participant-panel,#standings .ts-standings-panel{background:linear-gradient(120deg,#321253,#1b1037);border:1px solid #14e0c5;color:#fff;border-radius:14px;padding:19px;margin:0 0 18px}
#standings h3{color:#fff;font-size:20px;margin:0 0 12px}
#standings .ts-submit p{color:#e5d6f5;font-size:13px;line-height:1.5}
#standings .ts-form-link{display:inline-flex;background:linear-gradient(125deg,#811eff,#4c0c99);color:#fff;border:1px solid #14e0c5;border-radius:10px;min-height:44px;padding:10px 19px;align-items:center;justify-content:center;font-size:14px;font-weight:800;text-decoration:none}
#standings .ts-form-link:hover{filter:brightness(1.2)}
#standings .ts-field{max-width:430px;margin:13px 0}
#standings label{display:block;font-weight:750;font-size:12px;color:#eedfff;margin-bottom:7px}
#standings select{display:block;box-sizing:border-box;width:100%;min-height:43px;background:#241139;border:1px solid #14e0c5;border-radius:8px;color:#fff;padding:9px 12px;font:inherit}
#standings .ts-note{color:#cfbee2;font-size:12px;line-height:1.5;margin:11px 0 15px}
#standings .ts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#standings .ts-pick{background:#201132;border:1px solid #594070;border-radius:10px;padding:12px;min-width:0;display:flex;flex-direction:column;gap:11px}
#standings .ts-current{border-color:#14e0c5;box-shadow:0 0 0 1px rgba(20,224,197,.25)}
#standings .ts-invalid{border-color:#ffae87}
#standings .ts-pick-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#c7b5de;font-size:10px}
#standings .ts-pick-heading span:first-child{font-size:16px;color:#14e0c5;font-weight:900}
#standings .ts-pick-team{display:flex;align-items:center;gap:8px;min-height:41px;color:white;font-size:12px;line-height:1.35}
#standings .ts-pick-team img{width:40px;height:40px;background:#fff;object-fit:contain;padding:4px;box-sizing:border-box;border-radius:8px;flex-shrink:0}
#standings .ts-pick-scores{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:auto}
#standings .ts-pick-scores>span{display:flex;flex-direction:column;gap:4px;align-items:center;border:1px solid #46345e;border-radius:7px;padding:7px 3px;color:#d4c5e9;font-size:10px}
#standings .ts-pick-scores strong{color:#fff;font-size:16px;font-variant-numeric:tabular-nums}
#standings .ts-preview{border-top:1px solid #50376a;padding-top:9px}
#standings .ts-small-label{font-size:10px}
#standings .ts-preview select{font-size:11px;padding:6px;min-height:37px}
#standings .ts-match{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:11px;line-height:1.4;color:#fff}
#standings .ts-match img{width:30px;height:30px;background:#fff;border-radius:6px;padding:3px;box-sizing:border-box;object-fit:contain;flex-shrink:0}
#standings .ts-match small{display:block;color:#d1bfe6;margin-top:4px;font-size:10px}
#standings .ts-warning{background:#4b222e;border:1px solid #ffae87;color:#fff0e9;padding:9px;border-radius:7px;font-size:11px;line-height:1.4}
#standings .ts-unsubmitted{color:#e8c790;font-size:10px}
#standings .ts-standings{display:flex;flex-direction:column;gap:7px}
#standings .ts-standing{display:grid;grid-template-columns:32px minmax(0,1fr) 115px 90px;align-items:center;gap:10px;padding:12px;background:#201132;border:1px solid #50376a;border-radius:9px;font-size:13px}
#standings .ts-standing-rank{color:#14e0c5;font-weight:900}
#standings .ts-standing-count{color:#ccb9e4;font-size:11px;text-align:right}
#standings .ts-standing b{color:#fff;text-align:right;font-size:17px;font-variant-numeric:tabular-nums}
#standings .ts-error{color:#ffe6db;background:#4b222e;border:1px solid #ffae87;padding:13px;border-radius:8px}
@media(max-width:1100px){#standings .ts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#standings .ts-grid{grid-template-columns:1fr}#standings .ts-submit,#standings .ts-participant-panel,#standings .ts-standings-panel{padding:12px}#standings .ts-standing{grid-template-columns:25px minmax(0,1fr) 78px}#standings .ts-standing-count{display:none}#standings .ts-standing b{font-size:14px}}

/* Team Selection refinement: empty starting view and season-optimal path. */
#standings .ts-placeholder{padding:28px 18px;border:1px dashed #70578e;border-radius:11px;background:#1e1034;color:#e7dbf4;font-size:13px;text-align:center;line-height:1.6}

/* Standings podium (runner-up, champion, third place). */
#standings .ts-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin:17px 0 20px}
#standings .ts-podium-place{min-width:0;text-align:center;background:linear-gradient(165deg,#3b1a62,#1c1031);border:1px solid #68548c;border-radius:13px 13px 6px 6px;padding:15px 10px 0;color:#fff;display:flex;flex-direction:column;align-items:center;gap:7px;overflow:hidden}
#standings .ts-place-1{border-color:#f4ce6d;box-shadow:0 0 17px #f4ce6d22}
#standings .ts-place-2{border-color:#b9c6d7}
#standings .ts-place-3{border-color:#ce9970}
#standings .ts-podium-medal{font-size:26px;line-height:1;color:#f4ce6d}
#standings .ts-place-2 .ts-podium-medal{color:#cbd5e4}
#standings .ts-place-3 .ts-podium-medal{color:#d6a379}
#standings .ts-podium-name{font-size:14px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
#standings .ts-podium-points{font-weight:900;font-size:22px;color:#fff;font-variant-numeric:tabular-nums}
#standings .ts-podium-back{font-size:11px;color:#d9c8eb;min-height:30px}
#standings .ts-podium-block{width:calc(100% + 20px);height:67px;display:flex;justify-content:center;align-items:center;border-top:1px solid #ffffff30;background:linear-gradient(180deg,#4b2e77,#271744)}
#standings .ts-place-1 .ts-podium-block{height:102px;background:linear-gradient(180deg,#865d17,#4c3216)}
#standings .ts-place-2 .ts-podium-block{height:77px;background:linear-gradient(180deg,#616b85,#343c55)}
#standings .ts-place-3 .ts-podium-block{background:linear-gradient(180deg,#845338,#4e302c)}
#standings .ts-podium-block span{font-size:27px;font-weight:900;color:#fff}
#standings .ts-standing{grid-template-columns:34px minmax(0,1fr) 110px 90px}
#standings .ts-standing-back{color:#e0d0f3;font-size:12px;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:650px){
 #standings .ts-podium{gap:5px}
 #standings .ts-podium-place{padding:11px 5px 0;gap:6px}
 #standings .ts-podium-medal{font-size:21px}
 #standings .ts-podium-name{font-size:11px}
 #standings .ts-podium-points{font-size:15px}
 #standings .ts-podium-back{font-size:9px;min-height:32px}
 #standings .ts-podium-block{width:calc(100% + 10px)}
 #standings .ts-standing{grid-template-columns:24px minmax(0,1fr) 75px 72px;gap:5px;padding:9px}
 #standings .ts-standing-back{font-size:10px}
 #standings .ts-standing b{font-size:13px}
}
