:root {
    color-scheme: light;
    --page: #f4f6fa;
    --surface: #fff;
    --subtle: #f0f3f8;
    --ink: #18264d;
    --muted: #52617b;
    --line: #dce3ed;
    --gold: #c7a246;
    --gold-bright: #dfbe68;
    --hero: #f7f9fc;
    --shadow: 0 8px 32px #17264c05;
    --focus: #225da6;
    --header: #ffffffed;
    --green: #086542;
    --green-bg: #daf5e9;
    --blue: #17539a;
    --blue-bg: #e3effe
}

:root[data-theme=dark] {
    color-scheme: dark;
    --page: #0b1427;
    --surface: #122139;
    --subtle: #182a44;
    --ink: #f4f6fb;
    --muted: #b7c3d7;
    --line: #2c405e;
    --gold: #e3bd60;
    --gold-bright: #ebc970;
    --hero: #0e1d35;
    --shadow: none;
    --focus: #edcd78;
    --header: #0b172bec;
    --green: #97e3c4;
    --green-bg: #143e36;
    --blue: #afcfff;
    --blue-bg: #1b3659
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

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

button {
    font: inherit;
    color: inherit
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

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

img {
    max-width: 100%;
    height: auto;
    display: block
}

h1,
h2,
h3,
h4,
p {
    margin: 0
}

h1,
h2 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.04em
}

h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.2
}

h3 {
    font-size: 1rem
}

ul {
    padding: 0;
    margin: 0;
    list-style: none
}

.container {
    width: calc(100% - 80px);
    max-width: 1280px;
    margin: auto
}

.icon {
    width: 22px;
    height: 22px;
    flex: none;
    vertical-align: middle
}

.eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase
}

.gold {
    color: var(--gold)
}

.skip-link {
    position: fixed;
    z-index: 20;
    left: 20px;
    top: -100px;
    padding: 10px 20px;
    background: var(--surface);
    border: 2px solid var(--gold)
}

.skip-link:focus {
    top: 10px
}

.site-header {
    background: var(--header);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px)
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap
}

.brand-logo {
    width: 58px;
    height: 58px;
    position: relative;
    display: block;
    flex: none
}

.brand-logo img {
    max-width: none;
    width: 92px;
    height: 92px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.brand strong {
    display: block;
    font: 700 1.38rem Georgia, serif;
    letter-spacing: -.015em
}

.brand small {
    font-size: .7rem;
    letter-spacing: .29em;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-top: 3px
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
    font-size: .9rem
}

.main-nav a {
    padding: 28px 0;
    position: relative
}

.main-nav a:hover {
    color: var(--gold)
}

.main-nav .active {
    font-weight: 700
}

.main-nav .active:after {
    content: '';
    height: 2px;
    background: var(--gold);
    position: absolute;
    bottom: 17px;
    left: 0;
    right: 0
}

.header-actions {
    display: flex;
    gap: 5px;
    margin-left: 16px
}

.icon-button {
    border: 0;
    background: transparent;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center
}

.icon-button:hover {
    background: var(--subtle)
}

.theme-toggle {
    display: flex
}

.theme-toggle[hidden],
.menu-toggle[hidden] {
    display: none
}

.sun-icon {
    display: none
}

[data-theme=dark] .sun-icon {
    display: block;
    color: var(--gold)
}

[data-theme=dark] .moon-icon {
    display: none
}

.menu-toggle {
    display: none
}

.hero {
    background: linear-gradient(115deg, var(--hero) 45%, var(--subtle));
    position: relative;
    overflow: hidden
}

.hero:before,
.hero:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 420px;
    background: var(--gold);
    opacity: .2;
    transform: rotate(35deg);
    pointer-events: none
}

.hero:before {
    left: 15px;
    top: -280px;
    box-shadow: 32px 0 0 var(--gold)
}

.hero:after {
    right: 30px;
    bottom: -140px;
    box-shadow: 32px 0 0 var(--gold)
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    min-height: 505px;
    position: relative
}

.hero-copy {
    padding: 48px 0 64px;
    z-index: 1
}

.hero .eyebrow {
    letter-spacing: .32em;
    margin-bottom: 17px
}

.hero h1 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -.055em
}

.hero-subtitle {
    font: 700 clamp(1rem, 1.8vw, 1.4rem)/1.4 Georgia, serif;
    margin: 18px 0
}

.hero-fact {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 1rem;
    margin: 7px 0;
    font-weight: 500
}

.hero-fact .icon {
    color: var(--gold)
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--ink);
    font-weight: 600;
    font-size: .9rem;
    transition: transform .15s
}

.button:hover {
    transform: translateY(-2px)
}

.primary {
    background: linear-gradient(110deg, var(--gold-bright), #d2af59);
    color: #14203e;
    border-color: var(--gold-bright)
}

.secondary {
    background: var(--surface)
}

.hero-art {
    position: relative;
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-art img {
    position: absolute;
    width: 400px;
    max-width: none;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px #00000012)
}

.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: -20px;
    position: relative;
    padding: 18px 0;
    box-shadow: var(--shadow)
}

.event-stats>div {
    display: flex;
    gap: 9px;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    line-height: 1.15
}

.event-stats>div+div {
    border-left: 1px solid var(--gold)
}

.event-stats strong {
    font: 700 2.1rem Georgia, serif;
    color: var(--gold)
}

.event-stats span {
    font: 700 1.18rem Georgia, serif
}

.event-stats .icon {
    margin-right: 3px;
    width: 26px;
    height: 26px
}

.section {
    margin-top: 34px
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px
}

.heading-rule {
    height: 1px;
    flex: 1;
    background: var(--gold);
    opacity: .55
}

.section-heading>.eyebrow {
    font-size: .67rem;
    color: var(--gold);
    letter-spacing: .2em
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.sport-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 7px 18px;
    gap: 3px;
    text-align: center;
    min-height: 155px;
    box-shadow: var(--shadow);
    transition: transform .15s, border-color .15s
}

.sport-card:hover,
.sport-card.selected {
    border-color: var(--gold);
    transform: translateY(-3px)
}

.sport-card img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    mix-blend-mode: multiply
}

.sport-card span {
    font-size: .92rem;
    font-weight: 650
}

.sport-card>.icon {
    height: 100px;
    width: 70px
}

[data-theme=dark] .sport-card img {
    filter: invert(1) grayscale(1) brightness(1.9);
    mix-blend-mode: screen
}

.results-section {
    border-radius: 9px;
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--line)
}

.results-section h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.1rem)
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.result-column>h3 {
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 600
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 7px;
    min-height: 140px;
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: var(--page)
}

.empty-state p {
    color: var(--muted);
    font-size: .9rem;
    max-width: 230px
}

.empty-icon {
    color: var(--gold)
}

.empty-icon .icon {
    width: 25px;
    height: 25px
}

.filter-note {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 0 20px;
    font-size: .9rem
}

.filter-note a {
    color: var(--muted);
    text-decoration: underline
}

.service-notice {
    padding: 14px;
    background: var(--subtle);
    margin-bottom: 20px;
    border-left: 3px solid var(--gold)
}

.competition-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 18px;
    margin-bottom: 12px
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px
}

.card-top .eyebrow {
    font-size: .7rem;
    letter-spacing: .05em
}

.status {
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 9px;
    font-size: .65rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--subtle);
    color: var(--muted)
}

.in_progress {
    color: var(--green);
    background: var(--green-bg)
}

.scheduled {
    color: var(--blue);
    background: var(--blue-bg)
}

.card-meta {
    color: var(--muted);
    font-size: .82rem;
    margin: 7px 0 16px
}

.entry-heading {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding-bottom: 7px
}

.entries li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    font-size: .9rem
}

.entries small {
    display: block;
    color: var(--muted)
}

.entries strong {
    color: var(--gold);
    font-size: 1.1rem;
    white-space: nowrap
}

.entries li.is-winner {
    margin-inline: -8px;
    padding-inline: 8px;
    border-radius: 5px;
    background: var(--green-bg)
}

.entries li.is-winner .participant-name {
    font-weight: 800
}

.entries li.is-winner strong.participant-name {
    color: inherit;
    font-size: inherit;
    white-space: normal
}

.entries .winner-label {
    color: var(--green);
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em
}

.competition-image {
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--subtle)
}

.competition-image img {
    display: block;
    width: 100%;
    max-height: 360px;
    aspect-ratio: 16/9;
    object-fit: cover
}

.update-time {
    display: block;
    color: var(--muted);
    margin-top: 12px
}

.result-detail summary {
    cursor: pointer;
    font-size: .9rem
}

.result-detail p {
    font-size: .9rem;
    margin-top: 8px;
    white-space: normal
}

.information-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 20px;
    margin-top: 24px
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 24px;
    box-shadow: var(--shadow)
}

.panel h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.65rem;
    margin-bottom: 18px
}

.day-tabs {
    display: flex;
    gap: 5px
}

.day-tabs a {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--subtle);
    border-radius: 5px;
    font-size: .88rem;
    font-weight: 500;
    min-height: 40px
}

.day-tabs a.selected {
    background: linear-gradient(110deg, var(--gold-bright), #d2af59);
    color: #14203e;
    font-weight: 700
}

.calendar-empty {
    padding: 33px 12px 22px
}

.calendar-empty .eyebrow {
    color: var(--muted);
    font-size: .7rem
}

.calendar-empty h3 {
    font-size: 1.15rem;
    margin: 10px 0
}

.calendar-empty p {
    font-size: .95rem;
    color: var(--muted);
    max-width: 370px
}

.agenda {
    padding: 10px 0 5px;
    margin: 0;
    list-style: none
}

.agenda li {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 14px 0 14px 23px;
    border-left: 1px solid var(--gold);
    margin-left: 8px
}

.agenda li:before {
    content: '';
    position: absolute;
    left: -4px;
    top: 24px;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 100%
}

.agenda time {
    font-weight: 650
}

.agenda strong {
    font-size: .9rem
}

.agenda small {
    display: block;
    color: var(--muted);
    font-size: .82rem
}

.info-item {
    border: 1px solid var(--line);
    border-radius: 5px;
    margin-bottom: 8px;
    scroll-margin-top: 105px
}

.info-item summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    cursor: pointer;
    font-size: .9rem;
    list-style: none
}

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

.info-item summary:after {
    content: '+';
    margin-left: auto;
    font-size: 1.2rem;
    line-height: 1
}

.info-item[open] summary:after {
    content: '−'
}

.detail-content {
    padding: 4px 16px 16px;
    color: var(--muted);
    font-size: .9rem
}

.detail-content h3 {
    margin-top: 12px
}

.detail-content p+p {
    margin-top: 10px
}

.detail-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 12px 0
}

.detail-content li {
    margin: 5px 0
}

.announcements {
    padding: 14px 16px;
    background: var(--subtle);
    margin-top: 14px;
    border-radius: 6px
}

.announcements h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem
}

.announcements h3 .icon {
    color: var(--gold)
}

.announcements p {
    color: var(--muted);
    font-size: .85rem;
    margin-top: 7px
}

.announcements article {
    margin-top: 14px
}

.delegations-section {
    margin: 24px 0 34px
}

.delegations-section .section-heading {
    margin-bottom: 16px
}

.delegations-section h2 {
    margin: 0
}

.delegations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.delegations-grid li {
    text-align: center;
    font-size: .9rem;
    padding: 12px 5px;
    background: var(--subtle);
    border: 1px solid var(--line);
    border-radius: 5px;
    font-weight: 600
}

.site-footer {
    background: #142342;
    color: #f4f6fc;
    border-top: 2px solid #d2af5940
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: .8rem
}

.organizer {
    display: flex;
    align-items: center;
    gap: 18px
}

.organizer small {
    display: block;
    color: #c6cfdf;
    margin-bottom: 4px
}

.club-logo {
    position: relative;
    display: block;
    width: 75px;
    height: 75px;
    flex: none
}

.club-logo img {
    max-width: none;
    width: 122px;
    height: 122px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.footer-event {
    border-left: 1px solid #ffffff30;
    padding-left: 35px
}

.footer-event span {
    color: #b9c5d8
}

.footer-inner>a {
    white-space: nowrap;
    color: #d9c183
}

@media(min-width:1600px) {
    .hero-inner {
        min-height: 300px
    }

    .hero h1 {
        font-size: 2.5rem
    }
}

@media(max-width:1100px) {
    .container {
        width: calc(100% - 48px)
    }

    .main-nav {
        gap: 17px;
        font-size: .83rem
    }

    .header-inner {
        gap: 12px
    }

    .header-actions {
        margin-left: 0
    }

    .brand strong {
        font-size: 1.15rem
    }

    .brand small {
        font-size: .6rem
    }

    .hero-art img {
        width: 350px;
        height: 350px
    }

    .hero h1 {
        font-size: 2rem
    }

    .event-stats span {
        font-size: 1.05rem
    }

    .information-grid {
        grid-template-columns: 1fr 1fr
    }

    .panel {
        padding: 20px
    }

    .panel h2 {
        font-size: 1.4rem
    }

    .results-grid {
        gap: 12px
    }

    .empty-state {
        padding: 16px 12px
    }

    .section-heading>.eyebrow {
        display: none
    }
}

@media(max-width:850px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: 78px;
        gap: 0;
        justify-content: space-between;
        padding: 10px 0
    }

    .header-actions {
        margin-left: auto
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin: 6px 0 0;
        gap: 10px
    }

    .main-nav a {
        padding: 12px 0
    }

    .main-nav .active:after {
        bottom: 3px
    }

    html.js .main-nav {
        display: none
    }

    html.js .main-nav.open {
        display: flex
    }

    .menu-toggle:not([hidden]) {
        display: flex
    }

    .hero-inner {
        min-height: 300px
    }

    .hero-copy {
        padding: 35px 0 50px
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-art img {
        width: 300px;
        height: 300px
    }

    .hero-art {
        height: 300px
    }

    .hero-subtitle {
        max-width: 340px
    }

    .hero-actions {
        gap: 10px
    }

    .button {
        font-size: .8rem;
        padding: 10px 13px
    }

    .hero-fact {
        font-size: .9rem
    }

    .event-stats .icon {
        display: none
    }

    .event-stats span {
        font-size: .98rem
    }

    .event-stats strong {
        font-size: 1.7rem
    }

    .sports-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .sport-card {
        min-height: 140px
    }

    .information-grid {
        grid-template-columns: 1fr
    }

    .footer-inner {
        flex-wrap: wrap
    }

    .footer-event {
        border: 0;
        padding: 0
    }

    .results-grid {
        grid-template-columns: 1fr
    }

    .result-column {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 15px;
        align-items: start
    }

    .result-column>h3 {
        padding-top: 12px
    }

    .empty-state {
        min-height: 76px;
        align-items: center
    }

    .empty-state p {
        max-width: none
    }

    .delegations-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:560px) {
    .container {
        width: calc(100% - 32px)
    }

    .brand-logo {
        width: 43px;
        height: 43px
    }

    .brand-logo img {
        width: 69px;
        height: 69px
    }

    .brand {
        gap: 9px
    }

    .brand strong {
        font-size: 1.02rem
    }

    .brand small {
        font-size: .56rem;
        letter-spacing: .2em
    }

    .icon-button {
        padding: 10px;
        min-width: 42px
    }

    .header-inner {
        min-height: 70px
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 22px
    }

    .main-nav a {
        font-size: .9rem
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch
    }

    .hero-copy {
        padding: 30px 0 10px
    }

    .hero .eyebrow {
        font-size: .68rem;
        margin-bottom: 16px
    }

    .hero h1 {
        font-size: clamp(2.8rem, 11vw, 3.5rem)
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-top: 20px
    }

    .hero-fact {
        font-size: .88rem
    }

    .hero-actions {
        margin-top: 23px
    }

    .button {
        font-size: .8rem;
        min-height: 46px;
        flex: 1;
        padding: 10px
    }

    .button .icon {
        width: 18px;
        height: 18px
    }

    .hero-art {
        height: 245px;
        margin: 0;
        overflow: hidden
    }

    .hero-art img {
        width: 365px;
        height: 365px
    }

    .hero:after {
        right: 0;
        bottom: -140px
    }

    .event-stats {
        padding: 14px 0;
        margin-top: 0
    }

    .event-stats>div {
        flex-direction: column;
        gap: 3px;
        padding: 0 5px;
        text-align: center
    }

    .event-stats span {
        font: 500 .72rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif
    }

    .event-stats strong {
        font-size: 1.8rem
    }

    .section {
        margin-top: 27px
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 16px
    }

    .sports-grid {
        gap: 8px
    }

    .sport-card {
        padding: 7px 4px 13px;
        min-height: 124px
    }

    .sport-card img {
        width: 82px;
        height: 82px
    }

    .sport-card span {
        font-size: .79rem
    }

    .results-section {
        padding: 18px 16px
    }

    .results-section h2 {
        font-size: 1.7rem
    }

    .result-column {
        display: block
    }

    .result-column>h3 {
        padding-top: 0;
        margin-bottom: 8px
    }

    .results-grid {
        gap: 18px
    }

    .empty-state {
        padding: 16px;
        min-height: 86px
    }

    .empty-state p {
        font-size: .87rem
    }

    .information-grid {
        gap: 18px;
        margin-top: 18px
    }

    .panel {
        padding: 18px 16px
    }

    .panel h2 {
        font-size: 1.4rem;
        gap: 8px
    }

    .panel h2 .icon {
        width: 20px
    }

    .calendar-empty {
        padding: 25px 5px 12px
    }

    .delegations-grid {
        gap: 8px
    }

    .delegations-grid li {
        font-size: .8rem;
        padding: 10px 4px
    }

    .delegations-section {
        margin-top: 18px
    }

    .footer-inner {
        display: block;
        padding-top: 24px;
        padding-bottom: 28px
    }

    .organizer {
        gap: 15px
    }

    .footer-event {
        margin-top: 24px;
        margin-bottom: 16px
    }

    .footer-inner>a {
        display: inline-block;
        min-height: 44px;
        padding: 10px 0
    }

    .hero .icon {
        flex: none
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important
    }
}

.public-page {
    min-height: calc(100vh - 190px);
    background: linear-gradient(180deg, var(--hero), var(--page) 320px)
}

.public-page-inner {
    padding-top: 54px;
    padding-bottom: 64px
}

.public-page-heading {
    max-width: 820px;
    margin-bottom: 30px
}

.public-page-heading h1 {
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    line-height: 1.03;
    margin: 8px 0 14px
}

.public-page-heading>p:last-child {
    color: var(--muted);
    font-size: 1.05rem
}

.public-sports-grid {
    grid-template-columns: repeat(3, 1fr)
}

.sport-card small {
    color: var(--muted);
    font-size: .75rem
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 30px
}

.filter-pills a {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: .86rem;
    font-weight: 650
}

.filter-pills a.selected {
    background: var(--ink);
    color: var(--surface);
    border-color: var(--ink)
}

.public-list-section {
    margin-top: 34px
}

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

.competition-list .competition-card {
    height: 100%
}

.card-link {
    display: inline-block;
    margin-top: 13px;
    color: var(--blue);
    font-size: .84rem;
    font-weight: 700
}

.standing-update {
    display: block;
    padding: 8px 14px 12px;
    color: var(--muted);
    font-size: .76rem
}

.public-copy {
    max-width: 900px;
    margin: 24px 0
}

.public-copy h2 {
    margin-bottom: 12px
}

.public-copy p {
    color: var(--muted)
}

.public-copy p+p {
    margin-top: 16px
}

.back-public {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--blue);
    font-weight: 700
}

.public-detail>.competition-card {
    max-width: 720px
}

.announcement-list {
    display: grid;
    gap: 14px;
    max-width: 900px
}

.announcement-card {
    padding: 20px
}

.announcement-card h2 {
    font: 700 1.35rem Georgia, serif;
    margin: 7px 0
}

.announcement-card p {
    color: var(--muted)
}

.announcement-card>small {
    color: var(--muted)
}

@media(max-width:850px) {
    .competition-list {
        grid-template-columns: 1fr 1fr
    }

    .public-sports-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:560px) {
    .public-page-inner {
        padding-top: 35px
    }

    .competition-list {
        grid-template-columns: 1fr
    }

    .public-sports-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.not-found {
    min-height: calc(100vh - 190px);
    display: grid;
    place-items: center;
    background: linear-gradient(115deg, var(--hero), var(--subtle))
}

.not-found-inner {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px
}

.not-found h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    margin: 12px 0 18px
}

.not-found p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 28px
}

.not-found .button {
    display: inline-flex
}

.standings-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 25px
}

.public-standings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.standing-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden
}

.standing-title {
    padding: 14px 16px;
    background: var(--subtle)
}

.standing-title h3 {
    font-size: 1rem
}

.standing-title small {
    color: var(--muted)
}

.public-table-wrap {
    overflow-x: auto
}

.standing-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem
}

.standing-card th,
.standing-card td {
    padding: 9px 12px;
    text-align: left;
    border-top: 1px solid var(--line)
}

.standing-card th:not(:first-child),
.standing-card td:not(:first-child) {
    text-align: center
}

.standing-card td small {
    display: block;
    color: var(--muted)
}

.document-links {
    display: grid;
    gap: 8px;
    margin-top: 14px
}

.document-links a,
.public-document {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 650;
    text-decoration: underline
}

@media(max-width:850px) {
    .public-standings-grid {
        grid-template-columns: 1fr
    }
}

@media print {

    .site-header,
    .hero-actions,
    .header-actions,
    .site-footer,
    .day-tabs {
        display: none
    }

    body {
        background: white;
        color: black
    }

    .hero-art {
        display: none
    }

    .container {
        width: 100%
    }

    .hero-inner {
        display: block;
        min-height: 0
    }

    .hero-copy {
        padding: 0 0 20px
    }

    .hero h1 {
        font-size: 2rem
    }

    .event-stats {
        margin-top: 0
    }

    .panel,
    .results-section,
    .standings-section {
        break-inside: avoid
    }
}
