@import url("./shared/product-crosshair.css");

fsn-global-header { display: block; width: 100vw; margin-left: calc(50% - 50vw); color-scheme: dark; }
.fsn-global-header { position: sticky; z-index: 80; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); min-height: 86px; align-items: center; column-gap: 18px; border-bottom: 1px solid #292d31; background: #050607; color: #eef2f4; padding: 9px 24px; font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.fsn-global-brand { grid-column: 2; display: inline-flex; align-items: center; justify-self: center; gap: 14px; color: #f4f6f7; text-decoration: none; }
.fsn-global-brand-copy { display: grid; gap: 4px; }
.fsn-global-brand-copy strong { color: #fff; font-size: clamp(1.22rem,1.55vw,1.55rem); font-weight: 950; letter-spacing: -.035em; line-height: .95; }
.fsn-global-brand-copy em { color: #aeb5b9; font-size: .62rem; font-style: normal; font-weight: 850; letter-spacing: .045em; line-height: 1; }
.fsn-global-mark { position: relative; width: 39px; height: 39px; border: 2px solid #f4f7f9; border-radius: 50%; box-shadow: inset 0 0 0 4px #050607,inset 0 0 0 7px #df3f43,0 0 12px rgb(223 63 67 / 20%); }
.fsn-global-mark::before,
.fsn-global-mark::after { content: ""; position: absolute; left: 50%; top: 50%; background: #df3f43; transform: translate(-50%,-50%); }
.fsn-global-mark::before { width: 51px; height: 2px; }
.fsn-global-mark::after { width: 2px; height: 51px; }
.fsn-global-products { grid-column: 3; display: flex; min-width: 0; align-items: center; justify-self: end; justify-content: flex-end; gap: 7px; color: #9da5aa; font-size: .57rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.fsn-global-products > [data-fsn-global-product] { --product-color: #f4f7f9; position: relative; display: grid; min-width: 58px; place-items: center; flex: 0 0 auto; gap: 3px; border-radius: 7px; color: inherit; padding: 4px 7px 7px; text-align: center; text-decoration: none; white-space: nowrap; }
.fsn-global-products > [data-fsn-global-product="home"] { --product-color: #ff7a45; }
.fsn-global-products > [data-fsn-global-product="news"] { --product-color: #41d6a2; }
.fsn-global-products > [data-fsn-global-product="draft"] { --product-color: #57e2ff; }
.fsn-global-products > [data-fsn-global-product="hq"] { --product-color: #59a9f4; }
.fsn-global-products > [data-fsn-global-product="league"] { --product-color: #f0bd49; }
.fsn-global-products > [data-fsn-global-product="cast"] { --product-color: #f06ab8; }
.fsn-global-products > [data-fsn-global-product="profile"] { --product-color: #b58af2; }
.fsn-global-products > a::after { content: ""; position: absolute; right: 24%; bottom: 1px; left: 24%; height: 2px; border-radius: 999px; background: var(--product-color); opacity: 0; transform: scaleX(.45); transition: opacity 140ms ease,transform 140ms ease; }
.fsn-global-products svg { width: 23px; height: 23px; fill: none; stroke: var(--product-color); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px color-mix(in srgb,var(--product-color) 32%,transparent)); }
.fsn-global-products > a:hover,
.fsn-global-products > a[aria-current="page"] { background: color-mix(in srgb,var(--product-color) 9%,transparent); color: #fff; }
.fsn-global-products > a:hover::after,
.fsn-global-products > a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.fsn-global-header a:focus-visible { outline: 2px solid #b8ff3d; outline-offset: 3px; }
@media (max-width: 1440px) {
  .fsn-global-header { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 10px 16px 8px; }
  .fsn-global-brand { grid-column: 1; justify-self: center; }
  .fsn-global-products { grid-column: 1; width: 100%; justify-self: stretch; justify-content: center; overflow-x: auto; padding-top: 4px; scrollbar-width: thin; }
}
@media (max-width: 700px) {
  fsn-global-header { width: 100%; margin-left: 0; }
  .fsn-global-header { padding-inline: 12px; }
  .fsn-global-brand { gap: 12px; }
  .fsn-global-brand-copy strong { font-size: 1.15rem; }
  .fsn-global-brand-copy em { font-size: .56rem; }
  .fsn-global-mark { width: 35px; height: 35px; }
  .fsn-global-mark::before { width: 45px; }
  .fsn-global-mark::after { height: 45px; }
  .fsn-global-products { justify-content: flex-start; }
  .fsn-global-products > [data-fsn-global-product] { min-width: 52px; padding-inline: 5px; }
}
