/* One quiet field: sprites are the draggable targets; detail appears on focus or hover. */
.formation.combined-host{height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:0;background:none;border:0;overflow:visible}
.combined-lineup{container-type:inline-size;margin:16px 0;border:1px solid #98ac91;background:#dce5ce;color:#183a2c;box-shadow:0 8px 28px #183b2410}
.combined-pitch{position:relative;background:repeating-linear-gradient(0deg,#244d3b 0,#244d3b 59px,#295440 60px,#295440 119px);padding:16px 10px;border:8px solid #d5dfc7;outline:1px solid #ffffff40;outline-offset:-15px}
.combined-unit h3,.combined-reserves h3{font-size:11px;line-height:1.5;letter-spacing:2px;text-transform:uppercase;margin:0 8px 8px;color:#d3dfc8;font-weight:600}
.combined-lineup h3 small{font-size:9px;letter-spacing:0;text-transform:none;font-weight:400;opacity:.7;margin-left:8px}
.combined-offense{border-top:1px dashed #e4ebc76b;padding-top:14px;margin-top:12px}
.combined-row{display:flex;justify-content:center;gap:4px;margin:4px 0;align-items:stretch}
.combined-slot{flex:0 1 88px;min-width:0;display:flex;justify-content:center}
.combined-slot>.lineup-slot,.combined-slot>.circuit-field-player{position:relative!important;transform:none!important;inset:auto!important;width:100%!important;min-width:0!important;min-height:76px;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 0!important;border-radius:0;background:transparent!important;color:#dce8d1;border:0!important;text-align:center;box-shadow:none!important;outline:none;transition:filter .15s}
.combined-slot>.lineup-slot{cursor:grab}
.combined-slot>.lineup-slot:active{cursor:grabbing}
.combined-slot .lineup-slot img,.combined-slot .circuit-field-player img{width:54px;height:54px;max-width:100%;object-fit:contain;margin:0;filter:drop-shadow(0 4px 2px #10261ba6);transition:transform .15s}
.combined-slot .member-info,.combined-slot .circuit-field-player b{display:none!important}
.combined-slot .lineup-slot>span:not([data-player-stats]),.combined-slot strong{font-size:9px;line-height:1.3;letter-spacing:.5px;font-weight:600;color:inherit}
.combined-slot .lineup-slot>span:first-child{order:2}
.combined-slot>.selected img{filter:drop-shadow(0 0 5px #ffcf58) drop-shadow(0 4px 2px #10261b)}
.combined-slot>.selected>span:first-child{color:#ffdb7d}
.combined-slot>.is-active{color:#ffdb7d}
.combined-slot>.is-preview img{opacity:.7;filter:drop-shadow(0 0 5px #ffcf58)}
.combined-slot .circuit-vacancy{display:grid;place-items:center;width:38px;height:38px;border:1px dashed #dce8d145;border-radius:50%;font-size:16px;color:#dce8d180;margin:8px}
.combined-slot>.is-active .circuit-vacancy{border-color:#ffd276;color:#ffd276;background:#ffd27612}
.combined-reserves{padding:12px 8px 8px;background:#e3e9d8;border-top:1px solid #b7c5a7}
.combined-reserves h3,.combined-reserves .combined-slot>.lineup-slot,.combined-reserves .combined-slot>.circuit-field-player{color:#4d6242}
.combined-reserves .circuit-vacancy{border-color:#6c805775;color:#6c8057}
.combined-slot button:hover img,.combined-slot button:focus-visible img{transform:translateY(-3px);filter:drop-shadow(0 0 5px #f5d785)}
.combined-slot button:focus-visible,.combined-slot>.rb-drop-target{outline:1px dashed #f5d785;outline-offset:-3px}
.combined-slot>.fainted img{filter:grayscale(1);opacity:.4}
.unit-tabs[hidden],.rb-bench[hidden],#benchStrip[hidden],[data-player-stats][hidden]{display:none!important}
.position-tooltip .player-tip-name{display:flex;justify-content:space-between;gap:14px;font-size:16px;text-transform:capitalize;color:#ffda85}
.position-tooltip .player-tip-name small{font-size:10px;color:#c9d8c1}
.position-tooltip .player-tip-condition,.position-tooltip .player-tip-types{display:block;font-size:11px;margin-top:6px;color:#d4dfcf;text-transform:capitalize}
.position-tooltip .player-tip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px;margin-top:16px;padding-top:12px;border-top:1px solid #ffffff26}
.position-tooltip .player-tip-grid>span{display:block;font-size:10px;color:#b9ccb1}
.position-tooltip .player-tip-grid b{display:block;font-size:17px;color:#f6f5e9;margin-top:3px}
#circuitPanel .position-tooltip{position:fixed;z-index:1000;width:270px;max-width:calc(100vw - 24px);padding:18px;background:#183b2c;border:1px solid #597450;color:#f6f5e9;box-shadow:0 12px 40px #142b2840;border-radius:8px}
@container(max-width:450px){.combined-pitch{padding:12px 4px;border-width:5px}.combined-row{gap:0}.combined-slot .lineup-slot img,.combined-slot .circuit-field-player img{width:42px;height:48px}.combined-slot>.lineup-slot,.combined-slot>.circuit-field-player{min-height:65px}.combined-unit h3 small{display:none}}
/* Depth chart: offset secondaries, wide receivers, and a true backfield. */
.depth-chart{position:relative;height:270px;margin:0 14px}
.depth-chart>.combined-slot{position:absolute;width:13%;max-width:76px;transform:translate(-50%,-50%)}
.combined-offense{margin-top:0;padding-top:8px}
.combined-defense .depth-chart{height:240px}
.combined-pitch .combined-slot>.lineup-slot,.combined-pitch .combined-slot>.circuit-field-player{min-height:64px}
.circuit-field-player[draggable="true"]{cursor:grab}
.circuit-field-player[draggable="true"]:active{cursor:grabbing}
body .position-tooltip,#circuitPanel .position-tooltip{width:280px;padding:10px 12px;border-radius:6px;font-size:10px;line-height:1.35;box-sizing:border-box}
.position-tooltip .player-tip-name{font-size:13px}
.position-tooltip .player-tip-condition,.position-tooltip .player-tip-types{font-size:10px;margin-top:3px}
.position-tooltip .player-tip-types{display:inline}
.position-tooltip .player-tip-grid{gap:5px 12px;margin-top:7px;padding-top:7px}
.position-tooltip .player-tip-grid>span{display:flex;justify-content:space-between;gap:4px;font-size:9px}
.position-tooltip .player-tip-grid b{font-size:11px;margin:0}
.position-tooltip .player-tip-role{margin-top:8px;padding-top:7px;border-top:1px solid #ffffff26}
.position-tooltip .player-tip-role strong{font-size:11px}
.position-tooltip .player-tip-role p{font-size:10px;margin:4px 0 0}
.position-tooltip .player-tip-role p b{display:inline;font-size:9px;margin-right:4px}
@container(max-width:450px){.depth-chart{margin:0 6px;height:235px}.combined-defense .depth-chart{height:220px}.depth-chart>.combined-slot{width:13%}}
/* Clubhouse field sheet: a single continuous all-22 formation. */
.combined-lineup{border:1px solid #b6c4a9;box-shadow:0 12px 32px #19372a12}
.combined-pitch{padding:0 12px 16px;border:0;background:#204937;outline:none;overflow:hidden}
.field-caption{display:flex;justify-content:space-between;gap:12px;padding:13px 8px;color:#e1e8d4;font-size:9px;font-weight:600;letter-spacing:1.6px}
.field-caption>span:last-child{font-size:8px;font-weight:400;letter-spacing:.7px;color:#adc1a5}
/* Explicit width prevents min-height and aspect-ratio from widening narrow fields. */
.depth-chart.full-depth-chart{isolation:isolate;width:calc(100% - 16px);height:auto;aspect-ratio:1.25;margin:0 8px;min-height:480px;border:1px solid #dbe5c570;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(12.5% - 1px),#e0e8cf60 calc(12.5% - 1px),#e0e8cf60 12.5%),repeating-linear-gradient(0deg,#2b573f 0,#2b573f 12.5%,#305e44 12.5%,#305e44 25%);box-shadow:inset 0 0 40px #102c2630}
.full-depth-chart:before,.full-depth-chart:after{content:"";position:absolute;top:0;bottom:0;width:6px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 15px,#dce7cb70 15px,#dce7cb70 17px,transparent 17px,transparent 25px);pointer-events:none;z-index:-1}
.full-depth-chart:before{left:40%}.full-depth-chart:after{right:40%}
.field-scrimmage{position:absolute;left:0;right:0;top:48%;height:1px;background:#dfc887a6;box-shadow:0 0 8px #dfc88720;pointer-events:none}
.field-unit-label{position:absolute;left:9px;font-size:8px;letter-spacing:2px;color:#dfe8d280;font-weight:600;pointer-events:none}
.field-defense-label{top:3%}.field-offense-label{top:49%}
.full-depth-chart>.combined-slot{width:10%;max-width:82px;z-index:1}
.full-depth-chart>.combined-slot:hover,.full-depth-chart>.combined-slot:focus-within{z-index:2}
.combined-pitch .combined-slot>.lineup-slot,.combined-pitch .combined-slot>.circuit-field-player{min-height:0;gap:0;padding:0!important}
.full-depth-chart .lineup-slot img,.full-depth-chart .circuit-field-player img{width:58px;height:58px;max-width:100%;filter:drop-shadow(0 5px 3px #0b241cad)}
.full-depth-chart .member-info{display:block!important;order:2;background:#16372ce6;border:1px solid #b8cc9b26;padding:3px 2px 2px;width:max-content;max-width:120%;min-width:80%;border-radius:2px}
.full-depth-chart .member-info b,.full-depth-chart .circuit-field-player b{display:block!important;font-size:8px!important;line-height:1.15;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#eef0df;font-weight:500}
.full-depth-chart .member-info small{display:none!important}
.full-depth-chart .lineup-slot>span:first-child{order:3;font-size:8px;line-height:1.3;color:#e8d7a1;background:#16372ce6;min-width:80%;padding-bottom:2px}
.full-depth-chart .circuit-field-player>span:last-child{display:flex;flex-direction:column-reverse;background:#16372ce6;border:1px solid #b8cc9b26;padding:3px;min-width:80%;max-width:125%;border-radius:2px}
.full-depth-chart .circuit-field-player>span:last-child strong{color:#e8d7a1;font-size:8px;margin-top:1px}
.full-depth-chart .is-vacant>span:last-child b{display:none!important}
.full-depth-chart .circuit-vacancy{margin:3px;width:30px;height:30px}
.combined-reserves{background:#edf0e3;padding:12px 16px 8px}
.rb-formation.combined-host{max-width:none;width:100%}
@container(max-width:450px){.combined-pitch{padding:0 4px 10px}.field-caption{padding:10px 6px;font-size:8px;letter-spacing:1px}.field-caption>span:last-child{display:none}.depth-chart.full-depth-chart{width:calc(100% - 10px);margin:0 5px;min-height:450px}.full-depth-chart .lineup-slot img,.full-depth-chart .circuit-field-player img{width:44px;height:44px}.full-depth-chart .member-info b,.full-depth-chart .circuit-field-player b{font-size:7px!important}.full-depth-chart .member-info,.full-depth-chart .circuit-field-player>span:last-child{max-width:140%}.field-unit-label{font-size:7px;letter-spacing:1px}}

/* Override the older Indigo dialog palette for the shared scout tooltip. */
#rogueLineup .position-tooltip{background:#173c2d;color:#f6f3dc;width:280px;padding:10px 12px;font-size:10px;line-height:1.35}
#rogueLineup .rl-drop{outline:1px dashed #f5d785;outline-offset:-3px}
#rogueLineup .position-tooltip strong{color:#f2d488}
#rogueLineup .position-tooltip p{color:#e1e8d7;font-size:10px;line-height:1.35}
#rogueLineup .position-tooltip p b{color:#d4e2b4}
