/* Release 537 (owner: "make example, contact, team, betting lab, team scout, support, about and coaches similar style too; define
   the intention and story for each page and follow the style you made for How it works; feel free to use big panels as bold with
   D62B2B too, like the USA flag"). Wide pages, giant left-aligned headings, square corners, and each page ends on the flag panel:
   a blue field with the page's last message and a red field with its one action, over red and white stripes. */
.st9 { --edge: clamp(20px, 2.8vw, 56px); --us-blue: #1F2EF1; --us-red: #D62B2B; --ink: #0A0B0F; }

/* wide, like Games, Live and How it works */
@media (min-width: 900px) {
  html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-container, .cf-wrap) { max-width: none !important; width: 100% !important; box-sizing: border-box; padding-left: var(--edge) !important; padding-right: var(--edge) !important; }
}

/* the first view: white, giant, left */
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero, .p5-hero, .st9-hero, .bh-team) { background: #fff !important; color: var(--ink) !important; text-align: left !important; padding-top: clamp(40px, 8vh, 110px) !important; padding-bottom: clamp(40px, 7vh, 96px) !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero, .p5-hero, .st9-hero) > .b-container, html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .bh-team > .b-container { text-align: left !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero h1, .p5-hero .b-h1, .st9-hero .b-h1, .bh-team #tmTitle, .hx-hero .b-h1) { margin: 0 !important; max-width: 14em; color: var(--ink) !important; text-align: left !important; font: 400 clamp(56px, 10.5vw, 200px)/.88 "Clay Attica", Manrope, system-ui, sans-serif !important; letter-spacing: -.035em !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero > .b-container > p:not(.p6-crumb):not(.cf-fine), .p5-hero .b-lead, .st9-hero .b-lead, .bh-team-lead) { max-width: 26em; margin: clamp(22px, 3.5vh, 40px) 0 0 !important; color: var(--ink) !important; text-align: left !important; font: 700 clamp(22px, 2.5vw, 42px)/1.12 Manrope, system-ui, sans-serif !important; letter-spacing: -.02em; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.p6-crumb, .b-eyebrow, .bh-kicker) { color: var(--us-red) !important; text-align: left !important; font: 700 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace !important; letter-spacing: .06em; text-transform: uppercase; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero, .p5-hero) .b-btns { justify-content: flex-start !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero .b-btn-light, .b-subhero .b-btn, .p5-hero .b-btn) { background: var(--us-blue) !important; color: #fff !important; border-color: var(--us-blue) !important; border-radius: 0 !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-subhero .b-btn-secondary { background: #fff !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; border-radius: 0 !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-subhero, .p5-hero) :is(.cf-fine, .scout-scope, .p6-updated) { color: #3D414C !important; text-align: left !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-subhero a:not(.b-btn):not(.b-btn-light):not(.b-btn-secondary) { color: var(--ink) !important; }

/* section headings: big, left, the confident face */
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-section, .cf-sports, .cf-features) :is(h2.b-h2, .cf-head > h2) { max-width: 18em; margin-left: 0 !important; text-align: left !important; color: var(--ink) !important; font: 400 clamp(40px, 6vw, 108px)/.92 "Clay Attica", Manrope, system-ui, sans-serif !important; letter-spacing: -.03em !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.p5-head, .cf-head, .b-center) { text-align: left !important; margin-left: 0 !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-t.st9-h { margin: 0 0 clamp(20px, 4vh, 44px) !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 :is(.b-card, .b-media, .b-media img, .b-tabs, .b-btn, .b-btn-secondary, .lab-panel, .we-card, .scout-browser input, .p6-search, .p6-search input, .p6-search .b-btn) { border-radius: 0 !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-card { box-shadow: none !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-card.is-line { border: 2px solid var(--ink) !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-btn:not(.b-btn-light) { background: var(--us-blue) !important; border-color: var(--us-blue) !important; color: #fff !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-section.is-soft { background: #F4F5F8 !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-n { color: var(--us-red) !important; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-act { border-top-color: var(--us-red); }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-acts > .hx-act:first-child, html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-acts > h2 + .hx-act { border-top: 0; }

/* lists and small parts used in the acts */
.st9-list { margin: 0 0 22px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.st9-list li { padding: 14px 0; border-bottom: 1px solid #C9CCD3; font: 600 clamp(17px, 1.35vw, 21px)/1.4 Manrope, system-ui, sans-serif; color: var(--ink); }
.st9-list a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
html:not(#sta) .st9 .st9-facts3 b { font-size: clamp(22px, 2vw, 32px); }
.st9-btn { background: none; border: 0; border-bottom: 3px solid var(--ink); padding: 0 0 6px; cursor: pointer; }
.st9-fine { padding: 28px var(--edge) 40px; color: #5B5F6B; font: 500 13px/1.55 Manrope, system-ui, sans-serif; }
.st9-fine h2 { margin: 0 0 6px; font: 800 13px/1.3 Manrope, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: #3D414C; }
.st9-fine p { max-width: 80em; margin: 0 0 6px; }
.st9-fine a { color: inherit; }

/* the flag panel: blue field, red field, red and white stripes */
.fl9 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); margin: 0; background: #fff; }
.fl9-blue { padding: clamp(40px, 8vh, 96px) var(--edge, clamp(20px, 2.8vw, 56px)); background: #1F2EF1; color: #fff; }
.fl9-red { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(40px, 8vh, 96px) var(--edge, clamp(20px, 2.8vw, 56px)); background: #D62B2B; color: #fff !important; text-decoration: none !important; transition: background .2s ease; }
.fl9-red:hover, .fl9-red:focus-visible { background: #B71F1F; }
.fl9-red b { font: 400 clamp(40px, 5.2vw, 96px)/.92 "Clay Attica", Manrope, system-ui, sans-serif; letter-spacing: -.03em; }
.fl9-red b::after { content: " \2197"; font: 400 .45em/1 Manrope, system-ui, sans-serif; }
html:not(#fla) .fl9 .fl9-k { margin: 0 0 16px; color: #fff !important; opacity: .85; font: 700 13px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
html:not(#fla):not(#flb) body .fl9 .fl9-blue h2 { max-width: 12em; margin: 0 0 22px !important; color: #fff !important; text-align: left !important; font: 400 clamp(44px, 6.4vw, 120px)/.9 "Clay Attica", Manrope, system-ui, sans-serif !important; letter-spacing: -.035em !important; }
html:not(#fla) .fl9 .fl9-blue :is(p, li) { max-width: 40em; margin: 0; color: #fff !important; font: 600 clamp(17px, 1.4vw, 22px)/1.45 Manrope, system-ui, sans-serif; }
html:not(#fla) .fl9 .fl9-blue ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid #fff; }
html:not(#fla) .fl9 .fl9-blue li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .45); }
html:not(#fla) .fl9 .fl9-blue a { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
html:not(#fla) .fl9 .fl9-blue .pp9-big { display: inline-block; margin-top: 26px; font: 400 clamp(30px, 3.4vw, 60px)/1 "Clay Attica", Manrope, system-ui, sans-serif; text-decoration: none; border-bottom: 3px solid #fff; }
.fl9-stripes { grid-column: 1 / -1; height: clamp(70px, 10vh, 120px); background: repeating-linear-gradient(180deg, #D62B2B 0 14.285%, #fff 14.285% 28.57%); }
@media (max-width: 767px) { .fl9 { grid-template-columns: minmax(0, 1fr); } .fl9-red { min-height: 200px; } }

/* page parts that needed a nudge */
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .bh-team-grid .bh-person-photo { width: 168px; height: 168px; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .tm-words blockquote { font: 600 clamp(18px, 1.5vw, 24px)/1.45 Manrope, system-ui, sans-serif; color: var(--ink); }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .p6-sup-head { align-items: end; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-hero + .hx-acts > .hx-act:first-child { padding-top: clamp(24px, 5vh, 64px); }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .hx-body > .b-card#contact-form { padding: 0 !important; border: 0 !important; background: transparent !important; }
html:not(#fla):not(#flb):not(#flc) body a.fl9-red.we-btn { color: #fff !important; background: #D62B2B !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html:not(#fla):not(#flb):not(#flc) body a.fl9-red.we-btn:hover { background: #B71F1F !important; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-red :is(b, span) { color: #fff !important; opacity: 1; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-red .fl9-k { opacity: .85; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-blue a { color: #fff !important; opacity: 1; }
html:not(#sta):not(#stb):not(#stc):not(#std):not(#ste):not(#stf) body .st9 .b-subhero.is-center :is(.p6-crumb, .cf-fine, p) { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }

/* release 538 (owner: "I didn't mean literally a flag, just these two colours; use pure red #D62B2B at some point too"): the
   closing panel is one solid colour, blue or pure red, with the message on the left and the action on the right behind a thin
   white rule. No stripes, no two-colour split. Red closes About, Support, the Betting Lab and Coaches; blue the others. */
.fl9 { background: #1F2EF1; }
.fl9.is-red { background: #D62B2B; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 :is(.fl9-blue, .fl9-red, a.fl9-red.we-btn) { background: transparent !important; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-red { border-left: 2px solid rgba(255, 255, 255, .7) !important; }
html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-red:is(:hover, :focus-visible) { background: rgba(255, 255, 255, .1) !important; }
.fl9-stripes { display: none; }
@media (max-width: 767px) { html:not(#fla):not(#flb):not(#flc):not(#fld):not(#fle) body .fl9 .fl9-red { border-left: 0 !important; border-top: 2px solid rgba(255, 255, 255, .7) !important; } }
