/* Release 543 (ten simulated reviewers, owner: "do it"): small shared fixes, loaded from the top bar on every page.
   Home keeps its own look: every rule here skips body.b-home. */
:root { --us-blue: #1F2EF1; --us-red: #D62B2B; }

/* the visitor sign-up box under the top bar becomes a thin full-width blue bar */
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 10px clamp(20px, 2.8vw, 56px) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--us-blue) !important; color: #fff !important; gap: 8px 18px !important; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin :is(.sxs-title, .sxs-line) { margin: 0 !important; color: #fff !important; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-title { font: 800 14px/1.3 Manrope, system-ui, sans-serif !important; letter-spacing: .04em; text-transform: uppercase; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-line { opacity: .9; font-size: 13.5px !important; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-btn { min-height: 34px !important; padding: 0 14px !important; border-radius: 0 !important; background: #fff !important; color: var(--us-blue) !important; border: 2px solid #fff !important; font-weight: 800 !important; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-btn.sxs-outline { background: transparent !important; color: #fff !important; }
html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-x { color: #fff !important; background: transparent !important; }
@media (max-width: 640px) { html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf):not(#fxg) body:not(.b-home) #sx-signin .sxs-line { display: none; } }

/* the opening sentences start fully dark (they looked greyed out while waiting for the scroll) */
html:not(#fxa) body:not(.b-home) .hx-say .hx-w { opacity: 1 !important; }

/* worked example: a change that is not clear is grey, and says so */
.we9-big .we9-flag { font-style: normal; padding: 3px 7px; margin-left: 4px; background: #6B7080; color: #fff; letter-spacing: .06em; }
.we9-big .we9-flag.is-clear { background: var(--us-blue); }
html:not(#fxa):not(#fxb) body .we9-big.is-unclear b { color: #8A8F9C; }
html:not(#fxa):not(#fxb) body .we9-big.is-unclear i { color: #8A8F9C; }

/* track record: the key numbers in one big line above the table */
.rt9-head { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: clamp(22px, 4vh, 40px) 0 0; padding: 18px 0 0; border-top: 2px solid #0A0B0F; }
.rt9-head span { display: flex; flex-direction: column; color: #3D414C; font: 600 13.5px/1.3 Manrope, system-ui, sans-serif; }
.rt9-head b { color: var(--us-blue); font: 400 clamp(44px, 5vw, 84px)/.9 "Clay Attica", Manrope, system-ui, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rt9-head span:nth-child(3) b { color: var(--us-red); }
.rt9-head small { flex-basis: 100%; color: #3D414C; font: 600 14px/1.4 Manrope, system-ui, sans-serif; }

/* Team Scout on phones: two compact panels per row */
@media (max-width: 767px) {
  html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf) body .scout-grid:has(.sc9) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px !important; }
  html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf) body .sc9 .sc9-cap h3 { font-size: 15px !important; }
  html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf) body .sc9 :is(.sc9-sr, .scout-card-details, .gxp-chip) { display: none !important; }
  html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf) body .sc9 .scout-team-meta { font-size: 12px !important; }
  html:not(#fxa):not(#fxb):not(#fxc):not(#fxd):not(#fxe):not(#fxf) body .scout-controls { position: sticky; top: 56px; z-index: 5; background: #fff; padding-bottom: 8px; }
}

/* Coaches: the run button follows you once the first screen has gone by */
.st9-sticky { position: fixed; left: clamp(16px, 2.8vw, 56px); bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; background: var(--us-red); color: #fff !important; font: 800 15px/1 Manrope, system-ui, sans-serif; text-decoration: none !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transform: translateY(140%); transition: transform .3s ease; }
.st9-sticky.is-on { transform: none; }
.st9-sticky:hover { background: #B71F1F; }
@media (max-width: 767px) { .st9-sticky { bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .st9-sticky { transition: none; } }
