/*
 * Enosi Bridge public UI foundation.
 *
 * The active theme owns typography and global chrome.
 */

.enosi-bridge-sheet-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}

body .enosi-bridge {
    --enosi-ui-ink: #1b1b1b;
    --enosi-ui-muted: #6d6b66;
    --enosi-ui-subtle: #918e86;
    --enosi-ui-border: rgba(27, 27, 27, 0.16);
    --enosi-ui-border-strong: rgba(27, 27, 27, 0.42);
    --enosi-ui-surface: #fff;
    --enosi-ui-surface-soft: #f4f2ed;
    --enosi-ui-surface-muted: #ece9e2;
    --enosi-ui-accent: #1b1b1b;
    --enosi-ui-accent-contrast: #fff;
    --enosi-ui-link: #1b1b1b;
    --enosi-ui-danger: #a93636;
    --enosi-ui-success: #28704c;
    --enosi-ui-warning: #9a7a2c;
    --enosi-ui-live: #c62828;
    --enosi-ui-score-background: #1b1b1b;
    --enosi-ui-score-text: #fff;
    --enosi-ui-match-hero: #1b1b1b;
    --enosi-ui-match-hero-text: #fff;
    --enosi-ui-slider-background: #10161f;
    --enosi-ui-slider-text: #fff;
    --enosi-ui-slider-action: #19d6d0;
    --enosi-ui-slider-action-text: #0d1721;
    --enosi-ui-radius-sm: 8px;
    --enosi-ui-radius: 12px;
    --enosi-ui-radius-lg: 16px;
    --enosi-ui-space-1: 6px;
    --enosi-ui-space-2: 10px;
    --enosi-ui-space-3: 14px;
    --enosi-ui-space-4: 20px;
    --enosi-ui-space-5: 28px;
    --enosi-ui-space-6: 40px;
    color: var(--enosi-ui-ink);
    font-family: inherit;
    line-height: 1.55;
}

body .enosi-bridge.is-enosi-ajax-loading {
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 120ms ease;
}

@media (prefers-reduced-motion: reduce) {
    body .enosi-bridge.is-enosi-ajax-loading {
        transition: none;
    }
}

body .enosi-bridge,
body .enosi-bridge *,
body .enosi-bridge *::before,
body .enosi-bridge *::after {
    box-sizing: border-box;
}

body .enosi-bridge img {
    max-width: 100%;
}

body .enosi-bridge a:not(:where(.enosi-bridge-match-centre__more)) {
    color: inherit;
    text-underline-offset: 0.18em;
}

body .enosi-bridge--history a,
body .enosi-bridge--article-detail .entry-content a,
body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__content a,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-link,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__history-link {
    color: var(--enosi-ui-link);
}

body .enosi-bridge :focus-visible {
    outline: 2px solid var(--enosi-ui-accent);
    outline-offset: 3px;
}

body .enosi-bridge > :first-child,
body .enosi-bridge article > :first-child,
body .enosi-bridge section > :first-child {
    margin-block-start: 0;
}

body .enosi-bridge > :last-child,
body .enosi-bridge article > :last-child,
body .enosi-bridge section > :last-child {
    margin-block-end: 0;
}

/* Shared layout and readable content widths */

body .enosi-bridge:not(.enosi-bridge--announcements-slider):not(.enosi-bridge--competitions-nav):not(.enosi-bridge--competition-tabs):not(.enosi-bridge--board) {
    width: min(1440px, calc(100vw - 48px));
    max-width: 100%;
    margin-inline: auto;
}

body .enosi-bridge--history,
body .enosi-bridge--article-detail,
body .enosi-bridge--announcement-detail {
    width: min(1120px, calc(100vw - 48px));
}

body .enosi-bridge__header {
    margin: 0 0 var(--enosi-ui-space-5);
    padding: 0 0 var(--enosi-ui-space-4);
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge__header h1,
body .enosi-bridge__header h2 {
    max-width: 22ch;
    margin: 0;
    color: inherit;
    font-size: clamp(2.3rem, 5vw, 5.25rem);
    font-weight: inherit;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* Feedback states */

body .enosi-bridge--message {
    width: min(760px, calc(100vw - 32px));
    margin: 24px auto;
    padding: 18px 20px;
    border: 1px solid var(--enosi-ui-border);
    border-left: 4px solid var(--enosi-ui-ink);
    border-radius: var(--enosi-ui-radius-sm);
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-ink);
    font-size: 0.95rem;
}

body .enosi-bridge--message.enosi-bridge--error {
    border-left-color: var(--enosi-ui-danger);
}

body .enosi-bridge--message.enosi-bridge--empty {
    border-left-color: var(--enosi-ui-subtle);
    color: var(--enosi-ui-muted);
}

/* Generic lists and information cards */

body .enosi-bridge .enosi-bridge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: var(--enosi-ui-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

body .enosi-bridge .enosi-bridge-list__item {
    min-width: 0;
    margin: 0;
    padding: var(--enosi-ui-space-4);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    list-style: none;
}

body .enosi-bridge .enosi-bridge-list__item h3 {
    margin: 0 0 var(--enosi-ui-space-2);
    color: inherit;
    font-size: clamp(1.18rem, 1.7vw, 1.5rem);
    font-weight: inherit;
    line-height: 1.18;
    text-wrap: balance;
}

body .enosi-bridge .enosi-bridge-list__item p {
    margin: var(--enosi-ui-space-2) 0 0;
    color: var(--enosi-ui-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

body .enosi-bridge .enosi-bridge-list__item a {
    text-decoration-thickness: 1px;
}

body .enosi-bridge .enosi-bridge-list__item:has(> a):hover,
body .enosi-bridge .enosi-bridge-list__item:has(article a):hover {
    border-color: var(--enosi-ui-border-strong);
}

body .enosi-bridge .enosi-bridge-list--sponsors {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

body .enosi-bridge .enosi-bridge-list--sponsors .enosi-bridge-list__item {
    display: grid;
    min-height: 190px;
    place-items: center;
    text-align: center;
}

body .enosi-bridge .enosi-bridge-list--sponsors img {
    width: 100%;
    height: 96px;
    object-fit: contain;
}

/* Shared document and press archives */

body :is(.enosi-bridge--press, .enosi-bridge--documents) {
    color: var(--enosi-ui-ink);
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__shell {
    position: relative;
    left: 50%;
    width: min(1520px, calc(100vw - 64px));
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__header {
    padding-block: clamp(28px, 4vw, 56px) clamp(32px, 3.5vw, 48px);
    border-bottom: 1px solid var(--enosi-ui-border);
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__eyebrow {
    margin: 0 0 14px;
    color: var(--enosi-ui-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__header h1 {
    max-width: 22ch;
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(2.35rem, 4.5vw, 4.5rem);
    font-weight: inherit;
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__header > p:last-child {
    max-width: 58ch;
    margin: 14px 0 0;
    color: var(--enosi-ui-muted);
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    line-height: 1.55;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    list-style: none;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) max-content;
    column-gap: clamp(18px, 2.6vw, 40px);
    align-items: center;
    min-height: 96px;
    padding-block: clamp(16px, 2vw, 24px);
    color: inherit;
    text-decoration: none;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__number,
body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__file-meta {
    color: var(--enosi-ui-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__number {
    align-self: start;
    padding-top: 0.48em;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__body h2 {
    max-width: 52ch;
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(1.2rem, 1.7vw, 1.65rem);
    font-weight: inherit;
    line-height: 1.27;
    text-wrap: balance;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__body p {
    max-width: 72ch;
    margin: 6px 0 0;
    color: var(--enosi-ui-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__file-meta {
    display: block;
    margin-top: 7px;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__open {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    align-self: center;
    color: var(--enosi-ui-link);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__open:hover,
body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__open:focus-visible {
    color: var(--enosi-ui-accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__empty {
    padding-block: clamp(48px, 8vw, 110px);
    text-align: center;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__empty h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: inherit;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__empty p {
    margin: 12px 0 0;
    color: var(--enosi-ui-muted);
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__pagination {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 32px;
    color: var(--enosi-ui-muted);
    font-size: 0.9rem;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__pagination-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 4px;
    color: var(--enosi-ui-link);
    text-decoration: none;
}

body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__pagination-link:hover {
    color: var(--enosi-ui-accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 680px) {
    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__shell {
        width: calc(100vw - 32px);
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__header {
        padding-block: 28px 30px;
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__header h1 {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__row {
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 4px;
        min-height: 0;
        padding-block: 20px;
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__number {
        padding-top: 0.4em;
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__body h2 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    body :is(.enosi-bridge--press, .enosi-bridge--documents) .enosi-bridge-file-archive__open {
        grid-column: 2;
        justify-self: start;
        justify-content: flex-start;
        margin-top: 2px;
    }
}

/* Definition lists, contact data and compact metadata */

body .enosi-bridge .enosi-bridge-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-border);
}

body .enosi-bridge .enosi-bridge-meta > div {
    min-width: 0;
    padding: 18px 20px;
    background: var(--enosi-ui-surface);
}

body .enosi-bridge .enosi-bridge-meta dt {
    margin: 0 0 5px;
    color: var(--enosi-ui-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

body .enosi-bridge .enosi-bridge-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--enosi-ui-ink);
    font-size: 1rem;
}

/* Tables */

body .enosi-bridge .enosi-bridge-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: auto;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    -webkit-overflow-scrolling: touch;
}

body .enosi-bridge .enosi-bridge-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    color: var(--enosi-ui-ink);
    font: inherit;
}

body .enosi-bridge .enosi-bridge-table th,
body .enosi-bridge .enosi-bridge-table td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    color: inherit;
    font-size: 0.88rem;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;
}

body .enosi-bridge .enosi-bridge-table thead th {
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

body .enosi-bridge .enosi-bridge-table tbody tr:last-child > * {
    border-bottom: 0;
}

body .enosi-bridge .enosi-bridge-table tbody tr:hover > * {
    background: rgba(244, 242, 237, 0.7);
}

/* Form controls */

body .enosi-bridge input[type="text"],
body .enosi-bridge input[type="search"],
body .enosi-bridge input[type="email"],
body .enosi-bridge select,
body .enosi-bridge textarea {
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    outline: 0;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    font: inherit;
    font-size: 0.94rem;
    box-shadow: none;
}

body .enosi-bridge textarea {
    min-height: 140px;
    padding-block: 12px;
    resize: vertical;
}

body .enosi-bridge input:focus,
body .enosi-bridge select:focus,
body .enosi-bridge textarea:focus {
    border-color: var(--enosi-ui-accent);
    box-shadow: 0 0 0 3px rgba(27, 27, 27, 0.08);
}

body .enosi-bridge .enosi-bridge-score {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3em;
    max-width: 100%;
    white-space: nowrap;
}

body .enosi-bridge .enosi-bridge-score__main {
    font: inherit;
    font-weight: 700;
}

body .enosi-bridge .enosi-bridge-score__penalties {
    font-size: 0.72em;
    font-weight: 500;
    opacity: 0.72;
}

body .enosi-bridge .enosi-bridge-score--stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
}

body .enosi-bridge button:not(.enosi-bridge-announcements-slider__button):not(.enosi-bridge-match-centre__tab),
body .enosi-bridge input[type="submit"],
body .enosi-bridge .enosi-bridge-people-directory__search-button,
body .enosi-bridge .enosi-bridge-players-archive__search-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid var(--enosi-ui-accent);
    border-radius: 999px;
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

body .enosi-bridge button:not(.enosi-bridge-announcements-slider__button):not(.enosi-bridge-match-centre__tab):hover,
body .enosi-bridge input[type="submit"]:hover,
body .enosi-bridge .enosi-bridge-people-directory__search-button:hover,
body .enosi-bridge .enosi-bridge-players-archive__search-button:hover {
    background: transparent;
    color: var(--enosi-ui-accent);
    transform: none;
}

/* FAQ, board and grouped content */

body .enosi-bridge--faq,
body .enosi-bridge--board,
body .enosi-bridge--useful-links {
    display: grid;
    gap: var(--enosi-ui-space-4);
}

body .enosi-bridge .enosi-bridge-group {
    margin: 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
}

body .enosi-bridge .enosi-bridge-group > h3 {
    margin: 0 0 var(--enosi-ui-space-4);
    color: inherit;
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
    font-weight: inherit;
    line-height: 1.1;
}

/* Board and committees: calm, consistent roster surfaces. All colors use
 * the per-installation Enosi Bridge palette from Settings > Styling. */
body .enosi-bridge.enosi-bridge--board {
    display: grid;
    width: min(1180px, calc(100vw - 48px));
    max-width: 100%;
    margin-inline: auto;
    padding-block: clamp(24px, 4vw, 56px);
    gap: var(--enosi-ui-space-5);
}

body .enosi-bridge--board .enosi-bridge-board__intro {
    display: grid;
    gap: var(--enosi-ui-space-2);
    margin: 0;
    padding: 0 0 var(--enosi-ui-space-4);
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--board .enosi-bridge-board__intro h2 {
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}

body .enosi-bridge--board .enosi-bridge-board__intro p {
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: 1rem;
    line-height: 1.6;
}

body .enosi-bridge--board .enosi-bridge-board__groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--enosi-ui-space-4);
    align-items: stretch;
}

body .enosi-bridge--board .enosi-bridge-board__group {
    min-width: 0;
    padding: clamp(20px, 2.8vw, 32px);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface-soft);
}

body .enosi-bridge--board .enosi-bridge-board__group--central {
    grid-column: 1 / -1;
    background: var(--enosi-ui-surface);
}

body .enosi-bridge--board .enosi-bridge-board__group > h3 {
    margin: 0 0 var(--enosi-ui-space-4);
    padding-bottom: var(--enosi-ui-space-3);
    border-bottom: 2px solid var(--enosi-ui-accent);
    color: var(--enosi-ui-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.3;
}

body .enosi-bridge--board .enosi-bridge-board__members {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--enosi-ui-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

body .enosi-bridge--board .enosi-bridge-board__group--central .enosi-bridge-board__members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--enosi-ui-space-3);
}

body .enosi-bridge--board .enosi-bridge-board__member {
    display: grid;
    align-content: center;
    gap: var(--enosi-ui-space-1);
    min-height: 86px;
    padding: var(--enosi-ui-space-3) var(--enosi-ui-space-4);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--board .enosi-bridge-board__role {
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .enosi-bridge--board .enosi-bridge-board__name {
    display: block;
    color: var(--enosi-ui-ink);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body .enosi-bridge--board .enosi-bridge-board__state {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: var(--enosi-ui-space-5);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface-soft);
    text-align: center;
}

body .enosi-bridge--board .enosi-bridge-board__state p {
    max-width: 38rem;
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    body .enosi-bridge--board .enosi-bridge-board__members,
    body .enosi-bridge--board .enosi-bridge-board__group--central .enosi-bridge-board__members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body .enosi-bridge--board {
        gap: var(--enosi-ui-space-4);
    }

    body .enosi-bridge--board .enosi-bridge-board__groups,
    body .enosi-bridge--board .enosi-bridge-board__members,
    body .enosi-bridge--board .enosi-bridge-board__group--central .enosi-bridge-board__members {
        grid-template-columns: minmax(0, 1fr);
    }

    body .enosi-bridge--board .enosi-bridge-board__group--central {
        grid-column: auto;
    }

    body .enosi-bridge--board .enosi-bridge-board__member {
        min-height: 0;
    }
}

body .enosi-bridge--faq details {
    margin: 0;
    border-top: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--faq details:last-child {
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--faq summary {
    position: relative;
    padding: 18px 44px 18px 0;
    color: var(--enosi-ui-ink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

body .enosi-bridge--faq summary::-webkit-details-marker {
    display: none;
}

body .enosi-bridge--faq summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 10px;
    height: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-70%) rotate(45deg);
}

body .enosi-bridge--faq details[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
}

body .enosi-bridge--faq details > div {
    max-width: 72ch;
    padding: 0 40px 20px 0;
    color: var(--enosi-ui-muted);
}

/* Galleries and long-form copy */

body .enosi-bridge .enosi-bridge-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--enosi-ui-space-3);
    margin: var(--enosi-ui-space-5) 0 0;
    padding: 0;
    list-style: none;
}

body .enosi-bridge .enosi-bridge-gallery li {
    margin: 0;
    overflow: hidden;
    border-radius: var(--enosi-ui-radius);
    list-style: none;
}

body .enosi-bridge .enosi-bridge-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body .enosi-bridge--history,
body .enosi-bridge .enosi-bridge-article__content {
    color: var(--enosi-ui-ink);
    font-size: clamp(1rem, 1.2vw, 1.08rem);
    line-height: 1.85;
}

body .enosi-bridge--history > *,
body .enosi-bridge .enosi-bridge-article__content > * {
    max-width: 76ch;
    margin-inline: auto;
}

body .enosi-bridge--history h2,
body .enosi-bridge--history h3,
body .enosi-bridge .enosi-bridge-article__content h2,
body .enosi-bridge .enosi-bridge-article__content h3 {
    margin-top: 1.8em;
    color: inherit;
    font-weight: inherit;
    line-height: 1.15;
}

/* App editor content: keep authored inline alignment and semantic formatting. */
body .enosi-bridge-rich-text {
    display: flow-root;
    overflow-wrap: anywhere;
}

body .enosi-bridge-rich-text strong { font-weight: 700; }
body .enosi-bridge-rich-text em { font-style: italic; }
body .enosi-bridge-rich-text u { text-decoration: underline; }
body .enosi-bridge-rich-text ul { list-style: disc outside; padding-inline-start: 2em; }
body .enosi-bridge-rich-text ol { list-style: decimal outside; padding-inline-start: 2em; }
body .enosi-bridge-rich-text li { display: list-item; }
body .enosi-bridge-rich-text blockquote {
    border-inline-start: 4px solid currentColor;
    padding-inline: 1.5em;
    margin-block: 1em;
    font-style: italic;
}

body .enosi-bridge-rich-text figure.image {
    display: table;
    clear: both;
    max-width: 100%;
    margin: 1em auto;
}
body .enosi-bridge-rich-text img { max-width: 100%; height: auto; }
body .enosi-bridge-rich-text figure.image img { display: block; margin-inline: auto; }
body .enosi-bridge-rich-text figure.image-style-side {
    float: right;
    clear: none;
    max-width: 50%;
    margin-inline: 1.5em 0;
}
body .enosi-bridge-rich-text figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    padding: .6em;
    text-align: center;
    font-size: .875em;
}
body .enosi-bridge-rich-text figure.table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    margin-block: 1em;
}
body .enosi-bridge-rich-text figure.table table {
    width: 100%;
    border-collapse: collapse;
}
body .enosi-bridge-rich-text figure.table th,
body .enosi-bridge-rich-text figure.table td {
    border: 1px solid #bfbfbf;
    padding: .4em;
}

/* People and player directories */

body .enosi-bridge--people-directory .enosi-bridge-people-directory,
body .enosi-bridge--players .enosi-bridge-players-archive {
    gap: var(--enosi-ui-space-4);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__toolbar,
body .enosi-bridge--players .enosi-bridge-players-archive__toolbar {
    padding: 20px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface-soft);
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__eyebrow,
body .enosi-bridge--players .enosi-bridge-players-archive__eyebrow {
    color: var(--enosi-ui-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__summary,
body .enosi-bridge--players .enosi-bridge-players-archive__summary {
    color: var(--enosi-ui-ink);
    font-size: 1rem;
    font-weight: 600;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__page-meta,
body .enosi-bridge--players .enosi-bridge-players-archive__page-meta {
    color: var(--enosi-ui-muted);
    font-size: 0.82rem;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__surface {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--enosi-ui-radius);
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__table thead th,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table thead th,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__history-table thead th {
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody td,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody td,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__history-table tbody td {
    padding: 12px 14px;
    color: var(--enosi-ui-ink);
    font-size: 0.88rem;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__pagination-link,
body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link,
body .enosi-bridge--people-directory .enosi-bridge-people-directory__pagination-ellipsis,
body .enosi-bridge--players .enosi-bridge-players-archive__pagination-ellipsis {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 999px;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__pagination-link.is-active,
body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link.is-active {
    border-color: var(--enosi-ui-accent);
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
    box-shadow: none;
}

/* Referee directory: the same open rhythm as the public file archives. */

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees {
    position: relative;
    left: 50%;
    width: min(1520px, calc(100vw - 64px));
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
    gap: 0;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(24px, 4vw, 64px);
    align-items: end;
    padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 3.5vw, 48px);
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__eyebrow {
    margin: 0 0 14px;
    color: var(--enosi-ui-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__title {
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(2.35rem, 4.5vw, 4.5rem);
    font-weight: inherit;
    line-height: 1.04;
    text-wrap: balance;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__description {
    margin: 14px 0 0;
    color: var(--enosi-ui-muted);
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    line-height: 1.55;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__summary {
    margin-top: 22px;
    color: var(--enosi-ui-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__page-meta {
    margin-top: 3px;
    color: var(--enosi-ui-muted);
    font-size: 0.82rem;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__search-label {
    color: var(--enosi-ui-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__search-input {
    min-height: 48px;
    border: 1px solid var(--enosi-ui-border-strong);
    border-radius: 0;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__search-button {
    min-height: 48px;
    border: 1px solid var(--enosi-ui-accent);
    border-radius: 0;
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__clear-button {
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-link);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__surface {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table {
    min-width: 1160px;
    border-collapse: collapse;
    border-spacing: 0;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table thead th {
    padding: 14px 10px;
    border-bottom: 1px solid var(--enosi-ui-border-strong);
    background: transparent;
    color: var(--enosi-ui-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody td {
    padding: 17px 10px;
    border-bottom: 1px solid var(--enosi-ui-border);
    background: transparent;
    color: var(--enosi-ui-ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody tr:nth-child(even) td {
    background: transparent;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__name-link,
body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__name-text {
    color: var(--enosi-ui-link);
    font-weight: 700;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__name-link:hover,
body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__name-link:focus-visible {
    color: var(--enosi-ui-accent);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__status-badge {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__status-badge.is-active {
    color: var(--enosi-ui-success);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__status-badge.is-inactive {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__empty {
    padding: 32px 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__pagination {
    padding-top: 20px;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__pagination-link,
body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__pagination-ellipsis {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-link);
    box-shadow: none;
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__pagination-link.is-active {
    border-bottom: 2px solid var(--enosi-ui-accent);
    background: transparent;
    color: var(--enosi-ui-accent);
}

@media (max-width: 900px) {
    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__toolbar {
        grid-template-columns: 1fr;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table,
    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody {
        gap: 0;
        min-width: 0;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody tr {
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid var(--enosi-ui-border);
        border-radius: 0;
        background: transparent;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody td {
        padding: 5px 0;
        border: 0;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody td:first-child {
        font-size: 1.08rem;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__table tbody td:first-child::before {
        display: none;
    }
}

@media (max-width: 680px) {
    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees {
        width: calc(100vw - 32px);
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__toolbar {
        padding-block: 28px 30px;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory--referees .enosi-bridge-people-directory__title {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }
}

body .enosi-bridge--players .enosi-bridge-players-archive__table {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table thead th {
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td {
    padding: 12px 14px;
    color: var(--enosi-ui-ink);
    font-size: 0.88rem;
}

/* Player, person and team profiles */

body .enosi-bridge--person-detail .enosi-bridge-person-profile,
body .enosi-bridge--player-detail .enosi-bridge-player-profile,
body .enosi-bridge--team-detail .enosi-bridge-team-profile {
    gap: var(--enosi-ui-space-4);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__hero,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__hero,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__hero {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-lg);
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-ink);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__hero {
    padding: 28px 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__hero::before,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__hero::before,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__hero::before {
    display: none;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__avatar-shell,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__avatar-shell,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-shell {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-shell {
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__avatar,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__avatar,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__title,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__title,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__title {
    color: var(--enosi-ui-ink);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__eyebrow,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__chip,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__chip,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__eyebrow {
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__chip,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__chip {
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 999px;
    background: var(--enosi-ui-surface);
    font-size: 0.76rem;
    font-weight: 600;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__panel,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__panel,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__panel,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__section {
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section {
    padding: 30px 0 38px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__section-title,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-title,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-title {
    color: var(--enosi-ui-ink);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: inherit;
    letter-spacing: -0.02em;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__meta-card,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__stat-card,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-item,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__player-stat {
    min-height: 0;
    padding: 16px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    background: var(--enosi-ui-surface-soft);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-grid {
    gap: 0 36px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section--info {
    padding-top: 8px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-item {
    padding: 16px 0;
    border: 0;
    border-top: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__stat-value,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-value {
    color: var(--enosi-ui-ink);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__meta-label,
body .enosi-bridge--person-detail .enosi-bridge-person-profile__stat-label,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-label {
    color: var(--enosi-ui-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-accent,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-warning,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-danger,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-muted {
    background: var(--enosi-ui-surface-soft);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-warning {
    border-color: var(--enosi-ui-warning);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card.is-danger {
    border-color: var(--enosi-ui-danger);
}

/* Styling Studio: per-shortcode overrides */

.enosi-shortcode-scope {
    display: contents;
}

body .enosi-shortcode-scope--layout > .enosi-bridge {
    width: min(100%, var(--enosi-studio-max-width, 1180px));
    max-width: var(--enosi-studio-max-width, 1180px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: var(--enosi-studio-outer-padding, 0) !important;
    row-gap: var(--enosi-studio-section-gap, 28px);
    text-align: var(--enosi-studio-text-align, left);
}

body .enosi-shortcode-scope--typography > .enosi-bridge {
    color: var(--enosi-studio-body-color, var(--enosi-ui-ink));
    font-family: var(--enosi-studio-font-family, inherit);
}

body .enosi-shortcode-scope--typography > .enosi-bridge :where(h1, [class$="__title"]:first-of-type) {
    color: var(--enosi-studio-title-color, var(--enosi-ui-ink)) !important;
    font-size: var(--enosi-studio-title-size, 56px) !important;
}

body .enosi-shortcode-scope--typography > .enosi-bridge :where(h2, h3) {
    color: var(--enosi-studio-title-color, var(--enosi-ui-ink));
    font-size: var(--enosi-studio-heading-size, 28px);
}

body .enosi-shortcode-scope--typography > .enosi-bridge :where(a) {
    --enosi-ui-link: var(--enosi-studio-accent-color, var(--enosi-ui-accent));
}

body .enosi-shortcode-scope--hero > .enosi-bridge :where([class$="__hero"], [class*="__hero "], header:first-child) {
    padding: var(--enosi-studio-hero-padding, 28px) !important;
    border-color: var(--enosi-studio-hero-border-color, var(--enosi-ui-border));
    border-width: var(--enosi-studio-hero-border-width, 0);
    border-radius: var(--enosi-studio-hero-radius, 0);
    background: var(--enosi-studio-hero-background, transparent);
    box-shadow: var(--enosi-studio-hero-shadow, none);
}

body .enosi-shortcode-scope--hero > .enosi-bridge :where([class*="__eyebrow"], [class*="__kicker"]) {
    display: var(--enosi-studio-eyebrow-display, block);
    color: var(--enosi-studio-accent-color, var(--enosi-ui-accent));
}

body .enosi-shortcode-scope--sections > .enosi-bridge :where([class$="__panel"], [class*="__panel "], [class$="__card"], [class*="__card "]) {
    padding: var(--enosi-studio-section-padding, 24px) !important;
    border-color: var(--enosi-studio-section-border-color, var(--enosi-ui-border));
    border-width: var(--enosi-studio-section-border-width, 1px);
    border-radius: var(--enosi-studio-section-radius, 10px);
    background-color: var(--enosi-studio-surface-background, var(--enosi-ui-surface));
    box-shadow: var(--enosi-studio-section-shadow, none);
}

body .enosi-shortcode-scope--buttons > .enosi-bridge :where(button, input[type="button"], input[type="submit"], a[class$="__button"], a[class*="__button "]) {
    padding: var(--enosi-studio-button-padding-y, 10px) var(--enosi-studio-button-padding-x, 18px) !important;
    border-color: var(--enosi-studio-button-border, var(--enosi-ui-accent)) !important;
    border-radius: var(--enosi-studio-button-radius, 999px) !important;
    background-color: var(--enosi-studio-button-background, var(--enosi-ui-accent)) !important;
    color: var(--enosi-studio-button-text, var(--enosi-ui-accent-contrast)) !important;
}

body .enosi-shortcode-scope--data > .enosi-bridge :where(table thead th) {
    background-color: var(--enosi-studio-table-header, var(--enosi-ui-surface-soft));
}

body .enosi-shortcode-scope--data > .enosi-bridge :where(table tbody td) {
    background-color: var(--enosi-studio-table-row, var(--enosi-ui-surface));
}

body .enosi-shortcode-scope--data > .enosi-bridge :where(input:not([type="button"]):not([type="submit"]), select, textarea) {
    border-color: var(--enosi-studio-control-border, var(--enosi-ui-border)) !important;
    border-radius: var(--enosi-studio-control-radius, 6px) !important;
    background-color: var(--enosi-studio-control-background, var(--enosi-ui-surface)) !important;
}

body .enosi-shortcode-scope--media > .enosi-bridge img {
    display: var(--enosi-studio-image-display, revert);
    border-radius: var(--enosi-studio-image-radius, 0) !important;
    object-fit: var(--enosi-studio-image-fit, cover);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__result-badge.is-success {
    color: var(--enosi-ui-success);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__result-badge.is-danger {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__status-badge.is-active {
    color: var(--enosi-ui-success);
}

body .enosi-bridge--people-directory .enosi-bridge-people-directory__status-badge.is-inactive {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-wrap,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__history-wrap {
    overflow: auto;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-group-title {
    color: var(--enosi-ui-ink);
    font-size: 1rem;
    font-weight: 600;
}

body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-link,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__history-link {
    color: var(--enosi-ui-link);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-fallback {
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__subtitle,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-copy,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-label,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-label,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-match-meta,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__player-stat-meta {
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__meta-item,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-form,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__document a {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-form {
    justify-content: flex-end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-toolbar.is-filter-only {
    justify-content: flex-end;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-sheet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    justify-self: end;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 50%;
    color: var(--enosi-ui-link);
    text-decoration: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-sheet svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-sheet:hover {
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-sheet:focus-visible {
    outline: 2px solid var(--enosi-ui-accent);
    outline-offset: 3px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar {
    min-height: 76px;
    padding-top: 18px;
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-form {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-bottom: 12px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-control {
    gap: 12px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-select {
    min-width: 136px;
    min-height: 38px;
    border-radius: var(--enosi-ui-radius-sm);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__stats-tabs {
    flex: 1 1 auto;
    padding-top: 12px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs {
    justify-content: flex-end;
    gap: 30px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab {
    position: relative;
    min-height: 42px;
    padding: 0 0 12px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--enosi-ui-muted) !important;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: none !important;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab:hover,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab:focus-visible,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab:hover,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab:focus-visible {
    border: 0 !important;
    background: transparent !important;
    color: var(--enosi-ui-ink) !important;
    box-shadow: none !important;
    transform: none;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab.is-active,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab.is-active {
    border: 0 !important;
    background: transparent !important;
    color: var(--enosi-ui-accent) !important;
    box-shadow: none !important;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab.is-active::after,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--enosi-ui-accent);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__table-wrap {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table th {
    padding: 11px 12px;
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table td {
    padding: 11px 12px;
    color: var(--enosi-ui-ink);
    font-size: 0.84rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs {
    justify-content: flex-end;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-table-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-table-count {
    color: var(--enosi-ui-muted);
    font-size: 0.76rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table {
    min-width: 820px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table th.is-numeric,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td.is-numeric {
    width: 8%;
    text-align: center;
    white-space: nowrap;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table th:first-child {
    width: 36%;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td {
    height: 56px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__summary-competition,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__summary-competition-meta {
    display: block;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__summary-competition {
    color: var(--enosi-ui-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__summary-competition-meta {
    margin-top: 3px;
    color: var(--enosi-ui-muted);
    font-size: 0.72rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table td.is-strong {
    color: var(--enosi-ui-ink);
    font-weight: 800;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__card-mark {
    display: inline-block;
    width: 8px;
    height: 13px;
    margin-right: 6px;
    border-radius: 1px;
    vertical-align: -2px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__card-mark.is-yellow {
    background: #d5a719;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__card-mark.is-red {
    background: #b82f36;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__player-stat {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail a.enosi-bridge-team-profile__player-stat-name.is-link {
    color: var(--enosi-ui-link);
    text-decoration: none;
}

body .enosi-bridge--team-detail a.enosi-bridge-team-profile__player-stat-name.is-link:hover,
body .enosi-bridge--team-detail a.enosi-bridge-team-profile__player-stat-name.is-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-count {
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-result,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-count,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__summary-value {
    min-width: 48px;
    min-height: 30px;
    border-radius: 999px;
    background: var(--enosi-ui-score-background);
    color: var(--enosi-ui-score-text);
    font-size: 0.82rem;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-count {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-ink);
    font-size: inherit;
}

/* Team directory */

body .enosi-bridge--teams .enosi-bridge-teams-archive__grid {
    gap: var(--enosi-ui-space-3);
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__card {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__card:hover {
    border-color: var(--enosi-ui-border-strong);
    transform: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__link {
    padding: 20px;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__logo-shell {
    min-height: 112px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__title {
    color: var(--enosi-ui-ink);
    font-size: 1.1rem;
    font-weight: inherit;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__meta,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field {
    color: var(--enosi-ui-muted);
    font-size: 0.78rem;
}

/* Matches, live scores and fixtures */

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__surface,
body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-matches-archive__surface {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__item,
body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-match-centre__item,
body .enosi-bridge--live-scores .enosi-bridge-live-scores__game {
    padding: 16px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__item:hover,
body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-match-centre__item:hover {
    border-color: var(--enosi-ui-border-strong);
    transform: none;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__filter-chip,
body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-matches-archive__filter-chip {
    min-height: 40px;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 999px;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-muted);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: none;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__filter-chip.is-active,
body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-matches-archive__filter-chip.is-active {
    border-color: var(--enosi-ui-accent);
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
    box-shadow: none;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__title {
    color: var(--enosi-ui-ink);
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-weight: inherit;
}

body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__eyebrow,
body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__filter-label {
    color: var(--enosi-ui-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

body .enosi-bridge--live-scores .enosi-bridge-live-scores__game {
    border-color: var(--enosi-ui-border);
}

body .enosi-bridge--live-scores .enosi-bridge-live-scores__events {
    border-color: var(--enosi-ui-border);
}

body .enosi-bridge--live-scores .enosi-bridge-live-scores__eyebrow,
body .enosi-bridge--live-scores .enosi-bridge-live-scores__state strong {
    color: var(--enosi-ui-live);
}

body .enosi-bridge--live-scores .enosi-bridge-live-scores__score strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--enosi-ui-score-background);
    color: var(--enosi-ui-score-text);
}

/* Competition pages */

body .enosi-bridge--competitions-nav .enosi-bridge-competition-nav__group {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--competition-tabs .enosi-bridge-competition__panel {
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius);
    background: var(--enosi-ui-surface-soft);
    box-shadow: none;
}

body .enosi-bridge--competitions-nav .enosi-bridge-competition-nav__card {
    min-height: 158px;
    border-color: var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    box-shadow: none;
}

body .enosi-bridge--competitions-nav .enosi-bridge-competition-nav__card:hover {
    border-color: var(--enosi-ui-border-strong);
}

body .enosi-bridge--competition-tabs .enosi-bridge-tabs,
body .enosi-bridge--competition-tabs .enosi-bridge-pills {
    border-color: var(--enosi-ui-border);
}

body .enosi-bridge--competition-tabs .enosi-bridge-round,
body .enosi-bridge--competition-tabs .enosi-bridge-game--fixture,
body .enosi-bridge--competition-tabs .enosi-bridge-results-matrix__wrap {
    border-color: var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-sm);
    box-shadow: none;
}

/* Match sheet */

body .enosi-bridge--match-sheet {
    --enosi-sheet-border: var(--enosi-ui-border);
    --enosi-sheet-border-strong: var(--enosi-ui-border-strong);
    --enosi-sheet-text: var(--enosi-ui-ink);
    --enosi-sheet-muted: var(--enosi-ui-muted);
    --enosi-sheet-blue: var(--enosi-ui-accent);
    --enosi-sheet-blue-dark: var(--enosi-ui-match-hero);
    --enosi-sheet-gold: var(--enosi-ui-warning);
    --enosi-sheet-blue-soft: var(--enosi-ui-surface-muted);
    --enosi-sheet-blue-soft-2: var(--enosi-ui-surface-soft);
    --enosi-sheet-surface: var(--enosi-ui-surface);
    --enosi-sheet-surface-alt: var(--enosi-ui-surface-soft);
    --enosi-sheet-shadow: none;
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--enosi-ui-border);
    border-radius: var(--enosi-ui-radius-lg);
    background: var(--enosi-ui-match-hero);
    color: var(--enosi-ui-match-hero-text);
    box-shadow: none;
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero::after {
    display: none;
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero h1,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero h2,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero h3,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero p,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero span,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__hero strong {
    color: var(--enosi-ui-match-hero-text);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__panel,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__lineup-card,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__timeline-body {
    border-radius: var(--enosi-ui-radius);
    box-shadow: none;
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__panel {
    padding: 20px;
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__icon-card--yellow {
    background: var(--enosi-ui-warning);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__icon-card--red {
    background: var(--enosi-ui-danger);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__icon-arrow--out {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__icon-arrow--in {
    color: var(--enosi-ui-success);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__event-badge--goal,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__inline-badge--goal {
    color: var(--enosi-ui-success);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__event-badge--penalty,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__inline-badge--penalty,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__event-badge--yellow,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__inline-badge--yellow {
    color: var(--enosi-ui-warning);
}

body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__event-badge--own-goal,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__inline-badge--own-goal,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__event-badge--red,
body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__inline-badge--red {
    color: var(--enosi-ui-danger);
}

/* Announcement archive/detail: flat information surfaces */

body .enosi-bridge--announcements-archive .enosi-bridge-announcements-archive__featured-card,
body .enosi-bridge--announcements-archive .enosi-bridge-announcements-archive__card {
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body .enosi-bridge--announcements-archive .enosi-bridge-announcements-archive__card:hover {
    border-bottom-color: var(--enosi-ui-border-strong);
    transform: none;
}

body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__related-item {
    border: 0;
    border-top: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__related-item:hover {
    border-top-color: var(--enosi-ui-border-strong);
    transform: none;
}

body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__header {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__content {
    max-width: 76ch;
    margin-inline: auto;
    color: var(--enosi-ui-ink);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    body .enosi-bridge *,
    body .enosi-bridge *::before,
    body .enosi-bridge *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 900px) {
    body .enosi-bridge:not(.enosi-bridge--announcements-slider):not(.enosi-bridge--competitions-nav):not(.enosi-bridge--competition-tabs) {
        width: min(100%, calc(100vw - 32px));
    }

    body .enosi-bridge .enosi-bridge-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .enosi-bridge button,
    body .enosi-bridge input,
    body .enosi-bridge select,
    body .enosi-bridge textarea {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    body .enosi-bridge {
        --enosi-ui-space-4: 18px;
        --enosi-ui-space-5: 24px;
        --enosi-ui-space-6: 32px;
    }

    body .enosi-bridge:not(.enosi-bridge--announcements-slider):not(.enosi-bridge--competitions-nav):not(.enosi-bridge--competition-tabs) {
        width: min(100%, calc(100vw - 24px));
    }

    body .enosi-bridge .enosi-bridge-list {
        grid-template-columns: 1fr;
    }

    body .enosi-bridge h1,
    body .enosi-bridge h2,
    body .enosi-bridge h3,
    body .enosi-bridge h4,
    body .enosi-bridge p,
    body .enosi-bridge a,
    body .enosi-bridge button,
    body .enosi-bridge td,
    body .enosi-bridge th {
        overflow-wrap: anywhere;
    }

    body .enosi-bridge button,
    body .enosi-bridge [role="button"],
    body .enosi-bridge summary,
    body .enosi-bridge select,
    body .enosi-bridge input[type="submit"],
    body .enosi-bridge input[type="button"] {
        min-height: 44px;
    }

    body .enosi-bridge input,
    body .enosi-bridge select,
    body .enosi-bridge textarea {
        font-size: 16px;
    }

    body .enosi-bridge .enosi-bridge-list__item,
    body .enosi-bridge .enosi-bridge-group,
    body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__panel {
        padding: 16px;
    }

    body .enosi-bridge__header h1,
    body .enosi-bridge__header h2 {
        font-size: clamp(2.1rem, 13vw, 3.6rem);
    }

    body .enosi-bridge .enosi-bridge-meta {
        grid-template-columns: 1fr;
    }

    body .enosi-bridge .enosi-bridge-table th,
    body .enosi-bridge .enosi-bridge-table td {
        padding: 10px 12px;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__toolbar,
    body .enosi-bridge--players .enosi-bridge-players-archive__toolbar {
        padding: 16px;
    }

    body .enosi-bridge--recent-upcoming-matches .enosi-bridge-match-centre__surface,
    body .enosi-bridge--recent-upcoming-matches-archive .enosi-bridge-matches-archive__surface {
        padding: 0;
    }

    body .enosi-bridge .enosi-bridge-table-wrap,
    body .enosi-bridge--competition-tabs .enosi-bridge-tabs,
    body .enosi-bridge--competition-tabs .enosi-bridge-pills {
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 12px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__surface {
        overflow: visible;
    }

    body .enosi-bridge--people-directory .enosi-bridge-table-wrap {
        overflow: visible;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table,
    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody,
    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tr,
    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table {
        display: grid;
        gap: 10px;
        background: transparent;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody {
        display: grid;
        gap: 10px;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody tr {
        padding: 14px 16px 10px;
        border: 1px solid var(--enosi-ui-border);
        border-radius: var(--enosi-ui-radius-sm);
        background: var(--enosi-ui-surface);
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody td {
        padding: 6px 0;
        border: 0;
        background: transparent;
    }

    body .enosi-bridge--people-directory .enosi-bridge-people-directory__table tbody td::before,
    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--enosi-ui-muted);
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.04em;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table,
    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody,
    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tr,
    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody {
        display: grid;
        gap: 10px;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody tr {
        padding: 14px 16px 10px;
        border: 1px solid var(--enosi-ui-border);
        border-radius: var(--enosi-ui-radius-sm);
        background: var(--enosi-ui-surface);
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__history-table tbody td {
        padding: 6px 0;
        border: 0;
        background: transparent;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__stats-grid,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body .enosi-bridge--person-detail .enosi-bridge-person-profile__stat-card,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-card {
        padding: 13px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs {
        display: flex;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: inline proximity;
        -webkit-overflow-scrolling: touch;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tab,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tab {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    body .enosi-bridge--competition-tabs .enosi-bridge-competition__hero h2 {
        font-size: clamp(2.5rem, 14vw, 3.8rem);
        line-height: 0.95;
    }

    body .enosi-bridge--competition-tabs .enosi-bridge-pills,
    body .enosi-bridge--competition-tabs .enosi-bridge-tabs {
        gap: 18px;
    }

    body .enosi-bridge--competition-tabs .enosi-bridge-game__team strong {
        hyphens: auto;
        line-height: 1.25;
    }

    body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__meta-grid {
        grid-template-columns: 1fr;
    }

    body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__lineup-wrap,
    body .enosi-bridge--match-sheet .enosi-bridge-match-sheet__table-wrap {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body .enosi-bridge--announcements-archive .enosi-bridge-announcements-archive__featured-card-body,
    body .enosi-bridge--announcements-archive .enosi-bridge-announcements-archive__card-body {
        padding: 0;
    }
}

@media (max-width: 420px) {
    body .enosi-bridge:not(.enosi-bridge--announcements-slider):not(.enosi-bridge--competitions-nav):not(.enosi-bridge--competition-tabs) {
        width: min(100%, calc(100vw - 20px));
    }

    body .enosi-bridge--competitions-nav .enosi-bridge-competition-nav__card {
        min-height: 112px;
        padding: 17px;
    }

    body .enosi-bridge--competitions-nav .enosi-bridge-competition-nav__arrow {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    body .enosi-bridge--announcement-detail .enosi-bridge-announcement-detail__content {
        font-size: 1rem;
        line-height: 1.72;
    }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__slide {
        padding: 18px 20px;
    }

    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__content {
        gap: 8px;
        padding-bottom: 66px;
    }

    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__title {
        max-width: 22ch;
        font-size: clamp(1.35rem, 5vw, 2.1rem);
    }

    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__excerpt {
        max-width: 54ch;
        -webkit-line-clamp: 2;
    }

    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__link {
        min-height: 44px;
    }

    body .enosi-bridge--announcements-slider .enosi-bridge-announcements-slider__controls {
        right: 18px;
        bottom: 14px;
    }
}

@media (max-width: 640px) {
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar {
        gap: 0;
        min-height: 0;
        padding-top: 16px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-form {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 6px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-control {
        display: flex;
        width: auto;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-select {
        width: auto;
        min-width: 136px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tab,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tab {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table {
        display: table;
        width: 100%;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table {
        min-width: 820px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table {
        min-width: 680px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table thead,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table thead {
        display: table-header-group;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table tbody,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table tbody {
        display: table-row-group;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table tr,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table tr {
        display: table-row;
        padding: 0;
        border: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td {
        display: table-cell;
        width: auto;
        padding: 11px 12px;
        border-bottom: 1px solid var(--enosi-ui-border);
        background: transparent;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td::before,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td::before {
        display: none;
        content: none;
    }
}

/* Approved club directory and club profile: flat, fluid and site-palette driven. */
body .enosi-bridge--teams,
body .enosi-bridge--team-detail {
    width: min(1520px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin-left: 50% !important;
    margin-right: 0 !important;
    transform: translateX(-50%);
}

body .enosi-bridge--teams [hidden],
body .enosi-bridge--team-detail [hidden] {
    display: none !important;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__header {
    padding-block: clamp(28px, 4vw, 56px) 30px;
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__eyebrow,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__eyebrow {
    color: var(--enosi-ui-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__heading {
    margin: 10px 0 14px;
    color: var(--enosi-ui-ink);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: inherit;
    line-height: 1;
    letter-spacing: -.035em;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__intro {
    max-width: 68ch;
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: 1rem;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 440px) 1fr;
    gap: 8px 24px;
    align-items: end;
    padding-bottom: 24px;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__search-label {
    grid-column: 1;
    color: var(--enosi-ui-muted);
    font-size: .75rem;
    font-weight: 700;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__search {
    grid-column: 1;
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 1px solid var(--enosi-ui-border-strong);
    border-radius: 0;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    font: inherit;
    box-shadow: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__sort {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding-bottom: 14px;
    color: var(--enosi-ui-muted);
    font-size: .8rem;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__count {
    margin: 20px 0 14px;
    color: var(--enosi-ui-muted);
    font-size: .8rem;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__grid {
    display: grid;
    grid-template-columns: repeat(var(--enosi-bridge-teams-columns, 3), minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 34px);
    row-gap: 0;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__card[hidden] {
    display: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__card {
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 16px;
    min-height: 112px;
    height: 100%;
    padding: 18px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__logo-shell {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    min-height: 0;
    padding: 3px;
    border: 0;
    border-radius: 0;
    background: var(--enosi-ui-surface);
    box-shadow: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__logo {
    width: 100%;
    height: 100%;
    max-height: 58px;
    object-fit: contain;
    filter: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__logo-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__body,
body .enosi-bridge--teams .enosi-bridge-teams-archive__identity {
    display: grid;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__title {
    display: block;
    min-height: 0;
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(.94rem, 1.1vw, 1.12rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    overflow-wrap: anywhere;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__title a,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field-value a {
    color: inherit;
    text-decoration: none;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__title a:hover,
body .enosi-bridge--teams .enosi-bridge-teams-archive__title a:focus-visible,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field-value a:hover {
    color: var(--enosi-ui-link);
    text-decoration: underline;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__meta,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: .76rem;
    line-height: 1.4;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__meta-label,
body .enosi-bridge--teams .enosi-bridge-teams-archive__meta-value,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field-label,
body .enosi-bridge--teams .enosi-bridge-teams-archive__field-value {
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: 0;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    justify-self: end;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__card:hover .enosi-bridge-teams-archive__arrow,
body .enosi-bridge--teams .enosi-bridge-teams-archive__card:focus-within .enosi-bridge-teams-archive__arrow {
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
    transform: translateX(2px);
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__arrow:focus-visible {
    outline: 2px solid var(--enosi-ui-accent);
    outline-offset: 3px;
}

body .enosi-bridge--teams .enosi-bridge-teams-archive__empty {
    padding: 24px 0;
    border-top: 1px solid var(--enosi-ui-border);
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

body .enosi-bridge--team-detail :is(.enosi-bridge-team-profile__tabs-wrap, .enosi-bridge-team-profile__panels, .enosi-bridge-team-profile__panel, .enosi-bridge-team-profile__heading, .enosi-bridge-team-profile__section-toolbar, .enosi-bridge-team-profile__fixture-list, .enosi-bridge-team-profile__fixture-group) {
    min-width: 0;
    max-width: 100%;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__panels {
    grid-template-columns: minmax(0, 1fr);
}

body .enosi-bridge--team-detail :is(.enosi-bridge-team-profile__section, .enosi-bridge-team-profile__fixture-groups, .enosi-bridge-team-profile__fixture-group, .enosi-bridge-team-profile__stats-shell, .enosi-bridge-team-profile__stats-panels) {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: clamp(28px, 4vw, 52px) 0 28px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__identity {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    text-align: left;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__back {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 5px 0;
    border-bottom: 1px solid var(--enosi-ui-border-strong);
    color: var(--enosi-ui-link);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__back:hover,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__back:focus-visible {
    border-color: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-shell {
    width: 92px;
    height: 92px;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo {
    width: 100%;
    height: 100%;
    max-height: 92px;
    object-fit: contain;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-fallback {
    width: 80px;
    height: 80px;
    border-radius: 0;
    background: var(--enosi-ui-surface-soft);
    color: var(--enosi-ui-muted);
    font-size: 1.4rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__heading {
    gap: 5px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: inherit;
    line-height: 1.05;
    letter-spacing: -.035em;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__subtitle {
    color: var(--enosi-ui-muted);
    font-size: .93rem;
    overflow-wrap: anywhere;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs-wrap {
    position: static;
    z-index: auto;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs {
    justify-content: flex-start;
    gap: clamp(18px, 3vw, 42px);
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab {
    min-height: 54px;
    padding: 10px 0;
    color: var(--enosi-ui-muted) !important;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab.is-active,
body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab.is-active {
    color: var(--enosi-ui-accent) !important;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__panel {
    padding: 0;
    border: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.45fr);
    gap: clamp(28px, 4vw, 70px);
    align-items: start;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section {
    min-width: 0;
    padding: 32px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-title {
    color: var(--enosi-ui-ink);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: inherit;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-grid {
    display: block;
    margin: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-item {
    display: grid;
    grid-template-columns: minmax(110px, .55fr) minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-label {
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-value {
    color: var(--enosi-ui-ink);
    font-size: .9rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-value a,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-link {
    color: var(--enosi-ui-link);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__table-wrap {
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap table,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap th,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table th {
    padding: 12px 10px;
    border-block: 1px solid var(--enosi-ui-border);
    background: transparent;
    color: var(--enosi-ui-muted);
    font-size: .72rem;
    font-weight: 700;
    text-align: left;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap td,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--enosi-ui-border);
    background: transparent;
    color: var(--enosi-ui-ink);
    font-size: .86rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap td[data-label="Ονοματεπώνυμο"],
body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-link {
    font-family: inherit;
    font-weight: 400;
    font-synthesis: none;
}


body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-link:hover,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-link:focus-visible {
    color: var(--enosi-ui-link);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-form {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-select {
    min-height: 44px;
    border: 1px solid var(--enosi-ui-border-strong);
    border-radius: 0;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-control {
    min-width: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__period-select:focus {
    border-color: var(--enosi-ui-accent);
    box-shadow: none;
    outline: 2px solid var(--enosi-ui-accent);
    outline-offset: 2px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-groups {
    gap: 36px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px 28px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro span {
    color: var(--enosi-ui-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro p {
    margin: 6px 0 0;
    color: var(--enosi-ui-muted);
    font-size: .88rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-group {
    gap: 8px;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-group-title {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--enosi-ui-border-strong);
    color: var(--enosi-ui-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-group-title a,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context a {
    color: var(--enosi-ui-link);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-row {
    display: grid;
    grid-template-columns: minmax(120px, .65fr) minmax(0, 2fr) minmax(140px, .75fr);
    gap: 20px;
    align-items: center;
    min-height: 104px;
    padding: 16px 0;
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-date,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context {
    display: grid;
    gap: 4px;
    color: var(--enosi-ui-muted);
    font-size: .76rem;
    line-height: 1.4;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-date strong {
    color: var(--enosi-ui-ink);
    font-size: .9rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context {
    justify-items: end;
    text-align: right;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(58px, auto) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-side {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--enosi-ui-ink);
    font-size: .84rem;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-side:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-side.is-own {
    font-weight: 700;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-logo {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    color: var(--enosi-ui-muted);
    font-size: .65rem;
    font-weight: 700;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    box-shadow: none;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-score {
    justify-self: center;
    color: var(--enosi-ui-muted);
    font-size: 1.06rem;
    font-weight: 700;
    white-space: nowrap;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-score.has-result {
    color: var(--enosi-ui-ink);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-score.is-status {
    max-width: 110px;
    color: var(--enosi-ui-muted);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-score a {
    color: var(--enosi-ui-link);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar {
    display: grid;
    gap: 20px;
    padding: 28px 0 0;
    border: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-form {
    justify-self: end;
    padding-bottom: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-select {
    border-radius: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__stats-tabs {
    width: 100%;
    padding-top: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 26px 0 32px;
    border-block: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    border-right: 1px solid var(--enosi-ui-border);
    color: var(--enosi-ui-muted);
    font-size: .76rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric:first-child {
    padding-left: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric:last-child {
    border-right: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric strong {
    order: -1;
    color: var(--enosi-ui-ink);
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    line-height: 1;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: start;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-table-block {
    min-width: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-table-title,
body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers h3 {
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: 1.3rem;
    font-weight: inherit;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers ol {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: club-scorer;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 30px;
    gap: 8px;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid var(--enosi-ui-border);
    color: var(--enosi-ui-ink);
    font-size: .88rem;
    counter-increment: club-scorer;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers li::before {
    content: counter(club-scorer, decimal-leading-zero);
    color: var(--enosi-ui-muted);
    font-size: .72rem;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers li strong {
    text-align: right;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers a {
    color: var(--enosi-ui-link);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table {
    min-width: 0;
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__card-mark.is-yellow {
    background: var(--enosi-ui-warning);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__card-mark.is-red {
    background: var(--enosi-ui-danger);
}

body .enosi-bridge--team-detail .enosi-bridge-team-profile__stat-empty {
    padding: 18px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-muted);
}

@media (max-width: 1100px) {
    body .enosi-bridge--teams .enosi-bridge-teams-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__info,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-row {
        grid-template-columns: minmax(100px, .55fr) minmax(0, 2fr);
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 700px) {
    body .enosi-bridge--teams,
    body .enosi-bridge--team-detail {
        width: calc(100vw - 32px) !important;
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__header {
        padding-block: 30px 24px;
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__sort {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        padding: 4px 0 0;
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__link {
        grid-template-columns: 58px minmax(0, 1fr) 42px;
        gap: 14px;
        min-height: 96px;
        padding: 14px 0;
    }

    body .enosi-bridge--teams .enosi-bridge-teams-archive__logo-shell {
        width: 58px;
        height: 58px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__hero {
        padding: 28px 0 22px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__identity {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-shell {
        width: 64px;
        height: 64px;
        min-height: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo {
        max-height: 64px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__logo-fallback {
        width: 58px;
        height: 58px;
        font-size: 1rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__title {
        font-size: clamp(1.65rem, 7vw, 2.5rem);
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__subtitle {
        font-size: .82rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs {
        gap: 22px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    body article.enosi-bridge--team-detail {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        transform: none;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
        width: 100%;
        gap: 4px;
        overflow: visible;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__tabs button.enosi-bridge-team-profile__tab {
        width: 100%;
        min-width: 0;
        padding: 10px 2px;
        white-space: normal;
        overflow-wrap: normal;
        line-height: 1.3;
        text-align: center;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 18px;
        overflow-y: hidden;
        padding-bottom: 4px;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-tabs button.enosi-bridge-team-profile__stats-tab {
        padding-inline: 2px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        width: 100%;
    }

    body .enosi-bridge--team-detail :is(.enosi-bridge-team-profile__period-form, .enosi-bridge-team-profile__period-control, .enosi-bridge-team-profile__period-select) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--team-detail button.enosi-bridge-team-profile__tab,
    body .enosi-bridge--team-detail button.enosi-bridge-team-profile__stats-tab {
        width: auto;
        min-height: 48px;
        flex: 0 0 auto;
        padding: 8px 0;
        font-size: .8rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section {
        padding: 26px 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__info-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro {
        align-items: stretch;
        flex-direction: column;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro .enosi-bridge-team-profile__period-form,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro .enosi-bridge-team-profile__period-control,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__section-intro .enosi-bridge-team-profile__period-select {
        width: 100%;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap {
        overflow-x: visible;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap table {
        table-layout: fixed;
        min-width: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap th:first-child,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap td:first-child {
        width: 32px;
        padding-left: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap th:last-child,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap td:last-child {
        width: 88px;
        padding-right: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap th,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-wrap td {
        padding-inline: 6px;
        font-size: .73rem;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-sheet {
        justify-self: center;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-link span {
        display: none;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 18px 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-date,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 10px;
        grid-column: 1;
        justify-content: center;
        text-align: center;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-pair {
        grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
        gap: 8px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-side,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-side:last-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-self: start;
        justify-items: center;
        gap: 8px;
        text-align: center;
        font-size: .75rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-logo {
        width: 42px;
        height: 42px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-score {
        align-self: start;
        padding-top: 10px;
        font-size: 1.1rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__fixture-context {
        display: grid;
        justify-items: center;
        gap: 5px;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar {
        gap: 14px;
        padding-top: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-form {
        justify-self: stretch;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__stats-toolbar .enosi-bridge-team-profile__period-select {
        min-width: 136px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 20px 0 26px;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric {
        padding: 16px 10px;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric:nth-child(2n) {
        border-right: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__metric:last-child {
        grid-column: 1 / -1;
        border: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table thead {
        display: none;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table tr {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        padding: 0 0 12px;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td.is-numeric {
        display: grid;
        gap: 3px;
        width: auto;
        height: auto;
        padding: 8px 3px;
        border: 0;
        text-align: left;
        font-size: .78rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td:first-child {
        grid-column: 1 / -1;
        padding: 14px 3px;
        font-size: .86rem;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-summary-table td:not(:first-child)::before {
        display: block;
        content: attr(data-label);
        color: var(--enosi-ui-muted);
        font-size: .68rem;
        font-weight: 400;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table thead {
        display: none;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table tr {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) repeat(3, minmax(45px, auto));
        align-items: center;
        gap: 7px;
        padding: 12px 0;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td {
        display: block;
        width: auto;
        padding: 0;
        border: 0;
        font-size: .74rem;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td::before {
        display: block;
        content: attr(data-label);
        color: var(--enosi-ui-muted);
        font-size: .6rem;
        font-weight: 400;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td:first-child::before,
    body .enosi-bridge--team-detail .enosi-bridge-team-profile__compact-table.is-stat-table td:nth-child(2)::before {
        display: none;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__top-scorers {
        padding-top: 30px;
    }
}

@media (max-width: 400px) {
    body .enosi-bridge--teams,
    body .enosi-bridge--team-detail {
        width: calc(100vw - 20px) !important;
    }

    body .enosi-bridge--team-detail .enosi-bridge-team-profile__roster-pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Approved player registry and profile: fluid, flat, and palette-driven. */
body .enosi-bridge--players,
body .enosi-bridge--player-detail {
    width: min(1520px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin-left: 50% !important;
    margin-right: 0 !important;
    transform: translateX(-50%);
}

body .enosi-bridge--players .enosi-bridge-players-archive {
    display: grid;
    gap: 0;
    min-width: 0;
}

body .enosi-bridge--players .enosi-bridge-players-archive__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: end;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--players .enosi-bridge-players-archive__intro {
    grid-column: 1 / -1;
}

body .enosi-bridge--players .enosi-bridge-players-archive__eyebrow,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__eyebrow,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-kicker {
    margin: 0 0 8px;
    color: var(--enosi-ui-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body .enosi-bridge--players .enosi-bridge-players-archive__title {
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: inherit;
    line-height: 1.05;
    letter-spacing: -.035em;
}

body .enosi-bridge--players .enosi-bridge-players-archive__description {
    margin: 12px 0 0;
    color: var(--enosi-ui-muted);
    font-size: 1rem;
}

body .enosi-bridge--players .enosi-bridge-players-archive__search-form {
    display: grid;
    grid-column: 1;
    gap: 6px;
    width: min(100%, 660px);
    margin: 0;
}

body .enosi-bridge--players .enosi-bridge-players-archive__search-label {
    color: var(--enosi-ui-muted);
    font-size: .75rem;
    font-weight: 700;
}

body .enosi-bridge--players .enosi-bridge-players-archive__search-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

body .enosi-bridge--players .enosi-bridge-players-archive__search-input {
    flex: 1 1 260px;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--enosi-ui-border-strong);
    border-radius: 0;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    font: inherit;
    box-shadow: none;
}

body .enosi-bridge--players .enosi-bridge-players-archive__search-input::placeholder {
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--players button.enosi-bridge-players-archive__search-button,
body .enosi-bridge--players .enosi-bridge-players-archive__clear-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 0;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

body .enosi-bridge--players button.enosi-bridge-players-archive__search-button {
    border: 1px solid var(--enosi-ui-accent);
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--players button.enosi-bridge-players-archive__search-button:hover {
    border-color: var(--enosi-ui-link);
    background: var(--enosi-ui-link);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--players .enosi-bridge-players-archive__clear-button {
    border: 1px solid var(--enosi-ui-border-strong);
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-link);
}

body .enosi-bridge--players .enosi-bridge-players-archive__result-meta {
    grid-column: 2;
    align-self: end;
    padding-bottom: 5px;
    text-align: right;
}

body .enosi-bridge--players .enosi-bridge-players-archive__summary,
body .enosi-bridge--players .enosi-bridge-players-archive__page-meta {
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: .83rem;
    font-weight: 400;
}

body .enosi-bridge--players .enosi-bridge-players-archive__page-meta {
    margin-top: 3px;
}

body .enosi-bridge--players .enosi-bridge-table-wrap {
    width: 100%;
    max-width: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    table-layout: fixed;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table th:first-child,
body .enosi-bridge--players .enosi-bridge-players-archive__table td:first-child {
    width: 42%;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table th:nth-child(2),
body .enosi-bridge--players .enosi-bridge-players-archive__table td:nth-child(2) {
    width: 20%;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table th,
body .enosi-bridge--players .enosi-bridge-players-archive__table td {
    padding: 15px 10px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    background: transparent;
    color: var(--enosi-ui-ink);
    text-align: left;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table th:first-child,
body .enosi-bridge--players .enosi-bridge-players-archive__table td:first-child {
    padding-left: 0;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table th:last-child,
body .enosi-bridge--players .enosi-bridge-players-archive__table td:last-child {
    padding-right: 0;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table thead th {
    color: var(--enosi-ui-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td {
    font-size: .9rem;
}

body .enosi-bridge--players .enosi-bridge-players-archive__row.is-clickable {
    cursor: pointer;
}

body .enosi-bridge--players .enosi-bridge-players-archive__row.is-clickable:hover,
body .enosi-bridge--players .enosi-bridge-players-archive__row.is-clickable:focus-visible {
    background: var(--enosi-ui-surface-soft);
}

body .enosi-bridge--players .enosi-bridge-players-archive__name-link,
body .enosi-bridge--players .enosi-bridge-players-archive__name-text {
    color: var(--enosi-ui-link);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body .enosi-bridge--players .enosi-bridge-players-archive__name-link:hover,
body .enosi-bridge--players .enosi-bridge-players-archive__name-link:focus-visible {
    text-decoration: underline;
}

body .enosi-bridge--players .enosi-bridge-players-archive__table td:last-child {
    position: relative;
    padding-right: 54px;
}

body .enosi-bridge--players .enosi-bridge-players-archive__arrow {
    position: absolute;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    right: 0;
    top: 50%;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    transform: translateY(-50%);
}

body .enosi-bridge--players .enosi-bridge-players-archive__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .enosi-bridge--players .enosi-bridge-players-archive__row.is-clickable:hover .enosi-bridge-players-archive__arrow,
body .enosi-bridge--players .enosi-bridge-players-archive__row.is-clickable:focus-within .enosi-bridge-players-archive__arrow {
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--players .enosi-bridge-players-archive__empty {
    padding: 26px 0;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--players .enosi-bridge-players-archive__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

body .enosi-bridge--players .enosi-bridge-players-archive__pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link,
body .enosi-bridge--players .enosi-bridge-players-archive__pagination-ellipsis {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-link);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link.is-active {
    border-color: var(--enosi-ui-accent);
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link:not(.is-active):hover {
    border-color: var(--enosi-ui-border-strong);
    background: var(--enosi-ui-surface-soft);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__main {
    display: grid;
    gap: 0;
    min-width: 0;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: clamp(28px, 4vw, 56px) 0 34px;
    border: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__back {
    align-self: flex-start;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--enosi-ui-border-strong);
    color: var(--enosi-ui-link);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__back:hover {
    border-color: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__hero-main,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__heading {
    min-width: 0;
    width: 100%;
    text-align: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__title {
    max-width: 28ch;
    margin: 0 auto;
    color: var(--enosi-ui-ink);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: inherit;
    line-height: 1.03;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 16px;
    color: var(--enosi-ui-muted);
    font-size: .9rem;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta span + span::before {
    content: "·";
    position: relative;
    left: -10px;
    top: auto;
    width: auto;
    height: auto;
    background: transparent;
    transform: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stats {
    border-bottom: 1px solid var(--enosi-ui-border);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 10px;
    padding: 24px 12px;
    border-right: 1px solid var(--enosi-ui-border);
    text-align: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat:last-child {
    border-right: 0;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-label {
    color: var(--enosi-ui-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-value {
    color: var(--enosi-ui-ink);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat.is-yellow-cards .enosi-bridge-player-profile__stat-value {
    color: var(--enosi-ui-warning);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat.is-red-cards .enosi-bridge-player-profile__stat-value {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__seasons {
    min-width: 0;
    padding-top: clamp(28px, 4vw, 54px);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 26px;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-title {
    margin: 0;
    color: var(--enosi-ui-ink);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: inherit;
    line-height: 1.1;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-note {
    margin: 0;
    color: var(--enosi-ui-muted);
    font-size: .82rem;
    text-align: right;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-list {
    border-top: 1px solid var(--enosi-ui-border-strong);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-head,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary {
    display: grid;
    grid-template-columns: 34px minmax(100px, .9fr) minmax(180px, 1.5fr) repeat(5, minmax(60px, .45fr));
    align-items: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-head {
    min-height: 42px;
    padding: 0 8px;
    border-bottom: 1px solid var(--enosi-ui-border);
    color: var(--enosi-ui-muted);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-head span:nth-child(n+4) {
    text-align: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season {
    margin: 0;
    border-bottom: 1px solid var(--enosi-ui-border);
    background: transparent;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary {
    min-height: 68px;
    padding: 10px 8px;
    color: var(--enosi-ui-ink);
    cursor: pointer;
    list-style: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary::-webkit-details-marker {
    display: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary:hover,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__season[open] > .enosi-bridge-player-profile__season-summary {
    background: var(--enosi-ui-surface-soft);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-toggle {
    display: flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 50%;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-link);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform .18s ease;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season[open] .enosi-bridge-player-profile__season-toggle svg {
    transform: rotate(180deg);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-title {
    font-size: .9rem;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-teams {
    min-width: 0;
    padding-right: 10px;
    color: var(--enosi-ui-muted);
    font-size: .83rem;
    overflow-wrap: anywhere;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-teams a,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta a,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__games a {
    color: var(--enosi-ui-link);
    text-decoration: none;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-teams a:hover,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta a:hover,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__games a:hover {
    text-decoration: underline;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric {
    padding: 0 4px;
    color: var(--enosi-ui-ink);
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric.is-yellow-cards {
    color: var(--enosi-ui-warning);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric.is-red-cards {
    color: var(--enosi-ui-danger);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-content {
    padding: 0 8px 18px 42px;
    background: transparent;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-empty,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__empty {
    margin: 0;
    padding: 15px 18px;
    border: 1px dashed var(--enosi-ui-border-strong);
    border-radius: 0;
    background: transparent;
    color: var(--enosi-ui-muted);
    font-size: .85rem;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games th,
body .enosi-bridge--player-detail .enosi-bridge-player-profile__games td {
    padding: 11px 9px;
    border-bottom: 1px solid var(--enosi-ui-border);
    background: transparent;
    color: var(--enosi-ui-ink);
    font-size: .78rem;
    text-align: left;
    vertical-align: middle;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games th {
    color: var(--enosi-ui-muted);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games th:nth-last-child(-n+5),
body .enosi-bridge--player-detail .enosi-bridge-player-profile__games td:nth-last-child(-n+5) {
    text-align: center;
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__games small {
    display: block;
    color: var(--enosi-ui-muted);
}

body .enosi-bridge--player-detail .enosi-bridge-player-profile__game-score {
    display: inline-block;
    padding: 3px 6px;
    background: var(--enosi-ui-score-background);
    color: var(--enosi-ui-score-text);
}

@media (max-width: 980px) {
    body .enosi-bridge--players .enosi-bridge-players-archive__toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__search-form {
        order: 1;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__result-meta {
        grid-column: 1;
        order: 2;
        text-align: left;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-head {
        display: none;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary {
        grid-template-columns: 34px minmax(110px, 1fr) repeat(5, minmax(45px, .4fr));
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-teams {
        grid-column: 2 / -1;
        grid-row: 2;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric {
        grid-row: 1;
    }
}

@media (max-width: 720px) {
    body .enosi-bridge--players,
    body .enosi-bridge--player-detail {
        width: calc(100vw - 32px) !important;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__toolbar {
        gap: 22px;
        padding-top: 26px;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__title,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__search-form,
    body .enosi-bridge--players .enosi-bridge-players-archive__search-controls,
    body .enosi-bridge--players .enosi-bridge-players-archive__search-input,
    body .enosi-bridge--players .enosi-bridge-players-archive__search-button {
        width: 100%;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__search-controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table,
    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody,
    body .enosi-bridge--players .enosi-bridge-players-archive__table tr,
    body .enosi-bridge--players .enosi-bridge-players-archive__table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table thead {
        display: none;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody tr {
        position: relative;
        padding: 16px 54px 16px 0;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td {
        padding: 0;
        border: 0;
        background: transparent;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:first-child,
    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:nth-child(2) {
        width: 100%;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:first-child {
        margin-bottom: 4px;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:nth-child(2),
    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:nth-child(3) {
        display: inline;
        color: var(--enosi-ui-muted);
        font-size: .76rem;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:nth-child(2)::before {
        content: attr(data-label) " ";
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table tbody td:nth-child(3)::before {
        content: " · ";
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__table td:last-child {
        position: static;
        padding-right: 0;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__arrow {
        right: 0;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__pagination {
        justify-content: flex-start;
    }

    body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link.is-prev,
    body .enosi-bridge--players .enosi-bridge-players-archive__pagination-link.is-next {
        min-width: 44px;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__hero {
        padding: 20px 0 24px;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__back {
        align-self: flex-start;
        margin-bottom: 28px;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta {
        display: grid;
        justify-items: center;
        gap: 3px;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__meta span + span::before {
        display: none;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stats-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat {
        grid-column: span 2;
        padding: 16px 5px;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat:nth-child(3) {
        border-right: 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat:nth-child(n+4) {
        grid-column: span 3;
        border-bottom: 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat:last-child {
        border-right: 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__stat-label {
        font-size: .59rem;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-header {
        display: grid;
        gap: 8px;
        align-items: start;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__section-note {
        text-align: left;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-summary {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        padding: 14px 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-title {
        grid-column: 1 / 5;
        grid-row: 1;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-toggle {
        grid-column: 5;
        grid-row: 1;
        justify-self: end;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-teams {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 4px 0 12px;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric {
        display: grid;
        grid-row: 3;
        gap: 3px;
        padding: 10px 3px 0;
        border: 0;
        border-top: 1px solid var(--enosi-ui-border);
        border-radius: 0;
        background: transparent;
        font-size: .82rem;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-metric::before {
        content: attr(data-label);
        color: var(--enosi-ui-muted);
        font-size: .57rem;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-content {
        padding: 0 0 16px;
        overflow: visible;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games-wrap {
        overflow: visible;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games tbody,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games tr,
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games thead {
        display: none;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--enosi-ui-border);
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 0;
        border: 0;
        text-align: right !important;
        overflow-wrap: anywhere;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__games td::before {
        content: attr(data-label);
        flex: 0 0 32%;
        color: var(--enosi-ui-muted);
        font-size: .67rem;
        font-weight: 600;
        text-align: left;
    }

    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-empty {
        padding: 14px;
    }
}

@media (max-width: 400px) {
    body .enosi-bridge--players,
    body .enosi-bridge--player-detail {
        width: calc(100vw - 20px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .enosi-bridge--player-detail .enosi-bridge-player-profile__season-toggle svg {
        transition: none;
    }
}

/* Shared pagination for every public Bridge archive and client-side list. */
body .enosi-bridge nav.enosi-bridge-pagination[aria-label] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin: var(--enosi-ui-space-4) 0 0;
    padding: 0;
    width: 100%;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--enosi-ui-border);
    border-radius: 50%;
    background: var(--enosi-ui-surface);
    color: var(--enosi-ui-ink);
    box-shadow: none;
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control:hover:not(:disabled):not([aria-disabled="true"]),
body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control[aria-current="page"] {
    border-color: var(--enosi-ui-accent);
    background: var(--enosi-ui-accent);
    color: var(--enosi-ui-accent-contrast);
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control:focus-visible {
    outline: 2px solid var(--enosi-ui-accent);
    outline-offset: 3px;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control:disabled,
body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__numbers {
    display: contents;
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    color: var(--enosi-ui-muted);
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label] svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 700px) {
    body .enosi-bridge nav.enosi-bridge-pagination[aria-label] {
        gap: 3px;
    }

    body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control {
        flex-basis: 32px;
        width: 32px;
        height: 36px;
        min-height: 36px;
        border-radius: var(--enosi-ui-radius-sm);
        font-size: .8rem;
    }
}

@media (max-width: 360px) {
    body .enosi-bridge nav.enosi-bridge-pagination[aria-label] .enosi-bridge-pagination__control {
        flex-basis: 28px;
        width: 28px;
    }
}

body .enosi-bridge nav.enosi-bridge-pagination[aria-label][hidden],
body .enosi-bridge nav.enosi-bridge-pagination[aria-label] [hidden] {
    display: none;
}
