:root {
    --ac-bg: #1a1110;
    --ac-bg-soft: #fff6ea;
    --ac-card: rgba(255, 255, 255, 0.93);
    --ac-text: #160f0d;
    --ac-muted: #746962;
    --ac-accent: #e10600;
    --ac-gold: #ffc107;
    --ac-red: #e10600;
    --ac-red-dark: #8f0905;
    --ac-dark: #160f0d;
    --ac-border: rgba(225, 6, 0, 0.13);
    --ac-shadow: 0 24px 62px rgba(44, 12, 5, 0.2);
    --ac-radius: 28px;
    --ac-container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ac-text);
    background:
        radial-gradient(circle at 18% 4%, rgba(255, 193, 7, 0.18), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(225, 6, 0, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(22, 15, 13, 0.92) 0, rgba(58, 23, 13, 0.72) 190px, rgba(246, 234, 216, 0.98) 470px),
        linear-gradient(90deg, rgba(255, 193, 7, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(225, 6, 0, 0.08) 1px, transparent 1px),
        #f4eadc;
    background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
    background-attachment: fixed;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.ac-site-shell {
    min-width: 0;
    overflow-x: clip;
}

.ac-card,
.ac-panel,
.ac-mini-card,
.ac-list-item,
.ac-meta-item,
.ac-schedule-card,
.ac-scorer-card {
    min-width: 0;
}

.ac-card h2,
.ac-card h3,
.ac-mini-card h3,
.ac-list-item h3,
.ac-meta-item strong,
.ac-content,
.ac-lead {
    overflow-wrap: anywhere;
}

.ac-container {
    width: min(calc(100% - 32px), var(--ac-container));
    margin: 0 auto;
}

.ac-main {
    padding: 24px 0 80px;
}

.ac-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0 0;
}

.ac-header__inner,
.ac-footer__inner,
.ac-panel,
.ac-card,
.ac-hero,
.ac-section--soft .ac-container {
    backdrop-filter: blur(14px);
}

.ac-header__inner,
.ac-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ac-border);
    border-radius: 999px;
    box-shadow: var(--ac-shadow);
}

.ac-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ac-brand__mark,
.custom-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    object-fit: cover;
}

.ac-brand__mark {
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #2a1b12, #d16a1d);
    color: #fff;
    font-family: "Russo One", sans-serif;
}

.ac-brand__text {
    display: grid;
    gap: 2px;
}

.ac-brand__text strong {
    font-size: 1.1rem;
}

.ac-brand__text span {
    color: var(--ac-muted);
    font-size: 0.92rem;
}

.ac-menu-toggle {
    display: none;
}

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

.ac-menu,
.ac-footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ac-menu a,
.ac-footer-menu a {
    font-weight: 800;
}

.ac-menu > li {
    position: relative;
}

.ac-menu .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 30;
    display: grid;
    gap: 6px;
    min-width: 180px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ac-border);
    border-radius: 18px;
    box-shadow: var(--ac-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ac-menu .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.ac-menu li:hover > .sub-menu,
.ac-menu li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ac-menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(209, 106, 29, 0.08);
    white-space: nowrap;
}

.ac-menu .sub-menu a:hover,
.ac-menu .sub-menu a:focus {
    background: rgba(209, 106, 29, 0.16);
}

.ac-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 20px;
}

.ac-hero--football {
    min-height: clamp(520px, 64vh, 760px);
    padding: clamp(96px, 12vw, 150px) 0 42px;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(246, 234, 216, 0.96) 0%, rgba(246, 234, 216, 0.78) 42%, rgba(35, 74, 42, 0.4) 100%),
        radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.34), transparent 36%),
        linear-gradient(135deg, #183f27, #2f7b42);
}

.ac-hero--football::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 72px 72px,
        repeating-linear-gradient(90deg, rgba(26, 112, 54, 0.38) 0 110px, rgba(20, 92, 45, 0.38) 110px 220px);
    opacity: 0.68;
}

.ac-hero--football::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(246, 234, 216, 0.92) 0%, rgba(246, 234, 216, 0.72) 44%, rgba(246, 234, 216, 0.1) 100%),
        linear-gradient(0deg, rgba(20, 14, 10, 0.18), transparent 42%);
}

.ac-hero__content {
    position: relative;
    z-index: 2;
}

.ac-hero__tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ac-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ac-hero-collage {
    position: absolute;
    inset: 78px max(3vw, 28px) 42px 52%;
    z-index: 1;
    pointer-events: none;
}

.ac-hero-collage__group {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ac-hero-collage__group.is-active {
    opacity: 1;
    transform: scale(1);
}

.ac-hero-collage__item {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(20, 14, 10, 0.22);
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.28), rgba(24, 63, 39, 0.34)),
        rgba(255, 255, 255, 0.2);
    animation: acHeroFloat 15s ease-in-out infinite alternate;
    pointer-events: auto;
    transition: box-shadow 0.22s ease, filter 0.22s ease, scale 0.22s ease;
}

.ac-hero-collage__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: acHeroPhotoDrift 18s ease-in-out infinite alternate;
    transition: transform 0.2s ease;
}

.ac-hero-collage__item:hover,
.ac-hero-collage__item:active {
    z-index: 6;
    scale: 1.08;
    box-shadow: 0 34px 82px rgba(20, 14, 10, 0.34);
    filter: saturate(1.06) contrast(1.04);
}

.ac-hero-collage__item:hover img,
.ac-hero-collage__item:active img {
    transform: scale(1.18);
}

.ac-hero-touch-layer {
    display: none;
}

.ac-hero-roulette-note {
    display: none;
}

.ac-gallery-page .ac-card--page {
    overflow: hidden;
}

.ac-gallery-lead {
    max-width: 760px;
    margin-bottom: 28px;
}

.ac-gallery-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ac-gallery-date {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 193, 7, 0.34);
    color: var(--ac-dark);
    font-family: var(--ac-heading);
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1;
}

.ac-gallery-date:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.ac-gallery-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ac-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(255, 193, 7, 0.38);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(51, 28, 14, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ac-gallery-card span {
    min-width: 0;
    overflow: hidden;
    color: var(--ac-muted);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-gallery-card:hover img,
.ac-gallery-card:focus-visible img {
    transform: translateY(-2px);
    filter: saturate(1.05) contrast(1.03);
    box-shadow: 0 24px 58px rgba(51, 28, 14, 0.18);
}

.ac-gallery-card:focus-visible {
    outline: 3px solid rgba(239, 35, 24, 0.35);
    outline-offset: 6px;
    border-radius: 18px;
}

.ac-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(12, 8, 6, 0.88);
    backdrop-filter: blur(10px);
}

.ac-photo-lightbox.is-open {
    display: flex;
}

.ac-photo-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    touch-action: pinch-zoom;
}

.ac-photo-lightbox__image {
    display: block;
    max-width: min(96vw, 1200px);
    max-height: 88dvh;
    width: auto;
    height: auto;
    border: 2px solid rgba(255, 193, 7, 0.38);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.ac-photo-lightbox.is-zoomed .ac-photo-lightbox__image {
    transform: scale(1.85);
    cursor: zoom-out;
}

.ac-photo-lightbox__close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 193, 7, 0.32);
    border-radius: 16px;
    background: rgba(255, 248, 235, 0.95);
    color: var(--ac-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body.ac-photo-lightbox-open {
    overflow: hidden;
}

.ac-gallery-lightbox__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 18px;
    width: min(1180px, calc(100vw - 32px));
    max-height: 92dvh;
    align-items: stretch;
}

.ac-gallery-lightbox.has-no-action .ac-gallery-lightbox__panel {
    grid-template-columns: minmax(0, 1fr);
}

.ac-gallery-lightbox__panel .ac-photo-lightbox__stage {
    min-height: 0;
}

.ac-gallery-lightbox__image {
    max-width: 100%;
}

.ac-gallery-lightbox__side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 193, 7, 0.34);
    border-radius: 22px;
    background: rgba(255, 248, 235, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.ac-gallery-lightbox__action[hidden] {
    display: none;
}

.ac-gallery-lightbox__side[hidden] {
    display: none;
}

.ac-hero-collage__item--1 {
    left: 6%;
    top: 2%;
    width: 27%;
    height: 64%;
    transform: rotate(-5deg);
}

.ac-hero-collage__item--2 {
    right: 20%;
    top: 0;
    width: 28%;
    height: 58%;
    transform: rotate(4deg);
    animation-delay: -3s;
}

.ac-hero-collage__item--3 {
    right: 0;
    bottom: 8%;
    width: 27%;
    height: 60%;
    transform: rotate(-2deg);
    animation-delay: -6s;
}

.ac-hero-collage__item--4 {
    left: 24%;
    bottom: 0;
    width: 25%;
    height: 52%;
    transform: rotate(6deg);
    animation-delay: -9s;
}

.ac-hero-collage__item--5 {
    left: 48%;
    top: 34%;
    width: 23%;
    height: 46%;
    transform: rotate(2deg);
    animation-delay: -12s;
}

.ac-hero-collage__item--6 {
    right: 7%;
    top: 10%;
    width: 20%;
    height: 38%;
    transform: rotate(8deg);
    animation-delay: -15s;
}

@keyframes acHeroFloat {
    from {
        translate: -10px 8px;
    }
    to {
        translate: 14px -12px;
    }
}

@keyframes acHeroPhotoDrift {
    from {
        transform: scale(1.04) translate3d(-1%, -1%, 0);
    }
    to {
        transform: scale(1.12) translate3d(2%, 2%, 0);
    }
}

.ac-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: stretch;
}

.ac-hero__grid--single {
    grid-template-columns: minmax(0, 820px);
}

.ac-hero h1,
.ac-section h1,
.ac-section h2,
.ac-card h2,
.ac-card h3 {
    margin: 0;
    font-family: "Russo One", sans-serif;
    letter-spacing: 0.02em;
}

.ac-hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    margin: 16px 0 18px;
}

.ac-eyebrow {
    display: inline-block;
    color: var(--ac-accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.ac-lead {
    max-width: 720px;
    color: var(--ac-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.ac-panel,
.ac-card {
    background: var(--ac-card);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius);
    box-shadow: var(--ac-shadow);
}

.is-clickable-card {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.is-clickable-card:hover,
.is-clickable-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(209, 106, 29, 0.34);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 56px rgba(51, 32, 17, 0.14);
    outline: none;
}

.is-clickable-card:active {
    transform: translateY(-1px);
}

.ac-panel {
    padding: 28px;
    background: linear-gradient(180deg, rgba(23, 18, 15, 0.98), rgba(40, 28, 22, 0.96));
    color: #fff;
}

.ac-feature-list {
    display: grid;
    gap: 12px;
    padding-left: 18px;
    margin: 20px 0 0;
}

.ac-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.ac-actions--center {
    justify-content: center;
}

.ac-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--ac-dark);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ac-button:hover,
.ac-button:focus-visible {
    transform: translateY(-2px);
    background: #2b201a;
    color: #fff;
    box-shadow: 0 16px 34px rgba(23, 18, 15, 0.2);
    outline: none;
}

.ac-button:active {
    transform: translateY(0);
}

.ac-button--ghost {
    background: rgba(255, 255, 255, 0.82);
    color: var(--ac-dark);
}

.ac-button--ghost:hover,
.ac-button--ghost:focus-visible {
    background: rgba(255, 248, 241, 0.98);
    color: var(--ac-dark);
    border-color: rgba(209, 106, 29, 0.28);
}

.ac-section {
    padding: 26px 0;
}

.ac-section--soft .ac-container {
    padding: 28px;
    background: rgba(255, 245, 229, 0.7);
    border-radius: 40px;
}

.ac-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ac-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ac-card-grid--matches {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ac-card-grid--scorers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-home-scorer-card {
    display: grid;
    gap: 14px;
}

.ac-home-scorer-card h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.ac-section--faq .ac-container {
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 215, 0, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(35, 18, 13, 0.94), rgba(126, 18, 16, 0.88));
    color: #fff;
    box-shadow: 0 26px 70px rgba(43, 20, 14, 0.22);
}

.ac-section--faq .ac-eyebrow,
.ac-section--faq h2 {
    color: #fff;
}

.ac-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ac-faq-card {
    padding: 18px 20px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 20px;
    background: rgba(255, 248, 241, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ac-faq-card:hover,
.ac-faq-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 248, 241, 0.15);
}

.ac-faq-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: #fff;
    font-weight: 900;
    list-style: none;
}

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

.ac-faq-card summary::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.18);
    color: #ffd75a;
    font-family: "Russo One", sans-serif;
}

.ac-faq-card[open] summary::after {
    content: "–";
}

.ac-faq-card p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.ac-card-grid--matches-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-card {
    padding: 24px;
}

.ac-page-titlebar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ac-card--sub {
    padding: 24px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
}

.ac-card--page {
    padding: 34px;
}

.ac-card__thumb {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 22px;
}

.ac-card__thumb--team {
    display: grid;
    place-items: center;
    min-height: 178px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.06);
}

.ac-card__image,
.ac-hero-media {
    display: block;
    width: 100%;
    object-fit: cover;
}

.ac-card__image {
    aspect-ratio: 4 / 3;
}

.ac-card__thumb--team .ac-card__image {
    width: min(190px, 78%);
    height: 132px;
    aspect-ratio: auto;
    object-fit: contain;
}

.ac-card__thumb--player .ac-card__image {
    aspect-ratio: 1 / 1;
}

.ac-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.08);
}

.ac-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 2px;
    display: block;
}

.ac-team-logo--fallback {
    background: linear-gradient(135deg, #2a1b12, #d16a1d);
    color: #fff;
    font-family: "Russo One", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.ac-team-logo--xs {
    width: 24px;
    height: 24px;
    border-radius: 8px;
}

.ac-team-logo--sm {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.ac-team-logo--md {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.ac-team-inline,
.ac-match-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ac-team-inline--compact,
.ac-team-inline--matrix {
    gap: 8px;
}

.ac-team-inline--matrix {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ac-team-inline--matrix .ac-team-logo {
    flex: 0 0 22px;
}

.ac-team-inline--matrix span:last-child {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}

.ac-team-inline--scoreboard {
    color: inherit;
}

.ac-match-title {
    flex-wrap: wrap;
}

.ac-match-title__divider,
.ac-match-card__divider {
    color: var(--ac-muted);
    font-size: 0.88em;
    text-transform: uppercase;
}

.ac-team-archive__brand {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ac-team-archive__brand > div {
    min-width: 0;
}

.ac-team-archive__brand p {
    margin: 6px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-stack {
    display: grid;
    gap: 20px;
}

.ac-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(209, 106, 29, 0.12);
    color: var(--ac-accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ac-status-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ac-status-label--live {
    color: #b42318;
    font-weight: 800;
}

.ac-status-label--live::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e03131;
    box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.55);
    animation: ac-live-pulse 1.2s infinite;
}

.ac-status-label--hero {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(224, 49, 49, 0.1);
    border: 1px solid rgba(224, 49, 49, 0.2);
}

.ac-match-card__teams {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 14px 0 8px;
    font-weight: 800;
}

.ac-content {
    color: var(--ac-muted);
    line-height: 1.8;
}

.ac-content > *:first-child {
    margin-top: 0;
}

.ac-content > *:last-child {
    margin-bottom: 0;
}

.ac-card--contacts {
    display: grid;
    gap: 24px;
}

.ac-contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--ac-border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(209, 106, 29, 0.1), rgba(255, 255, 255, 0.78));
}

.ac-contact-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.ac-contact-hero p {
    margin: 0;
    color: var(--ac-muted);
    line-height: 1.6;
}

.ac-contact-register {
    min-width: 250px;
}

.ac-contact-organizer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid rgba(225, 6, 0, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 45px rgba(33, 18, 10, 0.08);
}

.ac-contact-organizer h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.ac-contact-organizer p {
    margin: 0;
    color: var(--ac-muted);
    line-height: 1.6;
}

.ac-contact-organizer__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

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

.ac-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--ac-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ac-text);
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(51, 32, 17, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ac-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(51, 32, 17, 0.12);
}

.ac-contact-card__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    color: #fff;
}

.ac-contact-card__icon svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ac-contact-card--youtube .ac-contact-card__icon {
    background: #ff0033;
}

.ac-contact-card--telegram .ac-contact-card__icon {
    background: #27a7e7;
}

.ac-contact-card--instagram .ac-contact-card__icon {
    background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.ac-contact-card strong,
.ac-contact-card small {
    display: block;
}

.ac-contact-card strong {
    font-size: 1.08rem;
}

.ac-contact-card small {
    margin-top: 4px;
    color: var(--ac-muted);
    line-height: 1.35;
}

.ac-partner-landing {
    display: grid;
    gap: 28px;
}

.ac-partner-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    align-items: end;
    gap: 28px;
    min-height: 560px;
    padding: clamp(28px, 5vw, 64px);
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 193, 7, 0.24), transparent 28%),
        linear-gradient(125deg, rgba(14, 9, 6, 0.95), rgba(80, 13, 11, 0.82) 52%, rgba(224, 49, 49, 0.55)),
        var(--ac-partner-hero-image, linear-gradient(135deg, #160d0a, #4f0d0b)) center / cover;
    color: #fff;
    box-shadow: 0 32px 80px rgba(30, 8, 5, 0.32);
}

.ac-partner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 5, 4, 0.88), rgba(8, 5, 4, 0.48) 52%, rgba(8, 5, 4, 0.18)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px);
    z-index: 0;
}

.ac-partner-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -170px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.34), rgba(225, 6, 0, 0.22) 38%, transparent 68%);
    filter: blur(8px);
    opacity: 0.86;
    z-index: 0;
}

.ac-partner-hero__content,
.ac-partner-hero__stats {
    position: relative;
    z-index: 1;
}

.ac-partner-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 193, 7, 0.42);
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.13);
    color: #ffd36b;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-partner-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 8vw, 7.4rem);
    line-height: 0.9;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.ac-partner-hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 248, 230, 0.82);
    font-size: clamp(1rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

.ac-partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ac-partner-hero__stats {
    display: grid;
    gap: 14px;
}

.ac-partner-hero__stats span {
    display: block;
    padding: 18px;
    border: 1px solid rgba(255, 193, 7, 0.24);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ac-partner-hero__stats strong,
.ac-partner-hero__stats small {
    display: block;
}

.ac-partner-hero__stats strong {
    color: #ffd36b;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.ac-partner-hero__stats small {
    margin-top: 4px;
    color: rgba(255, 248, 230, 0.78);
}

.ac-partner-section,
.ac-partner-ideas {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 235, 0.9)),
        radial-gradient(circle at top right, rgba(225, 6, 0, 0.1), transparent 34%);
    box-shadow: 0 24px 54px rgba(51, 20, 12, 0.12);
}

.ac-partner-section h2,
.ac-partner-ideas h2 {
    max-width: 820px;
    margin: 4px 0 14px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.ac-partner-section p,
.ac-partner-ideas p {
    max-width: 880px;
    margin: 0;
    color: var(--ac-muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.ac-partner-about {
    background:
        linear-gradient(135deg, rgba(23, 14, 11, 0.96), rgba(91, 18, 14, 0.94)),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.18), transparent 30%);
    color: #fff;
}

.ac-partner-about h2,
.ac-partner-about .ac-eyebrow {
    color: #fff;
}

.ac-partner-about p {
    color: rgba(255, 248, 230, 0.78);
}

.ac-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ac-partner-card {
    position: relative;
    min-height: 210px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 232, 0.86)),
        radial-gradient(circle at top right, rgba(225, 6, 0, 0.12), transparent 42%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ac-partner-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.08);
}

.ac-partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 6, 0, 0.32);
    box-shadow: 0 24px 42px rgba(77, 18, 9, 0.14);
}

.ac-partner-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e10600, #8f120d);
    color: #ffd36b;
    font-weight: 900;
}

.ac-partner-card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.ac-partner-card p {
    font-size: 0.98rem;
}

.ac-partner-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.ac-partner-type {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 20px;
    background: rgba(24, 15, 12, 0.94);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ac-partner-ideas {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 193, 7, 0.24), transparent 30%),
        linear-gradient(120deg, #160d0a, #6f1510 58%, #e10600);
    color: #fff;
}

.ac-partner-ideas::after {
    content: "";
    position: absolute;
    inset: auto -90px -150px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.34), transparent 65%);
}

.ac-partner-ideas h2,
.ac-partner-ideas .ac-eyebrow {
    color: #fff;
}

.ac-partner-ideas p {
    color: rgba(255, 248, 230, 0.82);
}

.ac-partner-form-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 42px);
    align-items: start;
}

.ac-partner-form-copy {
    position: sticky;
    top: 120px;
    max-width: 360px;
}

.ac-partner-form-copy h2 {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.ac-partner-form-copy p {
    font-size: 1rem;
}

.ac-partner-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ac-partner-form label {
    display: grid;
    gap: 8px;
    color: var(--ac-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.ac-partner-form input,
.ac-partner-form select,
.ac-partner-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 193, 7, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ac-text);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ac-partner-form textarea {
    resize: vertical;
}

.ac-partner-form input:focus,
.ac-partner-form select:focus,
.ac-partner-form textarea:focus {
    border-color: rgba(225, 6, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.1);
}

.ac-partner-form__wide,
.ac-partner-form__submit,
.ac-partner-notice {
    grid-column: 1 / -1;
}

.ac-partner-notice {
    padding: 14px 18px;
    border-radius: 18px;
    font-weight: 800;
}

.ac-partner-notice--success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.ac-partner-notice--error {
    background: rgba(225, 6, 0, 0.12);
    color: #a6110d;
}

.ac-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.ac-section__head--tight {
    margin-bottom: 16px;
}

.ac-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.ac-meta-item {
    padding: 16px 18px;
    border: 1px solid var(--ac-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
}

.ac-meta-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--ac-muted);
    font-size: 0.86rem;
}

.ac-meta-item strong {
    font-size: 1rem;
}

.ac-head-to-head {
    margin-top: 24px;
}

.ac-head-to-head__list {
    display: grid;
    gap: 12px;
}

.ac-head-to-head__item {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--ac-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ac-head-to-head__item:hover,
.ac-head-to-head__item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(239, 35, 24, 0.28);
    box-shadow: 0 18px 44px rgba(51, 28, 14, 0.12);
}

.ac-head-to-head__meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: var(--ac-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.ac-head-to-head__meta > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-head-to-head__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.ac-head-to-head__teams > span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 900;
}

.ac-head-to-head__teams > span:last-child {
    justify-content: flex-end;
    text-align: right;
}

.ac-head-to-head__teams > span:last-child .ac-team-logo {
    order: 2;
}

.ac-head-to-head__teams strong {
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef2318, #b60000);
    color: #fff;
    font-family: var(--ac-heading);
    font-size: 1.08rem;
    line-height: 1;
    text-align: center;
    box-shadow: 0 12px 28px rgba(239, 35, 24, 0.2);
}

.ac-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    margin-top: 26px;
}

.ac-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ac-mini-card,
.ac-list-item {
    padding: 18px;
    border: 1px solid var(--ac-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.ac-mini-card h3,
.ac-list-item h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.ac-mini-card p,
.ac-list-item p,
.ac-empty-state {
    margin: 0;
    color: var(--ac-muted);
}

.ac-list {
    display: grid;
    gap: 14px;
}

.ac-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ac-list-item__side {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.ac-list-item__side strong {
    font-family: "Russo One", sans-serif;
    font-size: 1.3rem;
}

.ac-team-page__media {
    display: grid;
    place-items: center;
    margin-top: 24px;
    padding: 34px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.06);
}

.ac-team-page__media .ac-hero-media {
    width: min(340px, 74vw);
    max-height: 260px;
    object-fit: contain;
}

.ac-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin: 26px 0 10px;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(23, 18, 15, 0.98), rgba(40, 28, 22, 0.96));
    color: #fff;
}

.ac-scoreboard__team {
    display: grid;
    gap: 6px;
}

.ac-scoreboard__team:last-child {
    justify-items: end;
    text-align: right;
}

.ac-scoreboard__team span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ac-scoreboard__team strong,
.ac-scoreboard__score {
    font-family: "Russo One", sans-serif;
}

.ac-scoreboard__team strong {
    font-size: 1.4rem;
}

.ac-scoreboard__score {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.ac-player-page {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 26px;
    align-items: start;
}

.ac-player-page__media {
    overflow: hidden;
    border-radius: 28px;
}

.ac-player-page__media .ac-hero-media {
    min-height: 100%;
}

.ac-player-stat-link {
    color: var(--ac-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.ac-player-details {
    display: grid;
    gap: 20px;
    margin-top: 26px;
}

.ac-player-detail-block {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--ac-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.ac-player-match-list,
.ac-player-achievements {
    display: grid;
    gap: 10px;
}

.ac-player-match-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
}

.ac-player-match-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-player-match-row__date,
.ac-player-match-row__meta {
    color: var(--ac-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.ac-player-match-row__score {
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(23, 18, 15, 0.07);
    color: var(--ac-dark);
    font-weight: 900;
    text-align: center;
}

.ac-player-match-row__score--win {
    background: rgba(26, 127, 55, 0.14);
    color: #137333;
}

.ac-player-match-row__score--loss {
    background: rgba(225, 6, 0, 0.11);
    color: #d71913;
}

.ac-player-match-row__score--draw {
    background: rgba(245, 140, 0, 0.16);
    color: #b45f00;
}

.ac-player-achievement {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.14), rgba(255, 255, 255, 0.82));
}

.ac-player-achievement span {
    color: var(--ac-muted);
    line-height: 1.55;
}

.ac-team-archive__head,
.ac-match-archive__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ac-team-archive__head {
    margin-bottom: 16px;
}

.ac-team-archive__head p,
.ac-match-archive__meta p,
.ac-card--player-archive p {
    margin: 6px 0 0;
    color: var(--ac-muted);
}

.ac-team-archive__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.ac-team-archive__stat {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--ac-border);
    background: rgba(255, 255, 255, 0.72);
}

.ac-team-archive__stat span {
    display: block;
    margin-bottom: 6px;
    color: var(--ac-muted);
    font-size: 0.82rem;
}

.ac-team-archive__stat strong {
    font-family: "Russo One", sans-serif;
    font-size: 1.1rem;
}

.ac-button--small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.ac-page-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ac-button--back {
    gap: 8px;
}

.ac-card--match-archive {
    display: grid;
    gap: 12px;
    align-content: start;
}

.ac-card--match-live {
    background: linear-gradient(180deg, rgba(248, 243, 239, 0.96), rgba(238, 231, 225, 0.96));
    border-color: rgba(180, 35, 24, 0.16);
    box-shadow: 0 20px 50px rgba(51, 32, 17, 0.16);
}

.ac-match-archive__status {
    color: var(--ac-muted);
    font-weight: 700;
}

.ac-match-archive__score {
    font-family: "Russo One", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.ac-match-archive__meta {
    display: grid;
    gap: 4px;
}

.ac-card--match-archive h2,
.ac-schedule-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 2.3rem);
    line-height: 1.12;
}

.ac-card--match-archive .ac-match-title,
.ac-schedule-card .ac-match-title {
    align-items: center;
    gap: 8px;
}

.ac-card--match-archive .ac-team-logo--xs,
.ac-schedule-card .ac-team-logo--xs {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.ac-card--match-archive .ac-match-title__divider,
.ac-schedule-card .ac-match-title__divider {
    color: var(--ac-muted);
    font-size: 0.82em;
    font-weight: 800;
}

.ac-card--player-archive {
    display: grid;
    gap: 14px;
}

.ac-card__thumb--player {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(209, 106, 29, 0.08);
}

.ac-card__thumb--player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ac-participant-filter {
    display: grid;
    gap: 16px;
    margin: 0 0 26px;
    padding: 18px 20px;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--ac-shadow);
}

.ac-participant-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ac-participant-filter label {
    display: grid;
    gap: 8px;
}

.ac-participant-filter label span {
    color: var(--ac-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-participant-filter select,
.ac-participant-filter input[type="search"] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--ac-border);
    border-radius: 16px;
    background: #fff;
    color: var(--ac-dark);
    font: inherit;
}

.ac-participant-filter input[type="search"]::placeholder {
    color: rgba(107, 96, 89, 0.68);
}

.ac-participant-filter__search {
    grid-column: span 2;
}

.ac-participant-filter__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ac-participant-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ac-muted);
}

.ac-participant-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(209, 106, 29, 0.08);
    font-weight: 800;
}

.ac-card--person-archive {
    display: grid;
    gap: 12px;
}

.ac-schedule-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.ac-schedule-list--compact {
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
}

.ac-schedule-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 6px;
    color: var(--ac-dark);
    font-weight: 900;
}

.ac-schedule-group:first-child {
    margin-top: 0;
}

.ac-schedule-group::after {
    content: "";
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(209, 106, 29, 0.18);
}

.ac-schedule-group--upcoming {
    color: #126b42;
}

.ac-schedule-group--upcoming::after {
    background: linear-gradient(90deg, rgba(18, 107, 66, 0.42), rgba(18, 107, 66, 0.08));
}

.ac-schedule-group--tone-1::after {
    background: linear-gradient(90deg, rgba(209, 106, 29, 0.36), rgba(209, 106, 29, 0.08));
}

.ac-schedule-group--tone-2::after {
    background: linear-gradient(90deg, rgba(53, 111, 181, 0.28), rgba(53, 111, 181, 0.07));
}

.ac-schedule-group--tone-3::after {
    background: linear-gradient(90deg, rgba(131, 96, 171, 0.28), rgba(131, 96, 171, 0.07));
}

.ac-schedule-group--tone-4::after {
    background: linear-gradient(90deg, rgba(64, 137, 107, 0.28), rgba(64, 137, 107, 0.07));
}

.ac-schedule-day {
    margin: 18px 0 8px;
    color: var(--ac-text);
    font-family: "Manrope", sans-serif;
    font-size: 1.18rem;
    font-weight: 900;
}

.ac-schedule-day:first-child {
    margin-top: 0;
}

.ac-schedule-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--ac-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.68);
}

.ac-schedule-row:hover {
    border-color: rgba(209, 106, 29, 0.26);
    background: #fff;
}

.ac-schedule-row--planned {
    border-color: rgba(209, 106, 29, 0.18);
}

.ac-schedule-row--upcoming {
    border-color: rgba(18, 107, 66, 0.25);
    background: linear-gradient(90deg, rgba(221, 246, 233, 0.94), rgba(255, 255, 255, 0.78));
    box-shadow: 0 12px 28px rgba(18, 107, 66, 0.08);
}

.ac-schedule-row--tone-1 {
    background: rgba(255, 248, 241, 0.78);
}

.ac-schedule-row--tone-2 {
    background: rgba(242, 247, 255, 0.78);
}

.ac-schedule-row--tone-3 {
    background: rgba(248, 244, 255, 0.78);
}

.ac-schedule-row--tone-4 {
    background: rgba(243, 250, 246, 0.78);
}

.ac-schedule-row__time {
    font-weight: 900;
    color: var(--ac-accent);
}

.ac-schedule-row__teams {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-weight: 800;
}

.ac-schedule-row__teams > span:not(.ac-schedule-row__dash) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-schedule-row__dash {
    color: var(--ac-muted);
}

.ac-schedule-row__side {
    display: grid;
    gap: 2px;
    justify-items: end;
    color: var(--ac-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.ac-schedule-row__side strong {
    color: var(--ac-dark);
    font-family: "Russo One", sans-serif;
    font-size: 1.05rem;
}

.ac-schedule-row__side em {
    font-style: normal;
    color: var(--ac-accent);
}

.ac-schedule-row__side i {
    font-style: normal;
    color: var(--ac-muted);
}

.ac-schedule-row__venue {
    grid-column: 2 / -1;
    color: var(--ac-muted);
    font-size: 0.9rem;
}

.ac-schedule-filter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.ac-schedule-filter__fields {
    display: flex;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
}

.ac-schedule-filter__field {
    display: grid;
    gap: 8px;
    min-width: 280px;
}

.ac-schedule-filter__field label {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ac-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ac-schedule-filter__field select {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--ac-border);
    border-radius: 16px;
    background: #fff;
    color: var(--ac-dark);
    font: inherit;
}

.ac-schedule-filter__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ac-match-history-list {
    margin-bottom: 18px;
}

.ac-load-more {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.ac-schedule-card {
    padding: 22px;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.75);
}

.ac-schedule-card__top,
.ac-schedule-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ac-schedule-card__top {
    margin-bottom: 12px;
}

.ac-schedule-card__meta {
    display: grid;
    gap: 6px;
    margin: 14px 0 18px;
}

.ac-schedule-card__meta p {
    margin: 0;
    color: var(--ac-muted);
}

.ac-schedule-card__status {
    color: var(--ac-muted);
    font-weight: 700;
}

.ac-schedule-card__bottom strong {
    font-family: "Russo One", sans-serif;
    font-size: 1.5rem;
}

.ac-standings-wrap {
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ac-standings-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.ac-standings-table thead th {
    padding: 16px 14px;
    background: rgba(23, 18, 15, 0.96);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.ac-standings-table thead th:nth-child(2),
.ac-standings-table tbody td:nth-child(2) {
    text-align: left;
}

.ac-standings-table tbody td {
    padding: 15px 14px;
    border-top: 1px solid var(--ac-border);
    text-align: center;
    font-weight: 600;
}

.ac-standings-table tbody tr:nth-child(even) {
    background: rgba(255, 250, 242, 0.72);
}

.ac-standings-table tbody tr:hover {
    background: rgba(209, 106, 29, 0.08);
}

.ac-scorers-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.ac-scorer-card {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.ac-scorer-card__place {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(209, 106, 29, 0.14);
    color: var(--ac-accent);
    font-family: "Russo One", sans-serif;
    font-size: 1.2rem;
}

.ac-scorer-card__main h2 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.ac-scorer-card__main p {
    margin: 0;
    color: var(--ac-muted);
}

@keyframes ac-live-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.9;
        box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.55);
    }

    70% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 0 10px rgba(224, 49, 49, 0);
    }

    100% {
        transform: scale(0.92);
        opacity: 0.9;
        box-shadow: 0 0 0 0 rgba(224, 49, 49, 0);
    }
}

.ac-scorer-card__goals {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.ac-scorer-card__goals strong {
    font-family: "Russo One", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.ac-scorer-card__goals span {
    color: var(--ac-muted);
    font-weight: 700;
}

.ac-scorers-table-wrap {
    margin-top: 22px;
}

.ac-scorers-table th,
.ac-scorers-table td {
    vertical-align: middle;
}

.ac-scorers-table td:nth-child(2),
.ac-scorers-table td:nth-child(3) {
    font-weight: 700;
}

.ac-scorers-table td strong {
    font-family: "Russo One", sans-serif;
    font-size: 1rem;
}

.ac-match-events {
    margin-top: 24px;
}

.ac-events-list {
    display: grid;
    gap: 12px;
}

.ac-event-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--ac-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.ac-event-item__minute {
    display: grid;
    place-items: center;
    min-height: 50px;
    border-radius: 16px;
    background: rgba(209, 106, 29, 0.14);
    color: var(--ac-accent);
    font-family: "Russo One", sans-serif;
    font-size: 1.2rem;
}

.ac-event-item__content {
    display: grid;
    gap: 4px;
}

.ac-event-item__content span {
    color: var(--ac-muted);
}

.ac-event-item--goal .ac-event-item__content strong::before,
.ac-event-item--own-goal .ac-event-item__content strong::before {
    content: "⚽";
    margin-right: 8px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.ac-match-highlight__body,
.ac-match-stats {
    display: grid;
    gap: 10px;
}

.ac-match-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-match-stat {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--ac-border);
}

.ac-match-stat span {
    display: block;
    margin-bottom: 4px;
    color: var(--ac-muted);
    font-size: 0.86rem;
}

.ac-match-stat strong {
    font-family: "Russo One", sans-serif;
    font-size: 1.45rem;
}

.single-ac_match .ac-card--page {
    overflow: hidden;
}

.single-ac_match .ac-page-titlebar {
    margin-bottom: 18px;
}

.single-ac_match .ac-scoreboard {
    min-height: 280px;
    margin-top: 18px;
    background:
        linear-gradient(rgba(12, 62, 35, 0.22), rgba(6, 36, 22, 0.38)),
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.32) calc(50% - 1px), rgba(255, 255, 255, 0.32) calc(50% + 1px), transparent calc(50% + 1px)),
        radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(255, 255, 255, 0.28) 59px 61px, transparent 62px),
        repeating-linear-gradient(90deg, rgba(45, 139, 70, 0.96) 0 72px, rgba(34, 121, 60, 0.96) 72px 144px);
}

.single-ac_match .ac-scoreboard__team {
    justify-items: center;
    text-align: center;
}

.single-ac_match .ac-scoreboard__team:last-child {
    justify-items: center;
    text-align: center;
}

.single-ac_match .ac-team-inline--scoreboard {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.single-ac_match .ac-scoreboard__team-logo-link {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.single-ac_match .ac-scoreboard__team-logo-link:hover,
.single-ac_match .ac-scoreboard__team-logo-link:focus-visible {
    transform: scale(1.14);
    filter: saturate(1.08) contrast(1.04);
    outline: none;
}

.single-ac_match .ac-scoreboard__team-logo-link:focus-visible .ac-team-logo {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.46), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.single-ac_match .ac-team-inline--scoreboard .ac-team-logo,
.single-ac_match .ac-scoreboard__team-logo-link .ac-team-logo {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    padding: 8px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.18s ease;
}

.single-ac_match .ac-team-inline--scoreboard .ac-team-logo img {
    padding: 0;
    object-fit: contain;
}

.single-ac_match .ac-scoreboard__team strong {
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
}

.single-ac_match .ac-scoreboard__score {
    font-size: clamp(3rem, 7vw, 5.2rem);
}

.single-ac_match .ac-match-events {
    box-shadow: none;
}

.single-ac_match .ac-match-events .ac-events-list {
    gap: 0;
    position: relative;
}

.single-ac_match .ac-match-events .ac-events-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(20, 20, 20, 0.1);
}

.single-ac_match .ac-match-events .ac-event-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.single-ac_match .ac-match-events .ac-event-item + .ac-event-item {
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.single-ac_match .ac-match-events .ac-event-item__minute {
    grid-column: 2;
    justify-self: center;
    min-width: 54px;
    min-height: 44px;
    padding: 0 10px;
    background: transparent;
    color: #8a236e;
    font-size: 1.2rem;
}

.single-ac_match .ac-match-events .ac-event-item__content {
    min-width: 0;
}

.single-ac_match .ac-match-events .ac-event-item--home .ac-event-item__content {
    grid-column: 1;
    grid-row: 1;
    justify-items: end;
    text-align: right;
}

.single-ac_match .ac-match-events .ac-event-item--away .ac-event-item__content {
    grid-column: 3;
    grid-row: 1;
    justify-items: start;
    text-align: left;
}

.single-ac_match .ac-match-events .ac-event-item--neutral .ac-event-item__content {
    grid-column: 1 / 4;
    grid-row: 2;
    justify-items: center;
    text-align: center;
}

.single-ac_match .ac-match-events .ac-event-item--home.ac-event-item--goal .ac-event-item__content strong::before,
.single-ac_match .ac-match-events .ac-event-item--home.ac-event-item--own-goal .ac-event-item__content strong::before {
    content: "";
    margin: 0;
}

.single-ac_match .ac-match-events .ac-event-item--home.ac-event-item--goal .ac-event-item__content strong::after,
.single-ac_match .ac-match-events .ac-event-item--home.ac-event-item--own-goal .ac-event-item__content strong::after {
    content: " ⚽";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.ac-event-item--yellow .ac-event-item__minute {
    background: rgba(250, 202, 21, 0.22);
    color: #a16207;
}

.ac-event-item--red .ac-event-item__minute {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.ac-card--news-notice {
    border-color: rgba(209, 106, 29, 0.18);
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.95), rgba(255, 255, 255, 0.9));
}

.ac-matrix-wrap {
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ac-matrix-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--ac-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
}

.ac-matrix-table thead th {
    padding: 10px 6px;
    background: rgba(23, 18, 15, 0.96);
    color: #fff;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.ac-matrix-table thead th:first-child,
.ac-matrix-table tbody th {
    text-align: left;
}

.ac-matrix-table thead th:first-child {
    width: 148px;
}

.ac-matrix-table thead .ac-team-inline--matrix {
    max-width: 100%;
    width: 100%;
    gap: 6px;
    justify-items: center;
}

.ac-matrix-table tbody th,
.ac-matrix-table tbody td {
    padding: 9px 6px;
    border-top: 1px solid var(--ac-border);
    text-align: center;
    font-weight: 700;
}

.ac-matrix-table tbody th {
    width: 148px;
    background: rgba(255, 255, 255, 0.92);
}

.ac-matrix-table tbody th .ac-team-inline--matrix {
    width: 100%;
    justify-items: start;
}

.ac-matrix-cell {
    min-width: 0;
    width: 56px;
}

.ac-matrix-cell a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 32px;
    padding: 4px 6px;
    border-radius: 14px;
    font-family: "Russo One", sans-serif;
    font-size: 0.82rem;
}

.ac-matrix-table thead .ac-team-logo--xs,
.ac-matrix-table tbody .ac-team-logo--xs {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.ac-matrix-cell--win a {
    background: rgba(34, 197, 94, 0.18);
    color: #166534;
}

.ac-matrix-cell--draw a {
    background: rgba(250, 204, 21, 0.22);
    color: #a16207;
}

.ac-matrix-cell--loss a {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.ac-matrix-cell--self {
    background: rgba(23, 18, 15, 0.06);
    color: var(--ac-muted);
}

.ac-matrix-cell--empty {
    color: var(--ac-muted);
}

.ac-footer {
    padding: 0 0 24px;
}

.ac-footer__inner p {
    margin: 8px 0 0;
    color: var(--ac-muted);
}

.ac-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.5fr);
    gap: 24px;
    align-items: start;
}

.ac-footer__brand,
.ac-footer__contacts,
.ac-footer__nav {
    min-width: 0;
}

.ac-footer__contacts {
    display: grid;
    gap: 14px;
}

.ac-footer__links,
.ac-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ac-border);
    border-radius: 999px;
    background: rgba(255, 248, 241, 0.82);
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ac-footer__links a:hover,
.ac-footer__links a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(209, 106, 29, 0.35);
    background: #fff;
}

.ac-sponsor-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 360px);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
}

.ac-sponsor-card {
    display: grid;
    gap: 14px;
    scroll-snap-align: start;
}

.ac-sponsor-card__logo {
    display: grid;
    place-items: center;
    min-height: 130px;
    border: 1px solid var(--ac-border);
    border-radius: 18px;
    background: rgba(255, 250, 245, 0.9);
    overflow: hidden;
}

.ac-sponsor-card__logo span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6c350c, #d16a1d);
    color: #fff;
    font-family: "Russo One", sans-serif;
}

.ac-sponsor-card__image {
    display: block;
    max-width: min(220px, 82%);
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ac-sponsor-card__body {
    display: grid;
    gap: 8px;
}

.ac-sponsor-card__body p {
    margin: 0;
    color: var(--ac-muted);
}

.ac-sponsor-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-sponsor-card__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(247, 232, 219, 0.78);
    font-weight: 800;
    font-size: 0.9rem;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ac-sponsor-card__links a:hover,
.ac-sponsor-card__links a:focus-visible {
    transform: translateY(-2px);
    background: #fff;
}

.ac-sponsor-card--archive .ac-sponsor-card__logo {
    min-height: 160px;
}

.ac-sponsor-page__media {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--ac-border);
    border-radius: 28px;
    background: rgba(255, 250, 245, 0.9);
}

.ac-sponsor-page__media .ac-hero-media {
    width: auto;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

/* Softer typography for dense tournament screens. */
.ac-menu a,
.ac-footer-menu a,
.ac-button,
.ac-badge,
.ac-status-label--live,
.ac-match-card__teams,
.ac-schedule-filter__field label,
.ac-schedule-card__bottom strong,
.ac-scorer-card__main h2,
.ac-scorers-table td strong,
.ac-event-item__minute,
.ac-matrix-table thead th,
.ac-matrix-table tbody th,
.ac-matrix-table tbody td,
.ac-matrix-cell a {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.ac-card h3,
.ac-mini-card h3,
.ac-list-item h3,
.ac-match-title,
.ac-team-archive__brand h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.15;
}

.ac-hero h1,
.ac-section h1,
.ac-section h2,
.ac-card h2 {
    letter-spacing: 0.005em;
}

.ac-match-archive__score,
.ac-scoreboard__score,
.ac-scorer-card__goals strong {
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 980px) {
    :root {
        --ac-radius: 22px;
    }

    .ac-header__inner,
    .ac-footer__inner {
        border-radius: 32px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .ac-header {
        padding-top: 10px;
    }

    .ac-nav,
    .ac-footer__nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .ac-menu,
    .ac-footer-menu {
        width: max-content;
        max-width: none;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .ac-menu a,
    .ac-footer-menu a {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(209, 106, 29, 0.1);
        white-space: nowrap;
    }

    .ac-hero__grid,
    .ac-card-grid,
    .ac-detail-grid,
    .ac-player-page,
    .ac-meta-grid {
        grid-template-columns: 1fr;
    }

    .ac-card-grid--matches-archive {
        grid-template-columns: 1fr;
    }

    .ac-mini-grid {
        grid-template-columns: 1fr;
    }

    .ac-section__head,
    .ac-page-titlebar,
    .ac-team-archive__head,
    .ac-match-archive__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ac-hero {
        padding-top: 44px;
    }

    .ac-hero h1 {
        font-size: clamp(2.35rem, 12vw, 4.5rem);
        line-height: 1;
    }

    .ac-card__thumb--team {
        min-height: 140px;
    }

    .ac-card__thumb--team .ac-card__image {
        height: 108px;
    }
}

@media (max-width: 640px) {
    body {
        background-size: auto, 30px 30px, 30px 30px, auto;
    }

    .ac-container {
        width: min(calc(100% - 20px), var(--ac-container));
    }

    .ac-main {
        padding: 8px 0 48px;
    }

    .ac-header {
        position: sticky;
        padding-top: 8px;
    }

    .ac-header__inner,
    .ac-footer__inner {
        width: min(calc(100% - 20px), var(--ac-container));
        padding: 12px;
        border-radius: 24px;
        gap: 12px;
    }

    .ac-brand {
        gap: 10px;
        min-width: 0;
    }

    .ac-brand__mark,
    .custom-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        flex: 0 0 auto;
    }

    .ac-brand__text {
        min-width: 0;
    }

    .ac-brand__text strong,
    .ac-brand__text span {
        display: block;
        max-width: 68vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ac-brand__text strong {
        font-size: 1rem;
    }

    .ac-brand__text span {
        font-size: 0.78rem;
    }

    .ac-menu a,
    .ac-footer-menu a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.88rem;
    }

    .ac-hero {
        padding: 28px 0 8px;
    }

    .ac-hero h1 {
        margin: 10px 0 14px;
        font-size: clamp(2.2rem, 14vw, 3.6rem);
    }

    .ac-section {
        padding: 18px 0;
    }

    .ac-section__head {
        gap: 10px;
        margin-bottom: 14px;
    }

    .ac-section--faq .ac-container {
        padding: 22px;
        border-radius: 26px;
    }

    .ac-faq-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ac-faq-card {
        padding: 16px;
        border-radius: 18px;
    }

    .ac-faq-card summary {
        align-items: flex-start;
        font-size: 0.98rem;
        line-height: 1.28;
    }

    .ac-faq-card p {
        font-size: 0.92rem;
    }

    .ac-section h1,
    .ac-section h2,
    .ac-card h2 {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
        line-height: 1.08;
    }

    .ac-card h3,
    .ac-mini-card h3,
    .ac-list-item h3 {
        font-size: 1.05rem;
    }

    .ac-lead,
    .ac-content {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .ac-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .ac-button {
        width: 100%;
        min-height: 44px;
        padding: 0 16px;
        text-align: center;
    }

    .ac-contact-hero {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 16px;
    }

    .ac-contact-register {
        min-width: 0;
    }

    .ac-contact-organizer {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
    }

    .ac-contact-organizer h2 {
        font-size: clamp(1.55rem, 9vw, 2.25rem);
        line-height: 1.08;
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }

    .ac-contact-organizer p {
        font-size: 1rem;
    }

    .ac-contact-organizer__actions {
        justify-content: stretch;
    }

    .ac-contact-organizer__actions .ac-button {
        width: 100%;
    }

    .ac-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ac-contact-card {
        min-height: 90px;
        padding: 15px;
        border-radius: 18px;
    }

    .ac-card,
    .ac-panel,
    .ac-card--page {
        padding: 16px;
        border-radius: 20px;
    }

    .ac-section--soft .ac-container {
        width: min(calc(100% - 20px), var(--ac-container));
        padding: 14px;
        border-radius: 24px;
    }

    .ac-card-grid,
    .ac-card-grid--matches,
    .ac-card-grid--scorers,
    .ac-card-grid--matches-archive,
    .ac-detail-grid,
    .ac-player-page,
    .ac-meta-grid,
    .ac-mini-grid,
    .ac-team-archive__stats {
        gap: 12px;
    }

    .ac-meta-grid,
    .ac-card-grid--scorers,
    .ac-team-archive__stats {
        grid-template-columns: 1fr;
    }

    .ac-meta-item,
    .ac-mini-card,
    .ac-list-item,
    .ac-team-archive__stat,
    .ac-schedule-card {
        padding: 14px;
        border-radius: 16px;
    }

    .ac-match-title,
    .ac-match-card__teams,
    .ac-team-inline {
        min-width: 0;
    }

    .ac-match-card__teams,
    .ac-match-title {
        align-items: flex-start;
    }

    .ac-card--match-archive,
    .ac-schedule-card {
        gap: 10px;
        padding: 20px;
        border-radius: 24px;
    }

    .ac-card--match-archive h2,
    .ac-schedule-card h2 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.12;
    }

    .ac-card--match-archive .ac-match-title,
    .ac-schedule-card .ac-match-title {
        align-items: center;
        gap: 8px;
    }

    .ac-card--match-archive .ac-team-logo--xs,
    .ac-schedule-card .ac-team-logo--xs {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .ac-match-archive__score,
    .ac-schedule-card__bottom strong {
        font-size: 2.55rem;
        line-height: 1;
    }

    .ac-match-archive__meta,
    .ac-schedule-card__meta {
        font-size: 1rem;
    }

    .ac-match-title__divider,
    .ac-match-card__divider {
        flex: 0 0 auto;
    }

    .ac-scoreboard {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
    }

    .ac-scoreboard__team {
        justify-items: center;
        max-width: 100%;
        text-align: center;
    }

    .ac-scoreboard__team strong {
        font-size: 1.12rem;
    }

    .ac-scoreboard__score {
        font-size: 2.35rem;
    }

    .single-ac_match .ac-card--page {
        padding: 0;
        background: rgba(255, 255, 255, 0.94);
    }

    .single-ac_match .ac-page-titlebar,
    .single-ac_match .ac-meta-grid,
    .single-ac_match .ac-detail-grid,
    .single-ac_match .ac-match-events,
    .single-ac_match > .ac-content {
        margin-right: 16px;
        margin-left: 16px;
    }

    .single-ac_match .ac-page-titlebar {
        padding-top: 16px;
    }

    .single-ac_match .ac-scoreboard {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 10px;
        margin: 16px 0 0;
        padding: 22px 14px;
        border-radius: 0;
        min-height: 260px;
    }

    .single-ac_match .ac-scoreboard__team > span:first-child {
        display: none;
    }

    .single-ac_match .ac-team-inline--scoreboard {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .single-ac_match .ac-team-inline--scoreboard .ac-team-logo {
        display: inline-grid;
        width: 56px;
        height: 56px;
        padding: 6px;
        background: #fff;
        border-radius: 50%;
        flex: 0 0 auto;
    }

    .single-ac_match .ac-scoreboard__team-logo-link .ac-team-logo {
        width: 56px;
        height: 56px;
        padding: 6px;
    }

    .single-ac_match .ac-team-inline--scoreboard > span:not(.ac-team-logo),
    .single-ac_match .ac-team-inline--scoreboard > span:not(.ac-scoreboard__team-logo-link) {
        display: none;
    }

    .single-ac_match .ac-scoreboard__team strong {
        font-size: 0.98rem;
        line-height: 1.2;
    }

    .single-ac_match .ac-scoreboard__score {
        font-size: 3rem;
    }

    .single-ac_match .ac-meta-grid {
        margin-top: 16px;
    }

    .single-ac_match .ac-match-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-ac_match .ac-match-stat {
        padding: 12px 8px;
        text-align: center;
    }

    .single-ac_match .ac-match-events {
        padding: 16px 0;
        background: transparent;
        border: 0;
    }

    .single-ac_match .ac-match-events .ac-section__head {
        padding: 0 16px;
    }

    .single-ac_match .ac-match-events .ac-event-item {
        grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
        gap: 8px;
        padding: 13px 16px;
    }

    .single-ac_match .ac-match-events .ac-event-item__minute {
        min-width: 42px;
        min-height: 38px;
        padding: 0 4px;
        font-size: 1.12rem;
    }

    .single-ac_match .ac-match-events .ac-event-item__content {
        font-size: 0.9rem;
    }

    .single-ac_match .ac-match-events .ac-event-item__content span {
        font-size: 0.8rem;
    }

    .ac-scoreboard__team:last-child,
    .ac-list-item__side {
        justify-items: center;
        text-align: center;
    }

    .ac-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ac-schedule-card__top,
    .ac-schedule-card__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ac-schedule-filter {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 18px;
    }

    .ac-schedule-filter__fields {
        display: grid;
        gap: 12px;
    }

    .ac-schedule-filter__field {
        min-width: 100%;
    }

    .ac-schedule-filter__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ac-schedule-list--compact {
        margin-right: -2px;
        margin-left: -2px;
        padding: 12px;
        border-radius: 18px;
        gap: 8px;
    }

    .ac-schedule-group {
        margin: 14px 0 6px;
        font-size: 0.98rem;
    }

    .ac-schedule-day {
        margin: 16px 0 8px;
        font-size: 1.04rem;
    }

    .ac-schedule-row {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
        padding: 10px 9px;
        border-radius: 14px;
    }

    .ac-schedule-row__teams {
        gap: 5px;
        font-size: 0.92rem;
    }

    .ac-schedule-row__teams .ac-team-logo--xs {
        width: 20px;
        height: 20px;
        border-radius: 6px;
    }

    .ac-schedule-row__side {
        grid-column: 2;
        justify-items: start;
        font-size: 0.8rem;
    }

    .ac-schedule-row__venue {
        grid-column: 2;
        font-size: 0.82rem;
    }

    .ac-participant-filter {
        padding: 14px;
        border-radius: 18px;
    }

    .ac-participant-filter__grid {
        grid-template-columns: 1fr;
    }

    .ac-participant-filter__search {
        grid-column: auto;
    }

    .ac-participant-filter__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ac-participant-filter__actions .ac-button {
        justify-content: center;
    }

    .ac-scorer-card {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .ac-scorer-card__place {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .ac-scorer-card__goals {
        justify-items: start;
        text-align: left;
    }

    .ac-event-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .ac-event-item__minute {
        width: fit-content;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 14px;
    }

    .ac-card__thumb {
        border-radius: 16px;
    }

    .ac-team-page__media,
    .ac-player-page__media {
        border-radius: 20px;
    }

    .ac-standings-wrap,
    .ac-matrix-wrap {
        margin-right: -16px;
        margin-left: -16px;
        padding: 0 16px 8px;
    }

    .ac-standings-table {
        min-width: 640px;
        border-radius: 18px;
    }

    .ac-matrix-table {
        min-width: 620px;
        border-radius: 18px;
    }

    .ac-standings-table thead th,
    .ac-standings-table tbody td {
        padding: 11px 10px;
        font-size: 0.86rem;
    }

    .ac-matrix-table thead th,
    .ac-matrix-table tbody th,
    .ac-matrix-table tbody td {
        padding: 8px 5px;
    }

    .ac-matrix-table thead th:first-child,
    .ac-matrix-table tbody th {
        width: 128px;
    }

    .ac-matrix-table thead .ac-team-inline--matrix {
        grid-template-columns: 24px;
        justify-content: center;
        justify-items: center;
        gap: 0;
    }

    .ac-matrix-table thead .ac-team-inline--matrix span:last-child {
        display: none;
    }

    .ac-matrix-table thead .ac-team-logo--xs {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }
}

@media (max-width: 420px) {
    .ac-container,
    .ac-header__inner,
    .ac-footer__inner,
    .ac-section--soft .ac-container {
        width: min(calc(100% - 16px), var(--ac-container));
    }

    .ac-card,
    .ac-panel,
    .ac-card--page {
        padding: 14px;
    }

    .ac-hero h1 {
        font-size: clamp(2rem, 15vw, 3.1rem);
    }

    .ac-brand__text strong,
    .ac-brand__text span {
        max-width: 62vw;
    }

    .ac-standings-wrap,
    .ac-matrix-wrap {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }
}



.ac-match-versus {
    display: none;
}

@media (max-width: 640px) {
    .ac-card--match-archive > h2,
    .ac-schedule-card > h2,
    .ac-match-card > h3,
    .ac-match-card__teams,
    .ac-card--match-archive > .ac-match-archive__score,
    .ac-schedule-card__bottom strong {
        display: none;
    }

    .ac-match-versus {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
        color: inherit;
    }

    .ac-match-versus__team {
        display: grid;
        min-width: 0;
        gap: 6px;
        align-items: center;
        font-weight: 800;
        line-height: 1.1;
    }

    .ac-match-versus__team--home {
        justify-items: start;
        text-align: left;
    }

    .ac-match-versus__team--away {
        justify-items: end;
        text-align: right;
    }

    .ac-match-versus__team .ac-team-logo {
        display: inline-grid;
        width: 38px;
        height: 38px;
        padding: 3px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 6px 14px rgba(20, 20, 20, 0.1);
    }

    .ac-match-versus__team .ac-team-logo img {
        padding: 0;
        object-fit: contain;
    }

    .ac-match-versus__team > span:last-child {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: clamp(1.05rem, 5vw, 1.4rem);
    }

    .ac-match-versus__score {
        display: inline-grid;
        place-items: center;
        min-width: 70px;
        min-height: 54px;
        padding: 0 10px;
        border-radius: 18px;
        background: rgba(23, 18, 15, 0.96);
        color: #fff;
        font-family: "Russo One", sans-serif;
        font-size: clamp(1.65rem, 8vw, 2.25rem);
        line-height: 1;
        white-space: nowrap;
    }

    .ac-match-versus__score--pending {
        min-width: 54px;
        min-height: 42px;
        border: 1px solid rgba(225, 6, 0, 0.22);
        background: rgba(255, 247, 236, 0.95);
        color: var(--ac-red);
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .ac-card--match-archive,
    .ac-schedule-card,
    .ac-match-card {
        gap: 12px;
    }

    .ac-schedule-card__bottom {
        margin-top: 2px;
    }
}

.ac-card__thumb--team-photo {
    min-height: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.9);
}

.ac-card__thumb--team-photo .ac-card__image,
.ac-card__thumb--team-photo .ac-team-photo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.ac-card__thumb--team-photo .ac-team-photo--logo-fallback {
    width: min(210px, 62%);
    height: 100%;
    margin: 0 auto;
    object-fit: contain;
    padding: 24px;
}

.post-type-archive-ac_team .ac-card-grid {
    align-items: start;
}

.post-type-archive-ac_team .ac-card--team-archive {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.post-type-archive-ac_team .ac-card__thumb--team-photo {
    aspect-ratio: 16 / 8.8;
    margin-bottom: 20px;
    border-radius: 18px;
}

.post-type-archive-ac_team .ac-card__thumb--team-photo .ac-team-photo {
    object-position: center;
}

.post-type-archive-ac_team .ac-card__thumb--team-photo .ac-team-photo--logo-fallback {
    width: min(128px, 48%);
    padding: 18px;
}

.post-type-archive-ac_team .ac-team-archive__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.post-type-archive-ac_team .ac-team-archive__brand {
    min-width: 0;
}

.post-type-archive-ac_team .ac-team-archive__brand h2 {
    font-size: clamp(1.15rem, 1.25vw, 1.55rem);
    line-height: 1.12;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.post-type-archive-ac_team .ac-team-archive__brand h2 a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-type-archive-ac_team .ac-team-archive__brand .ac-team-logo--sm {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.post-type-archive-ac_team .ac-badge {
    flex: 0 0 auto;
    max-width: 112px;
    text-align: center;
    white-space: normal;
}

.post-type-archive-ac_team .ac-team-archive__stats {
    margin-top: 4px;
}

.ac-team-archive__brand .ac-team-logo--sm,
.ac-team-card .ac-team-logo--sm {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.ac-team-page__media {
    padding: 0;
    aspect-ratio: 16 / 9;
}

.ac-team-page__media .ac-hero-media,
.ac-team-page__media .ac-team-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.ac-team-page__media .ac-team-photo--logo-fallback {
    width: min(340px, 74vw);
    height: 100%;
    margin: 0 auto;
    padding: 34px;
    object-fit: contain;
}

.ac-season-block {
    margin-top: 30px;
}

.ac-season-block:first-of-type {
    margin-top: 24px;
}

.ac-season-title {
    margin: 0 0 18px;
    font-family: "Russo One", sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.ac-league-block {
    margin-top: 22px;
}

.ac-league-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 900;
}

.ac-league-block .ac-standings-wrap,
.ac-league-block .ac-matrix-wrap {
    margin-top: 0;
}

.ac-stage-title {
    display: inline-flex;
    align-items: center;
    margin: 8px 0 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.16);
    color: var(--ac-red);
    font-size: 0.86rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ac-final-stage {
    margin-top: 22px;
}

.ac-final-group {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 193, 7, 0.36);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(225, 6, 0, 0.08), rgba(255, 193, 7, 0.08)),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 45px rgba(33, 18, 10, 0.08);
}

.ac-final-group__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 950;
}

.ac-final-round {
    margin-top: 14px;
}

.ac-final-round__label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--ac-muted);
    font-weight: 900;
}

.ac-final-match-list {
    display: grid;
    gap: 10px;
}

.ac-final-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
    padding: 14px 16px;
    border: 1px solid rgba(33, 18, 10, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ac-text);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ac-final-match:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 6, 0, 0.3);
    box-shadow: 0 14px 30px rgba(225, 6, 0, 0.12);
}

.ac-final-match__team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 900;
}

.ac-final-match__team--home {
    justify-content: flex-start;
}

.ac-final-match__team--away {
    justify-content: flex-end;
    text-align: right;
}

.ac-final-match__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-final-match__score {
    justify-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ac-dark);
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
}

.ac-final-match__status {
    grid-column: 1 / -1;
    color: var(--ac-muted);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.ac-final-medal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 38px;
    margin-left: 4px;
    color: #20110a;
    font-size: 0.76rem;
    font-weight: 1000;
    line-height: 1;
    filter: drop-shadow(0 8px 12px rgba(33, 18, 10, 0.2));
    --cup-a: #fff2a8;
    --cup-b: #ffc107;
    --cup-c: #9d6500;
    --cup-edge: #b87700;
}

.ac-final-medal::before,
.ac-final-medal::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 17px;
    height: 18px;
    border: 4px solid var(--cup-edge);
    border-bottom-color: transparent;
    opacity: 0.86;
    z-index: 0;
}

.ac-final-medal::before {
    left: 0;
    border-right: 0;
    border-radius: 18px 0 0 18px;
    transform: rotate(-12deg);
}

.ac-final-medal::after {
    right: 0;
    border-left: 0;
    border-radius: 0 18px 18px 0;
    transform: rotate(12deg);
}

.ac-final-medal > span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 25px;
    padding-bottom: 3px;
    border-radius: 7px 7px 14px 14px / 5px 5px 18px 18px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 24%, rgba(255, 255, 255, 0.75) 50%, transparent 70%, rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, var(--cup-a), var(--cup-b) 48%, var(--cup-c));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -4px 8px rgba(0, 0, 0, 0.12);
}

.ac-final-medal > span::before,
.ac-final-medal > span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 42%, rgba(255, 255, 255, 0.58), transparent 72%, rgba(0, 0, 0, 0.15)),
        linear-gradient(135deg, var(--cup-a), var(--cup-b) 52%, var(--cup-c));
}

.ac-final-medal > span::before {
    bottom: -8px;
    width: 10px;
    height: 9px;
    border-radius: 3px;
}

.ac-final-medal > span::after {
    bottom: -14px;
    width: 27px;
    height: 8px;
    border-radius: 12px 12px 6px 6px;
}

.ac-final-medal--place-1 {
    --cup-a: #fff2a8;
    --cup-b: #ffc107;
    --cup-c: #9d6500;
    --cup-edge: #b87700;
}

.ac-final-medal--place-2 {
    --cup-a: #ffffff;
    --cup-b: #c9d0d8;
    --cup-c: #7f8a96;
    --cup-edge: #8f9aa5;
}

.ac-final-medal--place-3 {
    --cup-a: #ffd5a5;
    --cup-b: #c8792b;
    --cup-c: #7b3e14;
    --cup-edge: #9a561f;
}

.ac-playoff-group {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(255, 193, 7, 0.34);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 215, 0, 0.24), transparent 22%),
        radial-gradient(circle at 0 50%, rgba(24, 96, 255, 0.18), transparent 34%),
        radial-gradient(circle at 100% 48%, rgba(225, 6, 0, 0.28), transparent 34%),
        linear-gradient(135deg, #120908 0%, #1c1110 48%, #2a0d0a 100%);
    box-shadow: 0 24px 60px rgba(33, 18, 10, 0.22);
    color: #fff;
}

.ac-playoff-group::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.28;
    pointer-events: none;
}

.ac-playoff-group::after {
    content: "";
    position: absolute;
    inset: auto -8% -42% -8%;
    height: 58%;
    background: radial-gradient(ellipse at center, rgba(255, 193, 7, 0.24), transparent 62%);
    pointer-events: none;
}

.ac-playoff-group__head,
.ac-playoff-bracket,
.ac-playoff-optimists {
    position: relative;
    z-index: 1;
}

.ac-playoff-group__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.ac-playoff-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd76a;
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ac-playoff-group__title {
    margin: 6px 0 0;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    font-weight: 1000;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.ac-playoff-bracket,
.ac-playoff-optimists {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(210px, 0.8fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 22px;
}

.ac-playoff-column {
    display: grid;
    gap: 14px;
}

.ac-playoff-round-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.92), rgba(255, 193, 7, 0.28));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.25);
}

.ac-playoff-match {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    min-height: 88px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(10, 8, 8, 0.78);
    color: #fff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 32px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ac-playoff-match::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.18), transparent 34%, rgba(225, 6, 0, 0.14));
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.ac-playoff-match:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 38px rgba(225, 6, 0, 0.22);
}

.ac-playoff-match:hover::before {
    opacity: 1;
}

.ac-playoff-match--final {
    border-color: rgba(255, 215, 0, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(225, 6, 0, 0.12)),
        rgba(10, 8, 8, 0.86);
}

.ac-playoff-match__team {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 1000;
    line-height: 1.08;
}

.ac-playoff-match__team--away {
    justify-content: flex-end;
    text-align: right;
}

.ac-playoff-match__team .ac-team-logo--xs {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.ac-playoff-match__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-playoff-match__score {
    position: relative;
    z-index: 1;
    min-width: 66px;
    padding: 10px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #080504, #2b120f);
    color: #fff;
    font-size: 1.08rem;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.18), 0 12px 24px rgba(0, 0, 0, 0.32);
}

.ac-playoff-match__status {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    font-weight: 900;
}

.ac-playoff-center {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 250px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 215, 0, 0.25), transparent 44%),
        rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ac-playoff-center::before,
.ac-playoff-center::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.72), transparent);
}

.ac-playoff-center::before {
    right: 100%;
}

.ac-playoff-center::after {
    left: 100%;
}

.ac-playoff-center__label {
    color: #ffd76a;
    font-weight: 1000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ac-playoff-center__title {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.ac-playoff-trophy {
    position: relative;
    width: 126px;
    height: 146px;
    filter: drop-shadow(0 18px 26px rgba(255, 193, 7, 0.28));
}

.ac-playoff-trophy__cup {
    position: absolute;
    left: 50%;
    top: 16px;
    display: grid;
    place-items: center;
    width: 76px;
    height: 82px;
    transform: translateX(-50%);
    border-radius: 12px 12px 34px 34px / 10px 10px 50px 50px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 25%, rgba(255, 255, 255, 0.78) 49%, transparent 70%, rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #fff3a6, #ffc107 47%, #9b6100);
    color: #241006;
    font-weight: 1000;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.74), inset 0 -10px 20px rgba(0, 0, 0, 0.16);
}

.ac-playoff-trophy__handle {
    position: absolute;
    top: 28px;
    width: 40px;
    height: 54px;
    border: 8px solid #d89507;
    border-bottom-color: transparent;
    opacity: 0.95;
}

.ac-playoff-trophy__handle--left {
    left: 5px;
    border-right: 0;
    border-radius: 40px 0 0 40px;
    transform: rotate(-9deg);
}

.ac-playoff-trophy__handle--right {
    right: 5px;
    border-left: 0;
    border-radius: 0 40px 40px 0;
    transform: rotate(9deg);
}

.ac-playoff-trophy__stem,
.ac-playoff-trophy__base {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 40%, rgba(255, 255, 255, 0.64), transparent 72%, rgba(0, 0, 0, 0.16)),
        linear-gradient(135deg, #ffe480, #d79506 58%, #8d5300);
}

.ac-playoff-trophy__stem {
    top: 92px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.ac-playoff-trophy__base {
    bottom: 6px;
    width: 86px;
    height: 28px;
    border-radius: 44px 44px 12px 12px;
    box-shadow: 0 8px 0 #6d2b0e;
}

.ac-playoff-optimists {
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.75fr);
}

.ac-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 22px;
    padding: 8px;
    background: rgba(209, 106, 29, 0.07);
    border: 1px solid var(--ac-border);
    border-radius: 999px;
}

.ac-tab {
    appearance: none;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 18px;
    background: transparent;
    color: var(--ac-text);
    font-weight: 900;
    cursor: pointer;
}

.ac-tab__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.ac-tab__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ac-tab.is-active {
    background: var(--ac-dark);
    color: #fff;
}

.ac-tab-panel[hidden] {
    display: none;
}

.ac-player-stat-table td:nth-child(2),
.ac-player-stat-table td:nth-child(3) {
    text-align: left;
}

.ac-card__thumb--person {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 18px;
    background: rgba(209, 106, 29, 0.08);
}

.ac-card__thumb--person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .ac-header {
        padding-top: 8px !important;
    }

    .ac-header__inner {
        width: min(calc(100% - 18px), var(--ac-container)) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 54px !important;
        padding: 7px 10px !important;
        border-radius: 18px !important;
        gap: 10px !important;
    }

    .ac-header .ac-brand {
        gap: 0 !important;
        margin-right: auto !important;
    }

    .ac-header .ac-brand__mark,
    .ac-header .custom-logo {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
    }

    .ac-header .ac-brand__text {
        display: none !important;
    }

    .ac-menu-toggle {
        position: relative;
        z-index: 45;
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: rgba(209, 106, 29, 0.08);
        cursor: pointer;
        margin-left: auto;
    }

    .ac-menu-toggle span {
        position: absolute;
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--ac-dark);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .ac-menu-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }

    .ac-menu-toggle span:nth-child(3) {
        transform: translateY(7px);
    }

    .ac-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .ac-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .ac-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .ac-header .ac-nav {
        position: fixed;
        top: 76px;
        left: 9px;
        right: 9px;
        bottom: auto;
        z-index: 40;
        display: none;
        align-content: start;
        max-height: calc(100dvh - 92px);
        padding: 12px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--ac-border);
        border-radius: 22px;
        box-shadow: var(--ac-shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(0.98);
        transition: opacity 0.2s ease, transform 0.2s ease;
        overflow-y: auto;
    }

    body.ac-mobile-menu-open .ac-header .ac-nav {
        display: grid;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    body.ac-mobile-menu-open {
        overflow: hidden;
    }

    .ac-header .ac-menu {
        display: grid !important;
        width: 100%;
        margin: 0 auto !important;
        gap: 8px !important;
        padding: 0 !important;
        overflow: visible !important;
        scrollbar-width: auto;
    }

    .ac-header .ac-menu .sub-menu {
        position: static;
        display: grid;
        gap: 8px;
        min-width: 0;
        padding: 8px 0 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .ac-header .ac-menu > li {
        display: grid;
        gap: 8px;
    }

    .ac-header .ac-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px !important;
        padding: 0 18px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid var(--ac-border);
        font-size: 1rem !important;
        white-space: normal !important;
        box-shadow: 0 10px 24px rgba(51, 32, 17, 0.08);
    }

    .ac-header .ac-menu a[data-ac-menu-icon] {
        position: relative;
        justify-content: center;
        padding-left: 54px !important;
        padding-right: 22px !important;
    }

    .ac-header .ac-menu a[data-ac-menu-icon]::before {
        position: absolute;
        left: 18px;
        top: 50%;
        width: 24px;
        height: 24px;
        display: inline-grid;
        place-items: center;
        transform: translateY(-50%);
        color: var(--ac-red);
        font-family: dashicons;
        font-size: 22px;
        line-height: 1;
        text-shadow: 0 0 16px rgba(255, 193, 7, 0.32);
    }

    .ac-header .ac-menu a[data-ac-menu-icon="home"]::before { content: "\f102"; }
    .ac-header .ac-menu a[data-ac-menu-icon="tournaments"]::before { content: "\f145"; }
    .ac-header .ac-menu a[data-ac-menu-icon="schedule"]::before { content: "\f508"; }
    .ac-header .ac-menu a[data-ac-menu-icon="news"]::before { content: "\f123"; }
    .ac-header .ac-menu a[data-ac-menu-icon="matches"]::before { content: "\f313"; }
    .ac-header .ac-menu a[data-ac-menu-icon="table"]::before { content: "\f535"; }
    .ac-header .ac-menu a[data-ac-menu-icon="matrix"]::before { content: "\f509"; }
    .ac-header .ac-menu a[data-ac-menu-icon="participants"]::before { content: "\f307"; }
    .ac-header .ac-menu a[data-ac-menu-icon="teams"]::before { content: "\f307"; }
    .ac-header .ac-menu a[data-ac-menu-icon="players"]::before { content: "\f338"; }
    .ac-header .ac-menu a[data-ac-menu-icon="referees"]::before { content: "\f227"; }
    .ac-header .ac-menu a[data-ac-menu-icon="coaches"]::before { content: "\f110"; }
    .ac-header .ac-menu a[data-ac-menu-icon="scorers"]::before { content: "\f185"; }
    .ac-header .ac-menu a[data-ac-menu-icon="contacts"]::before { content: "\f466"; }
    .ac-header .ac-menu a[data-ac-menu-icon="rules"]::before { content: "\f123"; }
    .ac-header .ac-menu a[data-ac-menu-icon="offenders"]::before { content: "\f534"; }
    .ac-header .ac-menu a[data-ac-menu-icon="sponsors"]::before { content: "\f487"; }

    .ac-header .ac-menu .sub-menu a {
        background: rgba(209, 106, 29, 0.08);
        min-height: 42px !important;
        font-size: 0.92rem !important;
        box-shadow: none;
    }

    .ac-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 20px;
        scrollbar-width: none;
    }

    .ac-tabs::-webkit-scrollbar {
        display: none;
    }

    .ac-tab {
        flex: 0 0 auto;
        gap: 6px;
        padding: 10px 13px;
        font-size: 0.9rem;
    }

    .ac-tab__icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .ac-team-archive__brand {
        gap: 14px;
    }

    .ac-team-archive__brand .ac-team-logo--sm,
    .ac-team-card .ac-team-logo--sm {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .ac-card__thumb--team-photo {
        aspect-ratio: 16 / 9;
        border-radius: 18px;
    }
}

@media (max-width: 1400px) and (max-height: 760px) and (orientation: landscape) {
    html {
        margin-top: 0 !important;
    }

    #wpadminbar {
        display: none !important;
    }

    .ac-header {
        position: fixed;
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
        left: auto;
        z-index: 80;
        width: auto;
        padding: 0 !important;
        pointer-events: none;
    }

    .admin-bar .ac-header {
        top: max(8px, env(safe-area-inset-top));
    }

    .ac-header__inner {
        width: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        pointer-events: none;
    }

    .ac-header .ac-brand {
        display: none !important;
    }

    .ac-menu-toggle {
        position: fixed !important;
        top: max(8px, env(safe-area-inset-top)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        z-index: 90 !important;
        display: inline-grid !important;
        place-items: center !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid var(--ac-border) !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 10px 24px rgba(20, 20, 20, 0.14) !important;
        pointer-events: auto;
    }

    .ac-header .ac-nav {
        position: fixed !important;
        top: max(58px, calc(env(safe-area-inset-top) + 58px)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        left: auto !important;
        width: min(330px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 70px) !important;
        display: none !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid var(--ac-border) !important;
        border-radius: 22px !important;
        box-shadow: var(--ac-shadow) !important;
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
    }

    .admin-bar .ac-header .ac-nav {
        top: max(58px, calc(env(safe-area-inset-top) + 58px)) !important;
        max-height: calc(100dvh - 70px) !important;
    }

    body.ac-mobile-menu-open .ac-header .ac-nav {
        display: grid !important;
        opacity: 1;
        pointer-events: auto;
    }

    .ac-header .ac-menu {
        display: grid !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .ac-header .ac-menu .sub-menu {
        position: static !important;
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
        padding: 8px 0 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .ac-header .ac-menu a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 42px !important;
        padding: 0 16px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.86) !important;
        border: 1px solid var(--ac-border) !important;
        font-size: 0.95rem !important;
        box-shadow: 0 10px 24px rgba(51, 32, 17, 0.08) !important;
    }

    .ac-main {
        padding-top: 12px;
    }

    .ac-hero {
        padding-top: 32px;
    }

    .ac-matrix-table thead .ac-team-inline--matrix {
        grid-template-columns: 26px !important;
        justify-content: center !important;
        justify-items: center !important;
        gap: 0 !important;
    }

    .ac-matrix-table thead .ac-team-inline--matrix span:last-child {
        display: none !important;
    }

    .ac-matrix-table thead .ac-team-logo--xs {
        width: 26px !important;
        height: 26px !important;
        border-radius: 8px !important;
    }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
    html {
        margin-top: 0 !important;
    }

    #wpadminbar,
    .ac-header .ac-brand {
        display: none !important;
    }

    .ac-header,
    .ac-header__inner {
        position: fixed !important;
        top: max(8px, env(safe-area-inset-top)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        left: auto !important;
        width: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    .ac-menu-toggle {
        position: fixed !important;
        top: max(8px, env(safe-area-inset-top)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        z-index: 90 !important;
        display: inline-grid !important;
        pointer-events: auto !important;
    }

    .ac-header .ac-nav {
        position: fixed !important;
        top: max(58px, calc(env(safe-area-inset-top) + 58px)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        left: auto !important;
        width: min(330px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 70px) !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid var(--ac-border) !important;
        border-radius: 22px !important;
        box-shadow: var(--ac-shadow) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow-y: auto !important;
        display: none !important;
    }

    body.ac-mobile-menu-open .ac-header .ac-nav {
        display: grid !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .ac-matrix-table thead .ac-team-inline--matrix {
        grid-template-columns: 26px !important;
        justify-content: center !important;
        justify-items: center !important;
        gap: 0 !important;
    }

    .ac-matrix-table thead .ac-team-inline--matrix span:last-child {
        display: none !important;
    }
}

@media (min-width: 781px) {
    .ac-card-grid .ac-card--team-archive {
        align-self: start !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        padding: 30px !important;
    }

    .ac-card--team-archive .ac-card__thumb--team-photo {
        aspect-ratio: 16 / 8.6 !important;
        min-height: 0 !important;
        max-height: 210px !important;
        margin-bottom: 20px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.92) !important;
    }

    .ac-card--team-archive .ac-card__thumb--team-photo .ac-team-photo {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .ac-card--team-archive .ac-card__thumb--team-photo .ac-team-photo--logo-fallback {
        display: block !important;
        width: min(170px, 58%) !important;
        max-width: 58% !important;
        height: 100% !important;
        margin: 0 auto !important;
        padding: 18px !important;
        object-fit: contain !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .ac-card--team-archive .ac-team-archive__head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 14px !important;
        margin-bottom: 16px !important;
    }

    .ac-card--team-archive .ac-team-archive__brand {
        display: inline-grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        min-width: 0 !important;
    }

    .ac-card--team-archive .ac-team-archive__brand > div {
        min-width: 0 !important;
    }

    .ac-card--team-archive .ac-team-archive__brand .ac-team-logo--sm {
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 64px !important;
        border-radius: 18px !important;
    }

    .ac-card--team-archive .ac-team-archive__brand h2 {
        font-size: clamp(1.15rem, 1.25vw, 1.55rem) !important;
        line-height: 1.12 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .ac-card--team-archive .ac-team-archive__brand h2 a {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .ac-card--team-archive .ac-badge {
        flex: 0 0 auto !important;
        max-width: 112px !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

@media (max-width: 640px) {
    .ac-player-detail-block {
        padding: 16px 12px;
        border-radius: 18px;
    }

    .ac-player-match-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 11px 12px;
    }

    .ac-player-match-row__date {
        grid-column: 1 / -1;
    }

    .ac-player-match-row strong {
        white-space: normal;
    }

    .ac-player-match-row__meta {
        grid-column: 1 / -1;
    }

    .ac-card--team-archive {
        padding: 20px !important;
    }

    .ac-card--team-archive .ac-card__thumb--team-photo {
        margin-bottom: 18px !important;
    }

    .ac-card--team-archive .ac-team-archive__head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .ac-card--team-archive .ac-team-archive__brand {
        min-width: 0 !important;
        display: inline-grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .ac-card--team-archive .ac-team-archive__brand > div {
        min-width: 0 !important;
    }

    .ac-card--team-archive .ac-team-archive__brand .ac-team-logo--sm {
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 16px !important;
    }

    .ac-card--team-archive .ac-team-archive__brand h2 {
        font-size: clamp(1.18rem, 5vw, 1.55rem) !important;
        line-height: 1.08 !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .ac-card--team-archive .ac-team-archive__brand h2 a {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .ac-card--team-archive .ac-team-archive__brand p {
        margin-top: 4px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .ac-card--team-archive .ac-badge {
        flex: 0 0 auto !important;
        align-self: center !important;
        margin-left: auto !important;
        max-width: 108px !important;
        padding: 8px 10px !important;
        font-size: 0.72rem !important;
        line-height: 1.08 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .ac-card--team-archive .ac-team-archive__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .ac-card--team-archive .ac-team-archive__stat {
        padding: 14px 16px !important;
        min-height: 78px !important;
    }

    .ac-season-block {
        margin-top: 24px;
    }

    .ac-season-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
        margin-bottom: 14px;
    }

    .ac-league-block {
        margin-top: 18px;
    }

    .ac-final-group {
        padding: 16px 12px;
        border-radius: 20px;
    }

    .ac-final-match {
        grid-template-columns: minmax(102px, 1fr) auto minmax(102px, 1fr);
        gap: 10px;
        min-height: 104px;
        padding: 16px 12px 14px;
        border-color: rgba(225, 6, 0, 0.12);
        border-radius: 20px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 236, 0.94)),
            #fff;
        box-shadow: 0 14px 30px rgba(33, 18, 10, 0.08);
    }

    .ac-final-match__team {
        align-self: center;
        font-size: 1rem;
        line-height: 1.12;
        gap: 7px;
    }

    .ac-final-match__team .ac-team-logo--xs {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        box-shadow: 0 8px 18px rgba(33, 18, 10, 0.12);
    }

    .ac-final-match__name {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .ac-final-match__team--away {
        justify-content: flex-end;
    }

    .ac-final-match__score {
        min-width: 64px;
        padding: 11px 12px;
        font-size: 1.06rem;
        text-align: center;
        box-shadow: 0 10px 22px rgba(20, 14, 10, 0.18);
    }

    .ac-final-match__status {
        grid-column: 1 / -1;
        margin-top: 0;
        font-size: 0.86rem;
    }

    .ac-final-medal {
        flex: 0 0 34px;
        width: 34px;
        height: 32px;
        margin-left: 0;
        font-size: 0.66rem;
    }

    .ac-final-medal::before,
    .ac-final-medal::after {
        top: 6px;
        width: 14px;
        height: 15px;
        border-width: 3px;
    }

    .ac-final-medal > span {
        width: 22px;
        height: 22px;
    }

    .ac-final-medal > span::before {
        bottom: -7px;
        width: 8px;
        height: 8px;
    }

    .ac-final-medal > span::after {
        bottom: -12px;
        width: 24px;
        height: 7px;
    }
}

@media (max-width: 980px) {
    .ac-footer__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .ac-footer__nav,
    .ac-footer__contacts {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .ac-sponsor-carousel {
        grid-auto-columns: minmax(230px, 84vw);
        gap: 14px;
    }

    .ac-sponsor-card__logo {
        min-height: 110px;
    }

    .ac-footer__links,
    .ac-footer__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ac-footer__actions .ac-button,
    .ac-footer__links a {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .ac-hero.ac-hero--football {
        min-height: auto;
        padding: 34px 0 18px;
    }

    .ac-hero.ac-hero--football::after {
        background:
            linear-gradient(180deg, rgba(246, 234, 216, 0.18) 0%, rgba(246, 234, 216, 0.92) 44%, rgba(246, 234, 216, 0.99) 100%),
            linear-gradient(0deg, rgba(20, 14, 10, 0.12), transparent 38%);
    }

    .ac-hero.ac-hero--football .ac-hero__grid--single {
        grid-template-columns: 1fr;
    }

    .ac-hero.ac-hero--football .ac-hero__content {
        padding-top: 314px;
    }

    .ac-hero-collage {
        inset: 12px 6px auto 6px;
        height: 306px;
        z-index: 4;
        opacity: 0.9;
        touch-action: pan-y;
        pointer-events: auto;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .ac-hero-collage__item {
        border-width: 2px;
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(20, 14, 10, 0.22);
        display: none;
        animation: none;
        transform: none !important;
        transition: box-shadow 0.35s ease, filter 0.35s ease, scale 0.35s ease, opacity 0.35s ease;
        pointer-events: auto;
    }

    .ac-hero-collage__item img {
        pointer-events: none;
        -webkit-user-drag: none;
    }

    .ac-hero-touch-layer {
        display: block;
        position: absolute;
        inset: 0 0 46px 0;
        z-index: 30;
        background: transparent;
        touch-action: none;
        pointer-events: auto;
    }

    .ac-hero-roulette-note {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 7px;
        z-index: 31;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        max-width: calc(100% - 18px);
        margin: 0 auto;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 12px 30px rgba(20, 14, 10, 0.16);
        color: var(--ac-orange);
        font-weight: 900;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-align: center;
        text-transform: uppercase;
        pointer-events: none;
    }

    .ac-hero-collage__item--1 {
        left: 0;
        top: 0;
        width: 33.333%;
        height: 252px;
    }

    .ac-hero-collage__item--2 {
        left: 33.333%;
        top: 0;
        width: 33.334%;
        height: 252px;
    }

    .ac-hero-collage__item--3 {
        right: 0;
        left: auto;
        top: 0;
        width: 33.333%;
        height: 252px;
    }

    .ac-hero-collage__item--4 {
        left: 0;
        top: 0;
        width: 33.333%;
        height: 252px;
    }

    .ac-hero-collage__item--5 {
        left: 33.333%;
        top: 0;
        width: 33.334%;
        height: 252px;
    }

    .ac-hero-collage__item--6 {
        right: 0;
        left: auto;
        top: 0;
        width: 33.333%;
        height: 252px;
    }

    .ac-hero-collage:not(.is-mobile-managed) .ac-hero-collage__group.is-active .ac-hero-collage__item:nth-child(-n+3),
    .ac-hero-collage__group.is-active .ac-hero-collage__item.is-mobile-visible {
        display: block;
    }

    .ac-hero-collage.is-mobile-managed .ac-hero-collage__group.is-active .ac-hero-collage__item:not(.is-mobile-visible) {
        display: none;
    }

    .ac-hero-collage.is-mobile-managed .ac-hero-collage__item:hover,
    .ac-hero-collage.is-mobile-managed .ac-hero-collage__item:active {
        scale: 1;
        box-shadow: 0 18px 44px rgba(20, 14, 10, 0.22);
        filter: none;
    }

    .ac-hero-collage.is-mobile-managed .ac-hero-collage__item.is-flashing::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 48% 38%, rgba(255, 255, 255, 0.92), rgba(255, 208, 121, 0.42) 42%, transparent 70%),
            linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.72) 46% 48%, transparent 52% 100%);
        animation: acHeroFlash 0.52s ease-out;
        pointer-events: none;
    }

    .ac-hero-collage.is-mobile-managed .ac-hero-collage__item.is-flashing img {
        filter: brightness(1.26) saturate(1.22);
    }

}

@media (max-width: 640px) {
    .ac-hero.ac-hero--football {
        padding-top: 24px;
    }

    .ac-hero.ac-hero--football .ac-hero__content {
        padding-top: 292px;
    }

    .ac-hero-collage {
        height: 286px;
    }

    .ac-hero-collage__item--1,
    .ac-hero-collage__item--2,
    .ac-hero-collage__item--3,
    .ac-hero-collage__item--4,
    .ac-hero-collage__item--5,
    .ac-hero-collage__item--6 {
        height: 236px;
    }

    .ac-hero.ac-hero--football .ac-lead {
        color: rgba(36, 28, 22, 0.74);
    }
}

@keyframes acHeroFlash {
    from {
        opacity: 0.95;
    }
    to {
        opacity: 0;
    }
}

@keyframes acHeroConfetti {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.7);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(94px) scale(1.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-hero-collage__item,
    .ac-hero-collage__item img {
        animation: none;
    }
}

/* Arsenal Cup brand pass: red, gold, dark arena energy */
.ac-header__inner,
.ac-footer__inner {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 235, 0.92)),
        radial-gradient(circle at 12% 18%, rgba(255, 193, 7, 0.2), transparent 34%);
    border-color: rgba(255, 193, 7, 0.26);
    box-shadow: 0 28px 74px rgba(28, 10, 5, 0.22), 0 0 0 1px rgba(225, 6, 0, 0.08);
}

.ac-brand__mark {
    background: linear-gradient(135deg, #130b09 0%, var(--ac-red-dark) 48%, var(--ac-gold) 120%);
    box-shadow: 0 12px 28px rgba(225, 6, 0, 0.24);
}

.ac-menu a,
.ac-footer-menu a {
    position: relative;
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.ac-menu a:hover,
.ac-menu a:focus-visible,
.ac-footer-menu a:hover,
.ac-footer-menu a:focus-visible {
    color: var(--ac-red);
    text-shadow: 0 0 18px rgba(225, 6, 0, 0.18);
}

.ac-menu a::after,
.ac-footer-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ac-red), var(--ac-gold));
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.ac-menu a:hover::after,
.ac-menu a:focus-visible::after,
.ac-footer-menu a:hover::after,
.ac-footer-menu a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.ac-menu .sub-menu {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 226, 0.96)),
        radial-gradient(circle at top left, rgba(225, 6, 0, 0.1), transparent 45%);
    border-color: rgba(255, 193, 7, 0.28);
}

.ac-hero--football {
    background:
        radial-gradient(circle at 62% 20%, rgba(255, 193, 7, 0.18), transparent 27%),
        radial-gradient(circle at 86% 26%, rgba(225, 6, 0, 0.18), transparent 32%),
        linear-gradient(120deg, rgba(21, 12, 10, 0.12), rgba(225, 6, 0, 0.08) 48%, rgba(255, 193, 7, 0.08));
}

.ac-hero--football::before {
    background:
        radial-gradient(circle at 26% 30%, rgba(255, 193, 7, 0.16), transparent 26%),
        radial-gradient(circle at 78% 36%, rgba(225, 6, 0, 0.18), transparent 28%),
        linear-gradient(110deg, rgba(14, 9, 8, 0.18), transparent 48%);
}

.ac-hero h1,
.ac-section h1,
.ac-section h2,
.ac-card h2,
.ac-card h3 {
    text-shadow: 0 2px 0 rgba(255, 193, 7, 0.1);
}

.ac-hero__tag,
.ac-eyebrow {
    color: var(--ac-red);
    background: rgba(255, 243, 220, 0.86);
    border: 1px solid rgba(255, 193, 7, 0.24);
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.08);
}

.ac-hero__tag::before,
.ac-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ac-gold);
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.9);
}

.ac-button {
    border: 1px solid rgba(255, 193, 7, 0.22);
    background:
        linear-gradient(135deg, #f23b26 0%, var(--ac-red) 46%, #920b08 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(225, 6, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ac-button:hover,
.ac-button:focus-visible {
    background:
        linear-gradient(135deg, #ff5a3e 0%, var(--ac-red) 42%, #6f0806 100%);
    box-shadow: 0 22px 48px rgba(225, 6, 0, 0.38), 0 0 24px rgba(255, 193, 7, 0.2);
}

.ac-button--ghost {
    background: rgba(255, 248, 235, 0.94);
    color: var(--ac-dark);
    border-color: rgba(255, 193, 7, 0.32);
    box-shadow: 0 14px 30px rgba(52, 21, 9, 0.1);
}

.ac-button--ghost:hover,
.ac-button--ghost:focus-visible {
    background: #fff;
    color: var(--ac-red);
    border-color: rgba(225, 6, 0, 0.28);
}

.ac-panel,
.ac-card,
.ac-mini-card,
.ac-list-item,
.ac-meta-item,
.ac-schedule-card,
.ac-scorer-card {
    border-color: rgba(255, 193, 7, 0.22);
    box-shadow: 0 24px 62px rgba(44, 12, 5, 0.16);
}

.ac-card,
.ac-schedule-card,
.ac-scorer-card,
.ac-mini-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ac-card::before,
.ac-schedule-card::before,
.ac-scorer-card::before,
.ac-mini-card::before {
    content: none;
    display: none;
    opacity: 0;
    pointer-events: none;
}

.ac-card:hover,
.ac-schedule-card:hover,
.ac-scorer-card:hover,
.ac-mini-card:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 6, 0, 0.22);
    box-shadow: 0 30px 72px rgba(44, 12, 5, 0.22), 0 0 0 1px rgba(255, 193, 7, 0.16);
}

.ac-card:hover::before,
.ac-schedule-card:hover::before,
.ac-scorer-card:hover::before,
.ac-mini-card:hover::before {
    opacity: 0;
}

.ac-badge,
.ac-status-label,
.ac-round-pill,
.ac-tab-button.is-active,
.ac-tab-button[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.22), rgba(225, 6, 0, 0.12));
    color: var(--ac-red);
    border-color: rgba(255, 193, 7, 0.24);
}

.ac-match-versus__score,
.ac-standing-table th,
.ac-cross-table th,
.ac-table th {
    background: linear-gradient(135deg, #1a0f0c, #2b130e 58%, #5f0d09);
    color: #fff;
}

.ac-match-versus__score--pending,
.ac-match-archive__score--pending,
.ac-scoreboard__score--pending {
    background: linear-gradient(135deg, rgba(255, 247, 236, 0.98), rgba(255, 224, 184, 0.92));
    color: var(--ac-red);
    border: 1px solid rgba(225, 6, 0, 0.18);
}

.ac-standing-table th,
.ac-cross-table th,
.ac-table th {
    border-color: rgba(255, 193, 7, 0.16);
}

.ac-team-logo--xs,
.ac-team-logo--sm,
.ac-team-logo--md,
.custom-logo {
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.16), 0 12px 26px rgba(63, 20, 8, 0.14);
}

@media (min-width: 901px) {
    .ac-header .custom-logo,
    .ac-header .ac-brand__mark {
        width: 74px;
        height: 74px;
        border-radius: 22px;
        object-fit: contain;
    }

    .ac-header .ac-brand {
        gap: 18px;
    }

    .ac-header__inner {
        min-height: 104px;
        padding: 18px 28px;
    }
}

.ac-card__thumb,
.ac-hero-media,
.ac-card__image {
    border-color: rgba(255, 193, 7, 0.24);
}

@media (max-width: 900px) {
    .ac-header__inner {
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 231, 0.94)),
            radial-gradient(circle at 50% 10%, rgba(225, 6, 0, 0.14), transparent 48%);
    }

    .ac-menu-toggle {
        background: rgba(255, 248, 235, 0.96);
        border: 1px solid rgba(255, 193, 7, 0.28);
        box-shadow: 0 14px 30px rgba(225, 6, 0, 0.12);
    }

    .ac-menu-toggle span {
        background: var(--ac-dark);
    }

    .ac-nav.is-open,
    .ac-header.is-open .ac-nav {
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 218, 0.96)),
            radial-gradient(circle at top right, rgba(225, 6, 0, 0.14), transparent 48%);
    }
}

@media (max-width: 640px) and (orientation: portrait) {
    .ac-header {
        padding-top: 10px !important;
    }

    .ac-header__inner {
        position: relative;
        min-height: var(--ac-mobile-header-height, 82px) !important;
        padding: var(--ac-mobile-header-padding, 11px) 10px !important;
        border-radius: 18px !important;
        transition: min-height 0.08s linear, padding 0.08s linear;
    }

    .ac-header .ac-brand {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        margin: 0 !important;
        transform: translate(-50%, calc(-50% + var(--ac-mobile-logo-lift, 0px)));
    }

    .ac-header .custom-logo,
    .ac-header .ac-brand__mark {
        width: var(--ac-mobile-logo-size, 78px) !important;
        height: var(--ac-mobile-logo-size, 78px) !important;
        padding: 4px;
        border-radius: 18px !important;
        background: rgba(255, 250, 240, 0.94);
        object-fit: contain;
        box-shadow:
            0 0 0 2px rgba(255, 193, 7, 0.28),
            0 14px 34px rgba(225, 6, 0, 0.18);
        transition: width 0.08s linear, height 0.08s linear, transform 0.08s linear;
    }

    .ac-menu-toggle {
        z-index: 5;
        margin-left: auto !important;
    }
}

@media (hover: none), (pointer: coarse) {
    html,
    body,
    a,
    button,
    input,
    select,
    textarea,
    .ac-card,
    .ac-mini-card,
    .ac-schedule-card,
    .ac-scorer-card,
    .ac-list-item,
    .is-clickable-card {
        -webkit-tap-highlight-color: transparent;
    }

    .ac-card:hover,
    .ac-card:focus,
    .ac-card:active,
    .ac-schedule-card:hover,
    .ac-schedule-card:focus,
    .ac-schedule-card:active,
    .ac-scorer-card:hover,
    .ac-scorer-card:focus,
    .ac-scorer-card:active,
    .ac-mini-card:hover,
    .ac-mini-card:focus,
    .ac-mini-card:active,
    .is-clickable-card:hover,
    .is-clickable-card:focus,
    .is-clickable-card:active,
    .ac-contact-card:hover,
    .ac-contact-card:focus,
    .ac-contact-card:active {
        transform: none !important;
        filter: none !important;
    }

    .ac-card:hover::before,
    .ac-card:focus::before,
    .ac-card:active::before,
    .ac-schedule-card:hover::before,
    .ac-schedule-card:focus::before,
    .ac-schedule-card:active::before,
    .ac-scorer-card:hover::before,
    .ac-scorer-card:focus::before,
    .ac-scorer-card:active::before,
    .ac-mini-card:hover::before,
    .ac-mini-card:focus::before,
    .ac-mini-card:active::before {
        opacity: 0 !important;
    }

    .ac-button:hover,
    .ac-button:focus,
    .ac-button:active,
    .ac-button--ghost:hover,
    .ac-button--ghost:focus,
    .ac-button--ghost:active,
    .ac-menu a:hover,
    .ac-menu a:focus,
    .ac-menu a:active,
    .ac-footer-menu a:hover,
    .ac-footer-menu a:focus,
    .ac-footer-menu a:active,
    .ac-tab:hover,
    .ac-tab:focus,
    .ac-tab:active,
    .ac-tab-button:hover,
    .ac-tab-button:focus,
    .ac-tab-button:active {
        filter: none !important;
        text-shadow: none !important;
    }
}

@media (max-width: 980px) {
    .ac-partner-hero,
    .ac-partner-form-section {
        grid-template-columns: 1fr;
    }

    .ac-partner-hero {
        min-height: 0;
    }

    .ac-partner-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .ac-partner-form-copy {
        position: static;
    }
}

@media (max-width: 640px) {
    .ac-partner-landing {
        gap: 18px;
    }

    .ac-partner-hero {
        padding: 24px 18px;
        border-radius: 28px;
        background-position: center;
    }

    .ac-partner-hero::before {
        background: linear-gradient(180deg, rgba(8, 5, 4, 0.78), rgba(8, 5, 4, 0.58));
    }

    .ac-partner-hero h1 {
        font-size: clamp(2.55rem, 14vw, 4.2rem);
    }

    .ac-partner-hero p {
        font-size: 0.98rem;
    }

    .ac-partner-actions {
        display: grid;
        gap: 10px;
    }

    .ac-partner-hero__stats,
    .ac-partner-grid,
    .ac-partner-type-grid,
    .ac-partner-form {
        grid-template-columns: 1fr;
    }

    .ac-partner-hero__stats span {
        padding: 14px 16px;
    }

    .ac-partner-section,
    .ac-partner-ideas {
        padding: 22px 16px;
        border-radius: 26px;
    }

    .ac-partner-section h2,
    .ac-partner-ideas h2 {
        font-size: clamp(1.8rem, 11vw, 3rem);
    }

    .ac-partner-card {
        min-height: 0;
        padding: 18px;
    }

    .ac-partner-type {
        min-height: 62px;
    }
}

.ac-match-center {
    margin-top: 24px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(225, 6, 0, 0.12), transparent 38%),
        linear-gradient(145deg, rgba(22, 14, 10, 0.96), rgba(60, 20, 14, 0.92));
    color: #fff8ec;
    box-shadow: 0 24px 54px rgba(35, 12, 6, 0.22);
}

.ac-match-center .ac-section__head {
    color: inherit;
}

.ac-match-center .ac-eyebrow {
    color: #ffd46b;
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.22);
}

.ac-match-center h2 {
    color: #fff;
}

.ac-tabs--match {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.22);
}

.ac-tabs--match::-webkit-scrollbar {
    display: none;
}

.ac-tabs--match .ac-tab {
    flex: 0 0 auto;
    color: #fff6e7;
    min-width: 150px;
}

.ac-tabs--match .ac-tab:hover,
.ac-tabs--match .ac-tab:focus-visible {
    background: rgba(255, 215, 0, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.ac-tabs--match .ac-tab.is-active {
    background: linear-gradient(135deg, #e10600, #8f0905);
    color: #fff;
    box-shadow: 0 12px 26px rgba(225, 6, 0, 0.26);
}

.ac-tab__emoji {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
}

.ac-match-tab-panel {
    padding: clamp(14px, 2.4vw, 22px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.96);
    color: var(--ac-text);
}

.ac-match-timeline {
    position: relative;
    display: grid;
    gap: 0;
    padding: 6px 0;
}

.ac-match-timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 50%;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.2), rgba(225, 6, 0, 0.22), rgba(255, 193, 7, 0.2));
    transform: translateX(-50%);
}

.ac-match-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 12px 0;
}

.ac-match-timeline__item + .ac-match-timeline__item {
    border-top: 1px solid rgba(23, 18, 15, 0.08);
}

.ac-match-timeline__minute {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    font-family: "Russo One", sans-serif;
    font-size: 0.82rem;
    color: #5a170f;
    line-height: 1;
    position: relative;
    z-index: 2;
    min-width: 40px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 8px 18px rgba(32, 10, 4, 0.08);
}

.ac-match-timeline__marker {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 245, 225, 0.95);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 24px rgba(32, 10, 4, 0.14);
}

.ac-match-timeline__card {
    grid-column: 3;
    grid-row: 1 / 3;
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(32, 10, 4, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ac-match-timeline__item:hover .ac-match-timeline__card {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(32, 10, 4, 0.12);
}

.ac-match-timeline__card strong {
    color: #e10600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ac-match-timeline__card a {
    color: var(--ac-text);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
}

.ac-match-timeline__card span {
    color: var(--ac-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.ac-match-timeline__item--home .ac-match-timeline__card {
    grid-column: 1;
    justify-items: end;
    text-align: right;
}

.ac-match-timeline__item--away .ac-match-timeline__card {
    grid-column: 3;
    justify-items: start;
    text-align: left;
}

.ac-match-timeline__item--neutral .ac-match-timeline__card {
    grid-column: 1 / 4;
    grid-row: 3;
    justify-self: center;
    width: min(420px, 100%);
    text-align: center;
}

.ac-match-timeline__item--yellow .ac-match-timeline__card strong {
    color: #b7791f;
}

.ac-match-timeline__item--red .ac-match-timeline__card strong {
    color: #b91c1c;
}

.ac-match-lineups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ac-lineup-team {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, rgba(255, 247, 232, 0.88));
}

.ac-lineup-team__head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.ac-lineup-team__head > span {
    color: #e10600;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-lineup-team__head strong {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.ac-lineup-list {
    display: grid;
    gap: 10px;
}

.ac-lineup-player {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ac-lineup-player:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 6, 0, 0.22);
    box-shadow: 0 14px 28px rgba(32, 10, 4, 0.09);
}

.ac-lineup-player__photo {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.16), rgba(255, 193, 7, 0.18));
    color: #7a1c13;
    font-weight: 900;
    text-decoration: none;
}

.ac-lineup-player__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ac-lineup-player__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ac-lineup-player__top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ac-lineup-player__number,
.ac-lineup-player__captain {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(23, 18, 15, 0.08);
    color: var(--ac-muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.ac-lineup-player__captain {
    background: rgba(255, 193, 7, 0.28);
    color: #7a1c13;
}

.ac-lineup-player__name {
    overflow: hidden;
    color: var(--ac-text);
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    text-overflow: ellipsis;
}

.ac-lineup-player__name:hover,
.ac-lineup-player__name:focus-visible {
    color: #e10600;
}

.ac-lineup-player__position {
    overflow: hidden;
    color: var(--ac-muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-lineup-player__events {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    max-width: 92px;
}

.ac-lineup-player__events span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(23, 18, 15, 0.06);
    font-size: 0.82rem;
    font-weight: 900;
}

@media (max-width: 760px) {
    .ac-match-center {
        margin-top: 18px;
        padding: 14px;
        border-radius: 22px;
    }

    .ac-tabs--match {
        margin: 16px -2px;
        padding: 6px;
        border-radius: 18px;
    }

    .ac-tabs--match .ac-tab {
        min-width: 142px;
        padding: 11px 14px;
    }

    .ac-match-tab-panel {
        padding: 12px;
        border-radius: 20px;
    }

    .ac-match-timeline::before {
        left: 50%;
    }

    .ac-match-timeline__item {
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 3px;
        padding: 10px 0;
    }

    .ac-match-timeline__minute {
        min-width: 34px;
        padding: 3px 6px;
        font-size: 0.72rem;
    }

    .ac-match-timeline__marker {
        width: 34px;
        height: 34px;
        font-size: 0.84rem;
    }

    .ac-match-timeline__card {
        padding: 9px 10px;
        border-radius: 14px;
    }

    .ac-match-timeline__card strong {
        font-size: 0.62rem;
    }

    .ac-match-timeline__card a {
        font-size: 0.76rem;
        line-height: 1.15;
    }

    .ac-match-timeline__card span {
        font-size: 0.7rem;
    }

    .ac-match-lineups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ac-lineup-team {
        padding: 9px;
        border-radius: 18px;
    }

    .ac-lineup-team__head strong {
        font-size: 0.86rem;
    }

    .ac-lineup-team__head .ac-team-logo {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .ac-lineup-player {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
        border-radius: 15px;
    }

    .ac-lineup-player__photo {
        width: 34px;
        height: 34px;
        font-size: 0.86rem;
    }

    .ac-lineup-player__top {
        gap: 4px;
    }

    .ac-lineup-player__number,
    .ac-lineup-player__captain {
        min-height: 18px;
        padding: 2px 6px;
        font-size: 0.68rem;
    }

    .ac-lineup-player__name {
        font-size: 0.82rem;
    }

    .ac-lineup-player__position {
        font-size: 0.72rem;
    }

    .ac-lineup-player__events {
        grid-column: 1 / -1;
        justify-content: flex-start;
        max-width: none;
    }

    .ac-lineup-player__events span {
        min-height: 21px;
        padding: 2px 6px;
        font-size: 0.72rem;
    }
}

@media (max-width: 420px) {
    .ac-match-lineups {
        gap: 6px;
    }

    .ac-lineup-team {
        padding: 7px;
    }

    .ac-lineup-team__head {
        gap: 5px;
    }

    .ac-lineup-team__head > span {
        font-size: 0.68rem;
    }

    .ac-lineup-team__head strong {
        gap: 5px;
        font-size: 0.78rem;
    }

    .ac-lineup-player {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 6px;
        padding: 7px;
    }

    .ac-lineup-player__photo {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 980px) {
    .ac-playoff-group {
        padding: 18px 14px;
        border-radius: 24px;
    }

    .ac-playoff-group__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .ac-playoff-bracket,
    .ac-playoff-optimists {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ac-playoff-center {
        min-height: 190px;
        order: -1;
    }

    .ac-playoff-center::before,
    .ac-playoff-center::after {
        display: none;
    }

    .ac-playoff-trophy {
        width: 104px;
        height: 122px;
    }

    .ac-playoff-trophy__cup {
        top: 12px;
        width: 64px;
        height: 70px;
    }

    .ac-playoff-trophy__handle {
        top: 24px;
        width: 33px;
        height: 46px;
        border-width: 7px;
    }

    .ac-playoff-trophy__stem {
        top: 78px;
        width: 23px;
        height: 24px;
    }

    .ac-playoff-trophy__base {
        width: 72px;
        height: 23px;
    }
}

@media (max-width: 640px) {
    .ac-playoff-group {
        margin-left: -10px;
        margin-right: -10px;
        padding: 16px 12px;
        border-radius: 22px;
    }

    .ac-playoff-kicker {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .ac-playoff-group__title {
        font-size: clamp(1.35rem, 8vw, 1.95rem);
    }

    .ac-playoff-round-label {
        font-size: 0.72rem;
    }

    .ac-playoff-match {
        min-height: 112px;
        grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
        padding: 14px 12px;
        gap: 8px;
        border-radius: 19px;
    }

    .ac-playoff-match__team {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        font-size: 0.96rem;
    }

    .ac-playoff-match__team--away {
        grid-template-columns: minmax(0, 1fr) 38px;
    }

    .ac-playoff-match__team--away .ac-team-logo--xs {
        order: 2;
    }

    .ac-playoff-match__team--away .ac-playoff-match__name {
        order: 1;
    }

    .ac-playoff-match__team .ac-final-medal {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 4px;
    }

    .ac-playoff-match__name {
        white-space: normal;
    }

    .ac-playoff-match__score {
        min-width: 58px;
        padding: 10px 9px;
        font-size: 1rem;
    }

    .ac-playoff-match__status {
        font-size: 0.78rem;
    }

    .ac-playoff-center {
        min-height: 168px;
        padding: 16px;
        border-radius: 22px;
    }
}

.ac-playoff-trophy {
    width: clamp(148px, 16vw, 236px);
    height: clamp(148px, 16vw, 236px);
    display: grid;
    place-items: center;
    filter: drop-shadow(0 18px 32px rgba(255, 193, 7, 0.34));
}

.ac-playoff-trophy__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

@media (max-width: 980px) {
    .ac-playoff-trophy {
        width: 138px;
        height: 138px;
    }
}

@media (max-width: 640px) {
    .ac-playoff-trophy {
        width: 118px;
        height: 118px;
    }
}

.ac-playoff-center {
    min-height: 370px;
}

.ac-playoff-podium {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    align-items: end;
    gap: 10px;
    width: min(100%, 430px);
    margin-top: 8px;
}

.ac-playoff-award {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    padding: 8px 7px 9px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ac-playoff-award--place-1 {
    padding-top: 4px;
    border-color: rgba(255, 215, 0, 0.42);
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 215, 0, 0.24), transparent 52%),
        rgba(255, 255, 255, 0.1);
}

.ac-playoff-award__cup {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.28));
}

.ac-playoff-award--place-1 .ac-playoff-award__cup {
    width: 66px;
    height: 66px;
}

.ac-playoff-award__place {
    color: #ffd76a;
    font-size: 0.68rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.ac-playoff-award__unknown {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(20, 10, 8, 0.74);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
}

.ac-playoff-award__team {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    max-width: 100%;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.12;
    text-align: left;
}

.ac-playoff-award__team .ac-team-logo--xs {
    width: 24px;
    height: 24px;
}

.ac-playoff-award__team span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-playoff-optimists-winner {
    display: grid;
    place-items: center;
    min-height: 76px;
    margin-top: 10px;
}

.ac-playoff-optimists-winner__unknown {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.22), transparent 58%),
        rgba(20, 10, 8, 0.82);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 1000;
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 215, 0, 0.2);
}

.ac-playoff-optimists-winner__logo {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.3), transparent 62%),
        rgba(255, 255, 255, 0.12);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 215, 0, 0.24);
}

.ac-playoff-optimists-winner__logo .ac-team-logo--md,
.ac-playoff-optimists-winner__logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .ac-playoff-center {
        min-height: 330px;
    }

    .ac-playoff-podium {
        max-width: 390px;
    }
}

@media (max-width: 640px) {
    .ac-playoff-center {
        min-height: 310px;
        gap: 7px;
    }

    .ac-playoff-podium {
        gap: 7px;
    }

    .ac-playoff-award {
        padding: 7px 5px;
        border-radius: 14px;
    }

    .ac-playoff-award__cup {
        width: 44px;
        height: 44px;
    }

    .ac-playoff-award--place-1 .ac-playoff-award__cup {
        width: 54px;
        height: 54px;
    }

    .ac-playoff-award__place {
        font-size: 0.58rem;
    }

    .ac-playoff-award__team {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 4px;
        font-size: 0.66rem;
    }

    .ac-playoff-award__team .ac-team-logo--xs {
        width: 20px;
        height: 20px;
    }

    .ac-playoff-optimists-winner {
        min-height: 66px;
    }

    .ac-playoff-optimists-winner__logo {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .ac-playoff-optimists-winner__logo .ac-team-logo--md,
    .ac-playoff-optimists-winner__logo img {
        width: 50px;
        height: 50px;
    }
}

.ac-playoff-match__team .ac-final-medal {
    position: relative;
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-left: 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    vertical-align: middle;
}

.ac-playoff-match__team .ac-final-medal::before,
.ac-playoff-match__team .ac-final-medal::after,
.ac-playoff-match__team .ac-final-medal > span::before,
.ac-playoff-match__team .ac-final-medal > span::after {
    display: none;
    content: none;
}

.ac-final-medal__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

.ac-playoff-match__team .ac-final-medal__number {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #160f0d;
    font-size: 0.74rem;
    font-weight: 1000;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.72);
    transform: translate(-50%, -49%);
    pointer-events: none;
}

.ac-playoff-match__team .ac-final-medal--place-2 .ac-final-medal__number {
    color: #1d2630;
}

.ac-playoff-match__team .ac-final-medal--place-3 .ac-final-medal__number {
    color: #1f0d06;
}

@media (max-width: 640px) {
    .ac-playoff-match__team .ac-final-medal {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        min-width: 38px;
        margin-left: 2px;
    }

    .ac-playoff-match__team .ac-final-medal__number {
        font-size: 0.64rem;
    }
}

/* Keep team archive names readable in one row. */
.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand > div,
.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand h2,
.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand h2 a {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand h2 {
    font-size: clamp(1.08rem, 1.14vw, 1.42rem) !important;
    line-height: 1.08 !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand h2 a {
    display: block !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand p {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-badge {
    max-width: 108px !important;
    padding-inline: 10px !important;
    line-height: 1.08 !important;
    text-align: center !important;
    white-space: normal !important;
}

@media (max-width: 640px) {
    .post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand {
        gap: 10px !important;
    }

    .post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand .ac-team-logo--sm {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px !important;
        border-radius: 15px !important;
    }

    .post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-team-archive__brand h2 {
        font-size: clamp(1.05rem, 4.7vw, 1.35rem) !important;
    }

    .post-type-archive-ac_team .ac-card.ac-card--team-archive .ac-badge {
        max-width: 98px !important;
        padding: 7px 9px !important;
        font-size: 0.68rem !important;
    }
}

@media (max-width: 640px) {
    .ac-card--contacts .ac-contact-organizer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 16px !important;
        padding: 18px !important;
    }

    .ac-card--contacts .ac-contact-organizer > div {
        min-width: 0 !important;
    }

    .ac-card--contacts .ac-contact-organizer h2 {
        max-width: 100% !important;
        font-size: clamp(1.55rem, 9vw, 2.25rem) !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .ac-card--contacts .ac-contact-organizer__actions {
        width: 100% !important;
        justify-content: stretch !important;
    }

    .ac-card--contacts .ac-contact-organizer__actions .ac-button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 960px) {
    .ac-gallery-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ac-gallery-lightbox__panel {
        grid-template-columns: minmax(0, 1fr);
        overflow: auto;
    }

    .ac-gallery-lightbox__panel .ac-photo-lightbox__stage {
        height: auto;
        max-height: 72dvh;
    }

    .ac-gallery-lightbox__side {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .ac-gallery-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ac-gallery-date {
        margin-top: 12px;
        padding-top: 12px;
    }

    .ac-gallery-card img {
        border-radius: 14px;
    }

    .ac-gallery-card span {
        font-size: 0.82rem;
    }

    .ac-gallery-lightbox__panel {
        width: min(100%, calc(100vw - 22px));
        max-height: 92dvh;
        gap: 10px;
    }

    .ac-gallery-lightbox__side {
        border-radius: 16px;
    }

}

@media (max-width: 640px) {
    .ac-head-to-head__item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 13px;
        border-radius: 16px;
    }

    .ac-head-to-head__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        font-size: 0.8rem;
    }

    .ac-head-to-head__meta > span {
        white-space: normal;
    }

    .ac-head-to-head__teams {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
    }

    .ac-head-to-head__teams > span {
        align-items: flex-start;
        gap: 6px;
        font-size: 0.86rem;
        line-height: 1.15;
    }

    .ac-head-to-head__teams strong {
        min-width: 58px;
        padding: 7px 9px;
        font-size: 0.92rem;
    }
}
