: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 .scroll_horizontal {
        width: 100%;
        overflow-x: hidden;
    }
    .bdn-odds-page .dateM ul.keo {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .bdn-odds-page .dateM ul.keo li {
        float: none;
        flex: 0 0 25%;
        width: auto !important;
        min-width: 110px;
    }
    .bdn-odds-page .proportion {
        width: 100%;
        min-width: 0;
    }
    .bdn-odds-page .head_pro > table,
    .bdn-odds-page .proportion .Box_1 > table,
    .bdn-odds-page .proportion .Box_1 > table > tbody {
        display: block;
        width: 100%;
    }
    .bdn-odds-page .head_pro > table > tbody {
        display: grid;
        grid-template-columns: 13% 41% 17% 17% 12%;
        grid-template-rows: 28px 28px;
        width: 100%;
    }
    .bdn-odds-page .proportion .Box_1 > table > tbody > tr.cups,
    .bdn-odds-page .proportion .Box_1 > table > tbody > tr.cups > th {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .bdn-odds-page .head_pro tr:first-child > td:nth-child(4),
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td:nth-child(n+4),
    .bdn-odds-page .proportion tr.color1 > td:nth-child(n+6),
    .bdn-odds-page .proportion tr.color3 > td:nth-child(n+6) {
        display: none;
    }
    .bdn-odds-page .head_pro table > tbody > tr:first-child,
    .bdn-odds-page .head_pro .trd_TYLETT_1 {
        display: contents;
    }
    .bdn-odds-page .proportion tr.color1,
    .bdn-odds-page .proportion tr.color3 {
        display: grid;
        grid-template-columns: 13% 41% 17% 17% 12%;
        width: 100%;
        box-sizing: border-box;
    }
    .bdn-odds-page .head_pro table > tbody > tr:first-child > td,
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td,
    .bdn-odds-page .proportion tr.color1 > td,
    .bdn-odds-page .proportion tr.color3 > td {
        width: auto !important;
        min-width: 0;
        box-sizing: border-box;
    }
    .bdn-odds-page .head_pro table > tbody > tr:first-child > td,
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    .bdn-odds-page .head_pro table > tbody > tr:first-child > td:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
    .bdn-odds-page .head_pro table > tbody > tr:first-child > td:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
    .bdn-odds-page .head_pro table > tbody > tr:first-child > td:nth-child(3) { grid-column: 3 / 6; grid-row: 1; }
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td:nth-child(1) { grid-column: 3; grid-row: 2; }
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td:nth-child(2) { grid-column: 4; grid-row: 2; }
    .bdn-odds-page .head_pro .trd_TYLETT_1 > td:nth-child(3) { grid-column: 5; grid-row: 2; }
    .bdn-odds-page .proportion tr.color1 > td,
    .bdn-odds-page .proportion tr.color3 > td {
        font-size: 12px;
        line-height: 18px;
    }
    .bdn-odds-page .proportion tr.color1 > td > table td,
    .bdn-odds-page .proportion tr.color3 > td > table td {
        padding: 2px 3px;
        font-size: 12px !important;
        line-height: 18px;
    }
    .bdn-odds-page .proportion tr.color1 > td.match > table tr:nth-child(3),
    .bdn-odds-page .proportion tr.color3 > td.match > table tr:nth-child(3),
    .bdn-odds-page .proportion tr.color1 > td.asia > table tr:nth-child(3),
    .bdn-odds-page .proportion tr.color3 > td.asia > table tr:nth-child(3),
    .bdn-odds-page .proportion tr.color1 > td.tai_xiu > table tr:nth-child(3),
    .bdn-odds-page .proportion tr.color3 > td.tai_xiu > table tr:nth-child(3) {
        display: none;
    }
    .bdn-odds-page .proportion td.one_two > table tr:nth-child(3) { display: table-row; }
    .bdn-odds-page .proportion td.one_two > table td { white-space: nowrap; }
    .bdn-odds-page .proportion .match table td { padding-left: 4px; }
    .bdn-odds-page .proportion .cups th { padding: 0 7px; }
    .bdn-odds-page .bdn-odds-league-head > a {
        font-size: 13px;
        line-height: 31px;
    }
    .bdn-odds-page .bdn-odds-league-head nav a { font-size: 12px; }
}

@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; }
}

/* Purpose-built compact layout, extended to desktop for Bongdalu.ooo. */
.bdn-mobile-header,
.bdn-mobile-page-title,
.bdn-mobile-responsibility,
.bdn-mobile-head,
.bdn-hot-label-mobile,
.bdn-league-title-mobile,
.bdnet-mobile-date,
.bdnet-mobile-card {
    display: none;
}

@media (max-width: 2000px) {
    html,
    body {
        width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
        background: #fff;
    }

    .bdn-masthead,
    .back_header.bdn-primary-nav,
    .breadcump,
    .content_data > .bdn-mobile-utilities,
    .bdn-mobile-utilities {
        display: none !important;
    }

    .bdn-mobile-header {
        position: relative;
        z-index: 10000;
        display: block;
        width: 100%;
        background: #159f3a;
        color: #fff;
        font-family: Arial, Helvetica, sans-serif;
    }

    .bdn-mobile-link-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        height: 31px;
        background: #69bf59;
    }

    .bdn-mobile-link-row-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bdn-mobile-link-row-bottom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bdn-mobile-link-row a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 31px;
        border-right: 1px solid rgba(255,255,255,.22);
        color: #fff !important;
        font-size: 14px;
        font-weight: 600;
        line-height: 31px;
        text-align: center;
        white-space: nowrap;
    }

    .bdn-mobile-link-row a:last-child { border-right: 0; }
    .bdn-mobile-link-row-top a.is-active::before {
        position: absolute;
        top: -6px;
        left: 50%;
        width: 0;
        height: 0;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #0b7447;
        border-left: 6px solid transparent;
        content: '';
        transform: translateX(-50%);
    }
    .bdn-mobile-link-row-top a.is-active { border-top: 2px solid #087249; }

    .bdn-mobile-main-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
        height: 49px;
        border-bottom: 1px solid #075a39;
        background: #159f3a;
    }

    .bdn-mobile-main-row > a,
    .bdn-mobile-main-row > button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 49px;
        padding: 0;
        border: 0;
        border-right: 1px solid #075a39;
        background: #00603a;
        color: #fff !important;
        font: 14px/17px Arial, Helvetica, sans-serif;
        text-align: center;
    }

    .bdn-mobile-main-row > a:first-child,
    .bdn-mobile-main-row > button:last-child { background: #159f3a; }
    .bdn-mobile-main-row > button:last-child { border-right: 0; }
    .bdn-mobile-main-row .fa {
        display: block;
        height: 21px;
        margin-bottom: 2px;
        color: #fff;
        font-size: 20px;
        line-height: 21px;
    }

    .bdn-mobile-logo img {
        display: block;
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .bdn-mobile-more { cursor: pointer; }
    .bdn-mobile-more .fa { height: auto !important; margin: 0 !important; font-size: 29px !important; }

    .bdn-mobile-menu-panel {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid rgba(255,255,255,.25);
        background: #00603a;
        box-shadow: 0 6px 15px rgba(0,0,0,.24);
    }
    .bdn-mobile-menu-open .bdn-mobile-menu-panel { display: grid; }
    .bdn-mobile-menu-panel a {
        min-height: 42px;
        padding: 11px 12px;
        border-right: 1px solid rgba(255,255,255,.13);
        border-bottom: 1px solid rgba(255,255,255,.13);
        color: #fff !important;
        font-size: 12px;
    }
    .bdn-mobile-menu-panel .fa { width: 18px; color: #79d36b; }

    .content_main.content_data { margin: 0 !important; }
    .content_data .grid1120 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    .content_data .grid1120 > .grid940,
    .content_data .grid940 > .clearfix,
    .content_data .grid940 > .clearfix > .col700 {
        display: block;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .content_data .grid1120 > .grid300,
    .content_data .grid1120 .grid300_1010,
    .content_data .grid940 > .clearfix > .col220,
    .content_data .grid940 > .clearfix > .desc_match,
    .content_data .grid940 > .clearfix > .list_day,
    .match-search-box {
        display: none !important;
    }

    .content_data .bdn-odds-page .grid940 > .clearfix > .desc_match {
        display: block !important;
        width: calc(100% - 20px) !important;
        margin: 12px 10px 20px !important;
        box-sizing: border-box;
    }

    .content_data .grid940 > .clearfix > .bdn-page-title,
    .bdn-page-title {
        display: block;
        float: none;
        width: 100% !important;
        margin: 0 !important;
        padding: 13px 10px 28px;
        color: #050505 !important;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 23px !important;
        font-weight: 700;
        line-height: 31px;
        text-transform: none;
    }

    .bdn-hot-links {
        display: flex;
        overflow: hidden;
        width: 100%;
        min-height: 34px;
        margin: 0 !important;
        padding: 0 10px;
        border: 0;
        background: #fff;
        gap: 24px;
        white-space: nowrap;
    }
    .bdn-hot-links a {
        flex: 0 0 auto;
        color: #ef3035;
        font-size: 14px;
        line-height: 34px;
    }
    .bdn-board-toolbar {
        display: flex;
        width: 100%;
        min-height: 40px;
        margin: 0;
        padding: 5px 0 0;
        overflow: hidden;
        border: 1px solid #e1e1e1;
        border-bottom: 3px solid #087249;
        border-radius: 8px 8px 0 0;
        background: #fff;
    }
    .bdn-board-tab,
    .bdn-board-tab:nth-child(3) {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 32px;
        padding: 5px 9px;
        border: 0;
        border-right: 1px solid #e4e4e4;
        background: #f7f7f7;
        color: #666;
        font-size: 13px;
        line-height: 20px;
        white-space: nowrap;
    }
    .bdn-board-tab:last-of-type { border-right: 0; }
    .bdn-board-tab.active { background: #087249; color: #fff; }
    .bdn-board-sound { display: none !important; }

    .bdn-board-head,
    .bdn-board-head.bdn-board-head-result {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 58px 122px;
        width: 100%;
        min-height: 31px;
        border: 0;
        border-bottom: 1px solid #d4d4d4;
        background: #007048;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 31px;
    }
    .bdn-board-head > span:not(.bdn-mobile-head) { display: none !important; }
    .bdn-board-head > .bdn-mobile-head {
        display: block !important;
        grid-column: auto !important;
        border-right: 0;
    }

    .content_box_home,
    .content_box_home .matchList,
    .matchList:has(.bdnet-match-card) {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        border: 0;
        background: #fff;
    }
    .live-league-heading,
    .matchList:has(.bdnet-match-card) > div.clearfix {
        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 28px;
        margin: 0;
        padding: 4px 8px;
        border: 0;
        border-bottom: 1px solid #c8c8c8;
        background: #d9d9d9;
    }
    .live-league-heading .flag_16,
    .matchList:has(.bdnet-match-card) > div.clearfix .flag_16 {
        flex: 0 0 auto;
        margin: 0 7px 0 0;
    }
    .live-league-heading .view_tournaments,
    .matchList:has(.bdnet-match-card) > div.clearfix .view_tournaments {
        display: block;
        overflow: hidden;
        min-width: 0;
        min-height: 0;
        padding: 0;
        color: #474747;
        font-size: 14px;
        font-weight: 700;
        line-height: 19px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .bdn-league-title-desktop { display: none; }
    .bdn-league-title-mobile { display: inline; }
    .matchList:has(.bdnet-match-card) > li.item-live-home,
    .content_box_home .matchList > li.item-live-home {
        position: relative;
        width: 100%;
        min-height: 78px;
        margin: 0;
        padding: 0;
        border-top: 0;
        border-bottom: 1px solid #d6d9db;
        background: #fff;
    }
    .content_box_home .matchList > li.item-live-home:nth-of-type(odd) { background: #eef3f5; }
    .content_box_home .matchList > li.item-live-home:nth-of-type(even) { background: #fff; }
    .content_box_home .matchList > li.item-live-home.bdnet_live { background: #f2f8f4; }
    .matchList:has(.bdnet-match-card) > li.item-live-home > .fixture,
    .content_box_home .matchList > li.item-live-home > .fixture {
        display: block !important;
        width: 100% !important;
        min-height: 78px;
        color: #181818;
    }
    .fixture .overview_macth.bdnet-match-card { display: none !important; }

    .fixture .bdnet-mobile-card,
    .bdnet-mobile-card {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 58px 122px;
        width: 100%;
        min-height: 78px;
        padding: 0;
        background: transparent;
        color: #181818;
        font-family: Arial, Helvetica, sans-serif;
    }

    .bdnet-mobile-fixture {
        min-width: 0;
        padding: 5px 8px 5px 9px;
    }
    .bdnet-mobile-meta {
        display: flex;
        align-items: center;
        min-width: 0;
        height: 22px;
        gap: 11px;
    }
    .bdnet-mobile-meta time {
        flex: 0 0 38px;
        color: #3f3f3f;
        font-size: 13px;
        line-height: 20px;
    }
    .bdnet-mobile-league {
        overflow: hidden;
        color: #4b8ff7;
        font-size: 13px;
        line-height: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .matchList:has(.live-league-heading) .bdnet-mobile-meta { gap: 3px; }
    .matchList:has(.live-league-heading) .bdnet-mobile-league { display: none; }
    .matchList:has(.live-league-heading) .bdnet-mobile-date {
        display: inline;
        color: #353535;
        font-size: 13px;
        line-height: 20px;
    }
    .league-hot .bdnet-mobile-league { color: #7daa22; }
    .bdnet-mobile-team {
        display: flex;
        align-items: center;
        min-width: 0;
        height: 23px;
        color: #111;
        font-size: 14px;
        line-height: 27px;
        white-space: nowrap;
    }
    .bdnet-mobile-team > span:first-child {
        overflow: hidden;
        min-width: 0;
        text-overflow: ellipsis;
    }
    .bdnet-mobile-team em {
        flex: 0 0 auto;
        margin-left: 2px;
        color: #ff5959;
        font-size: 11px;
        font-style: normal;
    }
    .bdnet-mobile-team .bdnet-card-score {
        display: flex;
        flex: 0 0 auto;
        margin-left: 2px;
        gap: 2px;
    }

    .bdnet-mobile-score {
        display: grid;
        grid-template-rows: 22px 23px 23px;
        min-width: 0;
        border-left: 1px solid #e0e3e5;
        border-right: 1px solid #e0e3e5;
    }
    .bdnet-mobile-score-head,
    .bdnet-mobile-score-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-items: center;
        min-width: 0;
    }
    .bdnet-mobile-score-head {
        color: #aaa;
        font-size: 12px;
    }
    .bdnet-mobile-score-head .is-live { color: #246dcc; font-weight: 600; }
    .bdnet-mobile-score-row { font-size: 13px; }
    .bdnet-mobile-score-row strong { color: #ff9e00; font-size: 13px; }

    .bdnet-mobile-odds {
        display: grid;
        grid-template-rows: 22px 23px 23px;
        min-width: 0;
    }
    .bdnet-mobile-icons {
        display: flex;
        align-items: center;
        justify-content: space-around;
        overflow: hidden;
        padding: 0 3px;
        color: #777;
        font-size: 10px;
        white-space: nowrap;
    }
    .bdnet-mobile-icons span { display: inline-flex; align-items: center; gap: 2px; }
    .bdnet-mobile-icons img { width: 11px; height: 11px; }
    .bdnet-mobile-icons .fa-list-alt { color: #44bd65; }
    .bdnet-mobile-icons .fa-star-o { color: #cbd0d2; font-size: 19px; }
    .bdnet-mobile-odd-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-items: center;
        color: #00a91c;
        font-size: 10px;
    }
    .bdnet-mobile-odd-row strong { color: #0875c7; font-size: 10px; font-weight: 500; }
    .bdnet-mobile-odd-row b { color: #ef2228; font-size: 10px; font-weight: 500; }
    .bdnet-mobile-odd-total strong { color: #ed1b24; }
    .bdnet-mobile-odd-total b { color: #00a91c; }

    .bdnet-mobile-expand {
        display: none !important;
    }

    .bdn-footer { margin-top: 0; }
}

@media (max-width: 380px) {
    .bdn-mobile-link-row a { font-size: 12px; }
    .bdn-mobile-main-row > a,
    .bdn-mobile-main-row > button { font-size: 12px; }
    .bdn-board-head,
    .bdn-board-head.bdn-board-head-result,
    .fixture .bdnet-mobile-card,
    .bdnet-mobile-card { grid-template-columns: minmax(0, 1fr) 54px 108px; }
    .bdnet-mobile-fixture { padding-right: 5px; padding-left: 7px; }
}

/* Bongdalu.ooo shell, based on the compact Bongdalu657 layout. */
html,
body {
    min-width: 0 !important;
    background: #f1f1f1 !important;
}

.bdlu-header,
.content_main.content_data,
.breadcump,
.bdn-footer {
    width: 640px;
    max-width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box;
}

.bdlu-header {
    position: relative;
    z-index: 10000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.bdlu-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 4px 10px;
    background: #4f7f25;
}

.bdlu-logo {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 3px;
    background: transparent;
}

.bdlu-logo img {
    display: block;
    width: 125px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.bdlu-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bdlu-tools > a,
.bdlu-tools > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    font: 14px/34px Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.bdlu-tools .bdlu-sport { gap: 5px; padding: 0 10px; font-weight: 600; }
.bdlu-tools .fa { font-size: 17px; }

.bdlu-primary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 40px;
    background: #4f7f25;
}

.bdlu-primary a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255, 255, 255, .83) !important;
    font-size: 16px;
    font-weight: 700;
}

.bdlu-primary a.is-active,
.bdlu-primary a:hover { color: #fff !important; }
.bdlu-primary a.is-active::after {
    position: absolute;
    right: 24%;
    bottom: 0;
    left: 24%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #fff;
    content: '';
}

.bdlu-filter-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: #fff;
}

.bdlu-filter-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 30px;
    padding: 0 5px;
    border-radius: 18px;
    background: #f1f1f1;
    color: #444 !important;
    font-size: 14px;
    white-space: nowrap;
}

.bdlu-filter-nav a.is-active,
.bdlu-filter-nav a:hover { background: #e5eddc; color: #4f7f25 !important; }

.bdlu-search {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px 10px;
    background: #426e1c;
}
.bdlu-search-open .bdlu-search { display: grid; }
.bdlu-search input {
    min-width: 0;
    height: 34px;
    padding: 0 11px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
}
.bdlu-search button {
    height: 34px;
    padding: 0 15px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #4f7f25;
    font-weight: 700;
}

.bdlu-menu-panel {
    position: absolute;
    top: 48px;
    right: 8px;
    display: none;
    min-width: 210px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}
.bdlu-menu-open .bdlu-menu-panel { display: grid; }
.bdlu-menu-panel a {
    padding: 12px 14px;
    border-bottom: 1px solid #ededed;
    color: #333 !important;
    font-size: 14px;
}
.bdlu-menu-panel .fa { width: 22px; color: #4f7f25; }

.content_main.content_data {
    min-height: 560px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 10px 8px 24px !important;
    background: #f6f6f6;
}

.content_main .block-common,
.content_main .wrapper,
.content_main .main-center {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.content_main .main-left,
.content_main .main-right { display: none !important; }
.content_main .main-center { float: none !important; }
.content_main ._title { margin: 8px 4px 10px; font-size: 21px; line-height: 1.3; }
.content_main .zone-notice { border-radius: 7px; background: #fff; }
.content_main .bg-white { border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.breadcump { padding: 7px 10px; background: #fff; }
.breadcump .bdn-shell { width: 100%; padding: 0; }

.bdn-footer { background: #fff; }
.bdn-footer .bdn-shell { width: 100%; max-width: 100%; }
.bdn-footer-brand img { width: 130px; height: auto; object-fit: contain; }

@media (max-width: 520px) {
    .bdlu-topbar { height: 45px; padding-right: 6px; padding-left: 8px; }
    .bdlu-logo img { width: 116px; height: 36px; }
    .bdlu-tools > a,
    .bdlu-tools > button { min-width: 31px; height: 31px; padding: 0 6px; }
    .bdlu-tools .bdlu-sport { padding: 0 8px; }
    .bdlu-primary { height: 38px; }
    .bdlu-primary a { font-size: 14px; }
    .bdlu-filter-nav { gap: 5px; padding: 7px 6px; }
    .bdlu-filter-nav a { height: 29px; padding: 0 3px; font-size: 12px; }
    .content_main.content_data { padding-right: 0 !important; padding-left: 0 !important; }
}

@media (max-width: 370px) {
    .bdlu-tools .bdlu-sport span,
    .bdlu-tools .bdlu-sport .fa-caret-down { display: none; }
    .bdlu-filter-nav { gap: 3px; }
    .bdlu-filter-nav a { font-size: 11px; }
}

/* Cleaner score-board treatment for the compact Bongdalu shell. */
.content_main .bdn-board-toolbar {
    gap: 6px;
    min-height: 44px;
    margin-top: 8px;
    padding: 6px;
    overflow: visible;
    border: 1px solid #e0e6df;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: #f5f7f5;
    box-shadow: 0 2px 7px rgba(21, 67, 41, .07);
}

.content_main .bdn-board-tab,
.content_main .bdn-board-tab:nth-child(3) {
    min-height: 32px;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #606762;
    font-size: 13px;
    font-weight: 600;
}

.content_main .bdn-board-tab.active,
.content_main .bdn-board-tab:hover {
    background: #087249;
    color: #fff;
    box-shadow: 0 2px 5px rgba(8, 114, 73, .22);
}

.content_main .bdn-live-dot {
    width: 6px;
    height: 6px;
    margin-right: 6px;
}

.content_main .bdn-board-head,
.content_main .bdn-board-head.bdn-board-head-result {
    grid-template-columns: minmax(0, 1fr) 58px 122px;
    min-height: 34px;
    border: 1px solid #dfe5e1;
    border-bottom-color: #d5ddd8;
    background: #fff;
    color: #626b65;
    font-size: 11px;
    font-weight: 700;
    line-height: 33px;
    letter-spacing: .25px;
    text-transform: uppercase;
}

.content_main .bdn-board-head > .bdn-mobile-head {
    border-right: 1px solid #e5e9e6;
}
.content_main .bdn-board-head > .bdn-mobile-head:last-child { border-right: 0; }

.content_main .content_box_home,
.content_main .content_box_home .matchList,
.content_main .matchList:has(.bdnet-match-card) {
    border-right: 1px solid #e0e5e2;
    border-left: 1px solid #e0e5e2;
}

.content_main .content_box_home {
    overflow: hidden;
    border-bottom: 1px solid #e0e5e2;
    border-radius: 0 0 9px 9px;
    box-shadow: 0 3px 9px rgba(25, 57, 39, .07);
}

.content_main .live-league-heading,
.content_main .matchList:has(.bdnet-match-card) > div.clearfix {
    min-height: 34px;
    padding: 6px 10px;
    border-bottom: 1px solid #d9e4d6;
    border-left: 4px solid #4f7f25;
    background: #edf4e9;
}

.content_main .live-league-heading .view_tournaments,
.content_main .matchList:has(.bdnet-match-card) > div.clearfix .view_tournaments {
    color: #31522f !important;
    font-size: 13px;
    line-height: 21px;
}

.content_main .content_box_home .matchList > li.item-live-home,
.content_main .matchList:has(.bdnet-match-card) > li.item-live-home {
    min-height: 74px;
    border-bottom-color: #e1e6e3;
}
.content_main .content_box_home .matchList > li.item-live-home:nth-of-type(odd) { background: #f7f9f8; }
.content_main .content_box_home .matchList > li.item-live-home:nth-of-type(even) { background: #fff; }

.content_main .fixture .bdnet-mobile-card,
.content_main .bdnet-mobile-card {
    min-height: 74px;
}

.content_main .bdnet-mobile-fixture { padding-top: 4px; padding-bottom: 4px; }
.content_main .bdnet-mobile-score {
    border-color: #e3e8e5;
    background: rgba(255, 255, 255, .42);
}
.content_main .bdnet-mobile-icons .fa-star-o { color: #bdc7c1; font-size: 17px; }

@media (max-width: 380px) {
    .content_main .bdn-board-head,
    .content_main .bdn-board-head.bdn-board-head-result,
    .content_main .fixture .bdnet-mobile-card,
    .content_main .bdnet-mobile-card {
        grid-template-columns: minmax(0, 1fr) 52px 106px;
    }
}
