* { box-sizing: border-box; }
html, body { background: #0e151b; }
body.hb-sports-page {
    margin: 0;
    padding: 0;
    background: #0e151b;
    color: #fff;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    overflow-x: hidden;
    width: 100%;
}

.hb-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 38px;
    padding: 0 10px;
    background: #0b1016;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #1a222c;
}
.hb-toolbar::-webkit-scrollbar { display: none; }
.hb-toolbar a,
.hb-toolbar button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #c5c9d1;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
    cursor: pointer;
}
.hb-toolbar a.is-active,
.hb-toolbar button.is-active { color: #ffcd36; }
.hb-toolbar img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .9;
}
.hb-toolbar a.is-active img,
.hb-toolbar button.is-active img {
    filter: brightness(0) saturate(100%) invert(77%) sepia(64%) saturate(548%) hue-rotate(359deg) brightness(103%) contrast(104%);
    opacity: 1;
}
.hb-toolbar__slip {
    margin-left: auto;
    position: relative;
    padding-right: 2px;
}
.hb-toolbar__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffcd36;
    color: #111;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-hero {
    position: relative;
    height: 248px;
    overflow: hidden;
    background: #12051c;
    z-index: 1;
}
.hb-hero__track { height: 100%; }
.hb-hero__slide {
    display: none;
    height: 100%;
    width: 100%;
}
.hb-hero__slide.is-active { display: block; }
.hb-hero__slide img {
    width: 100%;
    height: 248px;
    object-fit: cover;
    object-position: center 64%;
    display: block;
}

.hb-sheet {
    position: relative;
    z-index: 2;
    margin-top: -18px;
    background: #2e323e;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    padding-top: 0;
}

.hb-quick {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    padding: 8px 4px 0;
    background: #2e323e;
    scrollbar-width: none;
}
.hb-quick::-webkit-scrollbar { display: none; }
.hb-quick a,
.hb-quick button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    padding: 2px 0 8px;
    text-decoration: none;
    min-height: 60px;
}
.hb-quick a.is-active,
.hb-quick button.is-active { color: #ffcd36; }
.hb-quick a.is-active::after,
.hb-quick button.is-active::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 3px;
    background: #ffcd36;
    border-radius: 1px;
}
.hb-quick__icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
}
.hb-quick img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.hb-quick__count {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 9px;
    font-weight: 800;
    color: #ffcd36;
    line-height: 1;
    letter-spacing: -.3px;
}
.hb-quick__name {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.1;
}

.hb-filters {
    background: #0e151b;
    padding: 12px 8px 8px;
}
.hb-filters__row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0;
}
.hb-filters__row::-webkit-scrollbar { display: none; }
.hb-filters__row button {
    flex: 0 0 auto;
    border: 0;
    background: #363945;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    height: 32px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    font-family: inherit;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hb-filters__row--region button.is-active {
    background: #363945;
    color: #fff;
}

.hb-time {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #363945;
    padding: 0 16px;
    height: 40px;
}
.hb-time::-webkit-scrollbar { display: none; }
.hb-time button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    padding: 0;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    font-family: inherit;
    border-radius: 0;
}
.hb-time button.is-active {
    color: #ffcd36;
}
.hb-chip__flag,
.hb-chip__globe {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex: 0 0 16px;
}
.hb-chip__globe {
    background: #2f6bff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hb-chip__globe svg { width: 11px; height: 11px; display: block; }
.hb-live-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffcd36;
    margin-left: 5px;
    margin-right: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.MatchList { background: #0e151b; padding: 0 0 8px; margin: 0; }
.hb-matchlist { background: #0e151b; color: #fff; }
.hb-empty { padding: 18px 12px; color: #9aa0ab; font-size: 13px; }
.hb-league {
    background: #363945;
    margin: 8px 0 0;
    overflow: hidden;
}
.hb-league__events {
    background: #363945;
}
.hb-league.is-collapsed-away,
.hb-event.is-filtered-out,
.hb-event.is-collapsed-away { display: none !important; }
.hb-league__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 32px;
    background: #181d26;
    margin: 0;
}
.hb-league__flag {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex: 0 0 14px;
}
.hb-league__name {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hb-league__arrow { color: #8b909a; font-size: 13px; line-height: 1; flex: 0 0 auto; }
.hb-league__market {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #d0d4dc;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    padding: 0;
    height: auto;
    line-height: 1;
    border-radius: 0;
    box-shadow: none;
}
.hb-league__market span { color: #8b909a; font-size: 9px; margin-left: 3px; }

.hb-event {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    min-height: 50px;
    background: #363945;
    border-top: 0;
    margin: 0;
}
.hb-event__time {
    width: 42px;
    flex: 0 0 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}
.hb-event__minute {
    color: #ffcd36;
    font-size: 11px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.hb-event:not(.hb-event--live) .hb-event__minute { color: #c5c9d1; }
.hb-event__period {
    color: #8b909a;
    font-size: 9px;
    margin-top: 2px;
    padding-left: 0;
    white-space: nowrap;
}
.hb-event:not(.hb-event--live) .hb-event__period { padding-left: 0; }
.hb-clock { display: none; }
.hb-event__teams {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hb-event__team {
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.hb-event__scores {
    width: 12px;
    flex: 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hb-event__score {
    color: #ffcd36;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    min-height: 13px;
}
.hb-event__odds {
    display: flex;
    gap: 2px;
    flex: 0 0 auto;
    margin-left: auto;
}
.hb-odd {
    width: 50px;
    height: 32px;
    border: 0;
    border-radius: 3px;
    background: #181d26;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 1px 5px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
}
.hb-odd__lbl {
    font-size: 8px;
    color: #ffcd36;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
}
.hb-odd__val {
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
    line-height: 1;
    color: #fff;
}
.hb-odd--fav .hb-odd__val { color: #fff; }
.hb-odd--fav::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0;
    height: 2px;
    background: #ffcd36;
    border-radius: 1px 1px 0 0;
}
.hb-odd--lock { color: #8b909a; }
.hb-odd--lock .hb-odd__val { color: #9aa0ab; }
.hb-odd__lock {
    position: absolute;
    right: 2px;
    bottom: 2px;
    color: #c5c9d1;
}
.hb-event__stats {
    width: 12px;
    flex: 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #9aa3b0;
}
.hb-bars, .hb-play { width: 11px; height: 11px; display: block; }
.hb-event__more {
    width: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #9aa0ab;
    font-size: 10px;
    font-weight: 400;
}
.hb-event__markets { display: inline-flex; align-items: center; }
.hb-event__chev { display: none; }
.hb-more {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    margin: 8px 0 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #d5d8de;
    background: #363945;
}
.hb-more::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffcd36;
    margin-top: 2px;
}
.hb-more.is-expanded::after {
    border-top: 0;
    border-bottom: 5px solid #ffcd36;
    margin-top: 0;
}

@media (max-width: 360px) {
    .hb-odd { width: 46px; height: 30px; }
    .hb-event__time { width: 40px; flex-basis: 40px; }
    .hb-hero, .hb-hero__slide img { height: 220px; }
    .hb-sheet { margin-top: -24px; }
}

@media (max-width: 900px) {
    .hb-hero, .hb-hero__slide, .hb-hero__slide img { height: 132px !important; }
    .hb-sheet { margin-top: -18px; }
}
html, body.hb-sports-page { min-height: 0; height: auto; }

@media (max-width: 900px) {
    .hb-hero, .hb-hero__slide, .hb-hero__slide img { height: 132px !important; }
    .hb-sheet { margin-top: -18px; }
}
html, body.hb-sports-page { min-height: 0; height: auto; }
