* {
    box-sizing: border-box;
}

html {
    background: #111318;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #e6e7e9;
    color: #25272b;
}

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

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

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

/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: #17191e;
    border-bottom: 2px solid #d92531;
    color: #fff;
}

.header-inner {
    width: 100%;
    max-width: 1240px;
    min-height: 56px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-logo {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.6px;
    white-space: nowrap;
}

.site-logo span {
    color: #df2934;
}

.desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.desktop-nav a {
    display: block;
    padding: 20px 10px;
    color: #c9cbd0;
    font-size: 11px;
    font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: #23262c;
    color: #fff;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: #202329;
    border-top: 1px solid #34373e;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 16px;
    color: #ddd;
    border-bottom: 1px solid #30333a;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   GLOBAL CONTENT
========================================================= */

.site-content {
    min-height: 70vh;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px;
}

.content-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

.main-column,
.sidebar {
    min-width: 0;
}

.box {
    background: #fff;
    border: 1px solid #d3d5d8;
    margin: 0 0 12px;
}

.box-header {
    min-height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f2f3f4;
    border-bottom: 1px solid #d7d8db;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.box-header a {
    color: #d62531;
    font-size: 9px;
}

.box-body {
    padding: 12px;
}

/* =========================================================
   SPONSORS
========================================================= */

.sponsor-box {
    width: 100%;
    background: #1d2025;
    border: 1px solid #30343b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.sponsor-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.sponsor-placeholder {
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #8f9299;
}

.sponsor-placeholder strong {
    color: #c8cbd0;
    font-size: 11px;
}

.sponsor-placeholder span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-left {
    min-height: 380px;
    margin-bottom: 12px;
}

.sponsor-top {
    min-height: 78px;
    margin-bottom: 12px;
}

.sponsor-right {
    min-height: 160px;
    margin-bottom: 12px;
}

.sponsor-middle {
    min-height: 82px;
    margin: 12px 0;
}

.sponsor-bottom {
    min-height: 82px;
    margin: 12px 0;
}

.sponsor-mobile {
    display: none;
    min-height: 78px;
    margin-bottom: 10px;
}

/* =========================================================
   SHARED ENTITY
========================================================= */

.entity-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.entity-logo-lg {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6e7e9;
    color: #767a81;
    font-size: 8px;
    font-weight: 800;
}

/* =========================================================
   TABLE
========================================================= */

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 11px;
}

.data-table th {
    padding: 10px 12px;
    background: #f2f3f4;
    border-bottom: 1px solid #d7d8db;
    text-align: left;
    font-size: 9px;
    text-transform: uppercase;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e8e9eb;
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 14px 0;
}

.pagination a,
.pagination span {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d3d5d8;
    color: #555960;
    font-size: 10px;
    font-weight: 700;
}

.pagination a:hover,
.pagination .active {
    background: #d62531;
    border-color: #d62531;
    color: #fff;
}

/* =========================================================
   BADGES / EMPTY / TITLES
========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 2px;
    background: #e8e9eb;
    color: #60646b;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-live {
    background: #d62531;
    color: #fff;
}

.badge-success {
    background: #18894b;
    color: #fff;
}

.empty-state {
    padding: 24px 16px;
    text-align: center;
    color: #92959b;
    font-size: 10px;
}

.page-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 900;
}

.page-subtitle {
    margin: -3px 0 14px;
    color: #84878d;
    font-size: 11px;
}

/* =========================================================
   POPUP SPONSOR
========================================================= */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .76);
}

.popup-overlay.show {
    display: flex;
}

.popup-card {
    position: relative;
    width: min(560px, 100%);
    background: #191c21;
    border: 1px solid #393d45;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .6);
    overflow: hidden;
}

.popup-card > a {
    display: block;
}

.popup-card img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
}

.popup-close:hover {
    background: #d62531;
}

.popup-placeholder {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #92969e;
}

.popup-placeholder strong {
    color: #fff;
    font-size: 20px;
}

.popup-placeholder span {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 24px;
    background: #17191e;
    color: #8f9298;
}

.footer-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 14px;
    font-size: 10px;
}

.footer-inner strong {
    color: #fff;
    font-size: 14px;
}

.footer-inner p {
    margin: 7px 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .content-grid {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .left-sidebar {
        display: none;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 54px;
    }

    .site-logo {
        flex: 1;
        font-size: 16px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .container {
        padding: 8px;
    }

    .content-grid {
        display: flex;
        flex-direction: column;
    }

    .right-sidebar {
        order: 1;
    }

    .main-column {
        order: 2;
    }

    .sponsor-right {
        display: none;
    }

    .sponsor-mobile {
        display: flex;
    }

    .page-title {
        font-size: 20px;
    }

    .data-table {
        min-width: 620px;
    }

    .popup-overlay {
        padding: 12px;
    }

    .popup-card {
        width: 100%;
        max-width: 420px;
    }

    .popup-placeholder {
        min-height: 260px;
    }
}