/*
 * The Typekit service used to deliver this font or fonts for use on websites
 * is provided by Adobe and is subject to these Terms of Use
 * http://www.adobe.com/products/eulas/tou_typekit. For font license
 * information, see the list below.
 *
 * ff-scala-sans-pro:
 *   - http://typekit.com/eulas/0000000000000000774f9b92
 *   - http://typekit.com/eulas/0000000000000000775112bb
 *   - http://typekit.com/eulas/0000000000000000774f9b93
 *   - http://typekit.com/eulas/0000000000000000774ff1ee
 *   - http://typekit.com/eulas/0000000000000000774ff1e3
 *   - http://typekit.com/eulas/0000000000000000774f9bb0
 *   - http://typekit.com/eulas/0000000000000000774ff1f2
 *   - http://typekit.com/eulas/0000000000000000774ff1eb
 * ff-scala-sans-pro-condensed:
 *   - http://typekit.com/eulas/0000000000000000774f9b8f
 *   - http://typekit.com/eulas/0000000000000000774ff1e2
 * goodland-variable:
 *   - http://typekit.com/eulas/0000000000000000774b97dc
 *
 * © 2009-2026 Adobe Systems Incorporated. All Rights Reserved.
 */
/*{"last_published":"2026-11-04 21:59:47 UTC"}*/

@font-face {
    font-family: "ff-scala-sans-pro";
    src: url("https://use.typekit.net/af/1abfce/0000000000000000774f9b93/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),
        url("https://use.typekit.net/af/1abfce/0000000000000000774f9b93/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),
        url("https://use.typekit.net/af/1abfce/0000000000000000774f9b93/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
    font-feature-settings: "lnum";
}

@font-face {
    font-family: "ff-scala-sans-pro";
    src: url("https://use.typekit.net/af/49e89a/0000000000000000774ff1ee/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"),
        url("https://use.typekit.net/af/49e89a/0000000000000000774ff1ee/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"),
        url("https://use.typekit.net/af/49e89a/0000000000000000774ff1ee/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 700;
    font-stretch: normal;
    font-feature-settings: "lnum";
}

@font-face {
    font-family: "ff-scala-sans-pro";
    src: url("https://use.typekit.net/af/87a1bf/0000000000000000774ff1e3/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),
        url("https://use.typekit.net/af/87a1bf/0000000000000000774ff1e3/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),
        url("https://use.typekit.net/af/87a1bf/0000000000000000774ff1e3/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 400;
    font-stretch: normal;
    font-feature-settings: "lnum";
}

@font-face {
    font-family: "ff-scala-sans-pro";
    src: url("https://use.typekit.net/af/c06734/0000000000000000774ff1eb/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),
        url("https://use.typekit.net/af/c06734/0000000000000000774ff1eb/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),
        url("https://use.typekit.net/af/c06734/0000000000000000774ff1eb/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    font-feature-settings: "lnum";
}

@font-face {
    font-family: "goodland-variable";
    src: url("https://use.typekit.net/af/3de3de/0000000000000000774b97dc/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),
        url("https://use.typekit.net/af/3de3de/0000000000000000774b97dc/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),
        url("https://use.typekit.net/af/3de3de/0000000000000000774b97dc/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 200 900;
    font-stretch: normal;
}

/* Forge footer credit. */
@font-face {
    font-family: "gesta";
    src: url("https://use.typekit.net/af/ae89bd/00000000000000007735d9f2/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),
        url("https://use.typekit.net/af/ae89bd/00000000000000007735d9f2/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),
        url("https://use.typekit.net/af/ae89bd/00000000000000007735d9f2/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

/* Foundations */
:root {
    --fixture-open-cup: #1a56c7;
    --font-heading: "goodland-variable", "Arial Narrow", sans-serif;
    --font-body: "ff-scala-sans-pro", Arial, sans-serif;
    --font-credit: "gesta", var(--font-body);
    --weight-regular: 400;
    --weight-bold: 700;
    --interaction-duration: 180ms;
    --menu-duration: 240ms;
    --hover-opacity: .82;
    --hover-lift: -2px;
    --red: #da2228;
    --red-hover: #ba1821;
    --cta-hover: #ff0000;
    --pink: #ffb7b9;
    --ink: #171719;
    --match-dark: #101012;
    --match-women: #3e3c3c;
    --paper: #f5f2ec;
    --white: #ffffff;
    --muted: #66635f;
    --inverse-muted: #d7d2c9;
    --hero-muted: #dad6d1;
    --hero-overlay: rgb(0 0 0 / 70%);
    --sponsor-surface: #f0f0f0;
    --focus: #005fcc;
    --transparent: transparent;
    --body-size: 18px;
    --body-leading: 28px;
    --small-size: 14px;
    --small-leading: 21px;
    --label-size: 12px;
    --label-leading: 16px;
    --caption-size: 10px;
    --caption-leading: 14px;
    --eyebrow-size: 18px;
    --eyebrow-leading: 20px;
    --subheading-size: 24px;
    --subheading-leading: 28px;
    --subheading-tracking: -.72px;
    --heading-size: 44px;
    --heading-leading: 40px;
    --heading-tracking: -3.08px;
    --card-size: 28px;
    --card-leading: 31px;
    --card-tracking: -.84px;
    --editorial-size: 28px;
    --editorial-leading: 31px;
    --editorial-tracking: -.07em;
    --feature-size: 48px;
    --feature-leading: 43px;
    --feature-tracking: -3.36px;
    --footer-size: 36px;
    --footer-leading: 35px;
    --footer-tracking: -1.8px;
    --hero-size: 64px;
    --hero-leading: 54px;
    --hero-tracking: -4.48px;
    --hero-body-size: 18px;
    --credit-size: 12px;
    --credit-leading: 14px;
    --gutter: 24px;
    --section-space: 40px;
    --content-max: 1320px;
    --header-height: 86px;
    --header-logo-top: 10px;
    --header-logo-overlap: 10px;
    --header-logo-stroke: 3px;
    --black: #000;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: var(--weight-regular);
    line-height: var(--body-leading);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd {
    margin: 0;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-variation-settings: "wdth" 100;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 5px;
}

.container {
    width: min(var(--content-max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.section-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.section-title {
    font-size: var(--heading-size);
    line-height: var(--heading-leading);
    letter-spacing: var(--heading-tracking);
}

.eyebrow {
    color: var(--red);
    min-height: 13px;
    font: var(--weight-bold) var(--eyebrow-size) / var(--eyebrow-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.button {
    display: inline-flex;
    height: 56px;
    flex-shrink: 0;
    width: 240px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: var(--red);
    color: var(--white);
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-align: center;
}

/* Links fade; upward movement is reserved for navigation. */
a:not(.skip-link):not(.brand):not([aria-current]), .menu-toggle {
    transition: opacity var(--interaction-duration) ease,
        transform var(--interaction-duration) ease,
        color var(--interaction-duration) ease,
        background-color var(--interaction-duration) ease;
}

.primary-nav a, .footer-nav a, .copyright a,
.story-link, .news h3 a {
    display: inline-block;
}

a:not(.skip-link):not(.brand):not([aria-current]):focus-visible, .menu-toggle:focus-visible {
    opacity: var(--hover-opacity);
}

nav {
    --hover-opacity: 1;
}

nav a:not([aria-current]):is(:hover, :focus-visible) {
    color: var(--red);
}

nav a:not([aria-current]):focus-visible, .menu-toggle:focus-visible {
    transform: translateY(var(--hover-lift));
}

@media (hover: hover) {
    a:not(.skip-link):not(.brand):not([aria-current]):hover, .menu-toggle:hover {
        opacity: var(--hover-opacity);
    }

    nav a:not([aria-current]):hover, .menu-toggle:hover {
        transform: translateY(var(--hover-lift));
    }
}

/* Red CTAs brighten at full opacity; other button variants keep their own states. */
.button:not(.button--inverse, .fixtures-tab-secondary, .youth-registration .button, .news-shop-card .button) {
    --hover-opacity: 1;
    transition: opacity var(--interaction-duration) ease,
        transform var(--interaction-duration) ease,
        color var(--interaction-duration) ease,
        background-color var(--interaction-duration) ease;
}
.button:not(.button--inverse, .fixtures-tab-secondary, .youth-registration .button, .news-shop-card .button):is(:hover, :focus-visible) {
    background: var(--cta-hover);
    color: var(--white);
    opacity: 1;
}

.button--inverse {
    background: var(--white);
    color: var(--ink);
}

/* White CTAs invert to the site black, retaining their existing transition. */
:is(.button--inverse, .youth-registration .button, .news-shop-card .button) {
    --hover-opacity: 1;
    transition: opacity var(--interaction-duration) ease,
        transform var(--interaction-duration) ease,
        color var(--interaction-duration) ease,
        background-color var(--interaction-duration) ease;
}
:is(.button--inverse, .youth-registration .button, .news-shop-card .button):is(:hover, :focus-visible) {
    background: var(--ink);
    color: var(--white);
    opacity: 1;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 20;
    padding: 12px 20px;
    background: var(--white);
}

.skip-link:focus {
    top: 16px;
}

/* Leave anchor destinations visible below the sticky header. */
main[id], section[id], #matches {
    scroll-margin-top: var(--header-height);
}

/* Complete Home header — retained here until the page-parts phase. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--ink);
    color: var(--white);
    border-bottom: 10px solid var(--red);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
    padding-inline: var(--gutter);
}

/* Keep the crest's top fixed while it extends below the sticky border. */
.brand-heading {
    --header-logo-size: calc(var(--header-height) + var(--header-logo-overlap) - var(--header-logo-top));
    position: relative;
    z-index: 1;
    flex: 0 0 var(--header-logo-size);
    align-self: flex-start;
    width: var(--header-logo-size);
    height: var(--header-logo-size);
    margin-top: var(--header-logo-top);
    border-radius: 50%;
    outline: var(--header-logo-stroke) solid var(--ink);
}

/* Keep real heading text available while replacing the link visually with the SVG. */
.brand {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: var(--ink) url("/images/rangers-header.svg") center / contain no-repeat;
    text-indent: 100%;
    white-space: nowrap;
}
.primary-nav {
    display: none;
}

.header-actions {
    display: none;
}

.menu-toggle {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    margin-inline-end: -6px;
    padding: 0;
    color: var(--white);
    background: var(--transparent);
    border: 0;
    cursor: pointer;
}

/* Preserve the Figma hamburger and finish on ES Icon Library 3's x-close asset. */
.menu-toggle__icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
}
.menu-toggle__lines {
    display: block;
}
.menu-toggle__line {
    transform-box: view-box;
    transform-origin: 16px 16px;
    opacity: 1;
    transition: transform var(--menu-duration) ease,
        stroke-width var(--menu-duration) ease,
        opacity calc(var(--menu-duration) / 4) ease;
}
.menu-toggle__line--top {
    transform: translateY(-10px);
}
.menu-toggle__line--bottom {
    transform: translate(4px, 10px) scaleX(.6666667);
}
.menu-toggle__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    -webkit-mask: url("/images/menu-close.svg") center / 32px 32px no-repeat;
    mask: url("/images/menu-close.svg") center / 32px 32px no-repeat;
    opacity: 0;
    transition: opacity calc(var(--menu-duration) / 4) ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__line--top {
    transform: rotate(45deg) scale(.942809);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__line--bottom {
    transform: rotate(-45deg) scale(.942809);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__line {
    stroke-width: 2.666667px;
    opacity: 0;
    transition-delay: 0s, 0s, calc(var(--menu-duration) * .75);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__line--middle {
    transform: scaleX(.5);
    transition-delay: 0s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    opacity: 1;
    transition-delay: calc(var(--menu-duration) * .75);
}
@media (prefers-reduced-motion: reduce) {
    .menu-toggle__line,
    .menu-toggle__icon::after {
        transition: none;
    }
}
/* Reveal the mobile dropdown without scaling its text. */
@media (max-width: 1199px) {
    .primary-nav {
        display: flex;
        position: absolute;
        inset: calc(100% + 10px) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px var(--gutter);
        background: var(--ink);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        clip-path: inset(0 0 100% 0);
        transition: opacity var(--menu-duration) ease,
            transform var(--menu-duration) ease,
            clip-path var(--menu-duration) ease,
            visibility 0s linear var(--menu-duration);
    }

    .site-header.is-open .primary-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        clip-path: inset(0);
        transition-delay: 0s;
    }

    .primary-nav a {
        padding-block: 12px;
        font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    }
}

/* Mobile keeps the desktop photograph's framing beneath the copy. */
.hero {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--ink);
    color: var(--white);
}

.hero-image {
    position: relative;
    order: 2;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 773;
    overflow: hidden;
}

.hero-image img {
    position: absolute;
    width: 137.63%;
    height: auto;
    left: -14.28%;
    top: -29.1%;
}

.hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px var(--gutter) 40px;
}

.hero-eyebrow {
    color: var(--pink);
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.hero .hero-copy > h2 {
    font-size: var(--hero-size);
    line-height: var(--hero-leading);
    letter-spacing: var(--hero-tracking);
}

.desktop-break {
    display: none;
}

.hero-description {
    font-size: var(--hero-body-size);
    line-height: var(--body-leading);
}

.hero-copy-break {
    display: none;
}

.hero .button {
    width: 100%;
}

/* Figma's in-season home-match specimens. No invented running timer. */
.match-panel {
    background: var(--match-dark);
    color: var(--white);
    padding-block: 32px;
}

.match-panel--women {
    background: var(--match-women);
}

.match-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: min(var(--content-max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.match-information {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.match-league {
    width: 45px;
    height: auto;
}

.match-information h2 {
    font-size: var(--card-size);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}

.match-information > p {
    color: var(--inverse-muted);
    font-size: var(--small-size);
    line-height: var(--small-leading);
}

.match-crests {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.match-rangers {
    display: block;
    width: clamp(96px, 28.718vw, 112px);
    height: clamp(96px, 28.718vw, 112px);
}

.match-rangers img {
    width: 100%;
    height: 100%;
}

.versus {
    width: 32px;
    flex: 0 0 32px;
    color: var(--inverse-muted);
    text-align: center;
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
}

.opponent {
    position: relative;
    height: 112px;
    overflow: hidden;
}

.opponent--men {
    width: 94px;
}

.opponent--men img {
    position: absolute;
    width: 136.59%;
    height: 100%;
    top: 0;
    left: -18.29%;
}

.opponent--women {
    width: 111px;
}

.opponent--women img {
    position: absolute;
    width: 132.19%;
    height: 114.63%;
    top: -4.02%;
    left: -15.56%;
}

.match-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.countdown {
    text-align: center;
}

.countdown .eyebrow {
    color: var(--pink);
    margin-bottom: 8px;
}

.countdown-units {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.countdown-units > div {
    width: 64px;
    min-width: 0;
    flex: 0 1 64px;
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

.countdown dt {
    color: var(--inverse-muted);
    font-size: var(--caption-size);
    line-height: var(--caption-leading);
}

.countdown dd {
    font: var(--weight-bold) var(--card-size) / var(--card-leading) var(--font-heading);
    letter-spacing: var(--card-tracking);
}

.match-actions .button {
    width: 100%;
}

/* Club pathways and news. */
.pathways {
    background: var(--paper);
}

.section-intro {
    color: var(--muted);
}

.pathways-grid, .news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
}

.pathway-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
    background: var(--white);
}

.pathway-card h3 {
    font-size: var(--card-size);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}

.pathway-description {
    color: var(--muted);
}

.pathway-card .button {
    width: 100%;
}

.news {
    background: var(--white);
}



.news > .container > .eyebrow {
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
}

.news-card {
    padding-bottom: 24px;
}

.news-image {
    display: block;
    margin-bottom: 16px;
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-inline: 20px;
}

.news h3 {
    font-size: var(--editorial-size);
    line-height: var(--editorial-leading);
    letter-spacing: var(--editorial-tracking);
}

.news h3 a:hover, .story-link:hover {
    color: var(--red);
}

.story-link {
    font-size: var(--label-size);
    font-weight: var(--weight-bold);
    line-height: var(--label-leading);
}

/* Gameday, sponsors and the complete footer. */
.gameday {
    background: var(--red);
    color: var(--white);
}

.gameday-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.gameday-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gameday h2 {
    font-size: var(--feature-size);
    line-height: var(--feature-leading);
    letter-spacing: var(--feature-tracking);
}

.gameday .button {
    width: 100%;
}

.sponsors {
    padding-block: 48px;
    background: var(--sponsor-surface);
}

.sponsors h2 {
    margin-bottom: 24px;
    color: var(--red);
    text-align: center;
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.sponsor-grid {
    display: grid;
    width: min(var(--content-max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 93.7143px;
}

.sponsor:nth-child(1) {
    order: 1;
}

.sponsor:nth-child(2) {
    order: 2;
}

.sponsor:nth-child(3) {
    order: 5;
}

.sponsor:nth-child(4) {
    order: 7;
}

.sponsor:nth-child(5) {
    order: 3;
}

.sponsor:nth-child(6) {
    order: 4;
}

.sponsor:nth-child(7) {
    order: 6;
}

.sponsor:nth-child(8) {
    order: 8;
}

.sponsor:nth-child(9) {
    order: 9;
}

.sponsor:nth-child(10) {
    order: 10;
}

.sponsor:nth-child(11) {
    order: 11;
}

.sponsor:nth-child(12) {
    order: 12;
}

.sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px;
}

.sponsor-logo {
    width: 100%;
    height: 56px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sponsor-logo--new-balance {
    height: 27.777px;
}

.site-footer {
    padding-block: 48px 64px;
    background: var(--ink);
    color: var(--white);
}

.footer-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-mark {
    align-self: flex-start;
}

.footer-slogan {
    font: var(--weight-bold) var(--footer-size) / var(--footer-leading) var(--font-heading);
    letter-spacing: var(--footer-tracking);
}

.footer-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.footer-nav h2 {
    margin-bottom: 16px;
    color: var(--pink);
    font: var(--weight-bold) var(--label-size) / var(--label-leading) var(--font-body);
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--small-size);
    line-height: var(--small-leading);
}

.footer-nav a:not([aria-current]):hover, .copyright a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: var(--caption-size);
    line-height: var(--caption-leading);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.league-marks {
    display: flex;
    gap: 32px;
    align-items: center;
}

.powered-by {
    display: flex;
    gap: 4px;
    align-items: center;
}


/* Social channels remain available in the footer at every screen size. */
.footer-bottom { align-items: center; }
.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.footer-socials .social-link {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
.footer-socials .social-link img { width: 32px; height: 32px; }
.footer-socials .social-link--x {
    border-radius: 8px;
    background: var(--white);
}
.footer-socials .social-link--x img { width: 24px; height: 24px; }
@media (min-width: 768px) {
    .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 24px;
    }
    .footer-bottom .league-marks { justify-self: start; }
    .footer-socials { justify-self: center; }
    .footer-bottom .powered-by { justify-self: end; }
}

.powered-by span {
    opacity: .3;
    font: var(--weight-regular) var(--credit-size) / var(--credit-leading) var(--font-credit);
}

/* Tablet frames and intermediate layouts. */
@media (min-width: 768px) {
    :root {
        --gutter: 40px;
        --header-height: 110px;
        --header-logo-stroke: 5px;
        --section-space: 64px;
        --heading-size: 64px;
        --heading-leading: 57px;
        --heading-tracking: -4.48px;
        --card-size: 24px;
        --card-leading: 26px;
        --card-tracking: -.72px;
        --editorial-size: 22px;
        --editorial-leading: 25px;
        --editorial-tracking: -.07em;
        --feature-size: 72px;
        --feature-leading: 64px;
        --feature-tracking: -5.04px;
        --footer-size: 48px;
        --footer-leading: 47px;
        --footer-tracking: -2.4px;
        --hero-body-size: 24px;
    }

    .header-inner {
        height: 100px;
    }

    .header-actions {
        display: flex;
        flex: 1;
        justify-content: center;
    }

    .header-tickets {
        width: auto;
    }

    .social-link {
        display: none;
    }

    .hero {
        height: calc(43.2343vw + 150.426px);
        max-height: 1000px;
    }

    .hero-image {
        position: absolute;
        inset: 0;
        height: auto;
        aspect-ratio: auto;
    }

    .hero-image img {
        position: absolute;
        width: 137.63%;
        height: 170.89%;
        left: -.01%;
        top: -29.1%;
        object-fit: fill;
    }

    .hero-copy {
        width: 446px;
        height: 100%;
        padding: 64px 24px 40px 64px;
        background: var(--hero-overlay);
    }

    .hero-description {
        color: var(--hero-muted);
    }

    .hero-copy-break {
        display: block;
    }

    .hero .button {
        width: 240px;
    }

    .match-panel {
        padding-block: 40px;
    }

    .match-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        row-gap: 24px;
        column-gap: 32px;
    }

    .match-information {
        align-items: flex-start;
        text-align: left;
    }

    .match-crests {
        justify-content: flex-end;
    }

    .match-rangers, .match-rangers img {
        width: 128px;
        height: 128px;
    }

    .opponent {
        height: 128px;
    }

    .match-actions {
        grid-column: 1 / -1;
        gap: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .countdown {
        width: 350px;
        text-align: left;
    }

    .countdown-units {
        justify-content: flex-start;
    }

    .match-actions .button {
        width: 320px;
    }

    .pathways-grid, .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pathway-card h3 {
        line-height: var(--subheading-leading);
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }

    .pathway-card .button {
        margin-top: auto;
    }

    .news > .container > .eyebrow {
        font-size: var(--eyebrow-size);
        line-height: var(--eyebrow-leading);
    }

    .news-image img {
        height: 170px;
    }

    .countdown-preview {
        display: none;
    }

    .gameday-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gameday-photo {
        height: 360px;
    }

    .gameday .button {
        width: 240px;
    }

    .sponsor-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sponsor:nth-child(n) {
        order: 0;
    }

    .footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

}

/* Desktop frame. */
@media (min-width: 1200px) {
    :root {
        --header-logo-overlap: 10px;
        --header-logo-stroke: 5px;
        --eyebrow-size: var(--subheading-size);
        --eyebrow-leading: var(--subheading-leading);
        --gutter: max(40px, calc((100vw - var(--content-max)) / 2));
        --heading-size: 104px;
        --heading-leading: 92px;
        --heading-tracking: -7.28px;
        --card-size: 32px;
        --card-leading: 35px;
        --card-tracking: -.96px;
        --editorial-size: 28px;
        --editorial-leading: 31px;
        --editorial-tracking: -.07em;
        --feature-size: 104px;
        --feature-leading: 92px;
        --feature-tracking: -7.28px;
        --footer-size: 64px;
        --footer-leading: 62px;
        --footer-tracking: -3.2px;
        --hero-size: 108px;
        --hero-leading: 100px;
        --hero-tracking: -7.28px;
    }

    .primary-nav {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        gap: 32px;
        font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
        letter-spacing: var(--subheading-tracking);
        white-space: nowrap;
    }

    .header-actions {
        flex: 0 0 auto;
        align-items: center;
        gap: 24px;
    }

    /* Reserve SVG dimensions before download so the nav cannot shift sideways. */
    .social-link {
        display: block;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }

    .social-link img {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: none;
    }

    .hero-image img {
        left: -14.28%;
    }

    .hero-copy {
        width: 565px;
        padding-inline: 64px;
    }

    .desktop-break {
        display: block;
    }

    .match-panel {
        padding-block: 64px;
    }

    .match-inner {
        grid-template-columns: 280px minmax(0, 1fr) 304px;
        gap: 24px;
        align-items: center;
    }

    .match-crests {
        justify-content: center;
        gap: 24px;
    }

    .match-rangers, .match-rangers img {
        width: 160px;
        height: 160px;
    }

    .opponent {
        height: 160px;
    }

    .opponent--men {
        width: 117.5px;
    }

    .opponent--women {
        width: 138.75px;
    }

    .match-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .match-actions {
        gap: 16px;
    }

    .countdown {
        width: 304px;
        text-align: center;
    }

    .countdown-units {
        justify-content: center;
    }

    .match-actions .button {
        width: 100%;
    }

    .section-intro {
        max-width: 896px;
    }

    .pathway-card h3 {
        line-height: var(--card-leading);
        text-box-trim: none;
    }

    .pathway-card .button {
        width: auto;
        min-width: 240px;
    }

    .news-image img {
        height: auto;
        aspect-ratio: 1 / .62;
    }

}

/* Ultrawide maintains the 1320px editorial measure. */
@media (min-width: 1600px) {
    :root {
        --header-logo-overlap: 10px;
        --header-logo-stroke: 5px;
        --section-space: 80px;
    }

    .header-inner {
        padding-inline: 128px;
    }

    .primary-nav {
        gap: 48px;
        font-size: clamp(var(--subheading-size), calc(2.5vw - 16px), var(--card-size));
        line-height: var(--card-leading);
        letter-spacing: var(--card-tracking);
    }

    .hero {
        height: min(52.083333vw, 1200px);
        max-height: none;
    }

    .hero-image img {
        width: 128.78%;
        height: 164.8%;
        left: -13.5%;
        top: -29.37%;
    }

    .hero-copy {
        width: 616px;
        padding-left: 128px;
        padding-right: 64px;
    }

    .hero-copy-break {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .primary-nav {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    a:not(.skip-link):not(.brand):not([aria-current]), a:not(.skip-link):not(.brand):not([aria-current]):is(:hover, :focus-visible),
    .menu-toggle, .menu-toggle:is(:hover, :focus-visible) {
        transition: none;
        transform: none;
    }

}

/* Tree navigation: the landing page and its descendants keep their section active. */
.primary-nav a[aria-current] {
    color: var(--white);
    -webkit-text-stroke: 10px var(--red);
    paint-order: stroke fill;
}

/* The mobile flyout uses plain white current-page labels. */
@media (max-width: 1199px) {
    .primary-nav a[aria-current] {
        -webkit-text-stroke: 0;
    }
}

/* Men and Women use one layout, with team-specific photography and league marks. */
.team-hero .hero-image {
    height: 270px;
    aspect-ratio: auto;
}

.team-page--men .team-hero .hero-image img {
    width: max(145.74%, 486px);
    height: auto;
    left: -12.66%;
    top: -18.28%;
}

.team-page--women .team-hero .hero-image img {
    width: max(160.71%, 517px);
    height: auto;
    left: -30.48%;
    top: -27.5%;
}

.team-hero .hero-description {
    color: var(--hero-muted);
}

.team-league-mark, .team-league-mark img {
    display: block;
}

.team-match {
    background: var(--match-dark);
}

.team-navigation .pathway-description {
    min-height: 56px;
}

.team-navigation .pathway-card .button {
    width: 100%;
}

.team-stories > .container > .eyebrow {
    font-size: var(--eyebrow-size);
    line-height: var(--eyebrow-leading);
}

.news-image--club {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: var(--red);
}

.news-image--club img {
    width: 140px;
    height: 140px;
    aspect-ratio: auto;
}

@media (min-width: 768px) {
    .team-hero .hero-image {
        height: auto;
    }

    .team-page--men .team-hero .hero-image img {
        width: 147%;
        height: 158.03%;
        left: -6.52%;
        top: -28.99%;
    }

    .team-page--women .team-hero .hero-image img {
        width: 123.13%;
        height: 133.99%;
        left: -.04%;
        top: -15.66%;
    }

    .team-navigation .pathway-description {
        min-height: 84px;
    }

    .news-image--club {
        height: 170px;
    }

    .news-image--club img {
        height: 140px;
    }
}

@media (min-width: 1200px) {
    .team-page--men .team-hero .hero-copy {
        padding-right: 24px;
    }

    .team-page--men .team-hero .hero-image img {
        width: 121.71%;
        height: 151.12%;
        left: 0;
        top: -25.47%;
    }

    .team-page--women .team-hero .hero-image img {
        width: 121.71%;
        height: 151.12%;
        left: 0;
        top: -23.26%;
    }

    .team-navigation .pathway-description {
        min-height: 56px;
    }

    .team-navigation .pathway-card .button {
        min-width: 0;
    }

    .news-image--club {
        height: auto;
        aspect-ratio: 1 / .62;
    }

    .news-image--club img {
        height: 140px;
    }
}

@media (min-width: 1600px) {
    .team-page--men .team-hero .hero-copy {
        padding-right: 64px;
    }

    .team-page .team-hero .hero-image img {
        width: 123.53%;
        height: 156.23%;
        left: .01%;
        top: -24.35%;
    }
}

/* Preserve the copy variants supplied in the ultrawide team frames. */
.team-copy-wide {
    display: none;
}

@media (min-width: 1600px) {
    .team-copy-default {
        display: none;
    }

    .team-copy-wide {
        display: block;
    }

    .button.team-copy-wide {
        display: inline-flex;
    }
}

/* The Club: identity hero, story, history and partnership invitation. */
.club-page {
    --club-body-size: 18px;
    --club-body-leading: 28px;
    --club-year-size: 24px;
    --club-year-leading: 28px;
    --club-year-tracking: -.72px;
    --club-history-rule: #d7d2c9;
}

.club-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: var(--ink);
    color: var(--white);
}

.club-hero-copy {
    padding: 40px var(--gutter);
}

.club-hero .club-hero-copy > h2 {
    font-size: var(--hero-size);
    line-height: var(--hero-leading);
    letter-spacing: var(--hero-tracking);
}

.club-identity {
    display: grid;
    place-items: center;
    min-width: 0;
    background: var(--red);
}

.club-identity picture {
    display: block;
    width: 100%;
}

.club-identity img {
    width: 100%;
    height: auto;
}

.club-story {
    background: var(--paper);
}

.club-story-body {
    max-width: 720px;
    color: var(--muted);
    font-size: var(--club-body-size);
    line-height: var(--club-body-leading);
}

.club-story-body p + p {
    margin-top: 28px;
}

.club-heritage {
    background: var(--white);
}

.club-history {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.club-milestone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-block: 16px;
    border-bottom: 1px solid var(--club-history-rule);
}

.club-milestone-year {
    color: var(--red);
    font: var(--weight-bold) var(--club-year-size) / var(--club-year-leading) var(--font-heading);
    letter-spacing: var(--club-year-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.club-milestone p {
    min-width: 0;
    font-size: var(--club-body-size);
    line-height: var(--club-body-leading);
}

.club-partners {
    background: var(--red);
    color: var(--white);
}

.club-partners .eyebrow {
    color: var(--pink);
}

.club-partners-description {
    max-width: 720px;
    font-size: var(--club-body-size);
    line-height: var(--club-body-leading);
}

.club-partners .button {
    width: 100%;
}

@media (min-width: 768px) {
    .club-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 520px;
    }

    .club-hero-copy {
        padding: 64px 48px 64px var(--gutter);
    }

    .club-identity picture {
        width: 100%;
    }

    .club-milestone {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .club-milestone-year {
        flex: 0 0 80px;
    }

    .club-milestone p {
        flex: 1;
    }

    .club-partners .button {
        width: 291px;
    }
}

@media (min-width: 1200px) {
    .club-page {
        --club-body-size: 24px;
        --club-year-size: 28px;
        --club-year-leading: 31px;
        --club-year-tracking: -.84px;
    }

    .club-hero {
        min-height: 529px;
    }

    .club-hero-copy {
        padding-right: 64px;
    }

    .club-identity picture {
        width: 404px;
        max-width: calc(100% - 48px);
    }

    .club-story-body {
        width: 100%;
        max-width: none;
    }

    .club-milestone-year {
        text-box-trim: none;
    }
}

/* Gameday: arrival essentials, supporter experience and matchday questions. */
.gameday-page {
    --supporter-gradient-start: #5e111c;
    --supporter-gradient-end: #090909;
    --supporter-gradient-angle: 108.93065deg;
    --gameday-copy-size: 18px;
    --gameday-copy-leading: 28px;
    --faq-eyebrow-size: 12px;
    --faq-eyebrow-leading: 16px;
    --faq-eyebrow-tracking: 0;
    --faq-duration: 280ms;
}

.gameday-hero .hero-image {
    height: auto;
    aspect-ratio: 390 / 270;
}

/* Intrinsic height keeps the flag and supporters in their original proportions. */
.gameday-hero .hero-image img {
    width: 132.19%;
    height: auto;
    left: -16.03%;
    top: -108.35%;
}

.gameday-hero .hero-description {
    color: var(--hero-muted);
    font-size: var(--gameday-copy-size);
    line-height: var(--gameday-copy-leading);
}

.matchday-essentials {
    background: var(--paper);
}

.stadium-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.stadium-logo {
    flex: 0 0 auto;
    width: auto;
    height: 80px;
}

/* Centre the visible capital letters with the badge, excluding font leading. */
.stadium-heading .section-title {
    min-width: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.matchday-intro, .supporter-description {
    max-width: 720px;
    font-size: var(--gameday-copy-size);
    line-height: var(--gameday-copy-leading);
}

.arrival-grid {
    align-items: stretch;
}

.arrival-grid .pathway-description {
    min-height: 84px;
}

.arrival-grid .pathway-card .button {
    width: 100%;
    min-width: 0;
    margin-top: auto;
}

.supporter-experience {
    color: var(--white);
    background: linear-gradient(var(--supporter-gradient-angle), var(--supporter-gradient-start) 0%, var(--supporter-gradient-end) 76.923%);
}

.supporter-photo {
    display: block;
    width: 100%;
    aspect-ratio: 342 / 230;
    overflow: hidden;
}

.supporter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-experience .button {
    width: 100%;
}

.matchday-faq {
    color: var(--white);
    background: var(--red);
}

.matchday-faq .eyebrow {
    color: var(--pink);
    font-family: var(--font-heading);
    font-size: var(--faq-eyebrow-size);
    line-height: var(--faq-eyebrow-leading);
    letter-spacing: var(--faq-eyebrow-tracking);
    text-box-trim: none;
}

.faq-list {
    width: 100%;
}

/* Preload the alternate glyph offscreen before the first accordion tap. */
.faq-list::before {
    content: "";
    position: absolute;
    left: -99999px;
    width: 24px;
    height: 24px;
    background: url("/images/faq-minus.svg") center / 24px 24px no-repeat;
    pointer-events: none;
}

.faq-item {
    padding-block: 24px;
    border-top: 1px solid var(--inverse-muted);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 8px;
}

.faq-icon {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    transform: rotate(0deg);
    transition: transform var(--faq-duration) cubic-bezier(.22, 1, .36, 1);
}

.faq-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url("/images/faq-plus.svg") center / 24px 24px no-repeat;
}

.faq-item[open]:not(.is-closing) .faq-icon {
    transform: rotate(90deg);
}

/* The quarter-turn settles with the original minus SVG horizontal. */
.faq-item[open] .faq-icon::before {
    background-image: url("/images/faq-minus.svg");
    transform: rotate(-90deg);
}

.faq-item p {
    margin-top: 24px;
}

.faq-item:last-child {
    padding-bottom: 0;
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.faq-item p {
    font-size: var(--gameday-copy-size);
    line-height: var(--gameday-copy-leading);
}

@media (max-width: 399px) {
    .stadium-heading {
        --heading-size: clamp(30px, calc(20vw - 36px), 44px);
        --heading-leading: calc(var(--heading-size) * 40 / 44);
    }
}

@media (min-width: 768px) {
    .gameday-page {
        --supporter-gradient-angle: 116.48892deg;
    }

    .gameday-hero .hero-image {
        height: auto;
        aspect-ratio: auto;
    }

    .gameday-hero .hero-image img {
        width: 115.63%;
        left: .06%;
        top: -104.94%;
    }

    .stadium-logo {
        height: 108px;
    }

    .stadium-heading .section-title {
        --heading-leading: 54px;
    }

    .arrival-grid .pathway-description {
        min-height: 140px;
    }

    .arrival-grid .button {
        padding-inline: 12px;
    }

    .supporter-photo {
        aspect-ratio: 754 / 460;
    }

    .supporter-experience .button {
        width: 240px;
    }
}

@media (min-width: 1200px) {
    .gameday-page {
        --supporter-gradient-angle: 120.69899deg;
        --gameday-copy-size: 24px;
        --faq-eyebrow-size: var(--subheading-size);
        --faq-eyebrow-leading: var(--subheading-leading);
    }

    .gameday-hero .hero-image img {
        width: 111.49%;
        left: .03%;
        top: -120.11%;
    }

    .stadium-heading {
        gap: 24px;
    }

    .stadium-logo {
        height: 184px;
    }

    .stadium-heading .section-title {
        --heading-leading: 92px;
    }

    .arrival-grid .pathway-description {
        min-height: 56px;
    }

    .supporter-photo {
        aspect-ratio: 1320 / 788;
    }
}

@media (min-width: 1600px) {
    .gameday-page {
        --supporter-gradient-angle: 127.26501deg;
    }

    .gameday-hero .hero-image img {
        width: 112.42%;
        left: -.34%;
        top: -120.05%;
    }

    .supporter-photo {
        aspect-ratio: 1320 / 808;
    }
}

@media (min-width: 1921px) {
    .gameday-hero .hero-image img {
        top: -62.52604vw;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .arrival-grid .button {
        font-size: var(--eyebrow-size);
        line-height: var(--eyebrow-leading);
    }
}

/* The answer owns its animated height; the question and focus outline stay still. */
.faq-answer {
    display: flow-root;
}

.faq-item.is-closing .faq-icon::before {
    background-image: url("/images/faq-plus.svg");
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .faq-icon {
        transition: none;
    }
}

/* Fixtures — shared layout for men's and future women's season pages. */
:root {
    --fixture-win: #00ad26;
    --fixture-draw: #d7d2c9;
    --fixture-tab: #454341;
    --fixture-placeholder: #bcbcbc;
    --fixture-gradient-start: #5e111c;
    --fixture-gradient-end: #090909;
    --fixture-badge-size: 50px;
    --fixture-code-size: 28px;
    --fixture-code-leading: 31px;
    --fixture-score-size: 28px;
    --fixture-score-leading: 31px;
    --fixture-info-size: 10px;
    --fixture-info-leading: 14px;
}
.fixtures-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.fixtures-hero {
    padding-top: 64px;
    background: linear-gradient(153deg, var(--fixture-gradient-start), var(--fixture-gradient-end) 77%);
    color: var(--white);
}
.fixtures-hero .eyebrow, .fixtures-updates .eyebrow { color: var(--pink); }
.fixtures-hero #hero-title {
    font-size: var(--feature-size);
    line-height: var(--feature-leading);
    letter-spacing: var(--feature-tracking);
}
.fixtures-tabs {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 8px;
}
.fixtures-tabs .button { width: auto; flex: 1; padding-inline: 8px; }
.fixtures-tabs .fixtures-tab-secondary { background: var(--fixture-tab); }
.fixtures-schedule { background: var(--white); }
.fixture-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.fixture-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--muted);
    background: var(--sponsor-surface);
}
.fixture-matchup {
    display: grid;
    grid-template-columns: minmax(30px, 1fr) var(--fixture-badge-size) 85px var(--fixture-badge-size) minmax(30px, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
}
.fixture-code {
    font: var(--weight-bold) var(--fixture-code-size) / var(--fixture-code-leading) var(--font-heading);
    letter-spacing: var(--card-tracking);
    text-align: center;
}
.fixture-badge {
    display: block;
    width: var(--fixture-badge-size);
    height: var(--fixture-badge-size);
    object-fit: contain;
    flex-shrink: 0;
}
.fixture-badge[src$="/images/teams/pending.svg"] { background: var(--fixture-placeholder); }
/* The official Georgia PNG has a generous transparent margin; match its visible crest. */
.fixture-badge[src$="/lrr-women-georgia-impact.png"] { transform: scale(1.65); }

.fixture-score {
    text-align: center;
    color: var(--white);
    background: var(--muted);
    font: var(--weight-bold) var(--fixture-score-size) / var(--fixture-score-leading) var(--font-heading);
    letter-spacing: var(--card-tracking);
    font-variant-numeric: tabular-nums;
}
.fixture-card--win .fixture-score { background: var(--fixture-win); }
.fixture-card--loss .fixture-score { background: var(--red); }
.fixture-card--draw .fixture-score { background: var(--fixture-draw); color: var(--muted); }
.fixture-information {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: 8px;
    font: var(--weight-bold) var(--fixture-info-size) / var(--fixture-info-leading) var(--font-body);
    text-align: center;
    text-transform: uppercase;
}
.fixture-status { color: var(--red); }
.fixtures-league-link { color: var(--muted); }
.fixtures-league-link a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.fixtures-archives { background: var(--paper); }
.fixtures-archives > .container > p:not(.eyebrow) { color: var(--muted); }
.fixtures-archive-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 24px;
    background: var(--white);
}
.fixtures-archive-row h3 {
    font-size: var(--card-size);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}
.fixtures-archive-row p {
    color: var(--muted);
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
}
.fixtures-archive-row .button { width: 100%; }
.fixtures-updates { background: var(--red); color: var(--white); }
.fixtures-updates .button { width: auto; min-width: 240px; }

@media (max-width: 359px) {
    .fixtures-page { --fixture-badge-size: 42px; --fixture-code-size: 24px; }
    .fixture-matchup { grid-template-columns: minmax(24px, 1fr) var(--fixture-badge-size) 68px var(--fixture-badge-size) minmax(24px, 1fr); gap: 4px; }
    .fixtures-tabs { gap: 8px; }
    .fixtures-tabs .button { font-size: var(--eyebrow-size); }
}
@media (min-width: 768px) {
    .fixtures-page {
        --fixture-badge-size: 123px;
        --fixture-code-size: 44px;
        --fixture-code-leading: 40px;
        --fixture-score-size: 36px;
        --fixture-score-leading: 58px;
        --fixture-info-size: 24px;
        --fixture-info-leading: 28px;
    }
    .fixtures-hero .section-stack { gap: 24px; }
    .fixtures-tabs { gap: 24px; margin-top: 24px; }
    .fixture-list { gap: 48px; }
    .fixture-card { border-width: 2px; padding: 20px 40px; gap: 20px; }
    .fixture-matchup { grid-template-columns: minmax(50px, 1fr) var(--fixture-badge-size) 105px var(--fixture-badge-size) minmax(50px, 1fr); gap: 24px; }
    .fixture-information { font-family: var(--font-heading); }
    .fixtures-schedule > .container { gap: 48px; }
    .fixtures-league-link, .fixtures-archives > .container > p:not(.eyebrow), .fixtures-updates > .container > p:not(.eyebrow) { font-size: var(--subheading-size); }
    .fixtures-archive-row { grid-template-columns: 1fr 1fr; align-items: center; }
    .fixtures-archive-row .button { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .fixtures-hero .section-stack { gap: 24px; }
    .fixture-card { flex-direction: row; justify-content: space-between; gap: 24px; min-height: 167px; }
    .fixture-information { order: -1; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; min-width: 0; }
    .fixture-status { font-size: var(--footer-size); line-height: var(--footer-leading); letter-spacing: var(--footer-tracking); }
    .fixture-date { font-size: var(--subheading-size); line-height: var(--subheading-leading); letter-spacing: var(--subheading-tracking); }
    .fixture-matchup { width: auto; flex: 0 0 auto; grid-template-columns: 64px var(--fixture-badge-size) 105px var(--fixture-badge-size) 64px; }
    .fixtures-archive-row { grid-template-columns: 1.2fr 1fr 240px; padding: 28px 24px; }
    .fixtures-archive-row .button { grid-column: auto; }
}

/* Keep the season together on small screens; retain the desktop heading line. */
.fixtures-schedule #schedule-title br { display: none; }
@media (max-width: 767px) {
    .fixtures-schedule #schedule-title br { display: block; }
    .fixtures-tabs .button { font-size: 20px; line-height: 24px; }
}

/* Conference standings — cached data, Foundry identity, responsive statistics. */
:root {
    --standing-positive: #00a128;
    --standing-label-size: 12px;
    --standing-label-leading: 16px;
    --standing-mobile-size: 20px;
    --standing-mobile-leading: 22px;
    --standing-points-size: 28px;
    --standing-points-leading: 31px;
    --standing-rank-size: 64px;
    --standing-rank-leading: 62px;
    --fixture-tab-size: 20px;
    --fixture-tab-leading: 24px;
}
.fixtures-intro { max-width: 1074px; font-size: var(--hero-body-size); line-height: var(--body-leading); }
.fixtures-tabs a:not([aria-current]):is(:hover, :focus-visible) { transform: none; color: var(--white); opacity: var(--hover-opacity); }
.standings-section { background: var(--white); }
.standings-section .section-stack { gap: 24px; }
.standings-component { width: 100%; }
.standing-desktop { display: none; }
.standing-mobile { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.standing-mobile-heading, .standing-summary {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 28px 32px 32px 12px;
    align-items: center;
    gap: 8px;
}
.standing-mobile-heading {
    padding-inline: 14px;
    font: var(--weight-bold) var(--standing-label-size) / var(--standing-label-leading) var(--font-body);
    color: var(--muted);
    text-align: center;
}
.standing-mobile-heading > :nth-child(2) { text-align: left; }
.standing-card { padding: 12px; border: 1px solid var(--muted); background: var(--white); width: 100%; }
.standing-card--clinched { border: 2px solid var(--red); padding: 11px; }
.standing-card--eliminated { background: var(--sponsor-surface); }
.standing-summary {
    min-height: 44px;
    list-style: none;
    cursor: pointer;
    font: var(--weight-bold) var(--standing-mobile-size) / var(--standing-mobile-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-align: center;
}
.standing-summary::-webkit-details-marker { display: none; }
.standing-summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.standing-club { display: flex; min-width: 0; align-items: center; gap: 8px; text-align: left; text-transform: uppercase; }
.standing-badge { display: block; width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.standing-points { font-size: var(--standing-points-size); line-height: var(--standing-points-leading); }
.standing-card--clinched .standing-rank { color: var(--red); }
.standing-positive { color: var(--standing-positive); }
.standing-negative { color: var(--red); }
.standing-chevron { width: 12px; height: 12px; transition: transform var(--menu-duration) ease; }
.standing-card[open] .standing-chevron { transform: rotate(180deg); }
.standing-extra {
    margin-top: 12px;
    border-top: 1px solid var(--inverse-muted);
    padding-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    text-align: center;
}
.standing-extra > div { display: flex; flex-direction: column; gap: 4px; }
.standing-stat-label { color: var(--muted); font: var(--weight-bold) var(--standing-label-size) / var(--standing-label-leading) var(--font-body); }
.standing-stat-value { font: var(--weight-bold) var(--standing-mobile-size) / var(--standing-mobile-leading) var(--font-heading); }
.standing-cutoff-rule { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 16px; position: relative; color: var(--inverse-muted); }
.standing-cutoff-rule > img { display: none; }
.standing-cutoff-rule::before, .standing-cutoff-rule::after { content: ""; height: 1px; background: var(--inverse-muted); flex: 1; }
.standing-cutoff-rule > span { background: var(--white); font: var(--weight-bold) var(--standing-label-size) / var(--standing-label-leading) var(--font-body); }
.standings-key { margin-top: 16px; color: var(--muted); font-size: var(--caption-size); line-height: var(--caption-leading); }
.standings-key p + p { margin-top: 16px; }
.standings-title-break { display: block; }
@media (max-width: 359px) {
    .standing-mobile-heading, .standing-summary { grid-template-columns: 16px minmax(0, 1fr) 24px 28px 28px 12px; gap: 4px; }
    .standing-club { gap: 4px; }
    .standing-summary { font-size: var(--eyebrow-size); line-height: var(--eyebrow-leading); }
    .standing-points { font-size: var(--subheading-size); line-height: var(--subheading-leading); }
}
@media (min-width: 768px) {
    .standing-desktop { display: block; width: 100%; }
    .standing-mobile { display: none; }
    .standing-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 16px; color: var(--ink); font: var(--weight-bold) var(--editorial-size) / var(--editorial-leading) var(--font-heading); }
    .standing-table abbr { text-decoration: none; }
    .standing-rank-column { width: 56px; }
    .standing-team-column { width: 215px; }
    .standing-table thead th { color: var(--muted); text-align: center; padding-bottom: 0; font-weight: var(--weight-bold); }
    .standing-table thead th:nth-child(2) { text-align: left; }
    .standing-row { height: 167px; outline: 2px solid var(--muted); outline-offset: -2px; }
    .standing-row > td, .standing-row > th { padding-block: 20px; text-align: center; }
    .standing-row > th { font-weight: var(--weight-bold); }
    .standing-row .standing-club { gap: 12px; }
    .standing-row .standing-badge { width: 40px; height: 40px; }
    .standing-row--clinched { outline: 3px solid var(--red); }
    .standing-row--clinched .standing-rank { color: var(--red); }
    .standing-row--eliminated { background: var(--sponsor-surface); }
    .standing-table .standing-rank { font-size: var(--footer-size); line-height: var(--footer-leading); }
    .standing-cutoff td { padding: 0; height: 24px; }
    .standing-cutoff-rule { min-height: 24px; }
    .standing-cutoff-rule > img { display: block; position: absolute; left: 0; width: 100%; height: auto; }
    .standing-cutoff-rule::before, .standing-cutoff-rule::after { display: none; }
    .standing-cutoff-rule > span { padding-inline: 8px; position: relative; font: var(--weight-bold) var(--card-size) / var(--card-leading) var(--font-heading); }
    .standings-key { font-size: var(--small-size); line-height: var(--small-leading); }
}
@media (min-width: 1200px) {
    .fixtures-intro { margin-top: 24px; }
    .standings-title-break { display: none; }
    .standings-section .section-stack { gap: 48px; }
    .standing-table { font-size: var(--card-size); line-height: var(--card-leading); }
    .standing-rank-column { width: 136px; }
    .standing-team-column { width: 420px; }
    .standing-row .standing-club { gap: 20px; }
    .standing-row .standing-badge { width: 75px; height: 75px; }
    .standing-table .standing-rank { font-size: var(--standing-rank-size); line-height: var(--standing-rank-leading); }
    .standing-cutoff td, .standing-cutoff-rule { height: 44px; }
    .standing-cutoff-rule > span { font-size: var(--heading-size); line-height: var(--heading-leading); --heading-size: 44px; --heading-leading: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .standing-chevron { transition: none; }
}


/* Keep phone portrait and landscape inside the viewport. */
@media (max-width: 1199px) {
    html {
        overflow-x: clip;
        overscroll-behavior-x: none;
    }
    body {
        width: 100%;
        min-width: 0;
    }
}

/* Native page transition: Electric Squid timing, limited to competition tab pairs. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
}
::view-transition-group(root),
::view-transition-old(root),
::view-transition-new(root) { animation: none; }
html[data-competition-transition]::view-transition-group(root) {
    animation-duration: .3s;
    animation-timing-function: ease;
}
html[data-competition-transition]::view-transition-old(root) { animation: lrr-page-fade-out .3s ease both; }
html[data-competition-transition]::view-transition-new(root) { animation: lrr-page-fade-in .3s ease both; }
html[data-competition-transition] .site-header { view-transition-name: competition-header; }
::view-transition-group(competition-header),
::view-transition-new(competition-header),
::view-transition-old(competition-header) { animation: none; }
::view-transition-old(competition-header) { opacity: 0; }
@keyframes lrr-page-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lrr-page-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    html[data-competition-transition] .site-header { view-transition-name: none; }
    html[data-competition-transition]::view-transition-image-pair(root) { isolation: isolate; }
    html[data-competition-transition]::view-transition-old(root) { animation: none; opacity: 1; mix-blend-mode: normal; }
    html[data-competition-transition]::view-transition-new(root) { mix-blend-mode: normal; }
    html[data-page-fade="waiting"]::view-transition-new(root) { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}
.standings-source-note { color: var(--muted); font-size: var(--caption-size); line-height: var(--caption-leading); }

/* Open Cup identity is independent of the match result colors. */
.fixture-card--open-cup {
    border-color: var(--fixture-open-cup);
    outline: 2px solid var(--fixture-open-cup);
    outline-offset: -2px;
}
.fixture-card--open-cup .fixture-status { color: var(--fixture-open-cup); }

/* Team dropdowns use the shared Rangers palette and Electric Squid interaction. */
:root {
    --nav-submenu-size: 14px;
    --nav-submenu-leading: 22px;
    --nav-submenu-width: 250px;
    --nav-dropdown-duration: var(--menu-duration);
    --nav-pointer-size: 13px;
}
.nav-group { position: relative; }
.nav-dropdown-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 44px;
    padding: 0;
    border: 0;
    background: var(--transparent);
    color: var(--white);
    cursor: pointer;
}
.nav-dropdown-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.nav-submenu { margin: 0; padding: 8px; list-style: none; background: var(--red); }
.primary-nav .nav-submenu a {
    transition: opacity var(--interaction-duration) ease,
        transform var(--interaction-duration) ease,
        color var(--interaction-duration) ease,
        background-color var(--interaction-duration) ease;
    display: block;
    min-height: 44px;
    padding: 12px 14px;
    color: var(--white);
    font: var(--weight-bold) var(--nav-submenu-size) / var(--nav-submenu-leading) var(--font-body);
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    -webkit-text-stroke: 0;
    opacity: 1;
    transform: none;
}
.primary-nav .nav-submenu a:is(:hover, :focus-visible) {
    color: var(--white);
    background: var(--red-hover);
    opacity: 1;
    transform: none;
    -webkit-text-stroke: 0;
}
@media (min-width: 1200px) {
    .primary-nav { align-self: stretch; }
    .nav-group { display: flex; align-items: center; align-self: stretch; gap: 0; }
    .nav-dropdown-toggle { display: none; }
    .nav-submenu {
        display: block;
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        z-index: 20;
        min-width: var(--nav-submenu-width);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -12px);
        /* Keep the border hover bridge inside the mobile-style reveal. */
        clip-path: inset(calc(-10px - var(--nav-pointer-size)) 0 calc(100% + 10px + var(--nav-pointer-size)));
        transition: opacity var(--nav-dropdown-duration) ease,
            transform var(--nav-dropdown-duration) ease,
            clip-path var(--nav-dropdown-duration) ease,
            visibility 0s linear var(--nav-dropdown-duration);
    }
    /* Bridge the header's red border so pointer travel never closes a dropdown. */
    .nav-submenu::before { content: ""; position: absolute; inset: -10px 0 100%; }
    /* The pointer rises independently while the dropdown panel descends. */
    .nav-group::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        z-index: 20;
        width: calc(var(--nav-pointer-size) * 2);
        height: var(--nav-pointer-size);
        background: var(--red);
        clip-path: polygon(50% 0, 100% 100%, 0 100%);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 12px);
        pointer-events: none;
        transition: opacity var(--nav-dropdown-duration) ease,
            transform var(--nav-dropdown-duration) ease,
            visibility 0s linear var(--nav-dropdown-duration);
    }
    .nav-group.is-expanded::after {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition-delay: 0s;
    }
    .nav-group.is-expanded > .nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
        clip-path: inset(calc(-10px - var(--nav-pointer-size)) 0 0);
        transition-delay: 0s;
    }
}
@media (max-width: 1199px) {
    .primary-nav { max-height: calc(100dvh - var(--header-height) - 10px); overflow-y: auto; overscroll-behavior: contain; }
    .nav-group > a { display: block; }
    .nav-submenu {
        display: block;
        margin: 0 0 4px 18px;
        padding: 0 8px;
        border-left: 2px solid var(--red);
        background: var(--transparent);
    }
    .primary-nav .nav-submenu a {
        display: flex;
        align-items: center;
        padding: 6px 14px;
        text-align: left;
        white-space: normal;
    }
    .primary-nav .nav-submenu a,
    .primary-nav .nav-submenu a:is(:hover, :focus-visible, :active),
    .primary-nav .nav-submenu a[aria-current] { background: var(--transparent); }
}

/* Mobile reading copy: 24px at the established phone breakpoint. */
@media (max-width: 767px) {
    :root {
        --body-size: 24px;
        --body-leading: 36px;
        --hero-body-size: var(--body-size);
    }
    .club-page {
        --club-body-size: var(--body-size);
        --club-body-leading: var(--body-leading);
    }
    .gameday-page {
        --gameday-copy-size: var(--body-size);
        --gameday-copy-leading: var(--body-leading);
    }
}

/* Mobile content headings: 30% larger, rounded to whole pixels. */
@media (max-width: 767px) {
    main :is(h1, h2, h3):not(.eyebrow) {
        --hero-size: 83px;
        --hero-leading: 70px;
        --hero-tracking: -5.82px;
        --heading-size: 57px;
        --heading-leading: 52px;
        --heading-tracking: -4px;
        --feature-size: 62px;
        --feature-leading: 56px;
        --feature-tracking: -4.37px;
        --card-size: 36px;
        --card-leading: 40px;
        --card-tracking: -1.09px;
        --editorial-size: 36px;
        --editorial-leading: 40px;
        --editorial-tracking: -.07em;
        --subheading-size: 31px;
        --subheading-leading: 36px;
        --subheading-tracking: -.94px;
        --footer-size: 47px;
        --footer-leading: 46px;
        overflow-wrap: anywhere;
    }
}
/* Preserve the stadium heading's existing narrow-phone adjustment before scaling. */
@media (max-width: 399px) {
    .stadium-heading .section-title {
        --heading-size: round(nearest, calc(clamp(30px, calc(20vw - 36px), 44px) * 1.3), 1px);
        --heading-leading: round(nearest, calc(var(--heading-size) * 40 / 44), 1px);
    }
}

/* Keep the Gameday stadium welcome on two lines beside its badge. */
@media (max-width: 767px) {
    .gameday-page #stadium-title {
        --heading-size: round(nearest, clamp(30px, calc(20vw - 36px), 44px), 1px);
        --heading-leading: round(nearest, calc(var(--heading-size) * 40 / 44), 1px);
        --heading-tracking: -3.08px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-submenu, .nav-group::after {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav .nav-submenu a {
        transition: none;
    }
}

/* Stick the standings key only when there is room below the main header.
   Short phone-landscape viewports retain the normal scrolling table heading. */
@media (min-width: 768px) and (min-height: 600px) {
    .standing-table thead {
        position: sticky;
        top: var(--header-height);
        z-index: 3;
        background: var(--white);
    }

    /* Paint a full-width white band without changing the table's column widths. */
    .standing-table thead::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--white);
        box-shadow: 0 0 0 100vmax var(--white);
        clip-path: inset(0 -100vmax);
    }

    .standing-table thead th {
        padding-block: 16px;
        background: var(--white);
    }
}


/* Youth landing page — shared site typography and content bounds. */
.youth-page {
    --field-open: #00a128;
    --field-open-surface: #eaf6ef;
    --field-closed-surface: #ffdadc;
    --field-unknown-surface: #f5f2ec;
    --field-title-size: 24px;
    --field-title-leading: 28px;
    --field-icon-size: 24px;
    --faq-duration: 280ms;
    --gameday-copy-size: var(--body-size);
    --gameday-copy-leading: var(--body-leading);
}

.youth-hero .hero-image {
    aspect-ratio: 390 / 270;
}

.youth-hero .hero-image img {
    width: 128.2%;
    height: auto;
    left: -13.08%;
    top: -22.27%;
}

.youth-hero .hero-description {
    color: var(--hero-muted);
}

.youth-field-status {
    padding-block: 24px;
    background: var(--white);
}

.field-status-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field-status-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.field-status-heading h2 {
    color: var(--red);
    font-size: var(--field-title-size);
    line-height: var(--field-title-leading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.field-status-updated {
    color: var(--muted);
    font-size: var(--small-size);
    line-height: var(--small-leading);
}

.field-status-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.field-availability {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid var(--muted);
}

.field-availability.is-closed {
    border-color: var(--red);
}

.field-weather {
    flex: 0 0 24px;
    font-size: var(--field-icon-size);
    line-height: var(--field-title-leading);
}

.field-name {
    flex: 1;
    min-width: 0;
    font: var(--weight-bold) var(--field-title-size) / var(--field-title-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.field-badge {
    display: flex;
    flex: 0 0 80px;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px;
    border: 1px solid var(--field-open);
    background: var(--field-open-surface);
    color: var(--field-open);
    font: var(--weight-bold) var(--label-size) / var(--label-leading) var(--font-body);
}

.is-closed .field-badge {
    border-color: var(--red);
    background: var(--field-closed-surface);
    color: var(--red);
}

.is-unknown .field-badge {
    border-color: var(--muted);
    background: var(--field-unknown-surface);
    color: var(--muted);
}

.youth-pathways .container {
    display: flex;
    flex-direction: column;
    gap: 108px;
}

.youth-pathways {
    scroll-margin-top: calc(var(--header-height) + 10px);
}

.youth-programme-group {
    width: 100%;
    scroll-margin-top: calc(var(--header-height) + 32px);
}

.youth-programme-group .section-intro,
.youth-registration .section-intro {
    font-size: var(--body-size);
    line-height: var(--body-leading);
}

.youth-programme-grid {
    grid-template-columns: minmax(0, 1fr);
}

.youth-programme-card {
    position: relative;
    min-width: 0;
}

.youth-programme-card .eyebrow {
    max-width: 100%;
}

.youth-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
}

.youth-card-actions .button {
    flex: 1 1 120px;
    min-width: 0;
}

.youth-programme-card:has(.youth-programme-mark img) .eyebrow,
.youth-programme-card:has(.youth-programme-mark img) h3 {
    padding-right: 88px;
}

.youth-programme-card:has(.youth-programme-mark img) .pathway-description {
    padding-right: 0;
}

.youth-programme-mark {
    position: absolute;
    top: 28px;
    right: 24px;
    width: 81px;
    height: calc(58px * 2560 / 1890);
    overflow: hidden;
}

.youth-programme-mark img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.youth-programme-mark:empty,
.youth-card-actions:empty,
.youth-card-actions .button:empty {
    display: none;
}

.youth-programme-heading {
    width: 100%;
}

.youth-registration {
    background: var(--red);
    color: var(--white);
}

.youth-registration h2 {
    font-size: var(--feature-size);
    line-height: var(--feature-leading);
    letter-spacing: var(--feature-tracking);
}

.youth-registration .section-intro {
    max-width: 720px;
    color: var(--white);
}

.youth-registration .button {
    width: 100%;
    background: var(--white);
    color: var(--ink);
}

.youth-faq {
    background: var(--white);
    color: var(--ink);
}

.youth-faq .faq-item summary:focus-visible {
    outline-color: var(--focus);
}

.youth-faq .faq-icon::before {
    background-image: url("/images/faq-plus-dark.svg");
}

.youth-faq .faq-item[open] .faq-icon::before {
    background-image: url("/images/faq-minus.svg");
    filter: brightness(0);
}

.youth-faq .faq-item.is-closing .faq-icon::before {
    background-image: url("/images/faq-plus-dark.svg");
    filter: none;
}

.youth-faq .faq-item p {
    color: var(--muted);
}

.youth-faq .faq-item p a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 768px) {
    .youth-hero {
        height: max(511px, calc(43.2343vw + 150.426px));
        max-height: none;
    }

    .youth-hero .hero-image {
        aspect-ratio: auto;
    }

    .youth-hero .hero-image img {
        width: 123.15%;
        height: auto;
        left: -8.64%;
        top: -22.94%;
    }

    .youth-hero .hero-copy {
        width: 446px;
        padding: 64px 24px 40px 64px;
        background: var(--hero-overlay);
    }

    .youth-hero .hero-description {
        font-size: var(--body-size);
    }

    .youth-hero .button {
        width: max-content;
        white-space: nowrap;
    }

    .field-status-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .field-availability {
        gap: 8px;
        padding-inline: 12px;
    }

    .field-name {
        --field-title-size: 22px;
    }

    .field-badge {
        flex-basis: 64px;
    }

    .youth-programme-card:has(.youth-programme-mark img) .eyebrow,
    .youth-programme-card:has(.youth-programme-mark img) h3 {
        padding-right: 160px;
    }

    .youth-programme-card:has(.youth-programme-mark img) .pathway-description {
        max-width: calc(100% - 160px);
    }

    .youth-programme-mark {
        top: 27px;
        width: 143px;
        height: calc(97px * 2560 / 1890);
    }

    .youth-programme-card > .button {
        width: 240px;
    }

    .youth-card-actions .button {
        flex: 0 1 240px;
    }

    .youth-registration .button {
        width: 240px;
    }
}

@media (min-width: 1200px) {
    .youth-hero {
        height: max(773px, 53.680556vw);
    }

    .youth-hero .hero-image img {
        width: 106.87%;
        left: 0;
        top: -22.78%;
    }

    .youth-hero .hero-copy {
        width: 565px;
        padding-inline: 64px;
    }

    .youth-hero .hero-description,
    .youth-programme-group .section-intro,
    .youth-registration .section-intro {
        font-size: var(--subheading-size);
        line-height: var(--subheading-leading);
    }

    .field-status-inner {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .field-status-heading {
        flex: 0 0 320px;
    }

    .field-name {
        --field-title-size: 24px;
    }

    .field-badge {
        flex-basis: 80px;
    }

    .youth-programme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youth-programme-card:has(.youth-programme-mark img) .eyebrow,
    .youth-programme-card:has(.youth-programme-mark img) h3 {
        padding-right: 150px;
    }

    .youth-programme-card:has(.youth-programme-mark img) .pathway-description {
        max-width: calc(100% - 150px);
    }
}

@media (min-width: 1600px) {
    .youth-hero {
        height: min(52.083333vw, 1200px);
    }

    .youth-hero .hero-image img {
        width: 110.86%;
        top: -30.36%;
    }

    .youth-hero .hero-copy {
        width: 616px;
        padding-left: 128px;
        padding-right: 64px;
    }
}


/* Youth: location programmes fly out beside their secondary navigation. */
:root {
    --nav-tertiary-width: 320px;
}

.primary-nav .nav-page-pending,
.primary-nav .nav-location-trigger {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    background: var(--transparent);
    color: var(--white);
    font: var(--weight-bold) var(--nav-submenu-size) / var(--nav-submenu-leading) var(--font-body);
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    -webkit-text-stroke: 0;
    opacity: 1;
    transform: none;
}

.primary-nav .nav-page-pending {
    cursor: default;
    transition: background-color var(--interaction-duration) ease;
}

/* Keep placeholder rows visually consistent with published dropdown links. */
.primary-nav .nav-submenu .nav-page-pending:hover {
    background: var(--red-hover);
}

.primary-nav .nav-tertiary .nav-page-pending:hover {
    background: var(--red);
}

.primary-nav .nav-location-trigger {
    cursor: pointer;
    transition: background-color var(--interaction-duration) ease;
}

.primary-nav .nav-location-trigger:is(:hover, :focus-visible),
.primary-nav .nav-location.is-open > .nav-location-trigger {
    background: var(--red-hover);
    color: var(--white);
    opacity: 1;
    transform: none;
}

.nav-location {
    position: relative;
}

.nav-tertiary-list {
    min-height: 0;
    margin: 0;
    padding: 8px;
    overflow: hidden;
    list-style: none;
    background: var(--red-hover);
}

.nav-tertiary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: -3px;
}

.primary-nav .nav-tertiary a:is(:hover, :focus-visible) {
    background: var(--red);
    color: var(--white);
}

@media (min-width: 1200px) {
    /* Carry the parent highlight through the dropdown gutter into its flyout. */
    .primary-nav .nav-location-trigger {
        position: relative;
    }

    .primary-nav .nav-location-trigger::after {
        content: "";
        position: absolute;
        top: 0;
        right: -8px;
        bottom: 0;
        width: 8px;
        background: inherit;
        pointer-events: none;
    }

    /* Extend the reveal beyond the primary panel to include its flyouts. */
    .nav-group--youth > .nav-submenu {
        clip-path: inset(calc(-10px - var(--nav-pointer-size)) calc(-1 * var(--nav-tertiary-width)) calc(100% + 10px + var(--nav-pointer-size)) 0);
    }

    .nav-group--youth.is-expanded > .nav-submenu {
        clip-path: inset(calc(-10px - var(--nav-pointer-size)) calc(-1 * var(--nav-tertiary-width)) -600px 0);
    }

    .nav-tertiary {
        position: absolute;
        top: var(--nav-flyout-top, 0px);
        /* One pixel of overlap prevents fractional-position hairline seams. */
        left: calc(100% + 7px);
        z-index: 21;
        width: var(--nav-tertiary-width);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity var(--nav-dropdown-duration) ease,
            transform var(--nav-dropdown-duration) ease,
            visibility 0s linear var(--nav-dropdown-duration);
    }

    .nav-tertiary::before {
        content: "";
        position: absolute;
        inset: 0 100% 0 -8px;
    }

    .nav-tertiary-list {
        max-height: var(--nav-flyout-max-height, calc(100dvh - var(--header-height) - 32px));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-group--youth.is-expanded .nav-location.is-open > .nav-tertiary {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .primary-nav .nav-tertiary a,
    .primary-nav .nav-tertiary .nav-page-pending {
        text-align: left;
    }
}

@media (max-width: 1199px) {
    .primary-nav .nav-page-pending,
    .primary-nav .nav-location-trigger {
        padding: 6px 14px;
        text-align: left;
    }

    .primary-nav .nav-location-trigger:is(:hover, :focus-visible),
    .primary-nav .nav-location.is-open > .nav-location-trigger {
        background: var(--red-hover);
    }

    .nav-tertiary {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: grid-template-rows var(--nav-dropdown-duration) ease,
            opacity var(--nav-dropdown-duration) ease,
            visibility 0s linear var(--nav-dropdown-duration);
    }

    .nav-tertiary-list {
        margin-left: 14px;
        padding: 0 8px;
    }

    .nav-location.is-open > .nav-tertiary {
        grid-template-rows: 1fr;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-tertiary,
    .primary-nav .nav-page-pending,
    .primary-nav .nav-location-trigger {
        transition: none;
    }
}

/* Field Status plugin display, shared by all page templates. */
.youth-field-status {
    --field-open: #00a128;
    --field-open-surface: #eaf6ef;
    --field-closed-surface: #ffdadc;
    --field-unknown-surface: #f5f2ec;
    --field-title-size: 24px;
    --field-title-leading: 28px;
    --field-icon-size: 24px;
}
.youth-field-status:empty { display: none; }
.field-name { overflow-wrap: anywhere; }
.field-status-empty {
    flex: 1;
    color: var(--muted);
    font-size: var(--small-size);
    line-height: var(--small-leading);
}


/* CMS breadcrumb overrides may be longer than the original menu labels. */
.primary-nav .nav-submenu :is(a, .nav-page-pending, .nav-location-trigger) {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Cached current and archived standings use the same season control. */
.standings-season-picker {
    --season-control-height: max(56px, calc(var(--subheading-leading) + 24px));
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin: 0 0 8px;
}
.standings-season-picker label {
    font-family: var(--font-heading);
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
    color: var(--ink);
}
.standings-season-picker select {
    min-width: 0;
    max-width: 100%;
    height: var(--season-control-height);
    min-height: var(--season-control-height);
    padding: 0 40px 0 16px;
    border: 1px solid var(--muted);
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.standings-season-picker .button {
    border: 0;
    width: auto;
    height: var(--season-control-height);
    min-height: var(--season-control-height);
    padding: 0 20px;
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
}
#standings-title,
#schedule-title {
    scroll-margin-top: calc(var(--header-height) + 24px);
}
@media (max-width: 767px) {
    .standings-season-picker label { flex-basis: 100%; }
    .standings-season-picker select { flex: 1 1 180px; }
}

/* Full fixture team names: hover, keyboard focus, or a touch-and-hold. */
.fixture-code[data-team-name] {
    cursor: help;
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.fixture-code[data-team-name]:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}
.fixture-team-tooltip {
    position: fixed;
    z-index: 3000;
    width: max-content;
    max-width: min(280px, calc(100vw - 24px));
    padding: 10px 14px;
    border-radius: 4px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-regular);
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}
.fixture-team-tooltip[hidden] { display: none; }


/* Undesigned native pages retain their content and share the site identity. */
.simple-page {
    min-height: calc(100svh - var(--header-height));
    padding-block: 64px;
    background: var(--paper);
    color: var(--ink);
}
.simple-page-content {
    display: grid;
    gap: 32px;
}
.simple-page-content > h2 {
    font-size: var(--feature-size);
    line-height: var(--feature-leading);
}

/* Mobile flyout items keep a clear background in every interaction state. */
@media (max-width: 1199px) {
    .site-header .primary-nav .nav-tertiary-list,
    .site-header .primary-nav :is(a, button, .nav-page-pending):is(:hover, :focus-visible, :active),
    .site-header .primary-nav .nav-location.is-open > .nav-location-trigger {
        background: var(--transparent);
    }
}


/* Keep the homepage's place name together on narrow screens. */
@media (max-width: 767px) {
    .hero #hero-title.home-hero-title {
        --hero-size: clamp(48px, calc((100vw - var(--gutter) * 2) * .225), 83px);
        --hero-leading: calc(var(--hero-size) * .845);
        --hero-tracking: calc(var(--hero-size) * -.07);
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .home-hero-title > br:first-of-type {
        display: none;
    }
}

/* Rangers Newsroom: the shared site layout and editorial components, with CMS content. */
:root {
    --news-feature-gradient: linear-gradient(141.5646deg, #5e111c 0%, #090909 76.923%);
    --news-intro-size: 24px;
    --news-intro-leading: 28px;
    --news-feature-photo-height: 476px;
    --news-feature-gap: 32px;
    --news-reading-size: 24px;
    --news-reading-leading: 28px;
    --news-story-title-leading: 1.1;
    --news-reading-gap: 28px;
    --news-story-hero-ratio: 1.5;
    --news-photo-ratio: 1 / .62;
    --news-control-surface: #212121;
    --news-control-border: #777;
    --news-gallery-background: #0c0c0c;
    --news-control-icon-size: 26px;
}

.forge-newsroom--site {
    --newsroom-article-surface: var(--white);
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--paper);
}

.news-public-title { background: var(--paper); }
.news-public-intro { max-width: 720px; color: var(--muted); font-size: var(--news-intro-size); line-height: var(--news-intro-leading); }
.news-featured { color: var(--white); background: var(--news-feature-gradient); }
.news-featured__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: var(--news-feature-gap); }
.news-featured__image { display: block; min-width: 0; }
.news-featured__photo { display: block; width: 100%; height: max(var(--news-feature-photo-height), var(--news-feature-photo-min-height, 0px)); object-fit: cover; }
.news-featured__copy { min-width: 0; }
.news-featured__copy .eyebrow { color: var(--pink); }
.news-featured__copy .section-title { font-size: calc(var(--heading-size) * var(--news-feature-title-scale, .6)); line-height: calc(var(--heading-leading) * var(--news-feature-title-scale, .6)); letter-spacing: calc(var(--heading-tracking) * var(--news-feature-title-scale, .6)); text-transform: uppercase; overflow-wrap: anywhere; }
.news-featured__copy .news-public-intro { color: var(--white); font-size: calc(var(--news-intro-size) * var(--news-feature-body-scale, 1)); line-height: calc(var(--news-intro-leading) * var(--news-feature-body-scale, 1)); }

.news-public-grid { background: var(--paper); }
.news-public-grid .news-card { min-width: 0; background: var(--white); }
.news-public-grid .news-image img { display: block; width: 100%; height: auto; aspect-ratio: var(--news-photo-ratio); object-fit: cover; }
.news-public-grid .news-copy { min-width: 0; }
.news-public-grid h3 { overflow-wrap: anywhere; }
.news-public-grid .news-grid { align-items: stretch; }
.news-public-grid .news-card { display: flex; flex-direction: column; }
.news-public-grid .news-copy { flex: 1; }
.news-public-grid .story-link { margin-top: auto; }
.news-press-desk { background: var(--white); }
.news-public-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.news-shop { color: var(--white); background: var(--red); }
.news-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.news-shop-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; color: var(--ink); background: var(--white); }
.news-shop-card .eyebrow { color: var(--ink); font-size: var(--subheading-size); line-height: var(--subheading-leading); }
.news-shop-card p { color: var(--muted); }
.news-shop-card .button { width: 100%; margin-top: auto; }

@media (min-width: 768px) and (max-width: 1199px) {
    .news-featured { --news-feature-photo-height: 456px; }
}

@media (max-width: 767px) {
    .news-featured__layout { grid-template-columns: minmax(0, 1fr); }
    .news-featured__copy .section-title { font-size: var(--heading-size); line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); }
    .news-featured__copy .news-public-intro { font-size: var(--news-intro-size); line-height: var(--news-intro-leading); }
    .news-featured__photo { height: auto; aspect-ratio: 3 / 2; }
    .news-featured .button, .news-public-grid .button, .news-press-desk .button { width: 100%; }
    .news-shop-grid { grid-template-columns: minmax(0, 1fr); }
    .news-shop-card { display: contents; }
    .news-shop-card > :is(h3, p) { display: none; }
    .news-shop-card .button { margin: 0; color: var(--ink); background: var(--white); }
}


/* All Cities keeps one stable grid row while published city panels crossfade. */
.field-status-rotation.is-rotating {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
.field-status-rotation.is-rotating > .field-status-city-panel {
    min-width: 0;
    grid-area: 1 / 1;
    align-self: start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.field-status-rotation.is-rotating > .field-status-city-panel.is-current,
.field-status-rotation.is-rotating > .field-status-city-panel.is-entering {
    visibility: visible;
}
.field-status-rotation.is-rotating > .field-status-city-panel.is-current {
    opacity: 1;
    pointer-events: auto;
}


/* Keep field names uncut on one line; single-field cards hug their content. */
.field-status-list:has(> .field-availability:only-child) {
    display: flex;
}
.field-status-list > .field-availability:only-child {
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
}
.field-availability {
    flex-wrap: wrap;
}
.field-name {
    flex: 1 0 auto;
    padding-inline-end: 20px;
    white-space: nowrap;
}
.field-badge {
    margin-inline-start: auto;
}

@media (max-width: 359px) {
    .field-name {
        --field-title-size: 21px;
    }
}

/* The sun needs a small optical size correction beside the closure emoji. */
.field-availability.is-open .field-weather {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--field-icon-size) + 5px);
}

.field-status-city-name {
    font-weight: var(--weight-bold);
}


/* Four or more fields share one readable row; narrow screens can swipe it. */
.field-status-rotation:has(.field-availability:nth-child(4)) .field-status-inner,
.field-status-inner:has(.field-availability:nth-child(4)) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}
.field-status-rotation:has(.field-availability:nth-child(4)) .field-status-heading,
.field-status-inner:has(.field-availability:nth-child(4)) .field-status-heading {
    flex: 0 0 auto;
}
.field-status-list:has(> .field-availability:nth-child(4)) {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
.field-status-list:has(> .field-availability:nth-child(4)) > .field-availability {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: max-content;
    gap: 8px;
    padding-inline: 12px;
}
.field-status-list:has(> .field-availability:nth-child(4)) .field-name {
    --field-title-size: 22px;
}
.field-status-list:has(> .field-availability:nth-child(4)) .field-badge {
    flex-basis: 64px;
}
@media (min-width: 768px) {
    .field-status-rotation:has(.field-availability:nth-child(4)) .field-status-heading,
    .field-status-inner:has(.field-availability:nth-child(4)) .field-status-heading {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Mobile field cards stack while each name and status stays together. */
@media (max-width: 767px) {
    .field-status-list:has(> .field-availability:nth-child(4)) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }
    .field-status-list:has(> .field-availability:nth-child(4)) > .field-availability {
        width: 100%;
    }
}

/* Equal quarters for four-field desktop rows; single-field cities hug content. */
@media (min-width: 1200px) {
    .field-status-list:has(> .field-availability:nth-child(4)) {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
    }
    .field-status-list:has(> .field-availability:nth-child(4)) > .field-availability {
        width: 100%;
        min-width: 0;
    }
}

/* Mobile rotates one full-width field; hidden city stacks reserve no space. */
.field-status-mobile-panel { display: none; }
@media (max-width: 767px) {
    .field-status-rotation.is-mobile-fields > .field-status-city-panel { display: none; }
    .field-status-rotation.is-mobile-fields > .field-status-mobile-panel { display: block; }
    .field-status-rotation.is-mobile-fields .field-status-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .field-status-rotation.is-mobile-fields .field-status-list {
        display: block;
        width: 100%;
        overflow: visible;
    }
    .field-status-rotation.is-mobile-fields .field-availability:only-child {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) 64px;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        padding: 16px 12px;
    }
    .field-status-rotation.is-mobile-fields .field-name {
        --field-title-size: 20px;
        min-width: 0;
        padding-inline-end: 0;
        white-space: normal;
    }
    .field-status-rotation.is-mobile-fields .field-badge { width: 100%; margin: 0; }
}
@media (max-width: 359px) {
    .field-status-rotation.is-mobile-fields .field-name { --field-title-size: 18px; }
}

/* The mobile/tablet menu control fades without moving its touch target. */
@media (max-width: 1199px) {
    .menu-toggle:is(:hover, :focus-visible) { transform: none; }
}

/* Fields slide under the stationary heading; city metadata fades only on city changes. */
@media (max-width: 767px) {
    .field-status-rotation.is-mobile-fields {
        overflow: hidden;
        touch-action: pan-y pinch-zoom;
    }
    .field-status-rotation.is-mobile-fields > .field-status-mobile-panel.is-entering {
        opacity: 1;
    }
    .field-status-rotation.is-mobile-fields .is-entering .field-status-heading {
        visibility: hidden;
    }
    .field-status-rotation.is-mobile-fields.is-city-change .is-entering .field-status-updated {
        visibility: visible;
    }
    .field-status-rotation.is-mobile-fields .field-status-list {
        user-select: none;
    }
}

@media (max-width: 767px) {
    .field-status-rotation.is-mobile-fields { --field-slide-gutter: 24px; }
}

/* X joins the social row in the same reserved 32px square. */
@media (min-width: 1200px) {
    .header-actions .social-link--x {
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: var(--white);
    }
    .header-actions .social-link--x img {
        width: 24px;
        height: 24px;
    }
}

/* Internal pages: the default Rich Text layout and optional structured content. */
.internal-page {
    --internal-body-size: 18px;
    --internal-body-leading: 28px;
    --internal-body-max: 720px;
    --internal-paragraph-gap: 28px;
    --internal-bottom-space: 128px;
    --internal-layout-gap: 64px;
    --internal-ancillary-width: 400px;
    --internal-image-ratio: 3 / 2;
    --internal-image-top: 0%;
    --internal-image-width: 100%;
    background: var(--white);
    color: var(--ink);
}
.internal-image {
    position: relative;
    width: 100%;
    aspect-ratio: var(--internal-image-ratio);
    overflow: hidden;
}
.internal-image:not(:has(img[src]:not([src=""]))) { display: none; }
.internal-image > img {
    position: absolute;
    top: var(--internal-image-top);
    left: 0;
    display: block;
    width: var(--internal-image-width);
    max-width: none;
    height: auto;
}
.internal-story { padding-bottom: var(--internal-bottom-space); }
.internal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--internal-layout-gap);
    align-items: start;
}
.internal-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
}
.internal-copy > .eyebrow:empty { display: none; }
.internal-title { width: 100%; overflow-wrap: anywhere; }
.internal-structured .internal-title { text-transform: uppercase; }
.internal-prose {
    width: 100%;
    max-width: var(--internal-body-max);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: var(--internal-body-size);
    font-weight: var(--weight-regular);
    line-height: var(--internal-body-leading);
    overflow-wrap: anywhere;
}
.internal-prose > * { margin: 0; }
.internal-prose > * + * { margin-top: var(--internal-paragraph-gap); }
.internal-prose :is(h1, h2, h3) {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: var(--card-size);
    font-weight: var(--weight-bold);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}
.internal-prose :is(ul, ol) { padding-inline-start: 1.4em; }
.internal-prose li + li { margin-top: 8px; }
.internal-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.internal-prose blockquote { border-inline-start: 3px solid var(--red); padding-inline-start: 20px; }
.internal-ancillary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 24px;
    background: var(--paper);
}
.internal-ancillary h3 {
    color: var(--ink);
    font-size: var(--subheading-size);
    line-height: var(--subheading-leading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
.internal-ancillary-body {
    color: var(--muted);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.internal-ancillary-body > * + * { margin-top: 16px; }
.internal-ancillary .button { width: 100%; height: auto; min-height: 56px; padding-block: 12px; }

/* A leading H3 + H2 in the body provides the plain layout's editable eyebrow/title. */
.internal-plain .internal-copy:has(.internal-prose > h2:first-child) > .internal-title,
.internal-plain .internal-copy:has(.internal-prose > h3:first-child + h2) > .internal-title { display: none; }
.internal-plain .internal-prose { max-width: none; }
.internal-plain .internal-prose > * { max-width: var(--internal-body-max); }
.internal-plain .internal-prose > h2:first-child,
.internal-plain .internal-prose > h3:first-child + h2 {
    max-width: none;
    font-size: var(--heading-size);
    line-height: var(--heading-leading);
    letter-spacing: var(--heading-tracking);
}
.internal-plain .internal-prose > h3:first-child:has(+ h2) {
    max-width: none;
    color: var(--red);
    font: var(--weight-bold) var(--eyebrow-size) / var(--eyebrow-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
.internal-plain .internal-prose > h3:first-child + h2 { margin-top: 24px; }

@media (min-width: 768px) {
    .internal-page {
        --internal-image-ratio: 1440 / 735.75;
        --internal-image-top: -21%;
    }
    .internal-ancillary { max-width: var(--internal-ancillary-width); }
}
@media (min-width: 1200px) {
    .internal-page { --internal-body-size: 24px; --internal-body-max: 931px; }
    .internal-structured .internal-copy { gap: 14px; }
    .internal-layout:has(> .internal-ancillary) {
        grid-template-columns: minmax(0, 1fr) var(--internal-ancillary-width);
    }
    .internal-layout:has(> .internal-ancillary) .internal-prose { max-width: none; }
}
@media (min-width: 1800px) {
    .internal-page { --internal-image-ratio: 48 / 25; --internal-image-width: 101.93%; }
}
@media (max-width: 767px) {
    .internal-shop .button:is(:hover, :focus-visible) { color: var(--white); background: var(--black); }
}


/* Align managed photography to its Media focal point within the approved crop.
   Keep each breakpoint's image width (zoom), frame and intrinsic proportions. */
:is(.hero-image, .internal-image) > img[data-lrr-focal-crop] {
    left: var(--media-focal-x, 50%) !important;
    top: var(--media-focal-y, 50%) !important;
    min-width: 100%;
    min-height: 100%;
    height: auto !important;
    object-fit: cover !important;
    transform: translate(
        calc(-1 * var(--media-focal-x, 50%)),
        calc(-1 * var(--media-focal-y, 50%))
    );
}


/* Use true viewport centering only while the full-size navigation has room.
   Narrower desktop screens retain the original layout and spacing. */
@media (min-width: 1880px) {
    .header-inner { position: relative; }
    .primary-nav {
        position: absolute;
        inset: 0 auto 0 50%;
        width: max-content;
        flex: none;
        transform: translateX(-50%);
    }
    .header-actions { margin-left: auto; }
}

/* Cached next-home-match cards: upcoming, authoritative live update, and final. */
:root {
    --match-score-bg: #686765;
    --match-countdown-label-size: 18px;
    --match-countdown-label-leading: 20px;
    --match-live-code-size: 28px;
    --match-live-code-leading: 31px;
    --match-live-code-tracking: -.84px;
    --match-live-score-size: 28px;
    --match-live-score-leading: 31px;
    --match-live-score-tracking: -.84px;
    --match-live-score-width: 85px;
    --match-live-score-height: 32px;
    --match-live-crest-size: 50px;
    --match-live-opponent-size: 50px;
    --match-stream-width: 64px;
}
[data-match-team]:empty { display: none; }
[data-match-card] .match-league { object-fit: contain; }
[data-match-card] .match-league--cup { width: 118px; height: auto; }
[data-match-card] .match-competition-name {
    color: var(--white);
    font: var(--weight-bold) var(--match-countdown-label-size) / var(--match-countdown-label-leading) var(--font-heading);
}
[data-match-card] .match-current-title { color: var(--pink); }
[data-match-card] .match-rangers img { object-fit: contain; }
[data-match-card] .match-opponent {
    display: block;
    width: clamp(96px, 28.718vw, 112px);
    height: clamp(96px, 28.718vw, 112px);
}
[data-match-card] .match-opponent img { width: 100%; height: 100%; object-fit: contain; }
[data-match-card] .countdown .eyebrow {
    font-size: var(--match-countdown-label-size);
    line-height: var(--match-countdown-label-leading);
}
[data-match-card] .countdown dd { font-variant-numeric: tabular-nums; }
[data-match-card] .match-buttons { display: flex; width: 100%; gap: 16px; }
[data-match-card] .match-buttons > .button { flex: 1; min-width: 0; width: auto; }
[data-match-card] .match-buttons > .match-stream-button {
    flex: 0 0 var(--match-stream-width);
    width: var(--match-stream-width);
    padding: 0;
}
[data-match-card] .match-buttons img,
[data-match-card] .match-watch-live img { width: 32px; height: 32px; flex: 0 0 32px; }
[data-match-card] .match-live-content { display: flex; flex-direction: column; gap: 24px; min-width: 0; width: 100%; }
[data-match-card] .match-scoreline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px;
}
[data-match-card] .match-team-code {
    color: var(--white);
    font: var(--weight-bold) var(--match-live-code-size) / var(--match-live-code-leading) var(--font-heading);
    letter-spacing: var(--match-live-code-tracking);
    text-decoration: none;
    border: 0;
    white-space: nowrap;
}
[data-match-card] .match-live-crest {
    display: block;
    width: var(--match-live-crest-size);
    height: var(--match-live-crest-size);
    flex: 0 0 var(--match-live-crest-size);
    object-fit: contain;
}
[data-match-card] .match-live-crest--opponent {
    width: var(--match-live-opponent-size);
    height: var(--match-live-opponent-size);
    flex-basis: var(--match-live-opponent-size);
}
[data-match-card] .match-score-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
[data-match-card] .match-current-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--match-live-score-width);
    height: var(--match-live-score-height);
    padding-inline: 6px;
    background: var(--match-score-bg);
    color: var(--white);
    font: var(--weight-bold) var(--match-live-score-size) / var(--match-live-score-leading) var(--font-heading);
    letter-spacing: var(--match-live-score-tracking);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
[data-match-card] .match-current-actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
[data-match-card] .match-clock-wrap { text-align: center; }
[data-match-card] .match-clock {
    color: var(--white);
    font: var(--weight-bold) var(--card-size) / var(--card-leading) var(--font-heading);
    letter-spacing: var(--card-tracking);
}
[data-match-card] .match-penalties,
[data-match-card] .match-update-note {
    color: var(--inverse-muted);
    font: var(--weight-regular) var(--caption-size) / var(--caption-leading) var(--font-body);
}
[data-match-card] .match-watch-live { display: flex; gap: 8px; width: 100%; }
@media (max-width: 359px) {
    [data-match-card] { --match-live-code-size: 24px; --match-live-crest-size: 40px; --match-live-opponent-size: 40px; --match-live-score-width: 74px; }
    [data-match-card] .match-scoreline { padding-inline: 0; gap: 4px; }
}
@media (min-width: 768px) {
    [data-match-card] {
        --match-live-code-size: 64px;
        --match-live-code-leading: 57px;
        --match-live-code-tracking: -4.48px;
        --match-live-score-size: 64px;
        --match-live-score-leading: 62px;
        --match-live-score-tracking: -3.2px;
        --match-live-score-width: 105px;
        --match-live-score-height: 58px;
        --match-live-crest-size: 88px;
        --match-live-opponent-size: 90px;
        --match-stream-width: 59px;
    }
    [data-match-card] .match-opponent { width: 128px; height: 128px; }
    [data-match-card] .match-buttons { width: 327px; }
    [data-match-card] .match-league--cup { width: 147px; }
    [data-match-card].match-card--current .match-inner { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
    [data-match-card] .match-scoreline { padding: 0; gap: 12px; min-height: 96px; }
    [data-match-card] .match-current-actions { flex-direction: row; justify-content: space-between; gap: 24px; }
    [data-match-card] .match-clock-wrap { flex: 1; text-align: left; }
    [data-match-card] .match-watch-live { width: 327px; max-width: 64%; }
}
@media (min-width: 1200px) {
    [data-match-card] {
        --match-live-code-size: 104px;
        --match-live-code-leading: 92px;
        --match-live-code-tracking: -7.28px;
        --match-live-score-width: 135px;
        --match-live-crest-size: 123px;
    }
    [data-match-card] .match-inner { grid-template-columns: 280px minmax(0, 1fr) 320px; }
    [data-match-card] .match-buttons { width: 320px; }
    [data-match-card] .match-opponent { width: 160px; height: 160px; }
    [data-match-card].match-card--current .match-inner { grid-template-columns: minmax(0,1fr) minmax(0,762px); }
    [data-match-card] .match-scoreline { min-height: 123px; }
    [data-match-card] .match-watch-live { width: 327px; max-width: none; }
}

[data-match-card] .match-opponent-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--white);
    font: var(--weight-bold) var(--footer-size) / var(--footer-leading) var(--font-heading);
    letter-spacing: var(--footer-tracking);
}
[data-match-card] .match-working-note { color: var(--pink); font-size: var(--caption-size); }

/* Open Cup upcoming variant: competition identity replaces the desktop title. */
@media (min-width: 768px) {
    [data-match-card][data-state="upcoming"][data-competition="us_open_cup"] .match-information h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    [data-match-card][data-state="upcoming"][data-competition="us_open_cup"] .match-inner { align-items: start; }
    [data-match-card] .match-league--cup { width: 148px; height: 36px; }
}

[data-match-card] .match-information h2 {
    font-size: var(--card-size);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}

@media (min-width: 768px) {
    [data-match-card][data-state="upcoming"] .match-information { align-self: center; }
}

/* Keep dropdown disclosure arrows inside the shared form-control padding. */
:root {
    --select-arrow-image: url('/images/standings-chevron.svg');
    --select-arrow-inset: 16px;
    --select-arrow-size: 16px;
    --select-arrow-text-gap: 12px;
}
select:not([multiple]):not([size]),
select:not([multiple])[size="1"] {
    -webkit-appearance: none;
    appearance: none;
    padding-inline-end: calc(var(--select-arrow-inset) + var(--select-arrow-size) + var(--select-arrow-text-gap));
    background-image: var(--select-arrow-image);
    background-repeat: no-repeat;
    background-position: right var(--select-arrow-inset) center;
    background-size: var(--select-arrow-size) var(--select-arrow-size);
}
@media (forced-colors: active) {
    select:not([multiple]):not([size]),
    select:not([multiple])[size="1"] {
        -webkit-appearance: auto;
        appearance: auto;
        background-image: none;
    }
}

/* Archive: the LRR plain rich-text template with a readable historical browser. */
.archive-page {
    --archive-rule: #d8d5cf;
    --archive-soft: #f5f2ec;
    --archive-overlay: #171719b3;
    --archive-copy-size: 16px;
    --archive-copy-leading: 24px;
    --archive-small-size: 14px;
    --archive-small-leading: 21px;
}
.archive-page .internal-prose { max-width: none; }
.archive-page .internal-prose > p { max-width: var(--internal-body-max); }
.archive-browser { width: 100%; color: var(--ink); font-size: var(--archive-copy-size); line-height: var(--archive-copy-leading); }
.archive-browser [hidden] { display: none !important; }
.archive-browser :is(button, input, select) { font-family: var(--font-body); font-size: inherit; line-height: inherit; }
.archive-browser button { cursor: pointer; }
.archive-browser :is(button, input, select, summary, a, [tabindex]):focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.archive-browser :is(button, a) { transition: color var(--hover-duration, 180ms) ease, background-color var(--hover-duration, 180ms) ease; }
.archive-browser button:disabled { opacity: .4; cursor: default; }
.archive-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.archive-tabs button { padding: 12px 20px; border: 1px solid var(--archive-rule); background: var(--white); color: var(--ink); font-weight: var(--weight-bold); }
.archive-tabs button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.archive-tabs button:hover { border-color: var(--red); }
.archive-more { margin-bottom: 28px; }
.archive-browser summary { width: fit-content; cursor: pointer; font-weight: var(--weight-bold); }
.archive-more > label { display: block; margin-top: 16px; margin-bottom: 6px; }
.archive-more > select { width: min(100%, 500px); }
.archive-filters { display: grid; grid-template-columns: 150px 160px minmax(0, 1fr) auto; gap: 20px; align-items: end; padding-block: 24px; border-block: 1px solid var(--archive-rule); }
.archive-filters:has(#archive-metric-label:not([hidden])) { grid-template-columns: 130px 140px 170px minmax(180px, 1fr) auto; }
.archive-filters label { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-weight: var(--weight-bold); }
.archive-browser :is(input, select) { min-width: 0; min-height: 48px; padding: 10px 44px 10px 14px; border: 1px solid var(--muted); border-radius: 0; background-color: var(--white); color: var(--ink); font-weight: var(--weight-regular); }
.archive-browser input { width: 100%; padding-right: 14px; }
.archive-browser select:disabled { color: var(--muted); background-color: var(--archive-soft); }
.archive-text-button { min-height: 48px; padding: 8px 0; background: none; color: var(--red); border: 0; text-decoration: underline; text-underline-offset: 4px; }
.archive-results-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 36px; }
.archive-page .archive-results-heading h3 { margin: 0 0 8px; }
.archive-results-heading p { margin: 0; max-width: 760px; color: var(--muted); }
.archive-download { flex: none; font-weight: var(--weight-bold); }
.archive-count { margin: 20px 0 12px; color: var(--muted); font-size: var(--archive-small-size); }
#archive-error:not(:empty) { padding: 16px; border: 1px solid var(--red); margin-top: 20px; color: var(--red); }
.archive-table-scroll { width: 100%; overflow-x: auto; border-block: 1px solid var(--archive-rule); }
.archive-table { width: 100%; border-collapse: collapse; color: var(--ink); text-align: left; }
.archive-table :is(th, td) { padding: 18px 14px; border-bottom: 1px solid var(--archive-rule); vertical-align: top; }
.archive-table th { background: var(--archive-soft); font-size: var(--archive-small-size); line-height: var(--archive-small-leading); }
.archive-table th button { display: block; padding: 0; border: 0; background: none; font-weight: var(--weight-bold); text-align: left; color: inherit; }
.archive-table td { min-width: 76px; }
.archive-table tbody tr:last-child td { border-bottom: 0; }
.archive-table tr:hover td { background: var(--archive-soft); }
.archive-table td small { display: block; font-size: var(--archive-small-size); line-height: var(--archive-small-leading); color: var(--muted); }
.archive-record-link { padding: 0; border: 0; background: none; color: var(--red); font-weight: var(--weight-bold); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.archive-result { display: inline-block; font-weight: var(--weight-bold); }
.archive-result[data-result="W"] { color: var(--red); }
.archive-muted { color: var(--muted); }
.archive-pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; }
.archive-page-button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--archive-rule); background: var(--white); color: var(--ink); font-weight: var(--weight-bold); }
.archive-page-button:not(:disabled):hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.archive-about { margin-top: 40px; padding: 24px; background: var(--archive-soft); }
.archive-about > div { margin-top: 16px; max-width: 800px; color: var(--muted); }
.archive-about p + p { margin-top: 16px; }
.archive-dialog { width: min(880px, calc(100vw - 32px)); max-height: min(85vh, 1000px); padding: 28px; border: 0; background: var(--white); color: var(--ink); }
.archive-dialog::backdrop { background: var(--archive-overlay); }
.archive-dialog-heading { position: sticky; top: -28px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 12px 24px; background: var(--white); }
.archive-page .archive-dialog-heading h3 { margin: 0; }
.archive-record-fields { margin: 0; }
.archive-record-fields > div { display: grid; grid-template-columns: minmax(120px, .75fr) minmax(0, 1.25fr); gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--archive-rule); }
.archive-record-fields dt { font-weight: var(--weight-bold); }
.archive-record-fields dd { margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.archive-source-details, .archive-related { margin-top: 24px; }
.archive-related > summary { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--archive-rule); }
.archive-related-record { padding: 20px; margin-top: 16px; background: var(--archive-soft); }
.archive-empty { padding-block: 32px !important; color: var(--muted); }
@media (max-width: 1199px) {
    .archive-filters, .archive-filters:has(#archive-metric-label:not([hidden])) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-filters .archive-search { grid-column: 1 / -1; }
    .archive-text-button { justify-self: start; }
    .archive-results-heading { align-items: start; flex-direction: column; gap: 16px; }
}
@media (max-width: 767px) {
    .archive-tabs { gap: 6px; }
    .archive-tabs button { flex: 1 1 auto; padding: 10px 14px; }
    .archive-filters { gap: 16px; }
    .archive-pagination { gap: 10px; font-size: var(--archive-small-size); }
    .archive-page-button { padding-inline: 12px; }
    .archive-about { padding: 20px; }
    .archive-dialog { padding: 20px; }
    .archive-dialog-heading { top: -20px; gap: 16px; }
    .archive-record-fields > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .archive-table :is(th, td) { padding: 14px 12px; }
    .archive-related-record { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .archive-browser :is(button, a) { transition: none; }
}

.archive-browser .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.archive-page .internal-prose > .archive-browser { max-width: none; }

.archive-table-scroll { position: relative; }
.archive-scroll-hint { display: none; color: var(--muted); font-size: var(--archive-small-size); }
@media (max-width: 767px) {
    .archive-scroll-hint { display: block; margin: 0 0 10px; }
}

/* Mobile archive tables retain their columns and swipe horizontally. */
@media (max-width: 767px) {
    .archive-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .archive-table { width: max-content; min-width: 100%; }
    .archive-table :is(th, td, th button, td button) {
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
    }
}


/* Tickets: Figma 07, with the site's shared type, gutters and interactions. */
.tickets-page {
    --ticket-hero-zoom: 149.17%;
    --ticket-frame-ratio: 390 / 270;
    --ticket-copy-size: 24px;
    --ticket-copy-leading: 28px;
    --ticket-card-min-height: 266px;
}
.tickets-hero .hero-image {
    aspect-ratio: var(--ticket-frame-ratio);
}
.tickets-hero .hero-image img {
    width: var(--ticket-hero-zoom);
    height: auto;
    left: -24.62%;
    top: -24.32%;
    object-fit: cover;
}
.ticket-options { background: var(--paper); }
.ticket-guide { background: var(--white); }
.ticket-types { align-items: stretch; }
.ticket-types .pathway-card { min-height: var(--ticket-card-min-height); }
.ticket-types .button { margin-top: auto; }
.ticket-guide .section-intro,
.ticket-options .section-intro {
    font-size: var(--ticket-copy-size);
    line-height: var(--ticket-copy-leading);
}
.ticket-support .eyebrow {
    font: var(--weight-bold) var(--eyebrow-size) / var(--eyebrow-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
}
.ticket-support .faq-list { margin-bottom: 24px; }
.ticket-support .faq-item:last-child { padding-bottom: 0; }

@media (min-width: 768px) {
    .tickets-page { --ticket-hero-zoom: 139.41%; --ticket-card-min-height: 308px; }
    .tickets-hero { height: calc(43.2343vw + 150.426px); max-height: 1000px; }
    .tickets-hero .hero-image { aspect-ratio: auto; }
    .tickets-hero .hero-image img { left: -15.5%; top: -26.98%; }
}
@media (min-width: 1200px) {
    .tickets-page { --ticket-hero-zoom: 122.19%; --ticket-card-min-height: 270px; }
    .tickets-hero .hero-image img { left: -6.71%; top: -27.38%; }
}
@media (min-width: 1800px) {
    .tickets-page { --ticket-hero-zoom: 119.52%; }
    .tickets-hero .hero-image img { left: -7.46%; top: -28.19%; }
}

.tickets-hero h2, #ticket-options-title { white-space: pre-line; }

@media (min-width: 1200px) {
    .tickets-hero .hero-copy > h2 { max-width: 3.5em; }
}
@media (max-width: 767px) {
    .ticket-types { grid-auto-rows: 1fr; }
}

.tickets-page {
    --faq-duration: 280ms;
    --gameday-copy-size: 18px;
    --gameday-copy-leading: 28px;
}
@media (min-width: 1440px) {
    .tickets-hero { height: min(1000px, calc(47.291667vw + 92px)); }
}

/* Tickets actions fill the mobile content gutters. */
@media (max-width: 767px) {
    .ticket-guide .button,
    .ticket-support-action,
    .ticket-support-action .button {
        width: 100%;
    }
}

/* Native Forge Commerce layout, scoped to the Rangers shop. */
:root {
    --shop-canvas: #f7f7f5;
    --shop-surface: #fff;
    --shop-ink: #111;
    --shop-muted: #686868;
    --shop-border: #e6e6e2;
    --shop-accent-fallback: #ff5a1f;
    --shop-focus: #2563eb;
    --shop-control-border: #a3a3a3;
    --shop-control-surface: #f4f4f4;
    --shop-white: white;
    --shop-divider: #aaa;
    --shop-image-surface: #e8e8e8;
    --shop-transparent: transparent;
    --shop-error: #a92516;
    --shop-backdrop: rgb(17 17 17 / .6);
    --shop-notice-surface: #fff0e7;
    --shop-notice-ink: #8a300f;
    --shop-secondary-canvas: #f7f6f2;
    --shop-secondary-ink: #171a15;
    --shop-secondary-muted: #656a5d;
    --shop-body-font: 14px/1.45 var(--font-body);
    --shop-large-title-size: 36px;
    --shop-tight-leading: 1.1;
    --shop-heading-tracking: -.02em;
    --shop-panel-title-size: 20px;
    --shop-heading-leading: 1.2;
    --shop-bold-weight: 700;
    --shop-caption-size: 12px;
    --shop-label-tracking: 0;
    --shop-body-leading: 1.5;
    --shop-price-size: 28px;
    --shop-label-size: 14px;
    --shop-availability-size: 13px;
    --shop-prose-leading: 1.6;
    --shop-badge-size: 10px;
    --shop-small-caption-size: 11px;
    --shop-responsive-title-size: clamp(30px,3vw,44px);
    --shop-compact-title-size: 29px;
    --shop-display-leading: 1.08;
    --shop-responsive-display-size: clamp(40px,5vw,64px);
    --shop-copy-size: 18px;
    --shop-dialog-title-size: 30px;
}

.shop-page.forge-storefront-document {
    margin: 0;
    min-width: 0;
}

.shop-page .forge-store-name {
    text-transform: uppercase;
}

.shop-page .forge-related-image img.is-placeholder {
    object-fit: contain;
    padding: 24px;
}

.shop-page .forge-storefront {
    --pdp-canvas: var(--forge-surface-canvas,var(--shop-canvas));
    --pdp-card: var(--forge-surface-card,var(--shop-surface));
    --pdp-ink: var(--forge-text-primary,var(--shop-ink));
    --pdp-muted: var(--forge-text-secondary,var(--shop-muted));
    --pdp-border: var(--forge-border-subtle,var(--shop-border));
    --pdp-brand: var(--forge-brand-molten,var(--shop-accent-fallback));
    color: var(--pdp-ink);
    background: var(--pdp-canvas);
    font: var(--shop-body-font);
    isolation: isolate;
    min-width: 0;
}

.shop-page .forge-storefront * {
    box-sizing: border-box;
}

.shop-page .forge-storefront [hidden] {
    display: none!important;
}

.shop-page .forge-storefront :is(h1,h2,h3,p) {
    margin: 0;
    overflow-wrap: anywhere;
}

.shop-page .forge-storefront h1 {
    font-size: var(--shop-large-title-size);
    line-height: var(--shop-tight-leading);
    letter-spacing: var(--shop-heading-tracking);
}

.shop-page .forge-storefront h2 {
    font-size: var(--shop-panel-title-size);
    line-height: var(--shop-heading-leading);
    letter-spacing: var(--shop-heading-tracking);
}

.shop-page .forge-storefront h3 {
    font-size: var(--shop-panel-title-size);
    line-height: var(--shop-heading-leading);
}

.shop-page .forge-storefront a {
    color: inherit;
}

.shop-page .forge-storefront :is(button,input,select) {
    font: inherit;
}

.shop-page .forge-storefront :is(a,button,input,select):focus-visible {
    outline: 3px solid var(--shop-focus);
    outline-offset: 4px;
}

.shop-page .forge-storefront :is(button,a) {
    touch-action: manipulation;
}

.shop-page .forge-storefront .commerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--shop-control-border);
    border-radius: 10px;
    background: var(--shop-control-surface);
    color: var(--pdp-ink);
    text-decoration: none;
    text-align: center;
    font-weight: var(--shop-bold-weight);
    line-height: var(--shop-panel-title-size);
    cursor: pointer;
}

.shop-page .forge-storefront .commerce-button.is-primary {
    background: var(--pdp-brand);
    color: var(--shop-white);
    border-color: var(--pdp-brand);
}

.shop-page .forge-storefront button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.shop-page .forge-storefront .forge-bag-icon {
    display: block;
    flex: none;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.shop-page .forge-store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: var(--pdp-card);
}

.shop-page .forge-store-header .forge-store-name {
    font-size: var(--shop-panel-title-size);
    font-weight: var(--shop-bold-weight);
    text-decoration: none;
}

.shop-page .forge-store-header nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-page .forge-store-header nav>a {
    padding: 12px 24px;
    border: 1px solid var(--shop-divider);
    border-radius: 10px;
    text-decoration: none;
    font-weight: var(--shop-bold-weight);
}

.shop-page .forge-pdp {
    display: grid;
    gap: 24px;
    width: min(100%,1440px);
    padding: 48px;
    margin: auto;
}

.shop-page .forge-pdp-breadcrumb {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
}

.shop-page .forge-pdp-overview {
    display: grid;
    grid-template-columns: minmax(0,736fr) minmax(0,576fr);
    gap: 32px;
    align-items: start;
}

.shop-page .forge-pdp-gallery {
    min-width: 0;
}

.shop-page .forge-gallery-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--forge-surface-media-placeholder,var(--shop-image-surface));
    cursor: zoom-in;
}

.shop-page .forge-storefront .shop-detail-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 736/500;
    object-fit: contain;
    background: var(--forge-surface-media-placeholder,var(--shop-image-surface));
}

.shop-page .forge-storefront.is-mm .shop-detail-image {
    object-fit: cover;
}

.shop-page .forge-storefront .shop-thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.shop-page .forge-storefront .shop-thumbnails button {
    width: calc((100% - 36px)/4);
    max-width: 175px;
    min-height: 60px;
    padding: 0;
    background: var(--shop-image-surface);
    border: 1px solid var(--shop-transparent);
    cursor: pointer;
    overflow: hidden;
}

.shop-page .forge-storefront .shop-thumbnails button[aria-pressed=true] {
    border-color: var(--pdp-ink);
    outline: 1px solid var(--pdp-ink);
}

.shop-page .forge-storefront .shop-thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 7/4;
    object-fit: cover;
}

.shop-page .forge-gallery-caption {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
    margin-top: 8px!important;
}

.shop-page .forge-storefront .forge-pdp-purchase {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 24px;
    background: var(--pdp-card);
}

.shop-page .forge-pdp-purchase .eyebrow {
    font: inherit;
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
    letter-spacing: var(--shop-label-tracking);
}

.shop-page .forge-pdp-purchase .shop-description {
    white-space: pre-line;
    color: var(--pdp-muted);
    line-height: var(--shop-body-leading);
}

.shop-page .forge-pdp-purchase .shop-detail-price {
    font-size: var(--shop-price-size);
    line-height: var(--shop-tight-leading);
    font-weight: var(--shop-bold-weight);
}

.shop-page .forge-pdp-purchase .shop-event-info:empty,
.shop-page .forge-pdp-purchase .shop-tiers:empty,
.shop-page .forge-pdp-sku:empty {
    display: none;
}

.shop-page .forge-pdp-purchase .shop-event-info {
    white-space: pre-line;
    font-size: var(--shop-label-size);
}

.shop-page .forge-pdp-purchase :is(.shop-variant-label,.shop-tier-label) {
    display: grid;
    gap: 8px;
    font-size: var(--shop-label-size);
    margin: 0;
}

.shop-page .forge-storefront select,
.shop-page .forge-storefront .shop-size-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 36px 10px 12px;
    border: 1px solid var(--shop-control-border);
    border-radius: 10px;
    background: var(--shop-surface) url("/forge/assets/commerce/commerce-chevron.svg") no-repeat right 12px center;
    background-size: 16px 16px;
    appearance: none;
    color: var(--pdp-ink);
    min-width: 0;
}

.shop-page .forge-storefront .shop-availability {
    font-size: var(--shop-availability-size);
    color: var(--pdp-muted);
}

.shop-page .forge-storefront .shop-add-row {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 16px;
    align-items: end;
}

.shop-page .forge-storefront .shop-add {
    width: 100%;
    margin: 0;
    min-height: 46px;
}

.shop-page .forge-storefront .shop-add-error {
    color: var(--shop-error);
    font-size: var(--shop-label-size);
}

.shop-page .forge-storefront .shop-add-error:empty {
    display: none;
}

.shop-page .forge-storefront .shop-preview-note,
.shop-page .forge-shop-demo-note,
.shop-page .forge-pdp-sku {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
    border: 0;
    padding: 0;
    margin: 0;
    line-height: var(--shop-body-leading);
}

.shop-page .forge-pdp-panel {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    background: var(--pdp-card);
}

.shop-page .forge-pdp-prose {
    color: var(--pdp-muted);
    line-height: var(--shop-prose-leading);
    overflow-wrap: anywhere;
}

.shop-page .forge-pdp-prose>:not(:last-child) {
    margin-bottom: 16px;
}

.shop-page .forge-pdp-information {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.shop-page .forge-related {
    display: grid;
    gap: 24px;
}

.shop-page .forge-related-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
}

.shop-page .forge-related-card {
    display: grid;
    align-content: start;
    min-width: 0;
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--pdp-card);
    text-decoration: none;
}

.shop-page .forge-related-image {
    background: var(--shop-image-surface);
    aspect-ratio: 318/184;
}

.shop-page .forge-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-page .forge-related-card>div:last-child {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.shop-page .forge-related-card small {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
}

.shop-page .forge-sticky-purchase {
    position: sticky;
    bottom: 0;
    z-index: 15;
    background: var(--pdp-card);
    border-top: 1px solid var(--pdp-border);
    padding: 12px 16px max(16px,env(safe-area-inset-bottom));
    display: grid;
    gap: 8px;
}

.shop-page .forge-sticky-purchase>span {
    font-size: var(--shop-caption-size);
}

.shop-page .forge-sticky-purchase .commerce-button {
    width: 100%;
}

@media(min-width:761px) {
    .shop-page .forge-sticky-purchase {
        display: none!important;
    }

    .shop-page .forge-pdp-purchase {
        position: sticky;
        top: 24px;
    }

}
.shop-page .forge-storefront dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    border: 0;
    padding: 32px;
    background: var(--pdp-card);
    color: var(--pdp-ink);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    overscroll-behavior: contain;
    width: min(1120px,calc(100% - 32px));
    font: inherit;
}

.shop-page .forge-storefront dialog::backdrop {
    background: var(--shop-backdrop);
}

.shop-page .forge-storefront .shop-close {
    display: flex;
    margin: 0 0 24px auto;
    position: static;
}

.shop-page .forge-storefront .shop-detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 32px;
}

.shop-page .forge-storefront .shop-dialog .forge-pdp-purchase {
    padding: 0;
    position: static;
}

.shop-page .forge-gallery-dialog>img {
    display: block;
    width: 100%;
    height: min(65dvh,760px);
    object-fit: contain;
    margin: 20px auto;
}

.shop-page .forge-gallery-dialog>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.shop-page .forge-gallery-dialog>[data-gallery-close] {
    margin-left: auto;
    display: flex;
}

.shop-page .forge-storefront .forge-size-dialog {
    width: min(800px,calc(100% - 32px));
}

.shop-page .forge-size-dialog>*+* {
    margin-top: 24px;
}

.shop-page .forge-storefront .cart-dialog {
    --cart-sheet-duration: 400ms;
    --cart-sheet-easing: cubic-bezier(.22,1,.36,1);
    inset: 0 0 0 auto;
    margin: 0 0 0 auto;
    width: min(520px,100vw);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    touch-action: pan-y pinch-zoom;
}

.shop-page .forge-storefront .cart-dialog[open] {
    display: block;
}

html:has(.cart-dialog[open]),
body:has(.cart-dialog[open]) {
    overflow: hidden;
    overscroll-behavior: none;
}

.shop-page .forge-storefront .cart-heading #cart-title:focus {
    outline: none;
}

.shop-page .forge-storefront .cart-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.shop-page .forge-storefront .cart-heading>div {
    display: grid;
    gap: 12px;
}

.shop-page .forge-storefront .cart-heading h2 {
    font-size: var(--shop-price-size);
}

.shop-page .forge-storefront .cart-body {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    align-content: start;
    min-height: 0;
    min-width: 0;
    overflow: visible;
}

.shop-page .forge-storefront .cart-items { min-width: 0; }

.shop-page .forge-storefront .cart-dialog .shop-size-list {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    touch-action: pan-y pinch-zoom;
}

.shop-page .forge-storefront .cart-line {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr) 90px;
    gap: 16px;
    padding: 24px 0;
    border-block-start: 1px solid var(--pdp-border);
}

.shop-page .forge-storefront .cart-product-image {
    display: block;
    width: 100%;
    align-self: start;
}

.shop-page .forge-storefront .cart-product-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.shop-page .forge-storefront .cart-product-image:focus-visible {
    outline: 2px solid var(--shop-focus);
    outline-offset: 3px;
}

.shop-page .forge-storefront .cart-line-info {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.shop-page .forge-storefront .cart-line-info .eyebrow {
    font-size: var(--shop-badge-size);
    color: var(--pdp-muted);
}

.shop-page .forge-storefront .cart-event {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
}

.shop-page .forge-storefront .cart-edit-row {
    grid-column: 2/-1;
    display: grid;
    grid-template-columns: minmax(0,1fr) 112px;
    gap: 16px;
}

.shop-page .forge-storefront .cart-line-controls {
    display: grid;
    align-content: start;
    justify-items: end;
    gap: 16px;
}

.shop-page .forge-storefront .cart-remove {
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

.shop-page .forge-storefront .cart-summary {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--pdp-border);
}

.shop-page .forge-storefront .cart-summary>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.shop-page .forge-storefront .cart-notice {
    margin-bottom: 24px;
    color: var(--pdp-muted);
}

.shop-page .forge-storefront .cart-continue {
    margin-top: 24px;
}

.shop-page .forge-storefront .cart-quantity-field,
.shop-page .forge-storefront .shop-detail-quantity {
    display: grid;
    gap: 8px;
    font-size: var(--shop-availability-size);
    width: 112px;
    min-width: 0;
}

.shop-page .forge-storefront .cart-spinner {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) 30px;
    border: 1px solid var(--shop-control-border);
    border-radius: 10px;
    min-height: 44px;
    background: var(--shop-white);
    overflow: hidden;
}

.shop-page .forge-storefront .cart-spinner input {
    width: 100%;
    min-width: 0;
    text-align: center;
    border: 0;
    background: none;
    color: var(--pdp-ink);
    appearance: textfield;
    padding: 0;
}

.shop-page .forge-storefront .cart-spinner input::-webkit-inner-spin-button {
    appearance: none;
}

.shop-page .forge-storefront .cart-spinner button {
    border: 0;
    background: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    min-height: 44px;
    padding: 4px;
}

.shop-page .forge-storefront .cart-spinner svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.shop-page .forge-storefront .cart-spinner:focus-within {
    outline: 2px solid var(--shop-focus);
    outline-offset: 2px;
}

.shop-page .forge-storefront .cart-empty {
    display: grid;
    gap: 16px;
}

.shop-page .forge-storefront #cart-disabled-note {
    font-size: var(--shop-caption-size);
    line-height: var(--shop-body-leading);
}

.shop-page .forge-storefront .cart-demo-label {
    font-size: var(--shop-small-caption-size);
    padding: 4px 8px;
    background: var(--shop-notice-surface);
    color: var(--shop-notice-ink);
    width: fit-content;
}

.shop-page .forge-storefront.is-forge .shop-section {
    padding: 48px;
    max-width: 1440px;
    margin: auto;
}

.shop-page .forge-storefront.is-forge .shop-toolbar {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: end;
    margin-block: 24px;
}

.shop-page .forge-storefront.is-forge .shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-page .forge-storefront.is-forge .shop-filters button {
    padding: 10px 16px;
    min-height: 44px;
    border: 1px solid var(--shop-control-border);
    border-radius: 10px;
    background: var(--shop-surface);
    color: var(--pdp-ink);
}

.shop-page .forge-storefront.is-forge .shop-filters button[aria-pressed=true] {
    background: var(--pdp-ink);
    color: var(--shop-surface);
}

.shop-page .forge-storefront.is-forge .shop-search {
    display: grid;
    gap: 8px;
}

.shop-page .forge-storefront.is-forge .shop-search input {
    min-height: 44px;
    border: 1px solid var(--shop-control-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.shop-page .forge-storefront.is-forge .shop-count {
    font-size: var(--shop-caption-size);
    color: var(--pdp-muted);
    margin-bottom: 16px;
}

.shop-page .forge-storefront.is-forge .shop-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
}

.shop-page .forge-storefront.is-forge .shop-card {
    background: var(--pdp-card);
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    overflow: hidden;
}

.shop-page .forge-storefront.is-forge .shop-card-image {
    display: block;
    position: relative;
    background: var(--shop-image-surface);
    aspect-ratio: 318/184;
}

.shop-page .forge-storefront.is-forge .shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-page .forge-storefront.is-forge .shop-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--shop-white);
    padding: 4px 8px;
    font-size: var(--shop-badge-size);
}

.shop-page .forge-storefront.is-forge .shop-card-copy {
    padding: 16px;
    display: grid;
    gap: 16px;
}

.shop-page .forge-storefront.is-forge .shop-card-copy h2 {
    font-size: var(--shop-panel-title-size);
}

.shop-page .forge-storefront.is-forge .shop-card-copy a {
    text-decoration: none;
}

.shop-page .forge-storefront.is-forge .shop-card-bottom {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.shop-page .forge-storefront.is-mm {
    font-family: Inter,sans-serif;
    --pdp-canvas: var(--shop-secondary-canvas);
    --pdp-ink: var(--shop-secondary-ink);
    --pdp-muted: var(--shop-secondary-muted);
}

.shop-page .forge-storefront.is-mm .forge-pdp {
    max-width: 1600px;
    padding: 48px 30px;
}

.shop-page .forge-storefront.is-mm .forge-pdp :is(h1,h2,h3) {
    font-family: inherit;
}

.shop-page .forge-storefront.is-mm .forge-pdp h1 {
    font-size: var(--shop-responsive-title-size);
}

.shop-page .forge-storefront.is-mm .shop-card :is(h2,h3) {
    font-size: var(--shop-compact-title-size);
    line-height: var(--shop-display-leading);
    margin: 9px 0 18px;
}

.shop-page .forge-storefront.is-mm .shop-card :is(h2,h3) a {
    text-decoration: none;
}

.shop-page .forge-storefront.is-mm .commerce-button,
.shop-page .forge-storefront.is-mm select,
.shop-page .forge-storefront.is-mm .forge-pdp-panel,
.shop-page .forge-storefront.is-mm .cart-spinner,
.shop-page .forge-storefront.is-mm .forge-related-card {
    border-radius: 0;
}

.shop-page .forge-storefront.is-mm .shop-heading h1 {
    font-size: var(--shop-responsive-display-size);
    margin-top: 12px;
}

@media(max-width:1100px) {
    .shop-page .forge-pdp {
        padding: 32px;
        gap: 24px;
    }

    .shop-page .forge-pdp-overview {
        gap: 24px;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    }

    .shop-page .forge-related-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .shop-page .forge-storefront.is-forge .shop-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

}
@media(max-width:760px) {
    .shop-page .forge-storefront .cart-dialog {
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    }

    .shop-page .forge-pdp,
    .shop-page .forge-storefront.is-mm .forge-pdp {
        padding: 24px 16px;
    }

    .shop-page .forge-pdp-overview,
    .shop-page .forge-pdp-information,
    .shop-page .forge-storefront .shop-detail-layout,
    .shop-page .forge-storefront .cart-body {
        grid-template-columns: minmax(0,1fr);
    }

    .shop-page .forge-pdp-purchase {
        position: static;
    }

    .shop-page .forge-related-grid,
    .shop-page .forge-storefront.is-forge .shop-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px;
    }

    .shop-page .forge-related-card :is(h3,h4) {
        font-size: var(--shop-copy-size);
    }

    .shop-page .forge-storefront .shop-detail-image {
        aspect-ratio: 1/1;
    }

    .shop-page .forge-storefront .cart-line {
        grid-template-columns: 72px minmax(0,1fr) 72px;
        gap: 12px;
    }

    .shop-page .forge-storefront .cart-edit-row {
        grid-column: 1/-1;
    }

    .shop-page .forge-storefront .cart-line h3 {
        font-size: var(--shop-copy-size);
    }

    .shop-page .forge-storefront dialog {
        padding: 20px;
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
    }

    .shop-page .forge-storefront .shop-dialog {
        padding-top: 20px;
    }

    .shop-page .forge-store-header {
        padding: 16px;
        gap: 12px;
    }

    .shop-page .forge-store-header nav>a {
        display: none;
    }

    .shop-page .forge-storefront.is-forge .shop-section {
        padding: 24px 16px;
    }

    .shop-page .forge-storefront.is-forge .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-page .forge-storefront .forge-gallery-dialog>img {
        height: 60dvh;
    }

    .shop-page .forge-storefront .shop-add-row {
        grid-template-columns: 112px minmax(0,1fr);
    }

    .shop-page .forge-pdp h1 {
        font-size: var(--shop-dialog-title-size);
    }

    .shop-page .forge-storefront .cart-spinner button {
        min-height: 44px;
    }

}
@media(prefers-reduced-motion:reduce) {
    .shop-page .forge-storefront * {
        scroll-behavior: auto;
        transition: none!important;
    }

}


/* Rangers shop: site typography and Figma collection layout. */
:root {
    --shop-placeholder: #dededb;
    --shop-gradient-start: #5e111c;
    --shop-gradient-end: #090909;
    --shop-media-height: 300px;
    --shop-copy-size: 24px;
    --shop-copy-leading: 28px;
}
.shop-page { background: var(--paper); }
.shop-landing-hero .hero-copy > h2 { max-width: 3.5em; }
.shop-landing-hero .hero-image { aspect-ratio: 390 / 270; }
.shop-landing-hero .hero-image img {
    width: 122%;
    height: auto;
    min-height: 100%;
    left: 0;
    top: -45%;
    object-fit: cover;
}
.shop-collections { background: var(--paper); }
.collection-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); }
.collection-art { display: grid; place-items: center; height: var(--shop-media-height); background: var(--red); }
.collection-art-dark { background: var(--ink); }
.collection-card .pathway-card { flex: 1; gap: 16px; padding: 24px; }
.collection-card .button { margin-top: auto; }
.shop-culture { color: var(--white); background: linear-gradient(120deg, var(--shop-gradient-start), var(--shop-gradient-end) 77%); }
.shop-culture-image { display: block; width: 100%; height: auto; aspect-ratio: 342 / 264; object-fit: cover; }
.shop-culture .section-intro { color: var(--white); font-size: var(--shop-copy-size); line-height: var(--shop-copy-leading); }
.shop-help {
    --faq-duration: 280ms;
    --gameday-copy-size: var(--body-size);
    --gameday-copy-leading: var(--body-leading);
    background: var(--white);
}
.shop-help-actions { display: flex; flex-wrap: wrap; gap: 24px; width: 100%; }
.shop-help-details { width: 100%; }
.shop-help-details .faq-item {
    border-top-color: var(--muted);
    scroll-margin-top: calc(var(--header-height) + 24px);
}
.shop-help-details .faq-item summary:focus-visible { outline-color: var(--focus); }
.shop-help-details .faq-icon::before { filter: brightness(0); }
.shop-help-details .faq-item p { max-width: 70ch; color: var(--muted); }
.shop-page .forge-storefront {
    --pdp-canvas: var(--paper);
    --pdp-card: var(--white);
    --pdp-ink: var(--ink);
    --pdp-muted: var(--muted);
    --pdp-brand: var(--red);
    font: var(--weight-regular) var(--body-size) / var(--body-leading) var(--font-body);
}
.shop-page .forge-storefront :is(h2,h3),
.shop-page .forge-store-name { font-family: var(--font-heading); font-weight: var(--weight-bold); }
.shop-page .forge-storefront :is(button,input,select) { font-family: var(--font-body); }
.shop-page .forge-storefront :is(.commerce-button,.shop-filters button),
.shop-page .forge-storefront .cart-checkout {
    border-radius: 0;
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    min-height: 56px;
    transition: background-color var(--interaction-duration) ease, color var(--interaction-duration) ease;
}
.shop-page .forge-storefront .commerce-button.is-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.shop-page .forge-storefront .commerce-button.is-primary:is(:hover,:focus-visible) { background: var(--cta-hover); border-color: var(--cta-hover); }
.shop-page .forge-storefront .commerce-button:not(.is-primary):is(:hover,:focus-visible) { background: var(--black); color: var(--white); }

/* The bag uses the mobile navigation's exact X, without its animation. */
.shop-page .forge-storefront .cart-close.commerce-button,
.shop-page .forge-storefront .cart-close.commerce-button:is(:hover,:focus-visible,:active) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    border: 0;
    background: var(--transparent);
    color: var(--black);
    font-size: 0;
    line-height: 0;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.shop-page .forge-storefront .cart-close::before {
    content: "";
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: currentColor;
    -webkit-mask: url("/images/menu-close.svg") center / 32px 32px no-repeat;
    mask: url("/images/menu-close.svg") center / 32px 32px no-repeat;
}

.shop-page .forge-storefront .cart-quantity-field > span {
    display: none;
}

.shop-page .forge-storefront :is(select,input,.forge-pdp-panel,.forge-related-card,.shop-card) { border-radius: 0; }
.shop-page .forge-store-header {
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--pdp-border);
    background: var(--white);
    justify-content: flex-start;
}
.shop-page .forge-store-header .forge-store-name {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    font-size: var(--card-size);
    letter-spacing: var(--card-tracking);
}
.shop-page .forge-store-header .forge-store-name::before {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: currentColor;
    -webkit-mask: url("/images/shop-back.svg") center / 32px 32px no-repeat;
    mask: url("/images/shop-back.svg") center / 32px 32px no-repeat;
}
.shop-page .forge-store-header nav > a { display: none; }
.shop-page .forge-storefront .shop-section { padding: var(--section-space) var(--gutter); }
.shop-page .forge-storefront .wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; }
.shop-page .forge-storefront .shop-heading h2 {
    font-size: var(--heading-size);
    line-height: var(--heading-leading);
    letter-spacing: var(--heading-tracking);
}
.shop-page .forge-storefront .shop-heading .eyebrow { color: var(--red); margin-bottom: 24px; }
.shop-page .forge-storefront .shop-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.shop-page .forge-storefront .shop-card :is(h2,h3),
.shop-page .forge-storefront .forge-related :is(h2,h3),
.shop-page .forge-storefront .forge-related-card :is(h3,h4) {
    font-size: var(--card-size);
    line-height: var(--card-leading);
    letter-spacing: var(--card-tracking);
}
.shop-page .forge-storefront .shop-card-image { aspect-ratio: 1; height: auto; background: var(--shop-placeholder); }
.shop-page .forge-storefront .shop-card-image img { object-fit: contain; }
.shop-page .forge-storefront .forge-pdp {
    width: 100%;
    max-width: none;
    padding: var(--section-space) var(--gutter);
    gap: 32px;
}
.shop-page .forge-storefront .forge-pdp-purchase { position: static; padding: 32px; gap: 24px; }
.shop-page .forge-storefront #shop-detail-title {
    font-size: var(--heading-size);
    line-height: var(--heading-leading);
    letter-spacing: var(--heading-tracking);
}
.shop-page .forge-storefront .forge-pdp-purchase .eyebrow { font: var(--weight-bold) var(--eyebrow-size) / var(--eyebrow-leading) var(--font-heading); color: var(--red); }
.shop-page .forge-storefront .shop-detail-price { font: var(--weight-bold) var(--card-size) / var(--card-leading) var(--font-heading); }
.shop-page .forge-storefront :is(.shop-detail-image,.forge-related-image) { background: var(--shop-placeholder); }
.shop-page .forge-storefront .shop-detail-image { aspect-ratio: 1; }
.shop-page .forge-storefront .forge-related-image img { object-fit: contain; }
.shop-page .forge-storefront .forge-pdp-panel { padding: 24px; }
.shop-page .forge-storefront .forge-pdp-panel :is(h2,h3) { font-size: var(--card-size); line-height: var(--card-leading); letter-spacing: var(--card-tracking); }
.shop-page .forge-storefront .forge-pdp-prose { font-size: var(--body-size); line-height: var(--body-leading); }
.shop-page .forge-storefront .shop-demo { margin-block: 24px; }
.shop-page .forge-storefront .shop-search input { min-height: 56px; }
.shop-page .forge-storefront dialog { border-radius: 0; }
.shop-page .forge-storefront .forge-sticky-purchase { z-index: 5; }
@media (max-width: 767px) {
    .shop-help-actions .button { width: 100%; }
    .shop-page .forge-storefront .shop-grid,
    .shop-page .forge-storefront .forge-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .shop-page .forge-storefront .shop-toolbar { display: flex; flex-direction: column; align-items: stretch; }
    .shop-page .forge-storefront .shop-filters { flex-wrap: wrap; gap: 8px; }
    .shop-page .forge-storefront .shop-filters button { font-size: var(--eyebrow-size); padding: 8px 12px; min-height: 44px; }
    .shop-page .forge-storefront .shop-card :is(h2,h3),
    .shop-page .forge-storefront .forge-related-card :is(h3,h4) { font-size: var(--subheading-size) !important; line-height: var(--subheading-leading) !important; }
    .shop-page .forge-storefront .shop-card-copy { padding: 16px; }
    .shop-page .forge-storefront .shop-card-bottom { flex-wrap: wrap; gap: 12px; }
    .shop-page .forge-storefront .forge-pdp-overview { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .shop-page .forge-storefront .forge-pdp-purchase { padding: 24px; }
    .shop-page .forge-storefront .forge-pdp-information { grid-template-columns: minmax(0,1fr); }
    .shop-page .forge-storefront .forge-store-name { font-size: var(--subheading-size); }
    .shop-page .forge-storefront .forge-store-header { gap: 12px; }
    .shop-page .forge-storefront .forge-store-header .commerce-button { padding-inline: 12px; }
}
@media (min-width: 768px) {
    .shop-page { --shop-media-height: 336px; }
    .shop-landing-hero .hero-image { aspect-ratio: auto; }
    .shop-landing-hero .hero-image img { width: 148%; top: -50%; }
    .shop-culture-image { aspect-ratio: 1320 / 930; }
}
@media (min-width: 1200px) {
    .shop-page { --shop-media-height: 300px; }
    .shop-landing-hero .hero-image img { width: 111.49%; top: -54.29%; }
}
@media (min-width: 1440px) {
    .shop-landing-hero { height: min(1000px,calc(47.291667vw + 92px)); }
}
@media (prefers-reduced-motion: reduce) {
    .shop-page .forge-storefront :is(.commerce-button,.shop-filters button) { transition: none; }
}

/* Product pages keep a readable title scale and the same full-width actions. */
.shop-page {
    --shop-pdp-title-size: 64px;
    --shop-pdp-title-leading: 57px;
    --shop-pdp-title-tracking: -4.48px;
}
.shop-page .collection-card .button { width: 100%; }
.shop-page .forge-storefront #shop-detail-title {
    font-size: var(--shop-pdp-title-size);
    line-height: var(--shop-pdp-title-leading);
    letter-spacing: var(--shop-pdp-title-tracking);
}
.shop-page .forge-storefront .forge-pdp-overview > #shop-detail-title {
    grid-column: 1 / -1;
}
.shop-page .forge-storefront :is(input,select) { font-size: var(--body-size); }

/* Size options retain the existing select treatment, including on mobile. */
.shop-page .forge-storefront .shop-size-picker { display: block; position: relative; min-width: 0; }
.shop-page .forge-storefront .shop-size-control {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: inherit;
    border-radius: 0;
    cursor: pointer;
}
.shop-page .forge-storefront .shop-size-control:focus-visible {
    outline: 3px solid var(--shop-focus);
    outline-offset: 4px;
}
.shop-page .forge-storefront .shop-size-list {
    position: fixed;
    inset: auto;
    box-sizing: border-box;
    margin: 0;
    padding: 4px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--shop-control-border);
    background: var(--shop-surface);
    color: var(--pdp-ink);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.shop-page .forge-storefront .shop-size-option {
    display: block;
    min-height: 44px;
    padding: 8px 12px;
    cursor: pointer;
}
.shop-page .forge-storefront .shop-size-option.is-active,
.shop-page .forge-storefront .shop-size-option[aria-disabled="false"]:hover {
    background: var(--shop-control-surface);
    outline: 1px solid var(--shop-focus);
    outline-offset: -1px;
}
.shop-page .forge-storefront .shop-size-option[aria-disabled="true"],
.shop-page .forge-storefront .shop-size-value.is-sold-out {
    opacity: .3;
    text-decoration: line-through;
    cursor: not-allowed;
}
.shop-page .forge-storefront .cart-edit-row.has-one-variant > .cart-quantity-field { grid-column: 2; }
.shop-page .forge-storefront .commerce-button.is-primary:is(:hover,:focus-visible) {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
}
@media (max-width: 767px) {
    .shop-page {
        --shop-pdp-title-size: 44px;
        --shop-pdp-title-leading: 40px;
        --shop-pdp-title-tracking: -3.08px;
    }
    .shop-page main #shop-detail-title {
        font-size: var(--shop-pdp-title-size) !important;
        line-height: var(--shop-pdp-title-leading) !important;
    }
}

/* Bag controls keep their labels inside the narrow mobile columns. */
.shop-page .forge-storefront .cart-line-controls {
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.shop-page .forge-storefront .cart-remove {
    font-size: var(--small-size);
    line-height: var(--small-leading);
    white-space: nowrap;
}
.shop-page .forge-storefront .cart-event {
    font-size: var(--small-size);
    line-height: var(--small-leading);
}
.shop-page .forge-storefront .cart-line h3 {
    font-size: var(--subheading-size) !important;
    line-height: var(--subheading-leading) !important;
    letter-spacing: var(--subheading-tracking);
}

/* Keep the purchase label simple and its bag icon close. */
.shop-page .forge-storefront :is(.shop-add, [data-sticky-add]) {
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.shop-page .forge-storefront :is(.shop-add, [data-sticky-add]) .forge-bag-icon {
    margin: 0;
}

/* Square product frames, with the full photograph kept in view. */
.shop-page .forge-storefront.is-forge .shop-card-image,
.shop-page .forge-storefront .forge-related-image {
    aspect-ratio: 1 / 1;
    height: auto;
}
.shop-page .forge-storefront.is-forge .shop-card-image img,
.shop-page .forge-storefront .forge-related-image img {
    object-fit: contain;
}
.shop-page .forge-storefront [data-shop-kind]:empty {
    display: none;
}

/* The supplied eTicket artwork fills square frames without stretching. */
.shop-page .forge-storefront.is-forge .shop-card[data-shop-type="ticket"] .shop-card-image img,
.shop-page .forge-storefront[data-active-product^="event-"] .shop-detail-image,
.shop-page .forge-storefront .forge-related-image img[src*="/lrr-etickets.jpg"] {
    object-fit: cover;
    object-position: center;
}

/* Gridwall photography fills each square with a centered, proportional crop. */
.shop-page .forge-storefront.is-forge .shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Category artwork stays manually editable in the Shop page fields. */
.collection-art .collection-product-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-collections { scroll-margin-top: var(--header-height); }

/* Mobile navigation branches share the FAQ quarter-turn disclosure treatment. */
.lrr-nav-accordion-icon { display: none; }
@media (max-width: 1199px) {
    .site-header .primary-nav [data-forge-nav-trigger] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
    }
    .site-header .primary-nav [data-forge-nav-icon] { display: none; }
    .lrr-nav-accordion-icon {
        display: block;
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        background: url('/images/faq-plus.svg') center / 24px 24px no-repeat;
        transform: rotate(0deg);
        transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
    }
    [data-forge-nav-trigger][aria-expanded="true"] > .lrr-nav-accordion-icon {
        background-image: none;
        transform: rotate(90deg);
    }
    [data-forge-nav-trigger][aria-expanded="true"] > .lrr-nav-accordion-icon::before {
        content: '';
        display: block;
        width: 24px;
        height: 24px;
        background: url('/images/faq-minus.svg') center / 24px 24px no-repeat;
        transform: rotate(-90deg);
    }
    .site-header .primary-nav :is(.nav-submenu, .nav-tertiary) {
        display: block;
        height: 0;
        min-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }
    .site-header .primary-nav .nav-submenu { margin-block: 0; }
    .site-header .primary-nav .nav-tertiary-list { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .lrr-nav-accordion-icon { transition: none; }
}

/* Keep nested disclosure icons on the same right gutter as their parents. */
@media (max-width: 1199px) {
    .site-header .primary-nav .nav-submenu,
    .site-header .primary-nav .nav-tertiary-list,
    .site-header .primary-nav .nav-location-trigger {
        padding-right: 0;
    }
}

/* A second branch rule marks tertiary links inside mobile accordions. */
@media (max-width: 1199px) {
    .site-header .primary-nav .nav-tertiary-list {
        border-left: 2px solid var(--red-hover);
    }
}

/* Match the parent-to-rule inset at each mobile navigation depth. */
@media (max-width: 1199px) {
    .site-header .primary-nav .nav-tertiary-list {
        margin-left: 32px;
    }
}

/* The open mobile menu fills the remaining viewport, even with every branch closed. */
@media (max-width: 1199px) {
    .site-header .primary-nav {
        height: calc(100dvh - var(--header-height));
        max-height: calc(100dvh - var(--header-height));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .site-header .primary-nav > * { flex-shrink: 0; }
    html:has(.site-header.is-open) { overflow: hidden; }
}
/* Mobile navigation reuses the desktop ticket CTA and social assets, in the same order. */
:root {
    --header-cart-count-size: 12px;
    --header-cart-count-leading: 16px;
}
.mobile-nav-actions,
.header-cart,
.header-cart[hidden] { display: none; }
.header-cart > .forge-bag-icon { width: 32px; height: 32px; }
.header-cart-count {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-top: 8px;
    font: var(--weight-bold) var(--header-cart-count-size) / var(--header-cart-count-leading) var(--font-body);
}
.sitewide-cart-shell { display: contents; }
.nav-shop-link { display: contents; }
.nav-shop-link > a { flex-shrink: 0; }
@media (min-width: 1200px) {
    .nav-shop-link { display: inline-flex; align-items: center; gap: 8px; }
    .primary-nav .header-cart--desktop:not([hidden]) {
        position: relative;
        display: grid;
        place-items: center;
        flex: 0 0 32px;
        width: 32px;
        height: 44px;
        padding: 0;
        color: var(--white);
    }
}

@media (min-width: 1200px) and (max-width: 1279px) {
    .primary-nav:has(.header-cart--desktop:not([hidden])) { gap: 20px; }
}
@media (max-width: 1199px) {
    .site-header .primary-nav .header-cart--desktop { display: none; }
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-self: stretch;
        gap: 24px;
        margin-top: auto;
        padding-top: 32px;
    }
    .site-header .primary-nav .mobile-nav-actions .header-tickets {
        display: flex;
        width: 100%;
        padding-block: 0;
        background: var(--red);
        color: var(--white);
    }
    .mobile-nav-socials {
        display: flex;
        align-items: center;
        gap: 24px;
    }
    .mobile-nav-actions .social-link {
        display: block;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        padding: 0;
    }
    .mobile-nav-actions .social-link img { width: 32px; height: 32px; }
    .site-header .primary-nav .mobile-nav-actions .social-link--x {
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: var(--white);
    }
    .mobile-nav-actions .social-link--x img { width: 24px; height: 24px; }
    .header-cart:not(.header-cart--desktop):not([hidden]) {
        position: relative;
        display: grid;
        flex: 0 0 44px;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        color: var(--white);
    }
}

/* Added-to-bag feedback uses the site's green success snackbar treatment. */
:root { --cart-success: #16834b; }
.forge-storefront .cart-dialog .cart-notice.is-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--white);
    background: var(--cart-success);
}
.forge-storefront .cart-dialog .cart-notice.is-success::before {
    content: '';
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: url('/images/check-circle.svg') center / contain no-repeat;
    mask: url('/images/check-circle.svg') center / contain no-repeat;
}
.header-cart:not([hidden]) { top: 2px; }

/* Give the narrower desktop header room while retaining the streaming action. */
@media (min-width: 1200px) and (max-width: 2047px) {
    .header-actions .social-link:not([aria-label="SportsEngine Play"]) {
        display: none;
    }
}

/* Optical alignment beside Shop; mobile keeps its existing bag position. */
@media (min-width: 1200px) {
    .header-cart--desktop:not([hidden]) { top: 1px; }
}


/* Keep the modal backdrop present while the cart sheet slides closed. */
.forge-storefront .cart-dialog::backdrop {
    opacity: 1;
    transition: opacity var(--cart-sheet-duration, 400ms) var(--cart-sheet-easing, ease);
}
.forge-storefront .cart-dialog.is-cart-closing::backdrop { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    .forge-storefront .cart-dialog::backdrop { transition: none; }
}

/* Purchase icons match the visible label height, retaining a one-pixel SVG stroke. */
.shop-page .forge-storefront :is(.shop-add, [data-sticky-add]) .forge-bag-icon {
    width: calc(1cap * 10 / 13);
    height: 1cap;
    translate: 0 -1px;
}

/* Shared Get Tickets treatment — Figma Action / TICKETS, node 2879:21255. */
:root { --ticket-cta-icon-gap: 8px; }
:is(.header-tickets, .ticket-cta, .button[href="/tickets"], .button[href="https://lrr.electricsquid.com/tickets"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ticket-cta-icon-gap);
    white-space: nowrap;
}
:is(.header-tickets, .ticket-cta, .button[href="/tickets"], .button[href="https://lrr.electricsquid.com/tickets"])::before {
    content: '';
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 19px;
    background: url('/images/ticket-cta.svg') center / 26px 19px no-repeat;
}


/* Roster and permanent player profiles — shared Rangers typography and gutters. */
:root {
    --roster-gradient-start: #5e111c;
    --roster-gradient-end: #090909;
    --roster-inactive: #454341;
    --roster-muted: #6b6965;
    --roster-pink: #f4a7ad;
    --roster-shadow: rgba(0, 0, 0, .12);
    --roster-placeholder: #e6e4df;
    --roster-heading-size: 48px;
    --roster-heading-leading: .89;
    --roster-group-size: 32px;
    --roster-first-size: 16px;
    --roster-last-size: 22px;
    --roster-number-size: 40px;
    --roster-reveal-duration: 1100ms;
}
.roster-intro, .roster-profile-hero {
    background: linear-gradient(153.6866deg, var(--roster-gradient-start), var(--roster-gradient-end) 76.923%);
    color: var(--white);
}
.roster-intro-inner { display: grid; gap: 24px; padding-top: 40px; }
.roster-intro h2 { font-size: var(--roster-heading-size); line-height: var(--roster-heading-leading); letter-spacing: -.07em; margin: 0; }
.roster-intro .eyebrow { color: var(--roster-pink); margin: 0; }
.roster-intro-copy { margin: 0; }
.roster-view-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.roster-view-tabs .button { min-width: 0; width: 100%; padding: 12px 8px; min-height: 56px; background: var(--roster-inactive); }
.roster-view-tabs .is-current { background: var(--red); }
.roster-tab-short { display: none; }
.roster-content { background: var(--paper); padding: 40px 0 64px; }
.roster-sample-note { font: 400 14px/1.5 var(--font-body); color: var(--roster-muted); margin: 0 0 24px; }
.roster-group + .roster-group { margin-top: 48px; }
.roster-group h3, .roster-list-title, .roster-gallery h3 { font: var(--weight-bold) var(--roster-group-size)/1 var(--font-heading); letter-spacing: -.05em; color: var(--red); margin: 0 0 24px; }
.roster-list-title { color: var(--ink); }
.roster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.roster-card { min-width: 0; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px var(--roster-shadow); position: relative; }
.roster-profile-link { display: block; color: var(--ink); text-decoration: none; opacity: 1; }
.roster-profile-link:hover, .roster-profile-link:focus-visible { color: var(--ink); opacity: 1; transform: none; }
.roster-portrait { aspect-ratio: 10/11; overflow: hidden; background: var(--roster-placeholder); }
.roster-portrait-reveal { height: 100%; transition: opacity var(--roster-reveal-duration) ease-out, transform var(--roster-reveal-duration) ease-out; }
.roster-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.roster-card.is-pending .roster-portrait-reveal { opacity: 0; transform: scale(.94); }
.roster-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; color: var(--roster-muted); gap: 16px; }
.roster-placeholder strong { font: var(--weight-bold) clamp(40px, 8vw, 100px)/1 var(--font-heading); }
.roster-placeholder small { font: 400 11px/1.2 var(--font-body); }
.roster-identity { padding: 10px; border-bottom: 3px solid transparent; position: relative; transition: border-color 240ms ease; }
.roster-profile-link:is(:hover, :focus-visible) .roster-identity { border-color: var(--red); }
.roster-identity h4 { margin: 4px 0 0; font-family: var(--font-heading); line-height: 1.1; letter-spacing: -.02em; }
.roster-first-name, .roster-last-name { display: block; }
.roster-first-name { font-size: var(--roster-first-size); }
.roster-last-name { font-size: var(--roster-last-size); overflow-wrap: anywhere; }
.roster-number { font: var(--weight-bold) var(--roster-number-size)/1.1 var(--font-heading); color: var(--red); margin: 0; }
.roster-role { color: var(--red); font: 700 var(--roster-first-size)/1.2 var(--font-body); margin: 0 0 8px; }
.roster-profile-arrow { position: absolute; bottom: 12px; right: 12px; width: 20px; height: 20px; opacity: 0; transition: opacity 240ms ease; }
.roster-profile-link:is(:hover, :focus-visible) .roster-profile-arrow { opacity: 1; }
.roster-socials { min-height: 48px; display: flex; align-items: center; gap: 16px; padding: 10px 16px; }
.roster-socials a, .roster-socials img { display: block; width: 20px; height: 20px; }
.roster-gameday { background: var(--red); color: var(--white); }
.roster-gameday-inner { display: grid; gap: 32px; align-items: center; }
.roster-gameday img { width: 100%; aspect-ratio: 1.788; object-fit: cover; }
.roster-gameday .button { width: 100%; }
.roster-breadcrumb { background: var(--red); color: var(--white); padding: 16px 0; font: 700 12px/1.7 var(--font-body); }
.roster-breadcrumb a { color: inherit; text-decoration: none; }
.roster-profile-hero { padding: 40px 0; }
.roster-profile-heading { display: flex; gap: 24px; align-items: center; }
.roster-avatar { width: 90px; height: 90px; flex: 0 0 90px; border: 3px solid var(--red); border-radius: 50%; overflow: hidden; }
.roster-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.roster-profile-heading h2 { font: var(--weight-bold) 48px/.95 var(--font-heading); letter-spacing: -.04em; margin: 0; overflow-wrap: anywhere; }
.roster-profile-heading h2 span { display: block; font-size: .5em; margin-bottom: 8px; }
.roster-profile-position { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--roster-muted); }
.roster-profile-position p { font: 700 14px/1.5 var(--font-body); margin: 0 0 8px; }
.roster-profile-position strong { font: var(--weight-bold) 32px/1.1 var(--font-heading); }
.roster-profile-content { background: var(--white); color: var(--ink); }
.roster-profile-columns { display: grid; gap: 32px; align-items: start; }
.roster-full-portrait { aspect-ratio: 2/3; overflow: hidden; background: var(--roster-placeholder); }
.roster-full-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.roster-biography { min-width: 0; }
.roster-facts { margin: 0 0 32px; }
.roster-facts div { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.roster-facts dt { font-weight: 700; }
.roster-facts dd { margin: 0; }
.roster-biography h3 { font: var(--weight-bold) 28px/1.1 var(--font-heading); letter-spacing: -.03em; margin: 32px 0 16px; }
.roster-prose p { margin: 0 0 16px; }
.roster-profile-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.roster-profile-stats dt { font-size: 16px; }
.roster-profile-stats dd { font: var(--weight-bold) 32px/1.2 var(--font-heading); margin: 0; }
.roster-career-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 18px; }
.roster-gallery, .roster-back { background: var(--white); padding: 32px 0; }
.roster-gallery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.roster-gallery-grid a { scroll-snap-align: start; }
.roster-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.roster-back a { color: var(--red); font: var(--weight-bold) 24px/1.2 var(--font-heading); }
@media (max-width: 767px) {
    .roster-view-tabs a { font-size: 20px; gap: 4px; }
    .roster-view-tabs .roster-tab-long { display: none; }
    .roster-view-tabs .roster-tab-short { display: inline; }
}
@media (min-width: 768px) {
    :root { --roster-heading-size: 72px; --roster-group-size: 44px; --roster-first-size: 20px; --roster-last-size: 28px; --roster-number-size: 48px; }
    .roster-intro-inner { padding-top: 64px; gap: 32px; }
    .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .roster-identity { padding: 12px; }
    .roster-content { padding: 64px 0; }
    .roster-gameday-inner, .roster-profile-columns { grid-template-columns: 1fr 1fr; gap: 48px; }
    .roster-profile-heading h2 { font-size: 80px; }
    .roster-avatar { width: 150px; height: 150px; flex-basis: 150px; }
    .roster-profile-hero { padding: 64px 0; }
    .roster-gallery-grid { grid-auto-columns: calc((100% - 48px)/3); gap: 24px; }
}
@media (min-width: 1200px) {
    :root { --roster-heading-size: 104px; --roster-group-size: 64px; --roster-first-size: 22px; --roster-last-size: 32px; --roster-number-size: 60px; }
    .roster-intro-inner { gap: 48px; }
    .roster-grid { gap: 32px; }
    .roster-group + .roster-group { margin-top: 64px; }
    .roster-identity { padding: 16px; }
    .roster-socials { min-height: 60px; }
    .roster-profile-columns { grid-template-columns: 1fr 1.8fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .roster-portrait-reveal, .roster-profile-arrow { transition: none; }
    .roster-card.is-pending .roster-portrait-reveal { opacity: 1; transform: none; }
}

/* Keep roster tab labels readable at every width. */
.roster-view-tabs .button { gap: .2em; }
@media(max-width:767px) { .roster-tab-squad { display:none; } }
@media(min-width:1200px) { .roster-intro-copy { font-size:24px; line-height:28px; } }

.roster-profile-arrow { width:24px; height:24px; }
.roster-shop, .roster-schedule { background:var(--red); color:var(--white); }
.roster-shop-cards { display:grid; gap:24px; }
.roster-shop-cards article { background:var(--white); color:var(--ink); padding:24px; display:flex; flex-direction:column; gap:24px; }
.roster-shop-cards h3 { font:var(--weight-bold) var(--subheading-size)/var(--subheading-leading) var(--font-heading); letter-spacing:-.03em; margin:0; }
.roster-shop-cards p { margin:0; flex:1; }
.roster-shop-cards .button { width:100%; min-width:0; }
@media(min-width:768px) { .roster-shop-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:767px) { .roster-schedule .button { width:100%; } }

.roster-career-links a { color:var(--red); text-decoration:underline; text-underline-offset:4px; }

/* Rangers checkout receipt */
.purchase-confirmation-page--rangers {
    --receipt-rule: #d6d2c9;
    --receipt-row-gap: 32px;
    --receipt-bottom-space: 56px;
    --receipt-panel-space: 16px;
    --receipt-order-size: var(--footer-size);
    --receipt-order-leading: var(--footer-leading);
    --receipt-title-size: var(--heading-size);
    --receipt-title-leading: var(--heading-leading);
    --receipt-title-tracking: var(--heading-tracking);
    --receipt-action-height: 48px;
    --receipt-pass-title-size: 22px;
}

.purchase-confirmation-page--rangers .internal-title { display: none; }
.purchase-confirmation-page--rangers .internal-story { padding-bottom: var(--receipt-bottom-space); }
.purchase-confirmation-page--rangers .internal-prose > .receipt { max-width: none; }

.receipt { display: grid; gap: var(--receipt-row-gap); }
.receipt [hidden] { display: none !important; }
.receipt :is(h2, h3, h4, p) { margin: 0; }
.receipt :is(.receipt-intro, .receipt-order, .receipt-passes, .receipt-pass) { display: grid; }

.receipt-intro {
    gap: 24px;
    color: var(--muted);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.receipt .receipt-intro h2 {
    font-size: var(--receipt-title-size);
    line-height: var(--receipt-title-leading);
    letter-spacing: var(--receipt-title-tracking);
}
.receipt .eyebrow { text-transform: uppercase; }
.receipt-order-reference { font-size: var(--subheading-size); line-height: var(--subheading-leading); }
.receipt-order-reference span { display: inline-block; }
.receipt .purchase-test-note, .receipt-print-error { color: var(--red); }

.receipt-order { gap: 16px; }
.receipt .receipt-order h3 {
    font-size: var(--receipt-order-size);
    line-height: var(--receipt-order-leading);
    letter-spacing: -.05em;
}
.receipt-items {
    width: 100%;
    border-collapse: collapse;
    color: var(--muted);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
.receipt-items :is(th, td) {
    padding: 12px 8px;
    border-bottom: 1px solid var(--receipt-rule);
    text-align: left;
    vertical-align: top;
}
.receipt-items :is(th, td):first-child { padding-inline-start: 0; }
.receipt-items :is(th, td):last-child { padding-inline-end: 0; text-align: end; white-space: nowrap; }
.receipt-items :is(thead, tbody) :nth-child(2) { text-align: center; width: 40px; white-space: nowrap; }
.receipt-items td:last-child { width: 76px; }
.receipt-items thead { font-size: 16px; line-height: 24px; }
.receipt-items abbr { text-decoration: none; cursor: inherit; }
.receipt-items tfoot { font-weight: var(--weight-bold); }
.receipt-item-detail { display: block; font-size: var(--small-size); line-height: var(--small-leading); }

.receipt-passes { gap: 24px; }
.receipt-pass {
    gap: 12px;
    scroll-margin-top: calc(var(--header-height) + 16px);
}
.receipt .receipt-pass-title {
    color: var(--muted);
    font: var(--weight-bold) var(--receipt-pass-title-size) / var(--subheading-leading) var(--font-body);
    letter-spacing: normal;
    font-variation-settings: normal;
}
.receipt-pass-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: var(--receipt-panel-space);
    background: var(--paper);
}
.receipt-action { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.receipt-action h4 {
    color: var(--ink);
    font: var(--weight-bold) var(--subheading-size) / var(--subheading-leading) var(--font-heading);
    letter-spacing: var(--subheading-tracking);
    text-transform: uppercase;
}
.receipt-action p { font-size: var(--small-size); line-height: var(--small-leading); }
.receipt-action h4, .receipt-wallet-action > p { display: none; }
.receipt-print-action { grid-column: 1 / -1; }
.receipt-action .button {
    width: 100%;
    height: var(--receipt-action-height);
    margin-top: auto;
    border: 0;
    padding: 0 12px;
    cursor: pointer;
    text-transform: uppercase;
}
.receipt-action .button:is(:hover, :focus-visible) { opacity: var(--hover-opacity); }
.receipt-print-compact { display: none; }
.receipt-wallet-badge {
    display: flex;
    min-height: var(--receipt-action-height);
    width: fit-content;
    max-width: 100%;
    align-items: center;
    margin-top: auto;
}
.receipt-wallet-badge img { max-width: 100%; height: auto; }
.receipt-wallet-badge:is(:hover, :focus-visible) { opacity: var(--hover-opacity); }

.receipt-wallet-dialog {
    max-width: min(420px, 100% - 32px);
    max-height: calc(100% - 32px);
    margin: auto;
    border: 0;
    padding: 48px 24px 24px;
    color: var(--ink);
    background: var(--paper);
    text-align: center;
}
.receipt-wallet-dialog[open] { display: grid; justify-items: center; gap: 12px; }
.receipt-wallet-dialog::backdrop { background: var(--hero-overlay); }
.receipt-wallet-dialog h3 { font-size: var(--card-size); line-height: var(--card-leading); letter-spacing: var(--card-tracking); }
.receipt-wallet-dialog p { color: var(--muted); }
.receipt-wallet-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background: var(--transparent);
    color: var(--ink);
    line-height: 1;
    font-size: 28px;
    cursor: pointer;
}
.receipt-wallet-code, .receipt-admission-qr {
    display: grid;
    width: min(280px, 100%);
    padding: 20px;
    background: var(--white);
}
.receipt :is(.receipt-wallet-code, .receipt-admission-qr) :is(canvas, img) {
    display: block;
    width: 100%;
    height: auto;
}

.receipt-print-copy { display: none; }

@media (max-width: 767px) {
    .receipt-order-reference span { display: block; }
    .receipt-pass-actions:has(.receipt-wallet-action:not([hidden])):not(:has(.receipt-wallet-action:not([hidden]) ~ .receipt-wallet-action:not([hidden]))) .receipt-wallet-action { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
    .purchase-confirmation-page--rangers {
        --receipt-row-gap: 40px;
        --receipt-pass-title-size: var(--subheading-size);
        --receipt-bottom-space: 80px;
        --receipt-order-size: 44px;
        --receipt-order-leading: 40px;
        --receipt-title-size: 64px;
        --receipt-title-leading: 57px;
        --receipt-title-tracking: -.07em;
    }
    .receipt-passes { gap: 32px; }
    .receipt-pass { gap: 16px; }
    .receipt-pass-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding: 0;
        background: var(--transparent);
    }
    .receipt-pass-actions:has(.receipt-wallet-action:not([hidden])):not(:has(.receipt-wallet-action:not([hidden]) ~ .receipt-wallet-action:not([hidden]))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .receipt-action { padding: var(--receipt-panel-space); background: var(--paper); }
    .receipt-action h4, .receipt-wallet-action > p { display: block; }
    .receipt-print-action { grid-column: auto; }
    .receipt-pass-actions:not(:has(.receipt-wallet-action:not([hidden]))) .receipt-print-action { grid-column: 1 / -1; }
    .receipt-print-full { display: none; }
    .receipt-print-compact { display: inline; }
}

@media (min-width: 1200px) {
    .purchase-confirmation-page--rangers {
        --receipt-row-gap: 52px;
        --receipt-bottom-space: 128px;
        --receipt-panel-space: 24px;
        --receipt-order-size: 64px;
        --receipt-order-leading: 62px;
        --receipt-title-size: 104px;
        --receipt-title-leading: 92px;
        --receipt-title-tracking: -.07em;
        --receipt-action-height: 56px;
    }
    .receipt-intro { font-size: var(--subheading-size); line-height: var(--subheading-leading); }
    .receipt-order { width: min(100%, 931px); gap: 24px; }
    .receipt-items { font-size: 20px; }
    .receipt-items thead { font-size: inherit; }
    .receipt-items :is(th, td) { padding-block: 16px; }
    .receipt-items :is(thead, tbody) :nth-child(2) { width: 113px; }
    .receipt-items td:last-child { width: 85px; }
    .receipt-passes { gap: 60px; }
    .receipt-pass { gap: 24px; }
    .receipt-action { gap: 16px; }
    .receipt-action p { font-size: var(--body-size); line-height: var(--body-leading); }
    .receipt-wallet-badge img { height: var(--receipt-action-height); width: auto; object-fit: contain; object-position: left; }
    .receipt-print-full { display: inline; }
    .receipt-print-compact { display: none; }
}

@media print {
    @page { margin: 15mm; }
    .purchase-confirmation-page--rangers { background: var(--white); color: var(--black); }
    .purchase-confirmation-page--rangers :is(.site-header, .site-footer, .sponsors, .skip-link, .internal-title) { display: none !important; }
    .purchase-confirmation-page--rangers :is(.internal-page, .internal-story, .internal-layout, .internal-prose, .receipt, .receipt-passes) {
        display: block; width: 100%; max-width: none; margin: 0; padding: 0;
    }
    .receipt > :not(.receipt-passes), .receipt-pass > :not(.receipt-print-copy) { display: none !important; }
    .receipt-passes:has([data-print-selected]) > .receipt-pass:not([data-print-selected]) { display: none !important; }
    .receipt-pass { display: block; break-inside: avoid; break-after: page; color: var(--black); }
    .receipt-pass:last-child, .receipt-pass[data-print-selected] { break-after: auto; }
    .receipt-print-copy { display: grid; gap: 16px; }
    .receipt-print-copy h4 { font-size: 24pt; line-height: 1.2; }
    .receipt-print-copy :is(p, dt, dd) { font-size: 12pt; line-height: 1.4; }
    .receipt-print-copy dt { font-weight: var(--weight-bold); }
    .receipt-print-copy dd { margin-bottom: 8px; }
    .receipt-admission-qr { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Interim Rangers season-ticket storefront */
.season-ticket-sale .forge-storefront.is-forge .shop-section { min-height: calc(100vh - var(--header-height)); }
.season-ticket-sale .shop-heading { margin-bottom: 32px; }
.season-ticket-sale .shop-heading p:last-child { margin-top: 16px; }
.season-ticket-sale .shop-grid .shop-card {
    display: flex;
    flex-direction: column;
}
.season-ticket-sale .shop-grid .shop-card-copy {
    flex: 1;
    grid-template-rows: auto minmax(min-content, 1fr) auto auto;
    align-items: start;
}
.season-ticket-sale .season-sale-admission { color: var(--muted); }
@supports (grid-template-rows: subgrid) {
    .season-ticket-sale .shop-grid .shop-card {
        display: grid;
        grid-row: span 5;
        grid-template-rows: subgrid;
        row-gap: 0;
    }
    .season-ticket-sale .shop-grid .shop-card-copy {
        grid-row: span 4;
        grid-template-rows: subgrid;
    }
}
.season-ticket-sale .shop-card-price { font: var(--weight-bold) var(--card-size) / var(--card-leading) var(--font-heading); }
.season-ticket-sale .season-sale-form {
    display: flex; flex-wrap: wrap; align-items: end; gap: 12px; min-width: 0;
}
.season-ticket-sale .season-sale-form label { display: grid; gap: 4px; font-size: var(--small-size); }
.season-ticket-sale .season-sale-form input {
    text-align: center;
    width: 64px; min-height: 48px; padding: 6px; font: inherit; border: 1px solid var(--muted); background: var(--white); color: var(--ink);
}
.season-ticket-sale .season-sale-form .button { width: auto; min-height: 48px; height: auto; flex: 1; border: 0; padding: 8px 12px; cursor: pointer; }
.season-ticket-sale .season-sale-form .button:disabled { cursor: wait; opacity: .65; }
.season-ticket-sale .season-sale-form [role="alert"] { flex-basis: 100%; color: var(--red); }
.season-ticket-sale [hidden] { display: none !important; }
.season-ticket-sale .season-sale-status { margin-bottom: 24px; }
.season-ticket-sale .season-sale-fees { margin-top: 24px; color: var(--muted); }
@media (max-width: 420px) {
    .season-ticket-sale .season-sale-form .button { min-width: 100%; }
}
