/* ==========================================================================
   Yalla Shoot — public design system
   Built on Tabler (https://github.com/tabler/tabler) + Tabler Icons (MIT)
   ========================================================================== */

:root {
    --site-bg: #f2f5f1;
    --site-surface: #ffffff;
    --site-surface-2: #f7f9f6;
    --site-ink: #0c1b14;
    --site-ink-soft: #33453c;
    --site-muted: #718078;
    --site-line: #e2e8e1;
    --site-line-strong: #d3dbd1;
    --site-brand: #0f8a5f;
    --site-brand-dark: #0a6547;
    --site-brand-deep: #0b3d2c;
    --site-brand-soft: #e7f5ee;
    --site-gold: #d8a63c;
    --site-gold-soft: #fbf3df;
    --site-danger: #e04545;
    --site-radius-sm: 10px;
    --site-radius: 16px;
    --site-radius-lg: 22px;
    --site-shadow-sm: 0 1px 2px rgba(12, 27, 20, .05);
    --site-shadow: 0 18px 40px -24px rgba(12, 27, 20, .28), 0 1px 2px rgba(12, 27, 20, .04);
    --site-shadow-lg: 0 30px 60px -30px rgba(12, 27, 20, .35);
    --site-font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

    --tblr-font-sans-serif: var(--site-font);
    --tblr-primary: #0f8a5f;
    --tblr-primary-rgb: 15, 138, 95;
    --tblr-body-bg: #f2f5f1;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--site-font);
    color: var(--site-ink);
    background-color: var(--site-bg);
    background-image:
        radial-gradient(900px 380px at 88% -60px, rgba(15, 138, 95, .10), transparent 70%),
        radial-gradient(700px 320px at 6% -80px, rgba(216, 166, 60, .10), transparent 70%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(15, 138, 95, .2);
    color: var(--site-ink);
}

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

a:hover {
    color: var(--site-brand-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--site-ink);
    font-weight: 700;
    line-height: 1.45;
    margin-top: 0;
}

p {
    line-height: 1.9;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--site-brand);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 18px;
}

.site-main {
    padding-block: 26px 68px;
    min-height: 58vh;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(12, 27, 20, .07);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--site-ink);
}

.site-brand:hover {
    color: var(--site-ink);
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #fff;
    font-size: 23px;
    background: linear-gradient(145deg, #14a06f 0%, var(--site-brand-dark) 100%);
    box-shadow: 0 10px 22px -10px rgba(15, 138, 95, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform: rotate(-4deg);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-brand__text strong {
    font-size: 19px;
    font-weight: 700;
}

.site-brand__text small {
    font-size: 10.5px;
    color: var(--site-muted);
    letter-spacing: .02em;
    margin-top: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 6px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    color: var(--site-ink-soft);
    transition: background .18s ease, color .18s ease;
    white-space: nowrap;
}

.site-nav__link i {
    font-size: 17px;
    opacity: .8;
}

.site-nav__link:hover {
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
}

.site-nav__link.is-active {
    background: var(--site-ink);
    color: #fff;
    box-shadow: 0 10px 20px -12px rgba(12, 27, 20, .7);
}

.site-nav__link.is-active i {
    color: var(--site-gold);
    opacity: 1;
}

.site-header__meta {
    margin-inline-start: auto;
}

.site-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: var(--site-surface);
    color: var(--site-muted);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.site-date i {
    color: var(--site-brand);
    font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    margin-top: 10px;
    background: var(--site-ink);
    color: rgba(255, 255, 255, .72);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 260px at 90% -40%, rgba(15, 138, 95, .35), transparent 70%),
        radial-gradient(500px 240px at 0% 120%, rgba(216, 166, 60, .12), transparent 70%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-block: 40px 30px;
}

.site-footer__intro {
    max-width: 380px;
}

.site-brand--footer {
    color: #fff;
    margin-bottom: 14px;
}

.site-brand--footer:hover {
    color: #fff;
}

.site-brand--footer .site-brand__text strong {
    font-size: 17px;
}

.site-footer__intro p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .55);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px 10px;
    max-width: 320px;
}

.site-footer__links a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .7);
    transition: .18s ease;
}

.site-footer__links a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 18px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 12px;
    color: rgba(255, 255, 255, .42);
}

/* ==========================================================================
   Page hero
   ========================================================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--site-radius-lg);
    background:
        linear-gradient(135deg, rgba(9, 42, 30, .97) 0%, rgba(12, 27, 20, .98) 62%, rgba(16, 55, 40, .98) 100%);
    color: #fff;
    box-shadow: var(--site-shadow-lg);
    margin-bottom: 26px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 260px at 88% -20%, rgba(15, 138, 95, .45), transparent 70%),
        radial-gradient(420px 220px at 4% 120%, rgba(216, 166, 60, .16), transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset-inline-start: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border: 34px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .82);
    font-size: 11.5px;
    font-weight: 600;
}

.page-hero__eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e39b;
    box-shadow: 0 0 0 3px rgba(53, 227, 155, .18);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(53, 227, 155, .18); }
    50% { box-shadow: 0 0 0 6px rgba(53, 227, 155, .06); }
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.page-hero p {
    max-width: 60ch;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.9;
}

.page-hero__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.page-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.hero-chip b {
    color: #fff;
    font-weight: 600;
}

/* ==========================================================================
   Shared headings, empty states, loaders
   ========================================================================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 15px;
    padding: 0;
    border: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--site-ink);
}

.section-title::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--site-brand) 0%, var(--site-brand-dark) 100%);
    flex-shrink: 0;
}

.page-title {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    margin: 0 0 20px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin: 28px 0 16px;
    padding: 0;
    border: 0;
}

.section-head::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 999px;
    background: var(--site-brand);
}

.champs-section {
    margin: 26px 0;
}

.champs-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin: 0 0 16px;
    color: var(--site-ink);
}

.champs-section h2::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 999px;
    background: var(--site-brand);
}

.empty-msg,
.empty-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 46px 20px;
    border: 1px dashed var(--site-line-strong);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    color: var(--site-muted);
    font-size: 14px;
    text-align: center;
}

.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    border-radius: var(--site-radius);
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 500;
}

.spinner {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(15, 138, 95, .16);
    border-top-color: var(--site-brand);
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.timezone-info {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: 12px;
    text-align: center;
}

.timezone-info b {
    color: var(--site-ink-soft);
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    border-radius: var(--site-radius-sm);
    font-family: var(--site-font);
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 16px;
    transition: .18s ease;
}

.btn-sm {
    padding: 7px 13px;
    font-size: 12.5px;
}

.btn-outline-secondary {
    --tblr-btn-border-color: var(--site-line-strong);
    --tblr-btn-color: var(--site-ink-soft);
    --tblr-btn-bg: var(--site-surface);
    --tblr-btn-hover-bg: var(--site-brand-soft);
    --tblr-btn-hover-color: var(--site-brand-dark);
    --tblr-btn-hover-border-color: var(--site-brand);
    border-color: var(--site-line-strong);
    color: var(--site-ink-soft);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.btn-outline-secondary:hover {
    background: var(--site-brand-soft);
    border-color: var(--site-brand);
    color: var(--site-brand-dark);
}

.btn-outline-primary {
    border-color: var(--site-brand);
    color: var(--site-brand-dark);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--site-brand);
    border-color: var(--site-brand);
    color: #fff;
}

.load-more,
.load-more-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 26px auto 0;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--site-ink);
    color: #fff;
    font-family: var(--site-font);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 14px 24px -16px rgba(12, 27, 20, .7);
}

.load-more:hover,
.load-more-btn:hover {
    background: var(--site-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.load-more:disabled,
.load-more-btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.main-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0 auto 22px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    border-radius: 14px;
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    box-shadow: var(--site-shadow-sm);
}

.main-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--site-muted);
    font-family: var(--site-font);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.main-tab:hover {
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
}

.main-tab.active {
    background: var(--site-ink);
    color: #fff;
    box-shadow: 0 10px 18px -12px rgba(12, 27, 20, .6);
}

.page-tabs,
.champ-tabs,
.team-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--site-line);
    border-radius: 13px;
    background: var(--site-surface-2);
}

.page-tabs a,
.champ-tabs a,
.team-tabs a {
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 600;
    transition: .18s ease;
    white-space: nowrap;
}

.page-tabs a:hover,
.champ-tabs a:hover,
.team-tabs a:hover {
    background: var(--site-surface);
    color: var(--site-brand-dark);
}

.page-tabs a.active,
.champ-tabs a.active,
.team-tabs a.active {
    background: var(--site-ink);
    color: #fff;
    box-shadow: 0 8px 16px -12px rgba(12, 27, 20, .7);
}

.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--site-line);
    border-radius: 13px;
    background: var(--site-surface-2);
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: 0;
    border-radius: 9px;
    padding: 8px 16px;
    color: var(--site-muted);
    font-family: var(--site-font);
    font-weight: 600;
    font-size: 13px;
    transition: .18s ease;
}

.nav-tabs .nav-link:hover {
    background: var(--site-surface);
    color: var(--site-brand-dark);
}

.nav-tabs .nav-link.active {
    background: var(--site-ink);
    color: #fff;
    box-shadow: 0 8px 16px -12px rgba(12, 27, 20, .7);
}

.tab-content {
    margin-top: 16px;
    padding: clamp(16px, 2.5vw, 26px);
    border: 1px solid var(--site-line);
    border-radius: 0 0 var(--site-radius) var(--site-radius);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
    min-height: 280px;
}

.match-toggle {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
    padding: 5px;
    border: 1px solid var(--site-line);
    border-radius: 13px;
    background: var(--site-surface);
}

.match-toggle a {
    flex: 1;
    text-align: center;
    padding: 9px;
    border-radius: 9px;
    background: transparent;
    color: var(--site-muted);
    font-weight: 600;
    font-size: 13px;
    transition: .18s ease;
}

.match-toggle a:hover {
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
}

.match-toggle a.active {
    background: var(--site-ink);
    color: #fff;
}

/* ==========================================================================
   Championships grid
   ========================================================================== */

.champs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 13px;
}

.champ-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px 16px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    text-align: center;
    color: var(--site-ink);
    box-shadow: var(--site-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.champ-item:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 138, 95, .35);
    box-shadow: var(--site-shadow);
    color: var(--site-ink);
}

.champ-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(12, 27, 20, .12));
}

.champ-item span {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================================================
   News cards
   ========================================================================== */

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    color: var(--site-ink);
    box-shadow: var(--site-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 138, 95, .35);
    box-shadow: var(--site-shadow);
    color: var(--site-ink);
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    background: var(--site-surface-2);
    transition: transform .4s ease;
}

.news-card:hover img {
    transform: scale(1.03);
}

.news-card h3 {
    margin: 0;
    padding: 13px 14px 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--site-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 4px 14px 14px;
    color: var(--site-muted);
    font-size: 11.5px;
}

.news-card .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(12, 27, 20, .62);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 17px;
    padding-inline-start: 2px;
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: .2s ease;
}

.news-card:hover .play {
    background: var(--site-brand);
    border-color: var(--site-brand);
    transform: translate(-50%, -50%) scale(1.06);
}

/* ==========================================================================
   Home — championships & matches
   ========================================================================== */

.champ-card {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.champ-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(15, 138, 95, .06), transparent 55%);
    border-bottom: 1px solid var(--site-line);
}

.champ-header img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.champ-header b {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--site-ink);
}

.match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    transition: background .16s ease;
}

.match-row:last-child {
    border-bottom: 0;
}

.match-row:hover {
    background: var(--site-surface-2);
}

.match-row .team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--site-ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.match-row .team.home {
    justify-content: flex-start;
}

.match-row .team.away {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: left;
}

.match-row .team img {
    width: 34px;
    height: 34px;
    padding: 4px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #fff;
}

.match-row .team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-row .team:hover {
    color: var(--site-brand-dark);
}

.match-row .result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 122px;
    padding: 8px 14px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-surface-2);
    color: var(--site-ink);
    text-decoration: none;
    transition: .18s ease;
}

.match-row .result:hover {
    border-color: rgba(15, 138, 95, .4);
    background: var(--site-brand-soft);
    color: var(--site-ink);
}

.result .score {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--site-ink);
    font-variant-numeric: tabular-nums;
}

.result .time {
    font-size: 15px;
    font-weight: 700;
    color: var(--site-ink);
    font-variant-numeric: tabular-nums;
}

.result .date-small {
    font-size: 10.5px;
    color: var(--site-muted);
    min-height: 0;
}

.result .live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--site-danger);
    font-size: 11.5px;
    font-weight: 700;
}

.result .live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 1.4s infinite;
}

.result .finished {
    color: var(--site-brand-dark);
    font-size: 11.5px;
    font-weight: 700;
}

.date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    flex-wrap: wrap;
}

.date-nav button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: var(--site-font);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s ease;
    backdrop-filter: blur(4px);
}

.date-nav button:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .25);
}

.date-nav button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.date-nav #current-date {
    min-width: 220px;
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Home hero date area */
.hero-datebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-datebar .timezone-info {
    margin: 0;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .6);
}

.hero-datebar .timezone-info b {
    color: #fff;
}

/* ==========================================================================
   Championship / team identity header
   ========================================================================== */

.champ-hero,
.team-header {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 3vw, 28px);
    margin-bottom: 22px;
    border-radius: var(--site-radius-lg);
    background:
        linear-gradient(135deg, rgba(9, 42, 30, .97), rgba(12, 27, 20, .98) 60%, rgba(16, 55, 40, .97));
    color: #fff;
    box-shadow: var(--site-shadow-lg);
}

.champ-hero::before,
.team-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 200px at 92% -30%, rgba(15, 138, 95, .45), transparent 70%),
        radial-gradient(300px 180px at 0% 130%, rgba(216, 166, 60, .14), transparent 70%);
    pointer-events: none;
}

.champ-hero > *,
.team-header > * {
    position: relative;
    z-index: 1;
}

.champ-hero img,
.team-title img {
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}

.champ-hero h1 {
    color: #fff !important;
    font-size: clamp(20px, 3vw, 27px) !important;
}

.team-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-title img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.team-title h1 {
    color: #fff;
    font-size: clamp(21px, 3vw, 28px);
    margin: 0;
}

.team-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
}

.team-meta span {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}

.team-meta span b {
    color: #fff;
    font-weight: 600;
}

.champ-hero .champ-tabs,
.team-header .team-tabs {
    margin-top: 18px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
}

.champ-hero .champ-tabs a,
.team-header .team-tabs a {
    color: rgba(255, 255, 255, .65);
}

.champ-hero .champ-tabs a:hover,
.team-header .team-tabs a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.champ-hero .champ-tabs a.active,
.team-header .team-tabs a.active {
    background: #fff;
    color: var(--site-ink);
    box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .8);
}

.breadcrumb-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 10px 15px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-surface);
    color: var(--site-muted);
    font-size: 12.5px;
    box-shadow: var(--site-shadow-sm);
}

.breadcrumb-bar a {
    color: var(--site-brand-dark);
    font-weight: 600;
}

/* ==========================================================================
   Panels & content
   ========================================================================== */

.card-box,
.table-card,
.standings-wrap,
.scorers-wrap {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.card-box {
    padding: 16px;
}

.table-card {
    padding: 6px;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.mini-table,
.standings-table,
.stats-table,
.squad-table,
.table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--site-ink);
    font-variant-numeric: tabular-nums;
}

.mini-table th,
.standings-table th,
.stats-table th,
.squad-table th {
    padding: 10px 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--site-muted);
    background: var(--site-surface-2);
    text-align: center;
    border: 0;
}

.standings-table th,
.stats-table th {
    background: var(--site-ink);
    color: rgba(255, 255, 255, .78);
}

.mini-table td,
.standings-table td,
.stats-table td,
.squad-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--site-line);
    vertical-align: middle;
}

.mini-table tr:last-child td,
.standings-table tr:last-child td,
.stats-table tr:last-child td,
.squad-table tr:last-child td {
    border-bottom: 0;
}

.standings-table tbody tr:hover,
.mini-table tbody tr:hover,
.squad-table tbody tr:hover {
    background: var(--site-surface-2);
}

.standings-table td.team-cell,
.mini-table td.text-start {
    text-align: start;
    font-weight: 600;
}

.standings-table td.team-cell img,
.mini-table td img {
    margin-inline-end: 7px;
}

.standings-table tr:nth-child(-n+3) td:first-child {
    color: var(--site-brand-dark);
    font-weight: 700;
}

.standings-table tr:nth-child(-n+3) {
    background: rgba(15, 138, 95, .045);
}

.season-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
    font-size: 12px;
    font-weight: 600;
}

/* Squad */
.squad-table {
    min-width: 620px;
}

.squad-table .player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: start;
}

.squad-table .player-cell img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--site-surface-2);
    border: 1px solid var(--site-line);
}

.squad-table .player-cell a,
.squad-table .player-cell span {
    color: var(--site-ink);
    font-weight: 600;
}

.squad-table .player-cell .num {
    margin-inline-start: auto;
    padding: 2px 9px;
    border-radius: 7px;
    background: var(--site-surface-2);
    color: var(--site-muted);
    font-size: 11.5px;
}

/* Scorers */
.scorer-row,
.scorer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--site-line);
}

.scorer-row:last-child,
.scorer-item:last-child {
    border-bottom: 0;
}

.scorer-row img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.scorer-row div {
    flex: 1;
}

.scorer-row b {
    font-size: 13.5px;
}

.scorer-row small {
    display: block;
    color: var(--site-muted);
    font-size: 11px;
}

.scorer-row .goals {
    font-weight: 700;
    color: var(--site-brand-dark);
    font-size: 17px;
}

.scorer-item {
    padding: 13px 18px;
}

.scorer-item.hidden {
    display: none;
}

.scorer-item .pos {
    width: 28px;
    color: var(--site-brand-dark);
    font-size: 15px;
    font-weight: 700;
}

.scorer-item .player-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--site-surface-2);
    border: 1px solid var(--site-line);
}

.scorer-item .info {
    flex: 1;
}

.scorer-item .info b {
    font-size: 14.5px;
}

.scorer-item .info a {
    color: var(--site-ink);
}

.scorer-item .info a:hover {
    color: var(--site-brand-dark);
}

.scorer-item .info a {
    color: var(--site-ink) !important;
}

.scorer-item .info small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--site-muted);
    font-size: 11.5px;
}

.scorer-item .info small img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.scorer-item .goals {
    color: var(--site-brand-dark);
    font-size: 18px;
    font-weight: 700;
}

.scorer-item .goals small {
    color: var(--site-muted);
    font-size: 10.5px;
    font-weight: 400;
}

/* Transfers */
.transfer-card {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.transfer-card img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--site-surface-2);
    border: 1px solid var(--site-line);
}

.transfer-card .info {
    flex: 1;
}

.transfer-card .info b {
    font-size: 14.5px;
    color: var(--site-ink);
}

.transfer-card .info small {
    display: block;
    margin-top: 2px;
    color: var(--site-muted);
    font-size: 12px;
}

.transfer-card .info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--site-muted);
}

.transfer-card .info ul li {
    margin: 0;
}

.transfer-card .info ul span {
    color: var(--site-ink-soft);
    font-weight: 600;
}

/* ==========================================================================
   Fixtures
   ========================================================================== */

.week-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.week-selector label {
    font-size: 13px;
    font-weight: 600;
    color: var(--site-ink-soft);
}

.week-selector select {
    min-width: 200px;
    padding: 9px 13px;
    border: 1px solid var(--site-line-strong);
    border-radius: 10px;
    background: var(--site-surface);
    color: var(--site-ink);
    font-family: var(--site-font);
    font-size: 13px;
    outline: none;
}

.week-selector select:focus {
    border-color: var(--site-brand);
    box-shadow: 0 0 0 3px rgba(15, 138, 95, .12);
}

.date-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 22px 0 10px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--site-ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}

.match-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 13px 18px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-surface);
    color: var(--site-ink);
    box-shadow: var(--site-shadow-sm);
    transition: border-color .16s ease, background .16s ease;
}

.match-item:hover {
    border-color: rgba(15, 138, 95, .3);
    background: var(--site-surface-2);
}

.match-item .team {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--site-ink);
    font-size: 13.5px;
    font-weight: 600;
}

.match-item .team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.match-item .team.home {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
}

.match-item .team.away {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: left;
}

.match-item .match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--site-ink);
    text-align: center;
}

.match-item .score {
    min-width: 92px;
    padding: 6px 16px;
    border: 1px solid var(--site-line);
    border-radius: 9px;
    background: var(--site-surface-2);
    color: var(--site-ink);
    font-size: 14.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.match-item .status {
    font-size: 10.5px;
    color: var(--site-muted);
}

/* Team matches list */
.match-row .match-champ {
    grid-column: 1 / -1;
    font-size: 11px;
    color: var(--site-muted);
    margin-bottom: -2px;
}

.match-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
}

.match-line .team {
    flex: 1;
    color: var(--site-ink);
    font-weight: 600;
}

.match-line .team.away {
    text-align: left;
}

.match-line .match-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 5px 13px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface-2);
    color: var(--site-ink);
    text-decoration: none;
    white-space: nowrap;
}

.match-line .match-date {
    color: var(--site-muted);
    font-size: 10.5px;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: var(--site-brand-dark);
    font-size: 12.5px;
    font-weight: 600;
}

.more-link:hover {
    color: var(--site-brand);
}

.league-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 8px;
    padding: 7px 13px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: var(--site-surface);
    color: var(--site-ink-soft);
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================================================
   Article page
   ========================================================================== */

.article-card {
    margin-bottom: 20px;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius-lg);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-sm);
}

.article-title {
    margin: 0 0 16px;
    font-size: clamp(23px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.55;
    color: var(--site-ink);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: 12.5px;
}

.article-meta img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--site-brand-soft);
}

.article-meta b {
    color: var(--site-ink);
    font-size: 13.5px;
}

.article-meta small {
    color: var(--site-muted);
}

.article-image {
    width: 100%;
    margin-bottom: 22px;
    border-radius: var(--site-radius);
    object-fit: cover;
}

.article-content {
    color: #26332c;
    font-size: 16.5px;
    line-height: 2.05;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 28px 0 12px;
    line-height: 1.6;
}

.article-content h2 {
    font-size: 23px;
}

.article-content h3 {
    font-size: 19px;
}

.article-content a {
    color: var(--site-brand-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content img {
    height: auto;
    margin: 10px auto;
    border-radius: var(--site-radius-sm);
}

.article-content blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-inline-start: 4px solid var(--site-brand);
    border-radius: 0 10px 10px 0;
    background: var(--site-surface-2);
    color: var(--site-ink-soft);
    font-size: 15.5px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px;
    padding-inline-start: 22px;
}

.article-content li {
    margin-bottom: 8px;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    height: 0;
    margin-bottom: 18px;
    padding-bottom: 56.25%;
    border-radius: var(--site-radius);
    background: var(--site-ink);
    box-shadow: var(--site-shadow);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-source-note {
    margin: -4px 0 20px;
    color: var(--site-muted);
    font-size: 12.5px;
}

.video-source-note a {
    color: var(--site-brand-dark);
    font-weight: 600;
}

/* ==========================================================================
   Match page
   ========================================================================== */

.match-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: clamp(20px, 3.4vw, 34px);
    border-radius: var(--site-radius-lg);
    background: linear-gradient(135deg, rgba(9, 42, 30, .97), rgba(12, 27, 20, .98) 60%, rgba(16, 55, 40, .97));
    color: #fff;
    box-shadow: var(--site-shadow-lg);
}

.match-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(480px 220px at 90% -30%, rgba(15, 138, 95, .45), transparent 70%),
        radial-gradient(360px 200px at 0% 130%, rgba(216, 166, 60, .14), transparent 70%);
    pointer-events: none;
}

.match-header > * {
    position: relative;
    z-index: 1;
}

.match-header .team-logo {
    width: 74px;
    height: 74px;
    padding: 8px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .7);
}

.match-header .score-box {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.match-header .status-text {
    color: var(--site-gold);
    font-size: 13px;
    font-weight: 600;
}

.match-header h5 {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
}

.match-header h5 a {
    color: #fff;
}

.match-info-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.match-info-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .78);
}

.events-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--site-surface-2);
    font-size: 13px;
    font-weight: 700;
    color: var(--site-ink);
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-line {
    display: flex;
    align-items: center;
    width: 100%;
}

.event-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 10px;
}

.event-home {
    justify-content: flex-end;
    background: var(--site-brand-soft);
    border: 1px solid rgba(15, 138, 95, .16);
}

.event-away {
    justify-content: flex-start;
    background: #eef4fb;
    border: 1px solid #dbe8f6;
}

.event-empty {
    background: transparent;
    border: 0;
}

.event-side .minute {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--site-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.event-side .player {
    font-weight: 600;
}

.event-side .related {
    color: var(--site-muted);
    font-size: 12px;
}

.event-side .icon {
    font-size: 15px;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-home,
.stat-away {
    flex: 0 0 58px;
    padding: 5px;
    border-radius: 8px;
    background: var(--site-surface-2);
    border: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.stat-label {
    flex: 1;
    color: var(--site-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
}

.lineups-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lineup-team {
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface-2);
}

.lineup-team-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

.lineup-team-title.home {
    background: var(--site-brand-soft);
}

.lineup-team-title.away {
    background: #eef4fb;
}

.lineup-section-title {
    margin: 15px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--site-line-strong);
    color: var(--site-muted);
    font-size: 12.5px;
}

.players-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-surface);
    color: var(--site-ink);
    text-decoration: none;
    transition: .16s ease;
}

.player-card:hover {
    background: var(--site-brand-soft);
    border-color: rgba(15, 138, 95, .3);
    color: var(--site-ink);
}

.player-card.substitute {
    opacity: .82;
    background: var(--site-surface-2);
}

.shirt-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--site-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.player-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.player-name {
    font-size: 13.5px;
    font-weight: 600;
}

/* ==========================================================================
   Player page
   ========================================================================== */

.player-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: clamp(22px, 3.4vw, 34px);
    border-radius: var(--site-radius-lg);
    background: linear-gradient(135deg, rgba(9, 42, 30, .97), rgba(12, 27, 20, .98) 60%, rgba(16, 55, 40, .97));
    color: #fff;
    box-shadow: var(--site-shadow-lg);
}

.player-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 220px at 92% -30%, rgba(15, 138, 95, .45), transparent 70%),
        radial-gradient(320px 180px at 0% 130%, rgba(216, 166, 60, .14), transparent 70%);
    pointer-events: none;
}

.player-hero > * {
    position: relative;
    z-index: 1;
}

.player-hero .avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(255, 255, 255, .85);
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .8);
}

.player-hero .name {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3.6vw, 32px);
    font-weight: 700;
}

.player-hero .small-info {
    margin-top: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.player-hero .current-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.player-hero .current-team img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination-nav .page-btn {
    display: inline-block;
    min-width: 36px;
    padding: 6px 12px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
    color: var(--site-ink);
    font-size: 13px;
    text-align: center;
    transition: .18s ease;
}

.pagination-nav .page-btn:hover {
    background: var(--site-brand-soft);
    border-color: var(--site-brand);
    color: var(--site-brand-dark);
}

.pagination-nav .page-btn.active {
    background: var(--site-ink);
    border-color: var(--site-ink);
    color: #fff;
    cursor: default;
}

.pagination-nav .page-dots {
    padding: 6px 8px;
    color: var(--site-muted);
}

.trophy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--site-line);
}

.trophy-item:last-child {
    border-bottom: 0;
}

.trophy-item .icon {
    font-size: 23px;
}

.trophy-item .info b {
    display: block;
    font-size: 14px;
}

.trophy-item .info small {
    color: var(--site-muted);
    font-size: 11.5px;
}

.trophy-item .medal {
    margin-inline-start: auto;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.trophy-item .medal.gold {
    background: var(--site-gold-soft);
    color: #8a6512;
}

.trophy-item .medal.silver {
    background: #eceded;
    color: #4a5250;
}

.transfer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--site-line);
}

.transfer-item:last-child {
    border-bottom: 0;
}

.transfer-item .team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.transfer-item .team img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.transfer-item .arrow {
    color: var(--site-muted);
    font-size: 18px;
}

.transfer-item .date {
    color: var(--site-muted);
    font-size: 11.5px;
}

/* ==========================================================================
   Tables (Bootstrap defaults used by match info)
   ========================================================================== */

.table {
    --tblr-table-border-color: var(--site-line);
    border-color: var(--site-line);
}

.table > :not(caption) > * > * {
    padding: 11px 13px;
    border-color: var(--site-line);
    background: transparent;
    box-shadow: none;
}

.table th {
    color: var(--site-ink-soft);
    font-size: 12.5px;
    font-weight: 600;
    background: var(--site-surface-2);
}

.table td {
    color: var(--site-ink);
    font-size: 13.5px;
}

.table-bordered {
    border: 1px solid var(--site-line);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    gap: 5px;
    margin: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--site-line);
    border-radius: 9px;
    background: var(--site-surface);
    color: var(--site-ink-soft);
    font-size: 12.5px;
    font-weight: 600;
    transition: .18s ease;
}

.page-link:hover {
    background: var(--site-brand-soft);
    border-color: var(--site-brand);
    color: var(--site-brand-dark);
}

.page-item.active .page-link {
    background: var(--site-ink);
    border-color: var(--site-ink);
    color: #fff;
}

.page-item.disabled .page-link {
    background: var(--site-surface-2);
    border-color: var(--site-line);
    color: var(--site-muted);
    opacity: .7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    .site-header__inner {
        gap: 14px;
    }

    .site-header__meta {
        display: none;
    }

    .site-nav {
        margin-inline-start: auto;
    }

    .site-nav__link {
        padding: 8px 11px;
        font-size: 13px;
    }

    .site-nav__link i {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .site-header__inner {
        min-height: 64px;
        gap: 10px;
        flex-wrap: wrap;
        padding-block: 9px;
    }

    .site-brand__text small {
        display: none;
    }

    .site-brand__text strong {
        font-size: 16px;
    }

    .site-brand__mark {
        width: 36px;
        height: 36px;
        font-size: 20px;
        border-radius: 11px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav__link {
        padding: 8px 12px;
    }

    .site-main {
        padding-block: 18px 48px;
    }

    .page-hero,
    .champ-hero,
    .team-header,
    .match-header,
    .player-hero {
        border-radius: 18px;
    }

    .page-hero__tools {
        align-items: stretch;
        flex-direction: column;
    }

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

    .date-nav {
        justify-content: space-between;
    }

    .date-nav #current-date {
        min-width: 0;
        flex: 1;
        font-size: 12.5px;
        padding-inline: 8px;
    }

    .date-nav button {
        padding: 9px 11px;
        font-size: 11.5px;
    }

    .main-tabs {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

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

    .main-tab {
        padding: 8px 15px;
        font-size: 12.5px;
    }

    .match-row {
        gap: 8px;
        padding: 12px 13px;
    }

    .match-row .team img {
        width: 28px;
        height: 28px;
        padding: 3px;
        border-radius: 8px;
    }

    .match-row .team {
        gap: 7px;
        font-size: 12px;
    }

    .match-row .result {
        min-width: 92px;
        padding: 6px 10px;
    }

    .result .score {
        font-size: 16px;
    }

    .result .time {
        font-size: 13px;
    }

    .champ-hero {
        padding: 14px 15px;
    }

    .champ-header b {
        font-size: 13.5px;
    }

    .lineups-container {
        grid-template-columns: 1fr;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 22px;
        padding-block: 30px 24px;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .article-content {
        font-size: 15.5px;
        line-height: 2;
    }

    .player-hero .avatar {
        width: 78px;
        height: 78px;
    }

    .match-header .team-logo {
        width: 58px;
        height: 58px;
        padding: 6px;
        border-radius: 14px;
    }

    .match-header h5 {
        font-size: 12.5px;
    }

    .match-info-list {
        gap: 5px;
    }

    .match-info-list li {
        font-size: 11px;
        padding: 5px 10px;
    }

    .match-item {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 7px;
        padding: 11px 13px;
    }

    .match-item .team {
        font-size: 11.5px;
        gap: 6px;
    }

    .match-item .team img {
        width: 23px;
        height: 23px;
    }

    .match-item .score {
        min-width: 74px;
        padding: 5px 10px;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-inline: 14px;
    }

    .site-brand__text {
        display: none;
    }

    .section-title {
        font-size: 18px;
    }

    .champs-grid {
        grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
        gap: 10px;
    }

    .champ-item {
        padding: 15px 10px 13px;
    }

    .champ-item img {
        width: 46px;
        height: 46px;
    }

    .news-card h3 {
        font-size: 13px;
        padding: 11px 12px 5px;
    }

    .news-meta {
        padding: 3px 12px 12px;
    }

    .scorer-item .pos {
        width: 22px;
    }

    .scorer-item {
        padding: 11px 13px;
        gap: 9px;
    }

    .tab-content {
        padding: 14px;
    }
}

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

/* Championship header extras */
.champ-header__count {
    margin-inline-start: auto;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.champ-header .ti {
    color: var(--site-brand);
    font-size: 18px;
}

/* Article extras */
.article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
    font-size: 11.5px;
    font-weight: 700;
}

.article-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--site-line);
}

.article-meta small i {
    color: var(--site-brand);
    font-size: 13px;
}

.article-meta small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.match-row .match-line {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.match-champ-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 600;
}

.match-champ-link:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.match-header .status-text.is-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.match-header .status-text.is-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 1.4s infinite;
}

.champ-item .champ-item__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--site-brand-soft);
    color: var(--site-brand-dark);
    font-size: 26px;
}

/* ==========================================================================
   Footer extras
   ========================================================================== */

.site-footer__made {
    color: rgba(255, 255, 255, .5);
}

