:root {
    --bdn-green: #00603a;
    --bdn-green-bright: #30af4a;
    --bdn-green-soft: #eaf6ed;
    --bdn-yellow: #f4cf4c;
    --bdn-red: #df3438;
    --bdn-text: #202020;
    --bdn-muted: #777;
    --bdn-border: #dedede;
    --bdn-bg: #f3f3f3;
    --bdn-shell: 1058px;
}

html { background: var(--bdn-bg); }

body {
    margin: 0;
    background: var(--bdn-bg);
    color: var(--bdn-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
a { transition: color .15s ease, background-color .15s ease; }
.sr-only {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bdn-shell {
    width: min(1024px, calc(100% - 24px));
    margin: 0 auto;
}

/* Header */
.bdn-masthead {
    height: 112px;
    background: #fff;
}

.bdn-masthead .bdn-shell {
    display: flex;
    align-items: center;
    height: 112px;
}

.bdn-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: #444;
}

.bdn-brand img {
    display: block;
    width: 210px;
    height: auto;
}

.bdn-brand span {
    margin: 2px 0 0 51px;
    color: #333;
    font-size: 9px;
    font-weight: 700;
    line-height: 12px;
}

.back_header.bdn-primary-nav {
    z-index: 9999;
    height: 45px !important;
    background: var(--bdn-green) !important;
}

.bdn-primary-nav .fixed_head,
.bdn-primary-nav .fixed_head.sticky_main {
    position: static;
    width: 100%;
    height: 45px !important;
    background: var(--bdn-green) !important;
}

.bdn-nav-shell {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 45px;
}

.bdn-primary-nav .menu_main {
    display: block;
    flex: 1 1 auto;
    float: none;
    min-width: 0;
}

.bdn-menu {
    display: flex;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bdn-menu > li {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    float: none !important;
    height: 45px;
    border-left: 1px solid rgba(0, 0, 0, .16);
}

.bdn-menu > li:last-child { border-right: 1px solid rgba(0, 0, 0, .16); }

.bdn-menu > li > a {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    padding: 0 9px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 45px !important;
    white-space: nowrap;
    gap: 5px;
}

.bdn-menu > li > a::after { display: none !important; }
.bdn-menu > li > a .fa { color: #77c95d; font-size: 18px; }
.bdn-menu > li.current-menu-item > a,
.bdn-menu > li:hover > a { background: rgba(0, 0, 0, .17) !important; }

.bdn-new-badge {
    position: absolute;
    top: 2px;
    left: 7px;
    padding: 0 3px;
    border-radius: 1px;
    background: #d94141;
    color: #fff;
    font-size: 8px;
    font-style: italic;
    line-height: 13px;
    transform: rotate(-4deg);
}

.bdn-nav-search { display: none; }

.bdn-menu-toggle {
    display: none;
    width: 46px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
}

.bdn-menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #fff;
}

.breadcump {
    margin: 0;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.breadcump .bread_item { padding: 7px 6px 7px 0; }
.breadcump a { color: #666; font-size: 12px; }

/* Main three-column layout */
.content_main.content_data { margin: 0 0 20px; }

.content_data > .bdn-mobile-utilities,
.bdn-mobile-utilities { display: none; }

.content_data .grid1120 {
    width: min(var(--bdn-shell), calc(100% - 24px)) !important;
    margin: 0 auto;
    padding: 7px !important;
    background: var(--bdn-bg) !important;
}

.content_data .grid1120 > .grid940 {
    width: calc(100% - 160px) !important;
    margin: 0;
}

.content_data .grid1120 > .grid300,
.content_data .grid1120 .grid300_1010 {
    display: block;
    width: 150px !important;
}

.content_data .grid940 > .clearfix > .col220 {
    display: block;
    width: 150px !important;
    margin: 0;
}

.content_data .grid940 > .clearfix > .col700 {
    width: calc(100% - 160px) !important;
    margin: 0;
}

.content_data .grid940 > .clearfix > h1,
.content_data .grid940 > .clearfix > .desc_match,
.content_data .grid940 > .clearfix > .list_day {
    width: calc(100% - 160px);
    margin-right: 0;
    margin-left: 160px;
}

.content_data h1._title,
.content_data h1.clblue {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
}

.desc_match,
.zone-notice {
    padding: 12px;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #444;
    font-size: 13px;
    line-height: 21px;
}

.desc_match h2,
.zone-notice h2 { color: #1f5e3c; font-size: 19px; }
.desc_match h3,
.zone-notice h3 { color: #222; font-size: 16px; }

/* Sidebars */
.bdn-sidebar {
    overflow: hidden;
    margin-top: 10px;
    background: #fff;
}

.bdn-sidebar-title {
    min-height: 40px;
    padding: 5px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
}

.bdn-sidebar-title-green { background: var(--bdn-green-bright); }
.bdn-sidebar-title-yellow { background: var(--bdn-yellow); color: #171717; }

.bdn-sidebar-list { margin: 0; padding: 0; list-style: none; }
.bdn-sidebar-list li { border-bottom: 1px solid #e5e5e5; }
.bdn-sidebar-list a {
    display: block;
    overflow: hidden;
    padding: 10px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bdn-sidebar-list a:hover { background: #f5f5f5; color: var(--bdn-green); }

/* Data navigation */
.bdn-hot-links {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0 8px;
    border-bottom: 1px solid #ddd;
    gap: 26px;
}

.bdn-hot-links a {
    color: var(--bdn-red);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.bdn-hot-links .fa { margin-right: 4px; }

.match-search-box { margin: 0 0 8px !important; }
.match-search-box input {
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    font-size: 13px !important;
}
.match-search-box input:focus { border-color: var(--bdn-green-bright) !important; }

.list_day {
    display: flex !important;
    height: 52px !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    border-color: #ddd !important;
    background: #fff;
}

.list_day li {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    padding: 4px !important;
}

.list_day li.active,
.list_day li:hover,
.list_day li.active a,
.list_day li:hover a {
    border-color: var(--bdn-green) !important;
    background: var(--bdn-green) !important;
    color: #fff !important;
}

.bdn-board-toolbar {
    display: flex;
    align-items: center;
    min-height: 47px;
    padding: 8px 8px 4px;
    border: 1px solid #d9d9d9;
    border-bottom: 3px solid var(--bdn-green);
    border-radius: 10px 10px 0 0;
    background: #fff;
}

.bdn-board-tab {
    min-height: 30px;
    padding: 6px 11px;
    border: 0;
    border-right: 1px solid #e2e2e2;
    background: #f7f7f7;
    color: #666;
    font: 13px/18px Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.bdn-board-tab.active,
.bdn-board-tab:hover { background: var(--bdn-green); color: #fff; }
.bdn-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: #ef5656;
    box-shadow: 0 0 0 2px rgba(239, 86, 86, .16);
}

.bdn-board-sound {
    margin-left: auto;
    padding: 4px 6px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 19px;
    cursor: pointer;
}

.bdn-board-head {
    display: grid;
    grid-template-columns: 68px 48px minmax(0, 1fr) 44px 65px 148px;
    min-height: 29px;
    border: 1px solid #5f5f5f;
    border-bottom: 0;
    background: #686868;
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    text-align: center;
}

.bdn-board-head span { border-right: 1px solid rgba(255,255,255,.16); }
.bdn-board-head span:last-child { border-right: 0; }
.bdn-board-head.bdn-board-head-result {
    grid-template-columns: 58px minmax(0, 1fr) 52px 76px;
}

.content_box_home { background: transparent; }
.content_box_home .matchList { margin-bottom: 14px; }

/* Existing table variants */
.table_live { width: 100% !important; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.table_live .scoretitle { background: #686868; color: #fff; }
.table_live .scoretitle td { height: 29px; border-right: 1px solid rgba(255,255,255,.16); font-size: 12px; }
.table_live .item-live-home td { border-bottom: 1px solid #e1e1e1; font-size: 11px; }

/* Footer */
.bdn-footer { margin-top: 18px; background: #fff; }
.bdn-partners {
    padding: 14px 0;
    border-top: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 12px;
    line-height: 22px;
}
.bdn-partners strong { color: #222; }
.bdn-partners a { color: #555; }
.bdn-partners a:hover { color: var(--bdn-green); }

.bdn-responsible {
    padding: 11px 0;
    border-top: 1px solid #3d3d3d;
    border-bottom: 1px solid #161616;
    background: #2d2d2d;
    color: #f4f4f4;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.bdn-responsible span { margin: 0 8px; color: #777; }

.bdn-footer-main {
    min-height: 260px;
    padding: 34px 0 28px;
    background: #2d2d2d;
    color: #bcbcbc;
}

.bdn-footer-main .bdn-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 42px;
}

.bdn-footer-brand img {
    width: 210px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .93;
}
.bdn-footer-brand p,
.bdn-footer-copy p { margin: 12px 0 0; color: #bbb; font-size: 12px; line-height: 20px; }
.bdn-footer-copy strong,
.bdn-footer-copy b { color: #fff; }

.bdn-footer-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #414141;
    gap: 8px 18px;
}
.bdn-footer-nav a { color: #d2d2d2; font-size: 12px; }
.bdn-footer-nav a:hover { color: #fff; }
.bdn-copyright {
    grid-column: 1 / -1;
    margin: 20px 0 0;
    color: #8f8f8f;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 1040px) {
    .bdn-shell { width: min(980px, calc(100% - 20px)); }
    .bdn-menu > li > a { padding: 0 6px !important; font-size: 11px !important; }
    .bdn-menu > li > a .fa { font-size: 15px; }
    .content_data .grid1120 { width: min(980px, calc(100% - 20px)) !important; }
}

@media (max-width: 900px) {
    .content_data .grid1120 > .grid940 { width: 100% !important; }
    .content_data .grid1120 > .grid300,
    .content_data .grid1120 .grid300_1010,
    .content_data .grid940 > .clearfix > .col220 { display: none !important; }
    .content_data .grid940 > .clearfix > .col700 { width: 100% !important; float: none; }
    .content_data .grid940 > .clearfix > h1,
    .content_data .grid940 > .clearfix > .desc_match,
    .content_data .grid940 > .clearfix > .list_day {
        width: 100%;
        margin-left: 0;
    }
    .bdn-menu > li:nth-child(1) span,
    .bdn-menu > li:nth-child(5) span,
    .bdn-menu > li:nth-child(8) span { display: none; }
    .bdn-menu > li { flex: 0 1 auto; }
    .bdn-menu > li > a { padding: 0 12px !important; }
}

@media (max-width: 700px) {
    .bdn-shell,
    .content_data .grid1120 { width: 100% !important; }
    .bdn-masthead { height: 78px; }
    .bdn-masthead .bdn-shell { height: 78px; padding: 0 12px; }
    .bdn-brand img { width: 185px; }
    .bdn-brand span { display: none; }

    .back_header.bdn-primary-nav,
    .bdn-primary-nav .fixed_head { height: 48px !important; }
    .bdn-nav-shell { height: 48px; padding: 0 8px; }
    .bdn-menu-toggle { display: block; }
    .bdn-primary-nav .menu_main {
        position: absolute;
        top: 48px;
        right: 0;
        left: 0;
        display: none;
        background: var(--bdn-green);
        box-shadow: 0 5px 12px rgba(0,0,0,.2);
    }
    .bdn-menu-open .bdn-primary-nav .menu_main { display: block; }
    .bdn-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        height: auto;
    }
    .bdn-menu > li,
    .bdn-menu > li > a { height: 43px; }
    .bdn-menu > li > a { justify-content: flex-start; line-height: 43px !important; }
    .bdn-menu > li:nth-child(1) span,
    .bdn-menu > li:nth-child(5) span,
    .bdn-menu > li:nth-child(8) span { display: inline; }
    .bdn-new-badge { display: none !important; }

    .bdn-nav-search {
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    .bdn-nav-search input {
        width: 142px;
        height: 30px;
        padding: 0 8px;
        border: 0;
        border-radius: 2px 0 0 2px;
        font-size: 12px;
    }
    .bdn-nav-search button {
        width: 32px;
        height: 30px;
        border: 0;
        border-radius: 0 2px 2px 0;
        background: #fff;
        color: var(--bdn-green);
    }

    .bdn-mobile-utilities {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }
    .bdn-mobile-utilities a {
        padding: 9px 4px;
        border-right: 1px solid #eee;
        color: #333;
        font-size: 11px;
        text-align: center;
    }
    .content_data .grid1120 { padding: 6px !important; }
    .content_data h1._title,
    .content_data h1.clblue { font-size: 17px !important; line-height: 23px; }
    .bdn-hot-links { overflow-x: auto; gap: 18px; }
    .bdn-hot-links a { flex: 0 0 auto; }
    .bdn-board-toolbar { min-height: 43px; padding: 6px 5px 3px; }
    .bdn-board-tab { padding: 6px 8px; font-size: 12px; }
    .bdn-board-sound { font-size: 16px; }
    .bdn-board-head {
        grid-template-columns: 52px minmax(0, 1fr) 36px 118px;
    }
    .bdn-board-head span:nth-child(1),
    .bdn-board-head span:nth-child(5) { display: none; }
    .bdn-board-head span:nth-child(2) { grid-column: 1; }
    .bdn-board-head span:nth-child(3) { grid-column: 2; }
    .bdn-board-head span:nth-child(4) { grid-column: 3; }
    .bdn-board-head span:nth-child(6) { grid-column: 4; }
    .list_day { overflow-x: auto !important; }
    .list_day li { flex: 0 0 64px; }
    .bdn-footer-main { padding: 26px 14px; }
    .bdn-footer-main .bdn-shell { display: block; }
    .bdn-footer-copy { margin-top: 22px; }
    .bdn-footer-nav { display: flex; }
}

@media (max-width: 480px) {
    .bdn-board-tab:nth-child(3) { display: none; }
    .bdn-board-head { grid-template-columns: 52px minmax(0, 1fr) 38px; }
    .bdn-board-head span:nth-child(6) { display: none; }
    .bdn-nav-search input { width: 116px; }
    .bdn-responsible { padding: 10px 8px; font-size: 10px; }
    .bdn-partners { padding: 12px; }
}

/* Match detail */
.bdn-match-detail-page {
    padding: 18px !important;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    box-sizing: border-box;
}
.bdn-match-breadcrumb {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin-bottom: 12px;
    padding: 0 12px;
    background: #f4f4f4;
    color: #252525;
    font-size: 14px;
    gap: 10px;
}
.bdn-match-breadcrumb a { color: #34495e; }
.bdn-match-breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bdn-match-title {
    margin: 0 0 16px !important;
    color: #111 !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}
.bdn-match-card {
    overflow: hidden;
    padding: 20px 38px 18px;
    border: 1px solid #20a55a;
    border-radius: 10px;
    background: #075f37;
    color: #fff;
}
.bdn-match-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    gap: 18px;
}
.bdn-match-meta a,
.bdn-match-meta time {
    color: #ff8218;
    font-weight: 700;
}
.bdn-match-meta a { text-align: center; }
.bdn-match-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}
.bdn-match-team {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 26px;
}
.bdn-match-team-away { flex-direction: row-reverse; }
.bdn-team-logo {
    position: relative;
    display: grid;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    color: #075f37;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.bdn-team-logo::before { content: attr(data-initials); }
.bdn-team-logo img {
    position: absolute;
    inset: 0;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    background: #fff;
    object-fit: contain;
}
.bdn-match-team strong {
    min-width: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
}
.bdn-match-score-center { text-align: center; }
.bdn-match-status {
    display: block;
    margin-bottom: 4px;
    color: #44bd66;
    font-size: 18px;
    font-weight: 700;
}
.bdn-match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    border-radius: 34px;
    background: #fff;
    color: #5266ff;
    font-size: 39px;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(0,0,0,.16);
    gap: 18px;
}
.bdn-match-score i { font-style: normal; font-weight: 700; }
.bdn-match-kickoff { font-size: 34px; }
.bdn-match-half {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}
.bdn-match-extra {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 25%;
    color: #fff;
    font-size: 14px;
    gap: 25px;
}
.bdn-match-extra span:empty { display: none; }

.bdn-match-odds {
    margin-top: 18px;
    border-bottom: 2px solid #17a750;
}
.bdn-match-odds > h2 {
    margin: 0 !important;
    border-bottom: 2px solid #17a750;
    color: #fff;
    font-size: 17px !important;
    text-align: center;
}
.bdn-match-odds > h2 span {
    display: inline-block;
    margin-bottom: -2px;
    padding: 13px 22px;
    border-radius: 8px 8px 0 0;
    background: #087249;
}
.bdn-odds-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 0 16px;
    gap: 12px;
}
.bdn-odds-group {
    overflow: hidden;
    border-radius: 3px;
    background: #f5f5f5;
}
.bdn-odds-group > h3 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #aaa;
    background: #666;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}
.bdn-odds-markets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bdn-odds-market {
    border-right: 1px solid #d8d8d8;
}
.bdn-odds-market:last-child { border-right: 0; }
.bdn-odds-market h4 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 6px 4px;
    border-bottom: 1px solid #d5d5d5;
    background: #707070;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
}
.bdn-odds-market > div {
    display: flex;
    justify-content: space-between;
    min-height: 30px;
    margin: 5px 6px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 13px;
}
.bdn-odds-market em {
    color: #ff5a4f;
    font-style: normal;
}
.bdn-odds-market b { color: #20374d; }
.bdn-odds-market-empty { opacity: .75; }
.bdn-match-tabs {
    position: static !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 4px 0 18px;
    border-bottom: 1px solid #dedede;
    text-align: center;
}
.bdn-match-tabs ul {
    display: inline-flex;
    float: none;
    margin: 0;
}
.bdn-match-tabs li { float: none; }
.bdn-match-tabs li a {
    border: 1px solid #ddd;
    border-bottom: 0;
    background: #fff;
    color: #333;
}
.bdn-match-tabs li a.active {
    background: #087249;
    color: #fff;
}
.bdn-match-main,
.bdn-match-main .main-detail-live { width: 100%; }
.bdn-match-detail-page .tbl_performances th { background: #0c4d88; }

@media (max-width: 760px) {
    .bdn-match-detail-page { padding: 10px !important; border-radius: 0; }
    .bdn-match-title { font-size: 20px !important; }
    .bdn-match-card { padding: 16px 12px; }
    .bdn-match-meta {
        min-height: auto;
        margin-bottom: 14px;
        font-size: 14px;
        gap: 3px;
    }
    .bdn-match-meta a,
    .bdn-match-meta time { text-align: center; }
    .bdn-match-scoreboard {
        grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
        gap: 8px;
    }
    .bdn-match-team,
    .bdn-match-team-away { flex-direction: column; gap: 7px; }
    .bdn-team-logo {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
        font-size: 18px;
    }
    .bdn-team-logo img {
        width: 64px;
        height: 64px;
    }
    .bdn-match-team strong { font-size: 14px; }
    .bdn-match-status { font-size: 13px; }
    .bdn-match-score { min-height: 50px; font-size: 28px; gap: 10px; }
    .bdn-match-kickoff { font-size: 24px; }
    .bdn-match-half { font-size: 12px; }
    .bdn-match-extra {
        display: block;
        padding: 0;
        font-size: 12px;
        text-align: center;
    }
    .bdn-match-extra span { display: block; margin-top: 4px; }
    .bdn-odds-groups { grid-template-columns: 1fr; }
}

/* Odds board: compact league groups and market columns modelled on the reference layout. */
.bdn-odds-page .grid940 { width: 100%; }
.bdn-odds-page > .grid300,
.bdn-odds-page > .grid300_1010 { display: none; }
.bdn-odds-page .scroll_horizontal { overflow-x: auto; }
.bdn-odds-page .dateM { margin-bottom: 10px; }
.bdn-odds-page .dateM ul.keo { margin-bottom: 8px; border: 1px solid #dedede; }
.bdn-odds-page .dateM ul.keo li { border-right: 1px solid #dedede; box-sizing: border-box; }
.bdn-odds-page .dateM ul.keo li:last-child { border-right: 0; }
.bdn-odds-page .dateM ul.keo li.active a,
.bdn-odds-page .dateM ul.keo li:hover a { background: #087249; }
.bdn-odds-league-tabs {
    display: flex;
    overflow-x: auto;
    margin: 0 0 10px;
    border: 1px solid #dedede;
    background: #f5f5f5;
    white-space: nowrap;
}
.bdn-odds-league-tabs a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-right: 1px solid #dedede;
    color: #444;
    font-size: 12px;
}
.bdn-odds-league-tabs a.active,
.bdn-odds-league-tabs a:hover { background: #087249; color: #fff; }
.bdn-odds-page .proportion { min-width: 760px; font-family: Arial, Helvetica, sans-serif; }
.bdn-odds-page .proportion table { width: 100%; table-layout: fixed; }
.bdn-odds-page .head_pro td {
    height: 28px;
    border-color: #878787 !important;
    background: #686868;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}
.bdn-odds-page .proportion .cups th {
    height: 31px;
    padding: 0 10px;
    border: 0;
    background: #087249 !important;
    color: #fff;
    line-height: 31px;
}
.bdn-odds-page .proportion .cups th > strong { display: block; text-align: center; }
.bdn-odds-league-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}
.bdn-odds-league-head > a { overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.bdn-odds-league-head nav { display: flex; flex: 0 0 auto; gap: 4px; }
.bdn-odds-league-head nav a {
    padding: 0 7px;
    border-left: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}
.bdn-odds-page .proportion .color3 { background: #c6d4f1; }
.bdn-odds-page .proportion tr.color1 { background: #eef8f1; }
.bdn-odds-page .proportion tr.color3:nth-child(even) { background: #ededed; }
.bdn-odds-page .proportion tr.color1 td,
.bdn-odds-page .proportion tr.color3 td { border-color: #fff; font-size: 11px; line-height: 15px; }
.bdn-odds-page .proportion .hours { width: 9%; font-weight: 600; }
.bdn-odds-page .proportion .match { width: 27%; }
.bdn-odds-page .proportion .asia,
.bdn-odds-page .proportion .tai_xiu { width: 14%; }
.bdn-odds-page .proportion .one_two { width: 8%; }
.bdn-odds-page .proportion .match table td { padding-left: 8px; }

@media (max-width: 700px) {
    .bdn-board-head.bdn-board-head-result {
        grid-template-columns: 54px minmax(0, 1fr) 42px 68px;
    }
    .bdn-board-head.bdn-board-head-result span { display: block; grid-column: auto; }
    .bdn-odds-page .proportion { min-width: 720px; }
}

@media (max-width: 480px) {
    .bdn-board-head.bdn-board-head-result {
        grid-template-columns: 52px minmax(0, 1fr) 38px;
    }
    .bdn-board-head.bdn-board-head-result span { display: block; grid-column: auto; }
    .bdn-board-head.bdn-board-head-result span:last-child { display: none; }
}

@media (max-width: 480px) {
    .bdn-match-breadcrumb { font-size: 12px; }
    .bdn-match-scoreboard { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); }
    .bdn-match-score { min-height: 44px; font-size: 24px; }
    .bdn-match-kickoff { font-size: 21px; }
    .bdn-odds-group { overflow-x: auto; }
    .bdn-odds-markets { min-width: 470px; }
}
