.games-week-banner {
    --gw-surface: #152228;
    --gw-input: #101b20;
    --gw-line: #465e69;
    --gw-text: #f1f6f7;
    --gw-muted: #b7c8cf;
    --gw-accent: #9de5e9;
    --gw-error: #ffbcad;
    padding: 0;
    background: var(--gw-surface);
    color: var(--gw-text);
}

[data-theme="light"] .games-week-banner {
    --gw-surface: #eaf1f2;
    --gw-input: #fff;
    --gw-line: #8ca4ac;
    --gw-text: #132b34;
    --gw-muted: #405760;
    --gw-accent: #166479;
    --gw-error: #8f2717;
}

.games-week-banner[hidden], .games-week-dismiss[hidden] { display: none; }

.games-week-banner-inner {
    display: grid;
    grid-template-columns: clamp(160px, 15%, 192px) minmax(0, 1fr) minmax(340px, 405px) 40px;
    align-items: center;
    gap: 20px;
    padding-block: 18px;
}

.games-week-banner--compact .games-week-banner-inner { gap: 10px 16px; padding-block: 12px; }

.games-week-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 5px;
    background: none;
    color: var(--gw-accent);
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
}
.games-week-dismiss { width: 40px; height: 40px; align-self: start; padding: 0; }
.games-week-dismiss:hover { background: var(--gw-input); }
.games-week-dismiss svg { flex: none; width: 16px; height: 16px; }
.games-week-banner button:focus-visible { outline: 2px solid var(--gw-accent); outline-offset: 2px; }

.games-week-illustration { display: block; min-width: 0; }
.games-week-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 57% 48%;
    border-radius: 5px;
}

.games-week-copy, .games-week-form {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.games-week-copy :is(h1, h2) {
    margin: 0;
    color: var(--gw-text);
    font-size: 1.375rem;
    line-height: 1.2;
}

.games-week-banner p {
    margin: 0;
    color: var(--gw-muted);
    font-size: .875rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.games-week-copy strong { color: var(--gw-text); }
.games-week-copy .games-week-date { color: var(--gw-accent); font-size: .75rem; font-weight: 600; }
.games-week-venue {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .4rem;
}
.games-week-venue strong { color: var(--gw-text); }

.games-week-form {
    gap: 7px;
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--gw-line);
    font-size: .875rem;
}

.games-week-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.games-week-form-row, .games-week-code-line { display: flex; align-items: center; gap: 8px; }

.games-week-form input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--gw-line);
    border-radius: 5px;
    background: var(--gw-input);
    color: var(--gw-text);
    font: inherit;
    font-size: 1rem;
}

.games-week-form input::placeholder { color: var(--gw-muted); }

.games-week-button, .games-week-copy-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #087789;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.games-week-button:hover { background: #076679; }
.games-week-banner :is(.games-week-mobile-offer, .games-week-request-note),
.games-week-button.games-week-mobile-request { display: none; }
.games-week-form button svg { flex: none; width: 16px; height: 16px; }
.games-week-form :is(button, input):focus-visible { outline: 2px solid var(--gw-accent); outline-offset: 2px; }
.games-week-form .games-week-error { color: var(--gw-error); font-weight: 600; }
.games-week-form .games-week-policy { margin-top: 6px; font-size: .75rem; }
.games-week-form [data-turnstile-interaction-only] .site-turnstile { margin: 0; }
.games-week-form [data-turnstile-interaction-only] [data-turnstile-target] { line-height: 0; }
.games-week-form [data-turnstile-interaction-only] [data-turnstile-target] iframe { vertical-align: top; }
.games-week-form a { color: var(--gw-accent); }
.games-week-confirm { margin: 0; padding: 24px 16px; background: #0e161a; font: 1rem/1.5 system-ui, sans-serif; }
.games-week-confirm main {
    box-sizing: border-box;
    max-width: 500px;
    margin: 24px auto 0;
    border: 1px solid #293d43;
    border-radius: 8px;
}
.games-week-pass-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid #293d43;
}
.games-week-pass-brand img { display: block; flex: none; width: 34px; height: 34px; object-fit: contain; }
.games-week-confirm .games-week-form { border: 0; padding: 20px 22px; gap: 12px; }
.games-week-confirm h1 { margin: 0; font-size: 1.375rem; line-height: 1.25; overflow-wrap: anywhere; }
.games-week-confirm .games-week-code-line { gap: 4px; }
.games-week-confirm .games-week-code-line code { min-width: 0; overflow-wrap: anywhere; }
.games-week-confirm .games-week-copy-button { min-height: 46px; flex: 0 0 86px; padding-inline: 8px; }
.games-week-confirm .games-week-copy-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.games-week-pass-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.games-week-pass-footer [role="status"] { color: #a5e0b8; }

@media (max-width: 420px) {
    .games-week-confirm main { margin-top: 8px; }
    .games-week-pass-brand, .games-week-confirm .games-week-form { padding-inline: 16px; }
}

.games-week-code-line {
    min-height: 44px;
    justify-content: space-between;
    padding-inline-start: 12px;
    border: 1px solid var(--gw-line);
    border-radius: 5px;
    background: var(--gw-input);
}

.games-week-code-line code { color: var(--gw-accent); font: 700 1rem/1.2 ui-monospace, monospace; }
.games-week-copy-button { min-height: 42px; min-width: 44px; background: none; color: var(--gw-accent); }
.games-week-copy-button[hidden] { display: none; }
.games-week-copy-button:hover { background: var(--gw-surface); }
.games-week-reset button {
    min-height: 36px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gw-accent);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}

@media (max-width: 1050px) {
    .games-week-banner-inner { grid-template-columns: clamp(112px, 15%, 156px) minmax(0, 1fr) minmax(300px, 340px) 40px; gap: 14px; }
}

@media (max-width: 760px) {
    #games-week-banner { padding-block: 0; }

    .games-week-banner-inner {
        position: relative;
        grid-template-columns: clamp(80px, 26%, 104px) minmax(0, 1fr);
        gap: 10px 12px;
        padding-block: 15px;
    }
    .games-week-banner--compact .games-week-banner-inner { gap: 8px 12px; padding-block: 12px; }
    .games-week-illustration { grid-row: 1; grid-column: 1; }
    .games-week-art { aspect-ratio: 4 / 3; }
    .games-week-copy { grid-row: 1; grid-column: 2; }
    .games-week-copy :is(h1, h2) { font-size: 1.0625rem; overflow-wrap: anywhere; }
    .games-week-copy p { font-size: .8125rem; }
    .games-week-banner--compact .games-week-date { padding-inline-end: 40px; }
    .games-week-banner--compact :is(.games-week-date-context, .games-week-heading-prefix) { display: none; }
    .games-week-banner--compact .games-week-venue { font-size: .75rem; }
    .games-week-banner--compact .games-week-description { display: none; }
    .games-week-banner--compact .games-week-mobile-offer { display: block; }
    .games-week-banner .games-week-form {
        grid-column: 1 / -1;
        padding-inline-start: 0;
        border-inline-start: 0;
        scroll-margin-block-start: 84px;
    }
    .games-week-dismiss {
        position: absolute;
        inset-block-start: 4px;
        inset-inline-end: -6px;
        width: 44px;
        height: 44px;
    }
    .games-week-banner--request:not(:has(.games-week-form:target)) .games-week-form { display: none; }
    .games-week-banner--compact .games-week-request-note { display: block; margin-bottom: 10px; font-size: .8125rem; }
    .games-week-mobile-offer strong { color: var(--gw-accent); }
    .games-week-banner--request:not(:has(.games-week-form:target)) .games-week-mobile-request {
        display: inline-flex;
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-inline: 14px;
        font-size: .8125rem;
        text-decoration: none;
    }
    .games-week-mobile-request svg { flex: none; width: 16px; height: 16px; }
    .games-week-mobile-request:focus-visible { outline: 2px solid var(--gw-accent); outline-offset: 2px; }
}

@media (min-width: 560px) and (max-width: 760px) {
    .games-week-banner--compact .games-week-banner-inner {
        grid-template-columns: clamp(106px, 19%, 124px) minmax(0, 1fr) auto 38px;
        column-gap: 16px;
    }
    .games-week-banner--compact .games-week-date { padding-inline-end: 0; }
    .games-week-banner--request:not(:has(.games-week-form:target)) .games-week-mobile-request {
        grid-row: 1;
        grid-column: 3;
        gap: 10px;
    }
}

@media (max-width: 559px) {
    .games-week-banner--compact .games-week-form-row { flex-direction: column; align-items: stretch; }
    .games-week-banner--compact .games-week-form-row .games-week-button { justify-content: space-between; padding-inline: 14px; }
}

@media (max-width: 365px) {
    .games-week-form-row { flex-direction: column; align-items: stretch; }
}
