@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    --hl-red: #FFD60A;
    --hl-red-soft: rgba(255, 214, 10, 0.14);
    --hl-on-accent: #0A0D12;
    --hl-bg: #0A0D12;
    --hl-panel: #141820;
    --hl-card: #141820;
    --hl-row: #171C26;
    --hl-row-hover: #1C2230;
    --hl-border: rgba(255, 255, 255, 0.08);
    --hl-text: #F8FAFC;
    --hl-dim: #CBD5E1;
    --hl-dim2: #64748B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background: var(--hl-bg);
    color: var(--hl-text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */

.hl-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 11, 14, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hl-border);
}

.hl-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hl-logo { display: flex; align-items: center; gap: 9px; }
.hl-logo img { height: 32px; width: auto; }
.hl-logo span { font-weight: 900; font-size: 1.02rem; letter-spacing: -0.01em; }
.hl-logo .accent { color: #ffc90e; }

.hl-nav {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.hl-nav a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--hl-dim);
    transition: 0.18s ease;
}

.hl-nav a:hover { color: var(--hl-text); background: rgba(255, 255, 255, 0.05); }
.hl-nav a.active { color: #fff; background: var(--hl-red-soft); }

.hl-live-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--hl-red);
    color: var(--hl-on-accent);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.hl-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: hlPulse 1.6s ease-in-out infinite;
}

@keyframes hlPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ---------- Layout ---------- */

.hl-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 60px;
}

/* ---------- Hero ---------- */

.hl-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.hl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--hl-red-soft);
    border: 1px solid rgba(255, 214, 10, 0.3);
    color: var(--hl-red);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
}

.hl-hero h1 {
    font-size: clamp(1.9rem, 4.4vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.hl-hero p {
    color: var(--hl-dim);
    font-size: 0.85rem;
    max-width: 460px;
    line-height: 1.55;
}

.hl-hero-stat {
    flex-shrink: 0;
    min-width: 168px;
    padding: 18px 24px;
    border-radius: 12px;
    background: var(--hl-panel);
    border: 1px solid var(--hl-border);
    text-align: center;
}

.hl-hero-stat strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--hl-red);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hl-hero-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hl-dim2);
}

/* ---------- Filters panel ---------- */

.hl-panel {
    background: var(--hl-panel);
    border: 1px solid var(--hl-border);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.hl-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.hl-search {
    position: relative;
    flex: 1;
    min-width: 0;
}

.hl-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hl-dim2);
    pointer-events: none;
}

.hl-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 9px;
    border: 1px solid var(--hl-border);
    background: #0d0f13;
    color: var(--hl-text);
    font-family: inherit;
    font-size: 0.83rem;
    outline: none;
    transition: border-color 0.18s ease;
}

.hl-search input::placeholder { color: var(--hl-dim2); }
.hl-search input:focus { border-color: rgba(255, 214, 10, 0.5); }
.hl-search input::-webkit-search-cancel-button { filter: invert(0.6); }

.hl-date {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid var(--hl-border);
    background: #0d0f13;
    color: var(--hl-dim);
    min-width: 158px;
    cursor: pointer;
}

.hl-date > svg:first-child { color: var(--hl-dim2); flex-shrink: 0; }

.hl-date input[type="date"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-family: inherit;
}

.hl-date-label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.hl-date.has-value { color: var(--hl-text); border-color: rgba(255, 214, 10, 0.4); }
.hl-date-caret { color: var(--hl-dim2); flex-shrink: 0; }

.hl-search-btn,
.hl-reset-btn {
    padding: 12px 26px;
    border: none;
    border-radius: 9px;
    background: var(--hl-red);
    color: var(--hl-on-accent);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.18s ease;
    white-space: nowrap;
}

.hl-search-btn:hover { filter: brightness(1.12); }

.hl-reset-btn {
    background: rgba(255, 255, 255, 0.07);
    color: var(--hl-dim);
    padding: 12px 18px;
}

.hl-reset-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Sport tabs ---------- */

.hl-sport-tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.hl-sport-tabs::-webkit-scrollbar { display: none; }

.hl-sport-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 8px;
    border: 1px solid var(--hl-border);
    background: #0d0f13;
    color: var(--hl-dim);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.18s ease;
}

.hl-sport-tab:hover { color: var(--hl-text); border-color: rgba(255, 255, 255, 0.16); }

.hl-sport-tab.active {
    background: var(--hl-red);
    border-color: var(--hl-red);
    color: var(--hl-on-accent);
}

.hl-sport-tab .tab-ico { font-size: 0.82rem; line-height: 1; }

/* ---------- Table ---------- */

.hl-table-card {
    background: var(--hl-card);
    border: 1px solid var(--hl-border);
    border-radius: 14px;
    overflow: hidden;
}

.hl-table-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--hl-border);
}

.hl-table-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: var(--hl-dim2);
}

.hl-sort-toggle {
    border: none;
    background: none;
    color: var(--hl-red);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.hl-sort-toggle:hover { text-decoration: underline; }

.hl-table-meta {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--hl-dim2);
}

.hl-table-scroll { overflow-x: auto; }

.hl-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

.hl-table thead th {
    padding: 11px 16px;
    text-align: left;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--hl-dim2);
    background: #101216;
    border-bottom: 1px solid var(--hl-border);
    white-space: nowrap;
}

.hl-table thead th.col-date { padding-left: 22px; }
.hl-table thead th.col-views { text-align: right; padding-right: 22px; }

.hl-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.hl-table tbody tr:last-child { border-bottom: none; }
.hl-table tbody tr:hover { background: var(--hl-row-hover); }

.hl-table td {
    padding: 13px 16px;
    vertical-align: middle;
}

.hl-table td.col-date { padding-left: 22px; }
.hl-table td.col-views { padding-right: 22px; text-align: right; }

.hl-cell-date {
    font-size: 0.71rem;
    color: var(--hl-dim);
    white-space: nowrap;
}

.hl-cell-date strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hl-text);
    margin-top: 1px;
}

/* Match cell */

.hl-fixture {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    min-width: 340px;
}

.hl-team {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.hl-team.home { justify-content: flex-end; text-align: right; }
.hl-team.away { justify-content: flex-start; }

.hl-team-name {
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.hl-scorebox {
    min-width: 56px;
    padding: 5px 10px;
    border-radius: 7px;
    background: #0d0f13;
    border: 1px solid var(--hl-border);
    text-align: center;
    flex-shrink: 0;
}

.hl-scorebox .sb-main {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hl-scorebox .sb-ht {
    display: block;
    font-size: 0.56rem;
    font-weight: 600;
    color: var(--hl-dim2);
    letter-spacing: 0.05em;
    margin-top: 1px;
}

/* League pill */

.hl-league-pill {
    display: inline-block;
    max-width: 190px;
    padding: 5px 11px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hl-border);
    font-size: 0.71rem;
    font-weight: 600;
    color: var(--hl-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video button */

.hl-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: none;
    border-radius: 6px;
    background: var(--hl-red);
    color: var(--hl-on-accent);
    font-family: inherit;
    font-size: 0.71rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.18s ease;
}

.hl-video-btn:hover { filter: brightness(1.15); }
.hl-video-btn svg { flex-shrink: 0; }

.hl-video-empty {
    font-size: 0.72rem;
    color: var(--hl-dim2);
}

.hl-views {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hl-text);
    white-space: nowrap;
}

.hl-views.zero { color: var(--hl-dim2); font-weight: 500; }

.hl-state {
    padding: 52px 22px !important;
    text-align: center;
    color: var(--hl-dim);
    font-size: 0.85rem;
}

.hl-state button {
    display: block;
    margin: 14px auto 0;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    background: var(--hl-red);
    color: var(--hl-on-accent);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ---------- Pagination ---------- */

.hl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 22px;
    border-top: 1px solid var(--hl-border);
}

.hl-page-btn {
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid var(--hl-border);
    background: #0d0f13;
    color: var(--hl-text);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.18s ease;
}

.hl-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.hl-page-btn:not(:disabled):hover { border-color: rgba(255, 214, 10, 0.5); }

.hl-page-info {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hl-dim);
}

/* ---------- Modal player ---------- */

.hl-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hl-modal[hidden] { display: none; }

.hl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.hl-modal-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--hl-panel);
    border: 1px solid var(--hl-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.hl-modal-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hl-border);
}

.hl-modal-head h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hl-modal-head p {
    margin-top: 3px;
    font-size: 0.74rem;
    color: var(--hl-dim);
}

.hl-modal-close {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hl-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--hl-dim);
    cursor: pointer;
    transition: 0.18s ease;
}

.hl-modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.hl-modal-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.hl-modal-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hl-modal-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hl-dim);
    font-size: 0.84rem;
    text-align: center;
    padding: 20px;
}

.hl-modal-state[hidden] { display: none; }

.hl-modal-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
}

.hl-modal-kinds:empty { display: none; }

.hl-kind-btn {
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid var(--hl-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--hl-dim);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.18s ease;
}

.hl-kind-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }

.hl-kind-btn.active {
    background: var(--hl-red);
    border-color: var(--hl-red);
    color: var(--hl-on-accent);
}

body.hl-modal-open { overflow: hidden; }

/* ---------- Match detail page ---------- */

.hl-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.74rem;
    color: var(--hl-dim2);
}

.hl-breadcrumb a { color: var(--hl-dim); }
.hl-breadcrumb a:hover { color: var(--hl-red); }
.hl-breadcrumb strong { color: var(--hl-text); font-weight: 600; }

.hl-detail-title {
    font-size: clamp(1.4rem, 3.4vw, 2.05rem);
    font-weight: 900;
    letter-spacing: -0.022em;
    line-height: 1.14;
    margin-bottom: 20px;
}

.hl-detail .hl-state {
    padding: 60px 20px !important;
}

/* Scoreboard */

.hl-scoreboard {
    background: var(--hl-card);
    border: 1px solid var(--hl-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 26px;
}

.hl-sb-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--hl-border);
    font-size: 0.73rem;
    color: var(--hl-dim);
}

.hl-sb-badge {
    padding: 4px 10px;
    border-radius: 5px;
    background: rgba(46, 204, 113, 0.14);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #4ade80;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hl-sb-league { font-weight: 700; color: var(--hl-text); }
.hl-sb-date { margin-left: auto; }

.hl-sb-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 28px 22px;
}

.hl-sb-team {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.hl-sb-team.away { flex-direction: row-reverse; text-align: right; }

.hl-sb-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.hl-sb-team strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hl-sb-team span {
    display: block;
    margin-top: 2px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hl-dim2);
    text-transform: uppercase;
}

.hl-sb-score { text-align: center; flex-shrink: 0; }

.hl-sb-main {
    display: block;
    font-size: clamp(1.7rem, 4.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.hl-sb-ht {
    display: block;
    margin-top: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--hl-dim2);
}

.hl-sb-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--hl-border);
    border-top: 1px solid var(--hl-border);
}

.hl-sb-facts > div { background: var(--hl-card); padding: 14px 22px; }

.hl-sb-facts dt {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--hl-dim2);
    text-transform: uppercase;
}

.hl-sb-facts dd {
    margin-top: 4px;
    font-size: 0.84rem;
    font-weight: 700;
}

/* Detail sections */

.hl-detail-section { margin-bottom: 30px; }

.hl-section-head { margin-bottom: 14px; }

.hl-section-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 5px;
    background: var(--hl-red-soft);
    border: 1px solid rgba(255, 214, 10, 0.28);
    color: var(--hl-red);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hl-section-head h2 {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.018em;
    line-height: 1.2;
}

.hl-section-head p {
    margin-top: 8px;
    max-width: 640px;
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--hl-dim);
}

.hl-detail-player {
    background: var(--hl-panel);
    border: 1px solid var(--hl-border);
    border-radius: 14px;
    overflow: hidden;
}

.hl-detail-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.hl-detail-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hl-detail-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
}

.hl-detail-kinds:empty { display: none; }

/* Related matches */

.hl-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 10px;
}

.hl-related-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 16px;
    border-radius: 11px;
    background: var(--hl-card);
    border: 1px solid var(--hl-border);
    transition: 0.18s ease;
}

.hl-related-card:hover {
    border-color: rgba(255, 214, 10, 0.45);
    transform: translateY(-2px);
}

.hl-related-league {
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--hl-dim2);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-related-teams {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.hl-related-teams em {
    font-style: normal;
    color: var(--hl-red);
    font-weight: 800;
    padding: 0 3px;
}

.hl-related-date {
    font-size: 0.71rem;
    color: var(--hl-dim2);
}

.hl-back-link {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 9px;
    border: 1px solid var(--hl-border);
    background: var(--hl-card);
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--hl-dim);
    transition: 0.18s ease;
}

.hl-back-link:hover { color: #fff; border-color: rgba(255, 214, 10, 0.45); }

@media (max-width: 620px), (min-width: 768px) and (max-width: 876px) {
    .hl-sb-teams { gap: 10px; padding: 20px 14px; }
    .hl-sb-logo { width: 38px; height: 38px; }
    .hl-sb-team { flex-direction: column; gap: 8px; text-align: center; }
    .hl-sb-team.away { flex-direction: column; text-align: center; }
    .hl-sb-team strong { font-size: 0.85rem; }
    .hl-sb-status { padding: 12px 14px; }
    .hl-sb-date { margin-left: 0; flex-basis: 100%; }
    .hl-sb-facts > div { padding: 12px 14px; }
}

/* ---------- Footer ---------- */

.hl-footer {
    border-top: 1px solid var(--hl-border);
    padding: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--hl-dim2);
}

/* ---------- Responsive ----------
   These breakpoints describe the content column, not the viewport. Above 768px
   the shared shell insets content by a 256px sidebar, so each breakpoint also
   needs the shifted desktop range or the layout stays wide inside a narrow
   column. Below 769px there is no sidebar and the plain query applies. */

@media (max-width: 860px), (min-width: 768px) and (max-width: 1116px) {
    .hl-hero { flex-direction: column; gap: 18px; }
    .hl-hero-stat { align-self: stretch; }
    .hl-filters { flex-wrap: wrap; }
    .hl-search { flex-basis: 100%; }
    .hl-date { flex: 1; }
}

@media (max-width: 560px), (min-width: 768px) and (max-width: 816px) {
    .hl-main { padding: 24px 14px 44px; }
    .hl-header-inner { padding: 10px 14px; gap: 12px; }
    .hl-live-btn { padding: 7px 12px; font-size: 0.7rem; }
    .hl-table-head { padding: 12px 14px; flex-wrap: wrap; }
    .hl-table-meta { margin-left: 0; flex-basis: 100%; }
}
