:root {
    --text: #111827;
    --muted: #6b7280;
    --dark: #050505;
    --bol-red: #ed1c24;
    --bol-border: #e5e7eb;
    --red-900: #7f1d1d;
    --black: #000;
    --white: #fff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-900: #111827;

    --bol-red-dark: #8f0f12;
    --bol-tint: #fff4f4;
    --text-dark: #111827;
    --text-muted: #6b7280;
}

* {
    box-sizing: border-box
}

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.splash-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.splash-logo-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.splash-logo-box img {
    width: 176px;
    height: 176px;
    object-fit: contain;
}

.splash-title {
    color: var(--bol-red);
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.splash-loader {
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: var(--bol-red);
    animation: pulse 1.2s ease-in-out infinite;
}

.team-flag img {
    width: 30px;
    /* height: 16px; */
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--bol-border);
    flex-shrink: 0;
}

body {
    margin: 0;
    font-family: Poppins, Arial, sans-serif;
    background: #fff;
    color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut .4s ease 1.1s forwards
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.logo-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12)
}

.logo-lg {
    height: 112px;
    width: 112px;
    object-fit: contain
}

.loader-title {
    color: var(--bol-red);
    font-weight: 600;
    font-size: 18px;
    margin: 0
}

.hero {
    background: linear-gradient(90deg, var(--bol-red), #7f1d1d);
    color: #fff;
    padding: 16px
}

.hero-inner {
    max-width: 672px;
    margin: 0 auto
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 0 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18)
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 12px 0;
    font-size: 16px;
    color: #111
}

.btn-red {
    background: var(--bol-red);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 800;
    cursor: pointer
}

.btn-red:hover {
    background: #b91c1c
}

.quick-filters, .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px
}

.quick-filters button, .filter-buttons button {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer
}

.filter-panel {
    background: #fff;
    color: #111;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24)
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px
}

select,
input[type=date] {
    width: 100%;
    border: 1px solid var(--bol-border);
    border-radius: 5px;
    padding: 8px;
    font-size: 15px;
    background: #fff
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px
}

.link-btn {
    background: none;
    border: 0;
    color: #111;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer
}

.pulse {
    width: 32px;
    height: 4px;
    background: var(--bol-red);
    border-radius: 999px;
    animation: pulse 1s infinite
}

.last-updated {
    font-size: 12px;
    color: var(--gray-500)
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    color: var(--gray-900);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    border-bottom: 1px solid var(--gray-200)
}

.header-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px
}

.brand img {
    height: 96px;
    width: 96px;
    object-fit: contain
}

.brand span {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -.02em;
    color: var(--bol-red)
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 16px
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: .2s
}

.nav-link:hover,
.nav-link.active {
    color: var(--bol-red)
}

.nav-link.active {
    border-bottom: 2px solid var(--bol-red);
    padding-bottom: 2px;
    font-weight: 600
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--gray-200)
}

.mobile-nav a {
    flex: 1;
    text-align: center;
    padding: 12px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500)
}

.mobile-nav a.active {
    color: var(--bol-red);
    border-bottom: 2px solid var(--bol-red);
    font-weight: 600
}

main {
    flex: 1
}

.hero {
    background: linear-gradient(135deg, var(--bol-red), var(--red-900), #000);
    color: #fff;
    padding: 24px 16px;
    text-align: center
}

.hero-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .7;
    margin: 0 0 4px
}

.hero h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700
}

.hero-subtitle {
    font-size: 16px;
    opacity: .75;
    margin: 4px 0 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--bol-border)
}

.stat {
    padding: 16px;
    text-align: center;
    border-right: 1px solid var(--bol-border)
}

.stat:last-child {
    border-right: 0
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--bol-red);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin: 4px 0 0
}

.stat-small {
    font-size: 10px;
    color: var(--gray-500);
    margin: 0
}

.search-band {
    background: linear-gradient(135deg, var(--bol-red), var(--red-900), #000);
    color: #fff;
    padding: 24px 16px
}

.search-wrap {
    max-width: 672px;
    margin: 0 auto
}

.search-box {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

.search-box input {
    flex: 1;
    padding: 10px 0;
    color: #000;
    font-size: 16px;
    border: 0;
    outline: 0
}

.search-box input::placeholder {
    color: #1f2937
}

.search-box button {
    background: var(--bol-red);
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer
}

.search-box button:hover {
    background: #b91c1c
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-buttons button {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer
}

.filter-buttons button:hover {
    background: rgba(255, 255, 255, .3)
}

.content {
    max-width: 896px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px
}

.title-bar {
    width: 4px;
    height: 16px;
    background: var(--bol-red);
    border-radius: 999px
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bol-red);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0
}

.view-all {
    font-size: 12px;
    color: var(--bol-red);
    font-weight: 600
}

.view-all:hover {
    text-decoration: underline
}

.date-group {
    margin-bottom: 24px
}

.date-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.date-head h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--bol-red);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0
}

.fixture-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.match-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--bol-border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: .2s
}

.match-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
}

.match-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-300);
    border-radius: 8px 0 0 8px
}

.match-body {
    padding-left: 12px
}

.match-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.match-meta-left {
    display: flex;
    align-items: center;
    gap: 8px
}

.time-badge {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px
}

.group-label {
    font-size: 12px;
    color: var(--gray-600)
}

.teams {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1
}

.team.right {
    justify-content: flex-end
}

.abbr {
    font-size: 12px;
    font-weight: 700;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 4px;
    padding: 2px 6px
}

.team-name {
    font-weight: 600;
    font-size: 14px
}

.vs {
    min-width: 60px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-400)
}

.venue {
    font-size: 10px;
    color: var(--gray-400);
    margin: 6px 0 0
}

.group-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px
}

.group-tabs button {
    white-space: nowrap;
    border: 0;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer
}

.group-tabs button.active {
    background: var(--bol-red);
    color: #fff
}

.empty-standings {
    font-size: 12px;
    color: var(--gray-400);
    padding: 16px;
    text-align: center;
    margin: 0
}

.knockout-card {
    background: var(--gray-50);
    border: 1px solid var(--bol-border);
    border-radius: 8px;
    padding: 24px;
    text-align: center
}

.knockout-card p:first-child {
    color: var(--gray-500);
    font-size: 14px;
    margin: 0
}

.knockout-date {
    font-size: 24px;
    font-weight: 700;
    margin: 4px 0 0
}

.knockout-card a {
    display: inline-block;
    margin-top: 12px;
    color: var(--bol-red);
    font-size: 14px;
    font-weight: 600
}

.site-footer {
    background: #000;
    color: rgba(255, 255, 255, .6);
    text-align: center;
    padding: 16px;
    margin-top: 48px;
    font-size: 12px
}

.container {
    max-width: 896px;
    margin: 0 auto;
    padding: 24px 16px
}

.container_knockout {
    max-width: 1152px;
    margin: 0 auto;
    padding: 24px 16px
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.page-title h1 {
    font-size: 24px;
    margin: 0;
    color: var(--bol-red)
}

.count {
    font-size: 13px;
    color: #6b7280
}

.date-group {
    margin-bottom: 24px
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.section-heading span {
    width: 4px;
    height: 18px;
    background: var(--bol-red);
    border-radius: 99px;
    display: block
}

.section-heading h2 {
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bol-red);
    margin: 0;
    font-weight: 800
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.match-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid var(--bol-border);
    border-radius: 8px;
    overflow: hidden;
    transition: .2s box-shadow
}

.match-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
}

.status-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #d1d5db
}

.match-inner {
    padding: 12px 12px 12px 16px
}

.match-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #6b7280;
    font-size: 12px
}

.time,
.code {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 4px;
    padding: 3px 7px;
    font-weight: 700;
    font-size: 11px
}

.status-pill {
    margin-left: auto;
    text-transform: uppercase;
    font-size: 10px;
    color: #777
}

.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0
}

.team-away {
    justify-content: flex-end;
    text-align: right
}

.team-name {
    font-weight: 700;
    font-size: 14px;
    white-space: normal
}

.score {
    min-width: 70px;
    text-align: center;
    color: #9ca3af;
    font-weight: 800
}

.venue {
    font-size: 11px;
    color: #9ca3af;
    margin: 8px 0 0
}

.section-space > * + * {
    margin-top: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.stat-card {
    border: 1px solid rgba(200, 19, 23, 0.2);
    background: var(--bol-tint);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.stat-card.final {
    background: var(--bol-red);
    border-color: var(--bol-red);
    color: #ffffff;
}

.stat-number {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--bol-red);
}

.stat-card.final .stat-number {
    color: #ffffff;
}

.stat-label {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.25;
    color: var(--text-muted);
}

.stat-card.final .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin-bottom: 12px; */
}

.section-title span {
    width: 4px;
    height: 16px;
    background: var(--bol-red);
    border-radius: 999px;
    flex: 0 0 auto;
}

.section-title h2 {
    margin: 0;
    font-size: 14px;
    color: var(--bol-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.image-card,
.info-card {
    background: #ffffff;
    border: 1px solid var(--bol-border);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.image-card {
    padding: 12px;
}

.zoom-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.zoom-level {
    font-size: 12px;
    color: #9ca3af;
    margin-right: 4px;
}

.zoom-controls button {
    min-width: 28px;
    height: 28px;
    border: 1px solid var(--bol-border);
    background: #ffffff;
    color: #374151;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.zoom-controls button:hover {
    background: var(--bol-tint);
}

.zoom-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.zoom-controls .reset-btn {
    padding: 0 8px;
    font-size: 12px;
    font-weight: 500;
}

.scheme-scroll {
    overflow: auto;
    border: 1px solid var(--bol-border);
    border-radius: 10px;
    background: #ffffff;
    max-height: 70vh;
}

.scheme-image-wrap {
    transform: scale(1);
    transform-origin: top left;
    width: 100%;
    transition: transform 0.2s ease;
}

.scheme-image-wrap img {
    width: 100%;
    height: auto;
}

.info-list > * + * {
    margin-top: 12px;
}

.info-card {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.info-number {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--bol-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.info-card h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 16px;
}

.info-card p {
    margin: 4px 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.info-card .highlight {
    color: var(--bol-red);
    font-weight: 500;
}

.cta-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.cta-row .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-row .btn-primary {
    background: var(--bol-red);
    color: #ffffff;
}

.cta-row .btn-primary:hover {
    background: var(--bol-red-dark);
}

.cta-row .btn-outline {
    border: 1px solid var(--bol-red);
    color: var(--bol-red);
    background: #ffffff;
}

.cta-row .btn-outline:hover {
    background: var(--bol-tint);
}

.flex-1 {
    flex: 1
}

.sticky {
    position: sticky
}

.top-0 {
    top: 0
}

.z-50 {
    z-index: 50
}

.bg-white {
    background: #fff
}

.text-gray-900 {
    color: #111827
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08)
}

.border-b {
    border-bottom: 1px solid var(--bol-border)
}

.border-t {
    border-top: 1px solid var(--bol-border)
}

.border-gray-200 {
    border-color: #e5e7eb
}

.max-w-6xl {
    max-width: 72rem
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem
}

.flex {
    display: flex
}

.items-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.gap-4 {
    gap: 1rem
}

.gap-8 {
    gap: 2rem
}

.h-24 {
    height: 6rem
}

.w-24 {
    width: 6rem
}

.object-contain {
    object-fit: contain
}

.font-bold {
    font-weight: 700
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.tracking-tight {
    letter-spacing: -.025em
}

.text-bol-red {
    color: var(--bol-red)
}

.hidden {
    display: none
}

.font-medium {
    font-weight: 500
}

.transition-colors {
    transition: color .2s, background .2s, border-color .2s
}

.hover\:text-bol-red:hover {
    color: var(--bol-red)
}

.text-gray-600 {
    color: #4b5563
}

.border-b-2 {
    border-bottom: 2px solid var(--bol-red)
}

.pb-0\.5 {
    padding-bottom: .125rem
}

.font-semibold {
    font-weight: 600
}

.sm\:hidden {
    display: flex
}

.text-center {
    text-align: center
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.text-gray-500 {
    color: #6b7280
}

.max-w-full {
    max-width: 100%
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

.gap-2 {
    gap: .5rem
}

.mb-4 {
    margin-bottom: 1rem
}

.w-1 {
    width: .25rem
}

.h-4 {
    height: 1rem
}

.bg-bol-red {
    background: var(--bol-red)
}

.rounded-full {
    border-radius: 999px
}

.uppercase {
    text-transform: uppercase
}

.tracking-wide {
    letter-spacing: .025em
}

.overflow-x-auto {
    overflow-x: auto
}

.gap-6 {
    gap: 1.5rem
}

.min-w-max {
    min-width: max-content
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem
}

.flex-col {
    flex-direction: column
}

.gap-3 {
    gap: .75rem
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem
}

.mb-1 {
    margin-bottom: .25rem
}

.border {
    border: 1px solid var(--bol-border)
}

.rounded-lg {
    border-radius: .5rem
}

.p-2 {
    padding: .5rem
}

.cursor-pointer {
    cursor: pointer
}

.hover\:shadow:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.transition-shadow {
    transition: box-shadow .2s
}

.min-w-\[160px\] {
    min-width: 160px
}

.border-bol-border {
    border-color: var(--bol-border)
}

.mb-1 {
    margin-bottom: .25rem
}

.gap-1 {
    gap: .25rem
}

.mt-1\.5 {
    margin-top: .375rem
}

.border-gray-100 {
    border-color: #f3f4f6
}

.pt-1 {
    padding-top: .25rem
}

.space-y-0\.5>*+* {
    margin-top: .125rem
}

.text-\[10px\] {
    font-size: 10px;
    /* line-height: 1.1rem */
}

p.text-\[10px\] {
    margin: .05rem 0
}

.text-gray-400 {
    color: #9ca3af
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.bg-black {
    background: #000
}

.text-white\/60 {
    color: rgba(255, 255, 255, .6)
}

.mt-12 {
    margin-top: 3rem
}

header {
    background: white
}

.bracket-wrap {
    padding-bottom: 1rem
}

.bracket-column {
    min-width: 180px
}

.bracket-card {
    display: block
}

.bracket-card>div {
    min-height: 86px
}

.bracket-card:hover {
    transform: translateY(-1px)
}

.match-box {
    border: 1px solid var(--bol-border);
    border-radius: .5rem;
    padding: .5rem;
    font-size: .75rem;
    min-width: 160px;
    background: #fff;
    transition: box-shadow .2s
}

.match-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .25rem
}

.team-name {
    /* display: flex; */
    gap: .25rem;
    align-items: center;
    font-weight: 600
}

.title-bar {
    width: 4px;
    height: 16px;
    background: var(--bol-red);
    border-radius: 999px;
    flex-shrink: 0;
}

.page-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.page-heading h1 {
    margin: 0;
    color: var(--bol-red);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.match-info {
    margin-top: .375rem;
    border-top: 1px solid #f3f4f6;
    padding-top: .25rem
}

.match-info p {
    margin: .05rem 0;
    font-size: 10px;
    color: #6b7280
}

.match-info .venue {
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.bracket-scroll {
    overflow-x: auto
}

.bracket-board {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
    padding: .75rem .5rem 1rem
}

.bracket-column {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.bracket-column h3 {
    font-size: .75rem;
    color: var(--bol-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    margin: 0 0 .25rem
}

.group-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.group-tabs button {
    border: 0;
    border-radius: 4px;
    padding: 6px 12px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    background: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.group-tabs button:hover { background: #e5e7eb; }

.group-tabs button.active {
    background: var(--bol-red);
    color: #fff;
}

.standings-card {
    border: 1px solid var(--bol-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    overflow-x: auto;
}

.empty-message {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    display: none;
}

.standings-table.active { display: table; }

.standings-table th,
.standings-table td {
    border-bottom: 1px solid var(--bol-border);
    padding: 10px 8px;
    text-align: center;
}

.standings-table th {
    background: #f9fafb;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.standings-table td.team-cell,
.standings-table th.team-cell {
    text-align: left;
}

.team-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #111827;
}

.team-code {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
}

.brand-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--bol-red)
}

.match-wrap {
    max-width: 768px;
    margin: 0 auto
}

.back-bar {
    background: var(--bol-red);
    color: #fff;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

.back-bar a {
    font-size: 14px;
    color: rgba(255, 255, 255, .85)
}

.back-bar a:hover {
    color: #fff
}

.back-bar .sep {
    color: rgba(255, 255, 255, .4)
}

.back-bar .title {
    font-size: 14px;
    font-weight: 600
}

.hero {
    background: linear-gradient(135deg, var(--bol-red), #7f1d1d, #000);
    color: #fff;
    padding: 32px 16px
}

.group-label {
    text-align: center;
    opacity: .65;
    /* margin: 0 0 12px; */
    text-transform: uppercase;
    letter-spacing: .12em
}

.hero-match .group-label {
    color: #fff;
    margin: 0 0 16px
}
.scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px
}

.scoreboard .team-code {
    font-size: 40px;
    font-weight: 800;
    /* margin: 0 0 12px; */
    background: transparent;
    color: var(--bol-white);
}

.team {
    text-align: center;
    min-width: 130px
}

.team-code {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0
}

.middle {
    text-align: center;
    min-width: 90px
}

.kickoff {
    font-size: 24px;
    font-weight: 800;
    margin: 0
}

.match-date {
    font-size: 12px;
    opacity: .65;
    margin: 4px 0 0
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--bol-border)
}

.meta-item {
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid var(--bol-border)
}

.meta-item:last-child {
    border-right: 0
}

.meta-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--bol-red);
    text-transform: uppercase;
    margin: 0
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    margin: 3px 0 0
}

.content {
    padding: 24px 16px
}

.section-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--bol-red);
    text-transform: uppercase;
    letter-spacing: .08em;
    /* margin: 0 0 8px */
}

.venue-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px
}

.venue-icon {
    font-size: 30px
}

.venue-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0
}

.venue-location {
    font-size: 12px;
    color: #6b7280;
    margin: 3px 0 0
}

.hero-match {
    background: linear-gradient(135deg, var(--bol-red), #7f1d1d, #000);
    color: #fff;
    padding: 32px 16px
}

@media(max-width:640px) {
    .desktop-nav {
        display: none
    }

    .last-updated {
        font-size: 12px;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5;
    }

    .mobile-nav a {
        flex: 0 0 auto;
    }

    .header-inner {
        padding: 14px 16px
    }

    .filter-buttons {
        
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .brand img {
        width: 96px;
        height: 96px;
        object-fit: contain;
    }

    .brand span {
        font-size: 24px;
        line-height: 1.2;
        font-weight: 700;
        color: var(--bol-red);
        letter-spacing: -0.02em;
    }

    .brand img {
        height: 72px;
        width: 72px
    }

    .brand span {
        font-size: 20px
    }

    .teams {
        gap: 8px
    }

    .team-name {
        font-size: 13px
    }

    .vs {
        min-width: 36px
    }

    .search-box {
        flex-wrap: wrap;
        padding: 10px
    }

    .search-box input {
        width: 100%;
        flex-basis: 100%
    }

    .search-box button {
        width: 100%;
        padding: 9px 16px
    }

    .hero h1 {
        font-size: 26px
    }

    .sm\:flex {
        display: flex
    }

    .sm\:hidden {
        display: none
    }

    .brand img { width: 72px; height: 72px; }
    .brand span { font-size: 20px; }
}

.d-none {
    display: none
}

@media (max-width:639px) {
    .brand-logo {
        height: 64px;
        width: 64px
    }

    .text-2xl {
        font-size: 1.25rem
    }

    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem
    }

    .py-5 {
        padding-top: .75rem;
        padding-bottom: .75rem
    }

    .mobile-nav a {
        flex: 1;
        font-size: .75rem;
        padding: .75rem .25rem
    }

    .bracket-board {
        gap: 1rem
    }

    .bracket-column {
        min-width: 165px
    }
}

@media (max-width: 480px) {
	.match-meta {
		justify-content: center;
	}

	.teams {
		gap: 5px;
        justify-content: center;
	}

	.team {
		flex-direction: column;
        text-align: center;
        gap: 4px;
	}

	span.team-flag {
		min-width: 10px;
	}

	.team.right {
        justify-content: center;
    }

    .team-name {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        font-size: 12px;
        line-height: 1.2;
    }

    .vs {
        min-width: 40px;
        font-size: 14px;
    }
    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section-space {
	overflow-x: auto;
    }
}
