/* Release 625: the matchup strip above the simulation conversation (b625_strip.js), and the lineup editor as a side panel.
   Bold, square, Scoutics colours; the figures are the editor's own (release 600/601). */
html.b625-on:not(.b625-edit) #stadiumMatchPanel section.lineup-lab, html.b625-on #stadiumMatchPanel .sim-fold-body > .b3-step-head:first-child { display: none !important; }
html.b625-on.b625-edit #stadiumMatchPanel section.lineup-lab { position: fixed !important; z-index: 1000; top: 0; right: 0; bottom: 0; width: min(760px, 100vw); margin: 0 !important; padding: 64px 22px 28px !important; overflow-y: auto; background: #fff; box-shadow: -12px 0 40px rgba(10, 11, 15, .35); }
html.b625-on.b625-edit body::after { content: ""; position: fixed; inset: 0; z-index: 999; background: rgba(10, 11, 15, .55); }
.b625-close { display: none; }
html.b625-on.b625-edit .b625-close { display: inline-flex; align-items: center; position: absolute; top: 14px; right: 18px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 0; background: #0A0B0F; color: #fff; font: 800 13px/1 Manrope, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.b625 { max-width: 1280px; margin: 0 auto 0; padding: 18px max(16px, 2vw) 16px; background: #F4F5F7; border-bottom: 1px solid #E3E5EA; font-family: Inter, system-ui, sans-serif; color: #0A0B0F; }
.b625-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.b625-k { margin: 0; font: 800 13px/1.2 Manrope, Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.b625-state { margin: 0; font: 600 13px/1.3 Inter, sans-serif; color: #6B7080; } .b625-state.is-dirty { color: #D62B2B; }
.b625-acts { display: flex; gap: 8px; margin-left: auto; }
.b625-edit, .b625-go { min-height: 44px; padding: 0 18px; border-radius: 0; font: 800 13px/1 Manrope, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.b625-edit { border: 2px solid #0A0B0F; background: #fff; color: #0A0B0F; }
.b625-go { min-width: 150px; border: 2px solid #1F2EF1; background: #1F2EF1; color: #fff; }
.b625-go:hover:not(:disabled) { background: #0A0B0F; border-color: #0A0B0F; } .b625-edit:hover { background: #0A0B0F; color: #fff; }
.b625-go:disabled { opacity: .55; cursor: wait; }
.b625-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.b625-team { min-width: 0; padding: 12px 12px 10px; background: #fff; border-top: 5px solid #1F2EF1; }
.b625-team.is-away { border-top-color: #D62B2B; }
.b625-name { margin: 0 0 8px; font: 800 18px/1.15 Manrope, Inter, sans-serif; letter-spacing: -.01em; }
.b625-name small { margin-left: 6px; font: 700 11px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6B7080; }
.b625-five { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.b625-five.is-many { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.b625-five li { min-width: 0; margin: 0 !important; padding: 0 !important; }
.b625-five .b625-p { width: 100%; box-sizing: border-box; }
.b625-bench li { margin: 0 !important; padding: 0 !important; }
.b625-p, .b625-b { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; padding: 6px 4px 8px; border: 2px solid transparent; border-radius: 0; background: #F4F5F7; color: #0A0B0F; cursor: pointer; text-align: center; }
.b625-p:hover, .b625-b:hover { border-color: #0A0B0F; transform: none !important; }
.b625-p.is-pick { border-color: #1F2EF1; background: #E9EBFE; }
.b625-p b, .b625-b b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 12px/1.2 Inter, sans-serif; text-transform: none; }
.b625-p small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b625-p small, .b625-b small { font: 600 10px/1.2 Inter, sans-serif; color: #6B7080; text-transform: uppercase; letter-spacing: .04em; }
.b625-p small em { font-style: normal; color: #D62B2B; }
.b625 .b600-fig { position: relative; display: block; height: 64px; width: auto; isolation: isolate; }
.b625 .b600-fig img { display: block; height: 100%; width: auto; }
.b625 .b600-fig i { position: absolute; inset: 0; mix-blend-mode: multiply; -webkit-mask: var(--b600-m1) center / 100% 100% no-repeat; mask: var(--b600-m1) center / 100% 100% no-repeat; background: var(--b600-k1); }
.b625 .b600-fig i.b600-k2 { -webkit-mask-image: var(--b600-m2); mask-image: var(--b600-m2); background: var(--b600-k2); }
.b625-p.is-new .b600-fig { animation: b625in .45s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes b625in { from { transform: translateY(-18px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.b625-bench { margin-top: 10px; padding-top: 8px; border-top: 2px solid #0A0B0F; }
.b625-bench.is-open { animation: b625open .3s ease both; }
@keyframes b625open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.b625-bk { margin: 0 0 8px; font: 700 12px/1.3 Inter, sans-serif; color: #1F2EF1; }
.b625-bench ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0 0 4px; overflow-x: auto; }
.b625-b { width: 76px; flex: none; background: #fff; border-color: #E3E5EA; }
.b625-b .b600-fig { height: 52px; }
.b625-b.is-out { opacity: .4; cursor: not-allowed; }
.b625-hint { margin: 10px 0 0; font: 500 13px/1.4 Inter, sans-serif; color: #3F4350; }
.b625-wait { margin: 0; font: 500 14px/1.4 Inter, sans-serif; color: #6B7080; }
.b625-mini { margin: 10px 0 0; padding: 10px 12px; background: #0A0B0F; color: #fff; font: 700 14px/1.3 Inter, sans-serif; cursor: pointer; }
.b625.is-folded .b625-teams, .b625.is-folded .b625-hint { display: none; }
.b625 :focus-visible { outline: 3px solid #5FCB6A; outline-offset: 2px; }
@media (max-width: 860px) { .b625-teams { grid-template-columns: minmax(0, 1fr); } .b625-acts { width: 100%; } .b625-acts > * { flex: 1; } }
@media (max-width: 600px) { .b625-five, .b625-five.is-many { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scroll-snap-type: x proximity; } .b625-five li { flex: 0 0 76px; scroll-snap-align: start; } .b625 .b625-p .b600-fig { height: 54px; } .b625-team { padding: 10px 8px; } }
@media (prefers-reduced-motion: reduce) { .b625-p.is-new .b600-fig, .b625-bench.is-open { animation: none; } }
