/* ==========================================================================
   7M Core CSS - 99.9% Replica of https://live.7mvn9.com/
   Strict compliance with Global Rules:
   - NO border-radius (border-radius: 0 !important)
   - NO box-shadow, NO text-shadow
   - Root font size 16px, Body font size 100%
   - Compact layout, high information density
   ========================================================================== */

/* Resets & Base Elements */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    padding: 0;
    margin: 0;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

/* ==========================================================================
   TOP BAR (Black Bar #363636)
   ========================================================================== */
.liveTopContent {
    width: 100%;
    background-color: #363636;
    position: relative;
    z-index: 200;
    text-align: left;
    height: 28px;
    line-height: 28px;
}
.liveTop {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
    height: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}
.liveTop-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.liveTop-left .lt_timeZone {
    font-size: 11px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") right center no-repeat;
    padding-right: 16px;
}
.liveTop-left .lt_telegram {
    color: #43b5f7;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.liveTop-left .lt_bookmark {
    color: #cccccc;
    font-size: 11px;
}
.liveTop-left .lt_bookmark span {
    color: #ffcc00;
    font-weight: bold;
}

.liveTop-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.liveTop-right .lr_item {
    position: relative;
    font-size: 11px;
    color: #ffffff;
    cursor: pointer;
}
.liveTop-right .lr_item a {
    color: #ffffff;
    font-size: 11px;
}
.liveTop-right .app_down_trigger {
    background: #15b25f;
    color: #ffffff !important;
    padding: 2px 8px;
    font-weight: bold;
    display: inline-block;
}
.liveTop-right .app_dropdown_menu {
    display: none;
    position: absolute;
    top: 28px;
    right: 0;
    width: 280px;
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 10px;
    z-index: 1000;
    color: #333333;
    text-align: center;
}
.liveTop-right .lr_item:hover .app_dropdown_menu {
    display: block;
}
.app_dropdown_menu .qr-wrap img {
    width: 110px;
    height: 110px;
    display: block;
    margin: 5px auto;
}
.app_dropdown_menu .btn-app {
    display: inline-block;
    padding: 4px 10px;
    background: #15b25f;
    color: #fff !important;
    font-size: 11px;
    font-weight: bold;
    margin: 3px;
}

/* ==========================================================================
   HEADER & NAVIGATION (Green Bar #15B25F)
   ========================================================================== */
.liveHead {
    background: #15b25f;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 500;
}
.liveNavigation {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 10px;
    box-sizing: border-box;
}
.liveLogo {
    width: 170px;
    text-align: left;
}
.liveLogo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.liveLogo .logo-text {
    font-family: Arial, Tahoma, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}
.liveLogo .logo-sub {
    background: #ffd800;
    color: #111111;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    margin-left: 6px;
    text-transform: uppercase;
}

.liveMenu {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 10px;
}
.liveMenu ul,
.liveMenu .liveMenu-ul {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.liveMenu li {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}
.liveMenu a,
.liveMenu li a {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 0 14px;
    height: 48px;
    line-height: 48px;
    display: inline-flex;
    align-items: center;
    position: relative;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
    transition: color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    border-radius: 0 !important;
}
.liveMenu a:hover,
.liveMenu li:hover > a {
    color: #CDF88B;
    text-decoration: none;
}
.liveMenu a.on,
.liveMenu a.active,
.liveMenu li.current-menu-item > a,
.liveMenu li.current_page_item > a,
.liveMenu li.active > a {
    color: #CDF88B !important;
    border-bottom: 3px solid #CDF88B !important;
    font-weight: bold !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Authentic 7M Submenu */
.liveSubmenuContent {
    width: 100%;
    height: 34px;
    background-color: #229E5C;
    position: relative;
    z-index: 18;
    border-bottom: none;
}
.liveSubmenu {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}
.liveSubmenu ul,
.liveSubmenu .liveSubmenu-ul {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.liveSubmenu li {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}
.liveSubmenu a,
.liveSubmenu li a {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    color: #ffffff;
    line-height: 24px;
    height: 24px;
    padding: 0 12px;
    border-radius: 0 !important;
    font-weight: normal;
    text-decoration: none;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.liveSubmenu a:hover,
.liveSubmenu li:hover > a {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
}
.liveSubmenu a.on,
.liveSubmenu a.active,
.liveSubmenu li.current-menu-item > a,
.liveSubmenu li.current_page_item > a,
.liveSubmenu li.active > a {
    background-color: #CDF88B !important;
    color: #1e7040 !important;
    font-weight: bold !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */
#content {
    width: 1250px;
    max-width: 100%;
    margin: 8px auto;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Float Ads Left / Right for Wide Screens */
.float-ad-left, .float-ad-right {
    position: fixed;
    top: 120px;
    width: 120px;
    z-index: 100;
    display: none;
}
.float-ad-left {
    left: calc(50% - 625px - 135px);
}
.float-ad-right {
    right: calc(50% - 625px - 135px);
}
@media (min-width: 1540px) {
    .float-ad-left, .float-ad-right {
        display: block;
    }
}
.float-ad-left img, .float-ad-right img {
    width: 120px;
    display: block;
    margin-bottom: 8px;
    border: 1px solid #ccc;
}

/* Odds Fluctuations Indicators (Green Drop / Red Rise) */
.odds-up {
    color: #cc0000 !important;
    font-weight: bold !important;
}
.odds-up::after {
    content: " ↑";
    font-size: 10px;
    color: #cc0000;
    font-weight: bold;
}
.odds-down {
    color: #008800 !important;
    font-weight: bold !important;
}
.odds-down::after {
    content: " ↓";
    font-size: 10px;
    color: #008800;
    font-weight: bold;
}
.odds-filter-btn.active {
    color: #cc0000 !important;
    font-weight: bold !important;
}

/* ==========================================================================
   LEFT SIDEBAR: BẢNG KÊ CÁC GIẢI (League Selector)
   ========================================================================== */
#cLeft {
    width: 138px;
    flex-shrink: 0;
}
.league-box {
    background: #ffffff;
    border: 1px solid #9daddb;
    margin-bottom: 8px;
}
.league-box-header {
    background: #4a75b5;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.league-box-tools {
    background: #eef3f9;
    border-bottom: 1px solid #d4dde5;
    padding: 3px 6px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}
.league-box-tools a {
    color: #0b5fc9;
    font-size: 11px;
    text-decoration: none;
}
.league-box-tools a:hover {
    text-decoration: underline;
}
.league-list {
    max-height: 520px;
    overflow-y: auto;
    padding: 2px 4px;
}
.league-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    padding: 2px 2px;
    border-bottom: 1px dotted #e2e2e2;
    cursor: pointer;
}
.league-item:hover {
    background-color: #f1f6fc;
}
.league-item label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 105px;
}
.league-item input[type="checkbox"] {
    margin: 0;
}
.league-item .l-badge {
    color: #cc0000;
    font-size: 10px;
    font-family: Arial, sans-serif;
}

/* ==========================================================================
   CENTER COLUMN: MAIN LIVESCORE & ODDS
   ========================================================================== */
#cCenter {
    width: 748px;
    flex-grow: 1;
}

/* Control Toolbar (.lfun) */
.lfun {
    background: #f0f0f0;
    border: 1px solid #cccccc;
    height: 27px;
    line-height: 27px;
    padding: 0 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 4px;
}
.lfunLeft {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lfunLeft a {
    color: #0000cc;
    font-size: 11px;
    text-decoration: none;
}
.lfunLeft a:hover {
    color: #ff3300;
    text-decoration: underline;
}
.lfunLeft a.active {
    font-weight: bold;
    color: #cc0000;
}
.lfunLeft .sep {
    color: #cccccc;
    font-size: 11px;
}
.lfunLeft .hide-count {
    color: #ff0000;
    font-weight: bold;
}

.lfunRight {
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 20px;
    cursor: pointer;
    border: 1px solid #bbbbbb;
    background: #ffffff;
    color: #444444;
    border-radius: 0 !important;
    box-shadow: none !important;
    user-select: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-icon:hover {
    background: #eeeeee;
    border-color: #999999;
}
.btn-icon.active {
    background: #15b25f;
    color: #ffffff;
    border-color: #0f8a49;
}
.btn-icon.active:hover {
    background: #0e964f;
}
.btn-icon.muted {
    background: #f2f2f2;
    color: #888888;
    border-color: #cccccc;
}
.btn-icon svg {
    width: 13px;
    height: 13px;
    display: block;
    fill: currentColor;
    pointer-events: none;
}
#btn-sound-toggle.muted .svg-sound-on,
#btn-win-toggle.muted .svg-win-on {
    display: none !important;
}
#btn-sound-toggle.muted .svg-sound-off,
#btn-win-toggle.muted .svg-win-off {
    display: block !important;
}
.btn-icon.spinning svg,
#btn-reload-table.spinning svg,
#btn-reload-basket.spinning svg {
    animation: sevenmSpin 0.6s linear infinite;
}
@keyframes sevenmSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.search-team-box {
    margin-left: 6px;
}
.search-team-box input {
    height: 20px;
    font-size: 11px;
    padding: 1px 4px;
    border: 1px solid #999999;
    width: 105px;
}

/* Secondary Function Bar (Ẩn / Hiện trận đã chọn) */
.fun_sec {
    background: #f8f8f8;
    border: 1px solid #dcdcdc;
    border-top: none;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    color: #666666;
    margin-top: -4px;
    margin-bottom: 4px;
}
.fun_sec a {
    color: #0000cc;
    text-decoration: none;
}
.fun_sec a:hover {
    color: #cc0000;
    text-decoration: underline;
}
.fun_sec span {
    color: #cccccc;
    margin: 0 4px;
}

/* Notice Bar */
.notice-bar {
    background: #fffcee;
    border: 1px solid #e0c388;
    padding: 4px 8px;
    font-size: 11px;
    color: #444444;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}
.notice-bar span.icon-live {
    color: #cc0000;
    font-weight: bold;
}

/* ==========================================================================
   2IN1 LIVESCORE TABLE
   ========================================================================== */
.table-wrap {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cccccc;
    margin-bottom: 8px;
}
table.live {
    width: 100%;
    font-size: 11px;
    border-collapse: collapse;
}

/* Table Header */
table.live tr.tHead td {
    background: #4278ad;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    height: 24px;
    line-height: 24px;
    padding: 0 2px;
    border: 1px solid #366594;
    font-size: 11px;
}

/* League Section Header */
tr.matchClass td {
    background: #eef3f9;
    color: #003366;
    font-weight: bold;
    height: 22px;
    line-height: 22px;
    padding: 0 4px;
    border-top: 1px solid #b6cde2;
    border-bottom: 1px solid #b6cde2;
    text-align: left;
}
tr.matchClass .color-tag {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    vertical-align: middle;
}
tr.matchClass a.toggle-league {
    color: #003366;
    text-decoration: none;
    cursor: pointer;
}

/* Match Rows */
table.live tr.tbg0 td {
    background: #f7f9fc;
    border-bottom: 1px solid #e3e8ee;
    padding: 4px 2px;
    height: 26px;
    line-height: 1.25;
}
table.live tr.tbg1 td {
    background: #ffffff;
    border-bottom: 1px solid #e3e8ee;
    padding: 4px 2px;
    height: 26px;
    line-height: 1.25;
}


/* Highlight Flash Animation when a goal is scored */
@keyframes goalFlash {
    0% { background-color: #ffff66 !important; }
    50% { background-color: #ff9999 !important; }
    100% { background-color: #ffff66 !important; }
}
table.live tr.goal-highlight td {
    animation: goalFlash 1s ease-in-out infinite;
}

/* Cell Alignments & Columns */
table.live td.th_chk { width: 22px; text-align: center; }
table.live td.th_time { width: 38px; text-align: center; font-family: Tahoma, sans-serif; font-size: 11px; color: #555555; }
table.live td.th_state { width: 50px; text-align: center; font-size: 11px; font-weight: bold; }
table.live td.th_home { width: 155px; text-align: right; padding-right: 6px; }
table.live td.th_score { width: 52px; text-align: center; font-weight: bold; font-family: Tahoma, Arial, sans-serif; }
table.live td.th_away { width: 155px; text-align: left; padding-left: 6px; }
table.live td.th_odds { width: 185px; text-align: center; }
table.live td.th_data { width: 62px; text-align: center; }
table.live td.th_top { width: 24px; text-align: center; }

/* Status Text Colors & Live Pulse */
@keyframes sevenmLiveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.status-live {
    color: #cc0000 !important;
    font-weight: bold;
    animation: sevenmLiveBlink 1.8s infinite ease-in-out;
}
.icon-live {
    animation: sevenmLiveBlink 1.5s infinite ease-in-out;
    display: inline-block;
}
.status-ht { color: #0000ff !important; font-weight: bold; }
.status-ft { color: #888888 !important; }
.status-postponed { color: #ff6600 !important; }
.status-upcoming { color: #333333 !important; }

/* Teams & Scores */
.team-name {
    color: #0000cc;
    font-weight: normal;
    text-decoration: none;
}
.team-name:hover {
    color: #ff3300;
    text-decoration: underline;
}
.team-rank {
    font-size: 10px;
    color: #999999;
    font-weight: normal;
    margin: 0 2px;
}
.card-red {
    display: inline-block;
    width: 10px;
    height: 12px;
    background: #e60000;
    color: #ffffff;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    font-weight: bold;
    margin: 0 2px;
    vertical-align: middle;
}
.card-yellow {
    display: inline-block;
    width: 10px;
    height: 12px;
    background: #ffcc00;
    color: #000000;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    font-weight: bold;
    margin: 0 2px;
    vertical-align: middle;
}

/* Score display */
.score-main {
    font-size: 13px;
    font-weight: bold;
    color: #0000cc;
    display: block;
}
.score-main.live-goal {
    color: #cc0000;
}
.score-ht {
    font-size: 10px;
    color: #888888;
    font-weight: normal;
}

/* Odds Boxes (Handicap, Over/Under, 1X2) */
.odds-box-wrap {
    display: flex;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-family: Arial, Tahoma, sans-serif;
}
.odds-col {
    width: 58px;
    background: #ffffff;
    border: 1px solid #d4dde5;
    padding: 1px 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.odds-col span {
    font-size: 10px;
    line-height: 1.2;
}
.odds-val {
    color: #005f73;
    font-weight: normal;
}
.odds-line {
    color: #cc0000;
    font-weight: bold;
}
.odds-up {
    color: #cc0000 !important;
}
.odds-down {
    color: #008800 !important;
}

/* Data & Utility Icons */
.data-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    height: 14px;
    line-height: 1;
    font-size: 8.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    letter-spacing: -0.4px;
    padding: 0 1px;
    border-radius: 0 !important;
    box-shadow: none !important;
    user-select: none;
}
.icon-ana { background: #337ab7; color: #ffffff !important; } /* PT - Phân tích H2H */
.icon-sta { background: #f0ad4e; color: #ffffff !important; } /* TL - Tỷ lệ kèo */
.icon-bir { background: #d9534f; color: #ffffff !important; } /* TT - Trực tiếp */

.icon-ana:hover { background: #286090; }
.icon-sta:hover { background: #ec971f; }
.icon-bir:hover { background: #c9302c; }

.icon-top {
    color: #999999;
    cursor: pointer;
    font-size: 12px;
}
.icon-top.pinned {
    color: #cc0000;
    font-weight: bold;
}

/* Pinned Row Styling */
tr.is-pinned td {
    background: #fffbe6 !important;
    border-bottom: 2px solid #f0ad4e !important;
}

/* ==========================================================================
   RIGHT SIDEBAR: SETTINGS & TOOLS
   ========================================================================== */
#cRight {
    width: 118px;
    flex-shrink: 0;
}
.side-box {
    background: #ffffff;
    border: 1px solid #9daddb;
    margin-bottom: 8px;
}
.side-box-tabs {
    display: flex;
    background: #eef3f9;
    border-bottom: 1px solid #9daddb;
}
.side-box-tabs .tab-item {
    flex: 1;
    font-size: 11px;
    text-align: center;
    padding: 4px 2px;
    cursor: pointer;
    border-right: 1px solid #d4dde5;
    color: #555555;
}
.side-box-tabs .tab-item.active {
    background: #ffffff;
    font-weight: bold;
    color: #003366;
    border-bottom: 1px solid #ffffff;
}
.tab-content {
    padding: 6px;
    font-size: 11px;
}
.tab-content .field-group {
    margin-bottom: 6px;
}
.tab-content label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
}
.tab-content select {
    width: 100%;
    font-size: 11px;
    padding: 2px;
    border: 1px solid #cccccc;
}
.font-size-switcher {
    display: flex;
    gap: 4px;
    margin-top: 3px;
}
.font-size-btn {
    flex: 1;
    text-align: center;
    background: #f0f0f0;
    border: 1px solid #cccccc;
    padding: 1px 0;
    cursor: pointer;
    font-size: 10px;
}
.font-size-btn.active {
    background: #4278ad;
    color: #ffffff;
    border-color: #366594;
}

/* App Download Banner */
.side-app-banner {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 6px;
    text-align: center;
    margin-bottom: 8px;
}
.side-app-banner h4 {
    font-size: 12px;
    color: #15b25f;
    margin-bottom: 4px;
    font-weight: bold;
}
.side-app-banner img {
    width: 90px;
    height: 90px;
    margin: 4px auto;
    display: block;
}
.side-app-banner p {
    font-size: 10px;
    color: #666666;
}

/* ==========================================================================
   BOTTOM SEO CONTENT & FRIENDSHIP LINKS
   ========================================================================== */
.seo-section {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 12px 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}
.seo-section h1 {
    font-size: 18px;
    color: #cc0000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 6px;
}
.seo-section h2, .seo-section h3 {
    font-size: 14px;
    color: #003366;
    margin: 10px 0 4px 0;
    font-weight: bold;
}
.seo-section p {
    margin-bottom: 8px;
    text-align: justify;
}
.seo-section ul, .seo-section ol {
    margin: 6px 0 10px 20px;
    list-style: disc;
}
.seo-section li {
    margin-bottom: 4px;
}

/* ==========================================================================
   SEO CONTENT BODY - MAX HEIGHT 350PX & AUTO SCROLL (NO RADIUS, NO SHADOW)
   ========================================================================== */
.seo-content-body {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 14px;
    box-sizing: border-box;
}

/* Custom compact scrollbar */
.seo-content-body::-webkit-scrollbar {
    width: 6px;
}
.seo-content-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 !important;
}
.seo-content-body::-webkit-scrollbar-thumb {
    background: #005a2b;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.seo-content-body::-webkit-scrollbar-thumb:hover {
    background: #003d1d;
}

/* SEO Figure & Images */
.seo-content-body figure {
    margin: 14px auto;
    text-align: center;
    max-width: 100%;
}
.seo-content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px auto;
    border: 1px solid #ccd5e0;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.seo-content-body figcaption {
    font-size: 12px;
    font-style: italic;
    color: #555555;
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
}

/* FAQ Accordion Schema */
.faq-wrap {
    margin-top: 12px;
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
}
.faq-item {
    margin-bottom: 6px;
    border: 1px solid #e2e8ee;
}
.faq-question {
    background: #f7f9fc;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 12px;
    color: #0b5fc9;
    cursor: pointer;
}
.faq-answer {
    padding: 8px 10px;
    font-size: 12px;
    background: #ffffff;
    border-top: 1px solid #e2e8ee;
}

/* Bottom Fast Buttons - Unified 7M Web Style */
.bottomBt {
    text-align: center;
    margin: 16px 0 12px 0;
    padding: 6px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.btn-nav-foot {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 22px !important;
    background: #4278ad !important;
    color: #ffffff !important;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 4px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
.btn-nav-foot:hover {
    background: #366594 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   HOMEPAGE PREDICTIONS BLOCK (10 POSTS / 5 COLUMNS)
   Strict Global Rules: border-radius: 0 !important; box-shadow: none !important;
   ========================================================================== */
.hp-predictions-wrap {
    background: #ffffff;
    border: 1px solid #cccccc;
    margin: 8px 0 10px 0;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hp-block-header {
    background: #0e2238;
    color: #ffffff;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #00c058;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hp-block-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hp-block-icon {
    font-size: 13px;
    line-height: 1;
}

.hp-block-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.hp-block-tag {
    background: #00b853;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    display: inline-block;
    border-radius: 0 !important;
    letter-spacing: 0.3px;
}

.hp-block-more-link {
    color: #00c058;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.hp-block-more-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hp-predictions-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
    margin-top: 6px !important;
}

.hp-pred-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hp-pred-card:hover {
    border-color: #00b853 !important;
    background: #ffffff !important;
}

.hp-pred-card-thumb {
    position: relative;
    width: 100%;
    height: 88px;
    overflow: hidden;
    background: #0c1a24;
    border-radius: 0 !important;
}

.hp-pred-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    border: none !important;
}

.hp-pred-badge-league {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(14, 34, 56, 0.9);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: 0 !important;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 2px solid #00c058;
}

.hp-pred-card-body {
    padding: 5px 2px 2px 2px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.hp-pred-meta {
    font-size: 10.5px;
    color: #64748b;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-pred-title {
    font-size: 11.5px;
    line-height: 1.35;
    margin: 0 0 4px 0;
    height: 31px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 700;
}

.hp-pred-title a {
    color: #1e293b;
    text-decoration: none;
}

.hp-pred-title a:hover {
    color: #00b853;
}

.hp-pred-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 2px;
}

.hp-pred-btn-read {
    color: #cc0000;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none;
}

.hp-pred-btn-read:hover {
    text-decoration: underline;
    color: #b30000;
}

.hp-pred-btn-h2h {
    color: #0088cc;
    font-size: 10px;
    text-decoration: none;
}

.hp-pred-btn-h2h:hover {
    text-decoration: underline;
}

/* Friendship Links (.link) */
.link-box {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 11px;
}
.link-box .link_title {
    font-weight: bold;
    color: #333333;
    margin-bottom: 4px;
}
.link-box .link_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.link-box .link_list a {
    color: #555555;
    font-size: 11px;
    text-decoration: none;
}
.link-box .link_list a:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER (Exact 7M Original Dark Footer)
   ========================================================================== */
.footer {
    width: 100%;
    background: #212121;
    border-top: none !important;
    padding: 0;
    text-align: left;
    margin-top: 16px;
    box-sizing: border-box;
    font-family: "Microsoft Sans Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.footer .footer-container {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 10px 48px 10px;
    box-sizing: border-box;
    text-align: left;
}
.footer .flex {
    display: flex;
    flex-direction: row;
}
.footer .ai-c {
    align-items: center;
}
.footer .jc-sb {
    justify-content: space-between;
}
.footer ol, .footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer .footerLogo {
    display: none;
}
.footer .navlist {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 24px;
}
.footer .navlist .left {
    display: flex;
    margin-left: 20px;
    margin-right: 40px;
}
.footer .navlist .left .line1 {
    display: flex;
    flex-direction: column;
}
.footer .navlist .left .line1 li {
    display: flex;
    margin-bottom: 12px;
}
.footer .navlist .left .line1 a {
    width: 140px;
    color: #ffffff;
    font-size: 13px;
    margin-right: 45px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}
.footer .navlist .left .line2 {
    display: flex;
    flex-direction: column;
}
.footer .navlist .left .line2 li {
    display: flex;
    margin-bottom: 12px;
}
.footer .navlist .left .line2 a {
    width: 155px;
    color: #ffffff;
    font-size: 13px;
    margin-right: 45px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}
.footer .navlist .right {
    display: flex;
    gap: 45px;
    margin-left: auto;
}
.footer .navlist .right .line1,
.footer .navlist .right .line2 {
    display: flex;
    flex-direction: column;
    min-width: 130px;
}
.footer .navlist .right .line1 li,
.footer .navlist .right .line2 li {
    margin-bottom: 12px;
}
.footer .navlist .right .line1 a,
.footer .navlist .right .line2 a {
    color: #ffffff;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}
.footer .navlist a:hover {
    color: #15b25f !important;
    text-decoration: underline !important;
}

.footer .social-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 28px;
    gap: 12px;
}
.footer .social-list a {
    display: inline-block;
    width: 100px;
    height: 24px;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.footer .tg-icon {
    background: url('../images/footer/tg-icon-pc.png') 0 0 no-repeat;
    background-size: contain;
}
.footer .zalo-icon {
    background: url('../images/footer/zalo-icon-pc.png') 0 0 no-repeat;
    background-size: contain;
}

.footer .statement {
    display: flex;
    align-items: center;
    padding-top: 36px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 21px;
    padding-left: 20px;
    text-align: left;
}
.footer .statement .logo {
    background: url('../images/footer/img_4.png') 0 0 no-repeat;
    width: 113px;
    height: 47px;
    background-size: 100%;
    display: block;
    flex-shrink: 0;
    margin-right: 55px;
}
.footer .statement .statement-desc {
    flex: 1;
}
.footer .statement .statement-desc p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 21px;
}
.footer .statement .statement-desc span {
    display: block;
}
.footer .statement .a_img {
    display: block;
    width: 313px;
    height: 36px;
    margin-left: 40px;
    flex-shrink: 0;
}
.footer .statement .a_img img {
    display: block;
    width: 313px;
    height: 36px;
}

/* ==========================================================================
   MODALS (Timezone, League Selector, Odds Guide)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal-box {
    background: #ffffff;
    border: 2px solid #366594;
    width: 500px;
    max-width: 95vw;
}
.modal-header {
    background: #4278ad;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header .btn-close {
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}
.modal-body {
    padding: 12px;
    font-size: 12px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Goal Popup Toast */
#goal-toast {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #cc0000;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: bold;
    z-index: 10000;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   7M Match Analysis & Tips Box Styles
   ========================================================================== */
.analysis-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f4f9;
    border: 1px solid #ccd0d4;
    padding: 6px 12px;
    margin-bottom: 8px;
    font-size: 12px;
}
.analysis-topbar .topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.analysis-topbar .topbar-left a {
    color: #003366;
    text-decoration: none;
}
.analysis-topbar .topbar-left a:hover {
    text-decoration: underline;
}
.analysis-topbar .topbar-current {
    font-weight: bold;
    color: #cc0000;
}
.analysis-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.analysis-topbar .btn-live-switch {
    color: #15b25f;
    font-weight: bold;
    text-decoration: none;
}
.analysis-topbar .btn-odds-switch {
    color: #005f73;
    font-weight: bold;
    text-decoration: none;
}

.match-banner-box {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 16px;
    margin-bottom: 10px;
    text-align: center;
}
.match-banner-league {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 6px;
}
.match-banner-row h2 {
    font-size: 22px;
    color: #0000cc;
    margin-bottom: 4px;
}
.match-team-sub {
    font-size: 12px;
    color: #666666;
}
.team-rank-badge {
    font-size: 13px;
    color: #888888;
}
.banner-score-main {
    font-size: 32px;
    font-weight: bold;
    color: #cc0000;
    line-height: 1;
}
.banner-status-text {
    font-size: 11px;
    font-weight: bold;
    color: #15b25f;
    margin-top: 4px;
}
.banner-ht-text {
    font-size: 11px;
    color: #888888;
}

.analysis-tabs .tabs-track {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.analysis-tabs a {
    display: inline-block;
    padding: 5px 12px;
    background: #ffffff;
    border: 1px solid #ccd0d4;
    color: #003366;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.analysis-tabs a:hover,
.analysis-tabs a.active {
    background: #00385f;
    color: #ffffff;
    border-color: #00385f;
}

.tips-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 12px;
}
.tips-table td {
    padding: 6px 10px;
}
.tips-badge {
    display: inline-block;
    padding: 1px 4px;
    font-size: 10.5px;
    font-weight: bold;
    margin: 0 1px;
}
.tips-badge-w { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }
.tips-badge-d { background: #fef7e0; color: #b06000; border: 1px solid #feefc3; }
.tips-badge-l { background: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }

.tips-analysis-box {
    background: #fcf8e3;
    border: 1px solid #faebcc;
    border-left: 4px solid #f0ad4e;
    padding: 10px 14px;
    margin: 10px 0 6px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}

.h2h-summary-bar {
    background: #eef5fc;
    border: 1px solid #d0e1f9;
    border-left: 4px solid #366594;
    padding: 8px 12px;
    font-size: 11.5px;
    line-height: 1.5;
    color: #1e3a8a;
    margin-bottom: 6px;
}

/* Basketball LiveScore Animations & UI */
.live-glow {
    color: #cc0000 !important;
    font-weight: bold;
    animation: basketLiveGlow 1.2s infinite alternate;
}
@keyframes basketLiveGlow {
    from { opacity: 1; }
    to { opacity: 0.4; }
}

.point-flash {
    background-color: #fee2e2 !important;
    animation: pointFlashAnim 2s ease-out;
}
@keyframes pointFlashAnim {
    0% { background-color: #fca5a5; }
    100% { background-color: transparent; }
}

.search-basket-box input {
    height: 22px;
    line-height: 22px;
    border: 1px solid #ccc;
    font-size: 11px;
    padding: 0 6px;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
}

/* ==========================================================================
   SINGLE POST LAYOUT & 7M SPORTS SIDEBAR
   Compliant with Global Rules: border-radius: 0, box-shadow: none
   ========================================================================== */
.single-layout-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 1250px;
    max-width: 100%;
    margin: 8px auto;
    box-sizing: border-box;
    align-items: flex-start;
}

.single-main-col {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.single-sidebar {
    width: 320px;
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-article-card {
    background: #ffffff;
    border: 1px solid #ccd0d4;
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #24292f;
    margin-bottom: 8px;
}

.single-breadcrumb {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}
.single-breadcrumb a {
    color: #475569;
    text-decoration: none;
}
.single-breadcrumb a:hover {
    color: #0088cc;
}

.single-title {
    font-size: 21px;
    line-height: 1.35;
    color: #b91c1c;
    font-weight: 700;
    margin: 8px 0 10px 0;
}

.single-meta {
    font-size: 15px;
    color: #475569;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
}
.single-meta .meta-sep {
    color: #cbd5e1;
}
.single-meta .sm-item {
    display: inline-flex;
    align-items: center;
}
.single-league-tag {
    background: #0088cc;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

.single-match-quickbar {
    background: #f0fdf4;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
}
.smq-label {
    font-weight: 700;
    color: #166534;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
}
.smq-btn {
    padding: 6px 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}
.smq-btn:hover {
    opacity: 0.9;
}
.smq-h2h { background: #0284c7 !important; }
.smq-odds { background: #d97706 !important; }
.smq-live { background: #dc2626 !important; }

.single-featured-banner {
    margin-bottom: 16px;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    background: #0c1a24;
    overflow: hidden;
}
.single-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border: none !important;
    border-radius: 0 !important;
}
.single-banner-caption {
    background: #f8fafc;
    font-size: 15px;
    color: #475569;
    padding: 6px 12px;
    border: none !important;
    font-style: italic;
    border-radius: 0 !important;
}

.single-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #1f2937;
    text-align: justify;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
}
.single-content-body h2 {
    font-size: 18px;
    font-weight: bold;
    color: #00385f;
    border-left: 5px solid #00b853 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 8px 12px;
    margin: 22px 0 12px 0;
    background: #f1f5f9;
}
.single-content-body h3 {
    font-size: 17px;
    font-weight: bold;
    color: #166534;
    margin: 16px 0 8px 0;
}
.single-content-body figure.wp-block-image {
    margin: 18px 0;
    text-align: center;
}
.single-content-body figure.wp-block-image img {
    max-width: 100%;
    height: auto;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    margin: 0 auto;
}
.single-content-body figcaption {
    font-size: 14.5px;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
}
.single-content-body ul, .single-content-body ol {
    padding-left: 20px;
    margin: 10px 0;
}
.single-content-body li {
    margin-bottom: 4px;
}

/* Expert Recommendation Box */
.prediction-expert-box {
    background: #064e3b;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 18px 22px;
    margin: 24px 0;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
}
.prediction-expert-title {
    font-size: 18px !important;
    color: #f59e0b !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prediction-expert-title::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='6'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='2'%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}
.prediction-expert-list {
    margin: 0 !important;
    padding-left: 20px !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #ecfdf5 !important;
}
.prediction-expert-score {
    font-size: 18px !important;
    color: #fca5a5 !important;
    font-weight: 700;
    background: #991b1b;
    padding: 3px 10px;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-block;
}

/* Prediction Bottom Action Buttons - Synced with 7M .btn-nav-foot */
.prediction-bottom-actions {
    text-align: center;
    margin: 16px 0 12px 0;
    padding: 6px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.prediction-bottom-actions br {
    display: none !important;
}
.prediction-bottom-actions .pred-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 22px !important;
    background: #4278ad !important;
    color: #ffffff !important;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 4px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
.prediction-bottom-actions .pred-btn:hover {
    background: #366594 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.single-tags-row {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 11px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.single-tags-row .tag-link a {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 2px 6px;
    text-decoration: none;
}
.single-tags-row .tag-link a:hover {
    background: #0088cc;
    color: #ffffff;
    border-color: #0088cc;
}

.single-prev-next {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    gap: 10px;
}
.single-prev-next .pn-item a {
    color: #0088cc;
    text-decoration: none;
}
.single-prev-next .pn-item a:hover {
    color: #cc0000;
}

.single-related-box {
    background: #ffffff;
    border: 1px solid #ccd0d4;
    padding: 12px;
    margin-bottom: 8px;
}
.single-related-header {
    font-size: 12px;
    font-weight: 700;
    color: #00385f;
    border-bottom: 2px solid #00b853;
    padding-bottom: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.single-related-header a {
    color: #0088cc;
    text-decoration: none;
    font-size: 11px;
    font-weight: normal;
}
.single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.single-related-item {
    border: 1px solid #e2e8f0;
    padding: 8px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rel-thumb-link {
    display: block;
    margin-bottom: 6px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #0c1a24;
}
.rel-thumb-img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    display: block;
    border: none !important;
}
.rel-title {
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 6px 0;
    font-weight: 600;
}
.rel-title a {
    color: #1e293b;
    text-decoration: none;
}
.rel-title a:hover {
    color: #cc0000;
}
.rel-date {
    font-size: 10.5px;
    color: #94a3b8;
}

/* Sidebar Box Styles */
.sidebar-box {
    background: #ffffff;
    border: 1px solid #ccd0d4;
}
.sidebar-box-header {
    background: #00385f;
    color: #ffffff;
    padding: 7px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 2px solid #00b853;
}
.sidebar-box-header .sb-title {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-weight: 700;
}
.sidebar-box-header .sb-icon {
    font-size: 13px;
}
.sidebar-box-header .sb-more {
    color: #a7f3d0;
    font-size: 11px;
    text-decoration: none;
}
.sidebar-box-header .sb-more:hover {
    color: #ffffff;
    text-decoration: underline;
}
.sidebar-box-content {
    padding: 0;
}

.sb-post-item {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}
.sb-post-item:last-child {
    border-bottom: none;
}
.sb-post-thumb {
    width: 74px;
    height: 46px;
    flex: 0 0 74px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #0c1a24;
}
.sb-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none !important;
}
.sb-post-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 16px;
    color: #94a3b8;
}
.sb-post-info {
    flex: 1;
    min-width: 0;
}
.sb-post-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
    font-size: 10.5px;
}
.sb-badge-league {
    background: #0284c7;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: bold;
    padding: 1px 4px;
}
.sb-post-date {
    color: #888888;
    font-size: 10.5px;
}
.sb-post-title {
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
}
.sb-post-title a {
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sb-post-title a:hover {
    color: #cc0000;
}

.sb-match-item {
    padding: 7px 10px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11.5px;
}
.sb-match-item:last-child {
    border-bottom: none;
}
.sb-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 10.5px;
}
.sb-match-league {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
}
.sb-match-time {
    color: #888888;
    font-weight: 600;
    font-size: 10.5px;
}
.sb-match-time.is-live-pulse {
    color: #dc2626;
    font-weight: bold;
    animation: liveBlink 1.5s infinite;
}
.sb-match-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}
.sb-match-team {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-match-home {
    text-align: right;
    padding-right: 6px;
}
.sb-match-away {
    text-align: left;
    padding-left: 6px;
}
.sb-match-score {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 1px 6px;
    font-weight: bold;
    color: #00385f;
    min-width: 38px;
    text-align: center;
    font-size: 11px;
}
.sb-match-score.live-score {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}
.sb-match-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}
.sb-btn-action {
    font-size: 10px;
    padding: 1px 5px;
    text-decoration: none;
    font-weight: 600;
}
.sb-btn-h2h {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0284c7;
}
.sb-btn-odds {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #d97706;
}
.sb-btn-live {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.sb-odds-promo {
    padding: 10px;
}
.sb-odds-desc {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 8px;
}
.sb-odds-features {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
    font-size: 11px;
    color: #166534;
    font-weight: 600;
}
.sb-odds-btn {
    display: block;
    background: #00b853;
    color: #ffffff !important;
    text-align: center;
    font-size: 11.5px;
    font-weight: bold;
    padding: 7px 10px;
    text-decoration: none;
}
.sb-odds-btn:hover {
    background: #009e44;
}

.sb-app-promo {
    padding: 10px;
}
.sb-app-flex {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sb-qr-box {
    text-align: center;
}
.sb-qr-inner {
    border: 1px solid #cbd5e1;
    padding: 2px;
    background: #ffffff;
}
.sb-qr-caption {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-top: 3px;
}
.sb-app-info {
    flex: 1;
}
.sb-app-name {
    font-size: 13px;
    font-weight: bold;
    color: #00385f;
}
.sb-app-slogan {
    font-size: 11px;
    color: #475569;
    line-height: 1.35;
    margin: 2px 0 8px 0;
}
.sb-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sb-app-btn {
    display: block;
    text-align: center;
    padding: 4px 6px;
    font-size: 10.5px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff !important;
}
.sb-app-android {
    background: #16a34a;
}
.sb-app-ios {
    background: #00385f;
}

/* ==========================================================================
   7M SPORTS CATEGORY & ARCHIVE MAGAZINE LAYOUT
   Compliant with Global Rules: border-radius: 0 !important, box-shadow: none !important
   ========================================================================== */
.category-layout-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 1250px;
    max-width: 100%;
    margin: 8px auto;
    box-sizing: border-box;
    align-items: flex-start;
}

.category-main-col {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.category-card-wrap {
    background: #ffffff;
    border: 1px solid #ccd0d4;
    padding: 12px 14px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

/* Breadcrumb */
.cat-breadcrumb {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 5px;
}
.cat-breadcrumb a {
    color: #475569;
    text-decoration: none;
}
.cat-breadcrumb a:hover {
    color: #0088cc;
}
.cat-breadcrumb .sep {
    margin: 0 4px;
    color: #cbd5e1;
}

/* Category Header Banner */
.cat-header-banner {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-left: 4px solid #005a2b;
    padding: 10px 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.cat-header-left {
    flex: 1 1 300px;
}
.cat-header-title {
    font-size: 18px;
    font-weight: 800;
    color: #003366;
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}
.cat-header-desc {
    font-size: 12px;
    color: #555555;
    margin: 0;
    line-height: 1.4;
}
.cat-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.cat-count-badge {
    background: #005a2b;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    letter-spacing: 0.3px;
}
.cat-live-status {
    font-size: 10.5px;
    color: #cc0000;
    font-weight: bold;
}

/* Quick Filter Toolbar */
.cat-filter-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
}
.cat-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.cat-filter-label {
    font-weight: bold;
    color: #003366;
    margin-right: 4px;
    font-size: 11.5px;
}
.cat-pill {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11.5px;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.cat-pill:hover {
    background: #e2e8f0;
    color: #005a2b;
    border-color: #005a2b;
}
.cat-pill.active {
    background: #005a2b !important;
    color: #ffffff !important;
    border-color: #004622 !important;
    font-weight: bold;
}
.cat-quick-links {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 11.5px;
}
.cat-quick-links a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}
.cat-quick-links a:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* Hero Spotlight Card (First post on page 1) */
.cat-hero-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #cc0000;
    padding: 12px;
    margin-bottom: 14px;
    display: flex;
    gap: 14px;
    box-sizing: border-box;
}
.cat-hero-thumb {
    width: 380px;
    height: 220px;
    flex: 0 0 380px;
    position: relative;
    overflow: hidden;
    background: #0c1a24;
}
.cat-hero-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.cat-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.cat-hero-badge-league {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #0088cc;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 7px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}
.cat-hero-badge-time {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(12, 26, 36, 0.88);
    color: #ffcc00;
    font-size: 10.5px;
    font-weight: bold;
    padding: 2px 7px;
    z-index: 2;
}
.cat-hero-content {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cat-hero-spotlight-tag {
    font-size: 11px;
    font-weight: 800;
    color: #cc0000;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.cat-hero-title {
    font-size: 16.5px;
    line-height: 1.35;
    font-weight: bold;
    margin: 0 0 6px 0;
}
.cat-hero-title a {
    color: #0000cc;
    text-decoration: none;
}
.cat-hero-title a:hover {
    color: #cc0000;
}
.cat-hero-matchup {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    font-size: 11.5px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-hero-excerpt {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
}
.cat-hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}
.cat-hero-btn-read {
    background: #cc0000;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: bold;
    padding: 5px 12px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s ease;
}
.cat-hero-btn-read:hover {
    background: #990000;
}
.cat-hero-shortcuts {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
}
.cat-hero-shortcuts a {
    color: #0088cc;
    text-decoration: none;
    padding: 3px 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    font-weight: 600;
}
.cat-hero-shortcuts a:hover {
    background: #0088cc;
    color: #ffffff;
    border-color: #0088cc;
}

/* Category Posts Grid (2 columns on desktop) */
.cat-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.cat-grid-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.cat-grid-card:hover {
    border-color: #0088cc;
}

.cat-card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 145px;
    overflow: hidden;
    background: #0c1a24;
}
.cat-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.cat-badge-league {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #0088cc;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: bold;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    z-index: 2;
}
.cat-badge-time {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(12, 26, 36, 0.85);
    color: #ffffff;
    font-size: 9.5px;
    padding: 2px 6px;
    z-index: 2;
}

.cat-card-body {
    padding: 8px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.cat-card-matchup {
    font-size: 11px;
    font-weight: bold;
    color: #003366;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    padding: 3px 6px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cat-card-title {
    font-size: 13.5px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-card-title a {
    color: #0000cc;
    text-decoration: none;
}
.cat-card-title a:hover {
    color: #cc0000;
}
.cat-card-excerpt {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.cat-card-footer {
    padding: 6px 10px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    gap: 6px;
}
.cat-card-meta-left {
    color: #888888;
    font-size: 10.5px;
}
.cat-card-meta-right {
    display: flex;
    gap: 6px;
    align-items: center;
}
.cat-card-read-link {
    color: #cc0000 !important;
    font-weight: bold;
    text-decoration: none;
}
.cat-card-read-link:hover {
    text-decoration: underline;
}
.cat-card-mid-link {
    color: #0088cc !important;
    text-decoration: none;
    font-size: 10.5px;
}
.cat-card-mid-link:hover {
    text-decoration: underline;
}

/* Category Pagination */
.cat-pagination-wrap {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}
.cat-pagination {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.cat-pagination a, 
.cat-pagination span {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    line-height: 1.4;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.cat-pagination a:hover {
    background: #f1f5f9;
    border-color: #005a2b;
    color: #005a2b;
}
.cat-pagination .current {
    background: #005a2b !important;
    color: #ffffff !important;
    border-color: #004622 !important;
    font-weight: bold;
}
.cat-pagination .dots {
    border: none;
    background: transparent;
    padding: 4px 6px;
}

/* ==========================================================================
   7M SPORTS NEWS MAGAZINE SPECIFIC STYLES
   Compliant with Global Rules: border-radius: 0 !important, box-shadow: none !important
   ========================================================================== */
.news-ticker-bar {
    display: flex;
    align-items: center;
    background: #0c1a24;
    border: 1px solid #1e293b;
    border-left: 4px solid #cc0000;
    margin-bottom: 10px;
    height: 32px;
    overflow: hidden;
    box-sizing: border-box;
}
.news-ticker-badge {
    background: #cc0000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}
.news-ticker-slider {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11.5px;
}
.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-ticker-bullet {
    color: #ffcc00;
    font-size: 14px;
}
.news-ticker-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.15s ease;
}
.news-ticker-item a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.news-banner {
    border-left-color: #0088cc !important;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%) !important;
}

.news-source-tag {
    font-size: 10.5px;
    color: #005a2b;
    font-weight: bold;
    background: #e8f5e9;
    padding: 1px 5px;
    border: 1px solid #c8e6c9;
}

/* Hide mobile controls on desktop */
.m-live-control-bar,
.m-league-modal-backdrop,
.m-league-modal-sheet {
    display: none;
}

/* ==========================================================================
   TEAM DETAILS PROFILE & SQUAD STYLES (TONE LIGHT, FLAT 0PX, NO INLINE CSS)
   ========================================================================== */
#content.team-details-wrap, div#content.team-details-wrap, .team-details-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 4px 6px !important;
    box-sizing: border-box !important;
    font-family: Tahoma, Verdana, Segoe, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #1e293b !important;
    background: transparent !important;
    gap: 8px !important;
    margin: auto;
}

#content.team-details-wrap > *,
.team-details-wrap > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.team-details-wrap * {
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Breadcrumbs */
.team-breadcrumb {
    width: 100% !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    background: #ffffff;
    padding: 8px 12px;
    margin-bottom: 0;
    font-size: 15px;
    color: #64748b;
    border: none !important;
}
.team-breadcrumb a {
    color: #00385f;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.team-breadcrumb a:hover {
    color: #ff3300;
}
.team-breadcrumb-sep {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
}
.team-breadcrumb-current {
    color: #0284c7;
    font-weight: bold;
}

/* Related Match Notice Bar */
.team-related-match-bar {
    width: 100% !important;
    background: #ffffff;
    padding: 8px 12px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border: none !important;
}
.trm-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.trm-badge {
    background: #dc2626;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    padding: 3px 8px;
    text-transform: uppercase;
}
.trm-info {
    color: #0f172a;
    font-size: 16px;
}
.trm-score {
    color: #dc2626;
    font-weight: bold;
    margin: 0 4px;
}
.trm-league {
    color: #64748b;
}
.trm-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.trm-btn-h2h {
    background: #366594;
    color: #ffffff !important;
    font-weight: bold;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 15px;
    border: none !important;
}
.trm-btn-live {
    background: #0284c7;
    color: #ffffff !important;
    font-weight: bold;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 15px;
    border: none !important;
}

/* Hero Profile Card */
.team-hero-card {
    width: 100% !important;
    background: #ffffff;
    padding: 14px 16px;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.team-hero-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 280px;
}
.team-hero-logo-box {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}
.team-hero-logo-img {
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    border: none !important;
}
.team-hero-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.team-hero-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.team-hero-title {
    font-size: 22px;
    font-weight: bold;
    color: #00385f;
    margin: 0;
    line-height: 1.2;
}
.team-hero-winrate-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 15px;
    font-weight: bold;
    padding: 3px 10px;
}
.team-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
    color: #475569;
}
.team-hero-meta-row strong {
    color: #0f172a;
}
.team-hero-league {
    color: #0284c7;
    font-weight: bold;
}
.team-hero-submeta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
    color: #64748b;
}
.team-hero-submeta-row strong {
    color: #334155;
}
.team-hero-submeta-row .highlight-coach {
    color: #b45309;
}

/* Team Kits */
.team-hero-kits {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    padding: 8px 14px;
}
.team-kit-item {
    text-align: center;
}
.team-kit-img-box {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-kit-img {
    max-height: 50px;
    object-fit: contain;
    border: none !important;
}
.team-kit-label {
    font-size: 15px;
    font-weight: bold;
    color: #475569;
}
.team-kit-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Tabs Navigation */
.team-tabs-bar {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 4px;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}
.team-tab-btn {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    background: #f1f5f9;
    color: #334155;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 8px;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    text-align: center;
}
.team-tab-btn:hover {
    background: #e2e8f0;
    color: #00385f;
}
.team-tab-btn.active {
    background: #366594 !important;
    color: #ffffff !important;
}
.team-tab-content {
    display: none !important;
    width: 100% !important;
}
.team-tab-content.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
}

/* Tab 1: Summary Cards */
.team-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100% !important;
}
.team-summary-card {
    background: #ffffff;
    padding: 12px 14px;
    border: none !important;
}
.tsc-label {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 4px;
}
.tsc-value {
    font-size: 20px;
    font-weight: bold;
}
.tsc-win { color: #059669; }
.tsc-draw { color: #d97706; }
.tsc-loss { color: #dc2626; }
.tsc-sub-rate {
    font-size: 15px;
    color: #0284c7;
    margin-top: 4px;
    font-weight: bold;
}
.tsc-sub-ah {
    font-size: 15px;
    color: #d97706;
    margin-top: 4px;
    font-weight: bold;
}
.tsc-sub-text {
    font-size: 15px;
    color: #475569;
    margin-top: 4px;
}
.tsc-venue-list {
    font-size: 15px;
    color: #334155;
    line-height: 1.4;
}
.tsc-venue-home { color: #059669; font-weight: bold; }
.tsc-venue-neutral { color: #0284c7; font-weight: bold; }
.tsc-venue-away { color: #dc2626; font-weight: bold; }

/* Filter Bar */
.team-filter-bar {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff;
    padding: 8px 12px;
    border: none !important;
}
.tfb-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.tfb-label {
    font-size: 15px;
    font-weight: bold;
    color: #00385f;
}
.match-filter-btn {
    background: #f1f5f9;
    color: #334155;
    font-size: 15px;
    font-weight: bold;
    padding: 5px 12px;
    border: none !important;
    cursor: pointer;
    transition: background 0.15s ease;
}
.match-filter-btn:hover {
    background: #e2e8f0;
}
.match-filter-btn.active {
    background: #366594 !important;
    color: #ffffff !important;
}
.match-filter-btn[data-filter="W"] { color: #059669; }
.match-filter-btn[data-filter="D"] { color: #d97706; }
.match-filter-btn[data-filter="L"] { color: #dc2626; }
.match-filter-btn.active[data-filter="W"],
.match-filter-btn.active[data-filter="D"],
.match-filter-btn.active[data-filter="L"] {
    color: #ffffff !important;
    background: #366594 !important;
}
.tfb-source-note {
    font-size: 15px;
    color: #64748b;
}

/* Pure Div-based Responsive Match List (Zero Table, Zero Overflow) */
.team-match-list {
    width: 100% !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box !important;
}
.tml-header-row {
    display: grid;
    grid-template-columns: 85px 120px 1fr 85px 1fr 75px 115px 80px 65px;
    align-items: center;
    background: #366594;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 8px;
    text-align: center;
    box-sizing: border-box;
}
.tml-match-item {
    display: grid;
    grid-template-columns: 85px 120px 1fr 85px 1fr 75px 115px 80px 65px;
    align-items: center;
    padding: 9px 8px;
    font-size: 15px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
    transition: background 0.1s ease;
}
.tml-match-item:nth-child(even) {
    background: #f8fafc;
}
.tml-match-item:hover {
    background: #eff6ff;
}
.match-row.is-hidden {
    display: none !important;
}
.tml-col-date {
    font-weight: bold;
    color: #475569;
    font-size: 15px;
}
.tml-col-league {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tml-league-badge {
    background: #366594;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 7px;
    display: inline-block;
    white-space: nowrap;
}
.tml-col-home {
    text-align: right;
    font-weight: bold;
    padding-right: 10px;
    font-size: 15px;
}
.tml-col-away {
    text-align: left;
    font-weight: bold;
    padding-left: 10px;
    font-size: 15px;
}
.tml-focus {
    color: #00385f;
}
.tml-other {
    color: #334155;
}
.tml-red-card {
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 1px 4px;
    margin-left: 2px;
    display: inline-block;
}
.tml-col-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.tml-score-main {
    font-size: 17px;
    font-weight: bold;
    color: #cc0000;
}
.tml-score-ht {
    font-size: 13px;
    color: #94a3b8;
}
.tml-col-res {
    display: flex;
    justify-content: center;
}
.tml-res-w {
    background: #059669;
    color: #ffffff;
    padding: 2px 8px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}
.tml-res-d {
    background: #d97706;
    color: #ffffff;
    padding: 2px 8px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}
.tml-res-l {
    background: #dc2626;
    color: #ffffff;
    padding: 2px 8px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}
.tml-col-ah {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}
.tml-ah-val {
    font-weight: bold;
    color: #334155;
}
.tml-ah-win { color: #059669; font-weight: bold; }
.tml-ah-draw { color: #d97706; font-weight: bold; }
.tml-ah-loss { color: #dc2626; font-weight: bold; }
.tml-col-ou {
    font-size: 14px;
    font-weight: bold;
}
.tml-ou-over { color: #d97706; }
.tml-ou-under { color: #0284c7; }
.tml-col-h2h {
    display: flex;
    justify-content: center;
}
.tml-btn-h2h {
    background: #f1f5f9;
    color: #00385f !important;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s ease;
}
.tml-btn-h2h:hover {
    background: #e2e8f0;
}

/* Tab 2: Squad */
.team-squad-section {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.team-squad-heading {
    color: #ffffff;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tsh-gk { background: #366594; }
.tsh-df { background: #059669; }
.tsh-mf { background: #d97706; }
.tsh-fw { background: #dc2626; }
.team-squad-count {
    font-size: 15px;
    background: rgba(0,0,0,0.2);
    padding: 2px 8px;
}
.team-squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px;
}
.team-player-card {
    background: #ffffff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none !important;
}
.team-player-avatar {
    width: 46px;
    height: 46px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.team-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-player-info {
    flex: 1;
    min-width: 0;
}
.team-player-name {
    font-weight: bold;
    font-size: 15px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.team-player-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}
.team-player-num {
    background: #366594;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 1px 6px;
}
.team-player-id {
    font-size: 14px;
    color: #64748b;
}
.team-empty-state {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    color: #64748b;
    font-size: 16px;
    border: none !important;
}
.team-empty-state svg {
    margin-bottom: 8px;
}

/* Tab 3: Coach */
.team-coach-card {
    background: #ffffff;
    padding: 16px;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.team-coach-photo-box {
    width: 120px;
    height: 140px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.team-coach-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-coach-main {
    flex: 1;
    min-width: 260px;
}
.team-coach-badge {
    background: #366594;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 6px;
}
.team-coach-name {
    font-size: 22px;
    font-weight: bold;
    color: #00385f;
    margin: 0 0 8px 0;
}
.team-coach-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px;
    font-size: 15px;
    color: #475569;
    margin-bottom: 10px;
}
.team-coach-meta strong {
    color: #0f172a;
}
.team-coach-joined {
    color: #059669 !important;
}
.team-coach-clubs {
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 15px;
    color: #334155;
    margin-bottom: 8px;
}
.team-coach-clubs strong {
    color: #00385f;
}
.team-coach-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Tab 4: Stats */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px;
    width: 100% !important;
}
.team-stats-box {
    background: #ffffff;
    padding: 14px;
    border: none !important;
}
.team-stats-heading {
    font-size: 16px;
    font-weight: bold;
    color: #00385f;
    margin: 0 0 10px 0;
    border-bottom: 2px solid #366594;
    padding-bottom: 6px;
}
.team-stats-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
}
.team-stats-row {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    padding: 7px 10px;
}
.tsr-accent-blue { color: #0284c7; }
.tsr-accent-green { color: #059669; }
.tsr-accent-amber { color: #d97706; }
.tsr-accent-red { color: #dc2626; }

/* Pure Div-based Responsive Fixtures List (Zero Table) */
.team-fixtures-box {
    width: 100% !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border: none !important;
}
.team-fixtures-header {
    background: #366594;
    color: #ffffff;
    padding: 10px 14px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.team-fixture-list {
    width: 100% !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}
.tfl-header-row {
    display: grid;
    grid-template-columns: 140px 140px 1fr 60px 1fr;
    align-items: center;
    background: #f1f5f9;
    color: #334155;
    font-weight: bold;
    font-size: 15px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}
.tfl-fixture-item {
    display: grid;
    grid-template-columns: 140px 140px 1fr 60px 1fr;
    align-items: center;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
}
.tfl-fixture-item:nth-child(even) {
    background: #f8fafc;
}
.tfl-col-time {
    font-weight: bold;
    color: #0f172a;
}
.tfl-col-league {
    display: flex;
    justify-content: center;
}
.tfl-league-tag {
    background: #366594;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 7px;
    display: inline-block;
}
.tfl-col-home {
    text-align: right;
    font-weight: bold;
    color: #00385f;
    padding-right: 12px;
}
.tfl-col-vs {
    font-weight: bold;
    color: #dc2626;
}
.tfl-col-away {
    text-align: left;
    font-weight: bold;
    color: #00385f;
    padding-left: 12px;
}

/* Bottom Action Buttons */
.team-bottom-btns {
    width: 100% !important;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 16px;
}
.tbb-btn-scores {
    background: #366594;
    color: #ffffff !important;
    font-weight: bold;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 15px;
    border: none !important;
}
.tbb-btn-odds {
    background: #0284c7;
    color: #ffffff !important;
    font-weight: bold;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 15px;
    border: none !important;
}
.tbb-btn-db {
    background: #475569;
    color: #ffffff !important;
    font-weight: bold;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 15px;
    border: none !important;
}

