@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   HOT THEME - Dark Sports Theme
   Based on football-live-ai design system
   Colors: dark:#0a1628 navy:#0f2341 green:#00a651
   ============================================ */

/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    font-family: 'Prompt', 'Noto Sans Thai', Tahoma, Arial, sans-serif;
    font-size: 15px; font-weight: 400;
    background: #0a1628; color: #e8edf3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body > img, body > iframe { display: none; }
ul { padding: 0; margin: 0; } li { list-style: none; }
form { padding: 0; margin: 0; }
img { vertical-align: middle; border: 0; max-width: 100%; }
h1,h2,h3,h4,h5,h6,p { padding: 0; margin: 0; }
a { color: #00a651; cursor: pointer; text-decoration: none; transition: color 0.2s; }
a:hover { color: #39b54a; text-decoration: none; }

/* === LAYOUT === */
.container { width: 1180px; max-width: 100%; padding: 0 16px; margin: 0 auto; }
.main-content { padding-top: 0; min-height: 60vh; }

/* === ADS (keep functional) === */
.ads-section { padding: 8px 0; }
.ads-section .ads-item { text-align: center; margin: 6px auto 0 auto; }
.ads-float.left {
    position: fixed; left: 0; top: 120px; overflow: hidden;
    z-index: 99999; text-align: left;
}
.ads-float.left .ads-item { float: left; width: 120px; margin: 0; }
.ads-float.left .btn-close { cursor: pointer; }
.ads-float.right {
    position: fixed; right: 0; top: 120px; overflow: hidden;
    z-index: 99999; text-align: right;
}
.ads-float.right .ads-item { float: right; width: 120px; margin: 0; }
.ads-float.right .btn-close { float: right; cursor: pointer; }
.ads-float.bottom {
    position: fixed; bottom: 0; right: 0; left: 0; width: 1000px; max-width: 100%;
    overflow: hidden; z-index: 99999; text-align: center; margin: 0 auto;
}
.ads-float.bottom .ads-item { margin: 0; }
.ads-float.bottom .btn-close { display: inline-block; width: 120px; margin: 0 0 0 auto; cursor: pointer; }
.clear { clear: both; }

/* === SECTION CARD (main container for content blocks) === */
.section-card {
    border-radius: 12px; border: 1px solid #1a2a44;
    background: #0a1628; overflow: hidden; margin-bottom: 24px;
}

/* === LEAGUE HEADER (section title bars) === */
.league-header {
    display: flex; align-items: center; gap: 8px;
    border-radius: 12px 12px 0 0;
    background: #0f2341; padding: 10px 16px;
    font-size: 0.95rem; font-weight: 600; color: #00a651;
}
.league-header a { margin-left: auto; font-size: 0.75rem; color: #9ca3af; }
.league-header a:hover { color: #00a651; }

/* === HOT HEADER (page titles) === */
.hot-header {
    font-weight: 700; font-size: 1.5rem; text-align: center;
    color: #fff; padding: 16px 0 8px;
}
.hot-header2 {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px 12px 0 0;
    background: #0f2341; padding: 10px 16px;
    font-weight: 600; font-size: 0.95rem; color: #00a651;
    margin-top: 0; margin-bottom: 0; text-align: center;
}
.hot-header3 {
    font-weight: 500; font-size: 1rem; text-align: center;
    margin-top: 12px; color: #6b7280; padding: 2px 0;
}

/* === DATE NAVIGATION === */
.hot-navdate {
    display: flex; justify-content: center; margin: 16px 0;
    border-bottom: 2px solid #00a651; padding-bottom: 4px;
}
.hot-navdate a { color: #e8edf3; }
.hot-navdate a:hover { color: #00a651; }
.hot-navdate h1, .hot-navdate h2, .hot-navdate h3 { font-weight: 500; font-size: 0.9rem; color: #e8edf3; }
.hot-navdate .btn-navdate { width: 33%; text-align: center; padding: 8px 15px; }
.hot-navdate .btn-navdate.l {
    text-align: left; background: #0f2341; transform: skew(-25deg);
    border-radius: 6px; color: #e8edf3;
}
.hot-navdate .btn-navdate.l span { display: inline-block; transform: skew(25deg); }
.hot-navdate .btn-navdate.r {
    text-align: right; background: #0f2341; transform: skew(-25deg);
    border-radius: 6px; color: #e8edf3;
}
.hot-navdate .btn-navdate.r span { display: inline-block; transform: skew(25deg); }

/* === NAV HEADER (breadcrumb / top-bottom text) === */
.nav-header {
    background: #0f2341; padding: 10px 15px; font-size: 0.8rem; color: #9ca3af;
    border: 1px solid #1a2a44; border-radius: 8px; margin-bottom: 8px;
}
.nav-header.down { margin-top: 10px; }
.nav-header a { color: #00a651; }

/* === NOT FOUND / EMPTY STATE === */
.hot-notfound {
    padding: 80px 0; text-align: center; font-size: 1.1rem; color: #6b7280;
}

/* === BADGES === */
.badge-live {
    display: inline-flex; align-items: center; gap: 4px;
    border-radius: 4px; background: #e74c3c;
    padding: 2px 8px; font-size: 0.7rem; font-weight: 700; color: #fff;
}
.badge-live::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: #fff; animation: pulse 1.5s infinite;
}
.badge-win, .tded-result.win {
    display: inline-block; border-radius: 4px; background: #00a651;
    padding: 2px 8px; font-size: 0.65rem; font-weight: 700; color: #fff;
    min-width: 18px; text-align: center; line-height: 17px; margin-left: 6px;
}
.badge-lose, .tded-result.lost {
    display: inline-block; border-radius: 4px; background: #e74c3c;
    padding: 2px 8px; font-size: 0.65rem; font-weight: 700; color: #fff;
    min-width: 18px; text-align: center; line-height: 17px; margin-left: 6px;
}
.badge-draw, .tded-result.draw {
    display: inline-block; border-radius: 4px; background: #1a2a44;
    padding: 2px 8px; font-size: 0.65rem; font-weight: 700; color: #9ca3af;
    min-width: 18px; text-align: center; line-height: 17px; margin-left: 6px;
}
.tded-result.post {
    display: inline-block; border-radius: 4px; background: #374151;
    padding: 2px 8px; font-size: 0.65rem; font-weight: 700; color: #9ca3af;
    min-width: 18px; text-align: center; line-height: 17px; margin-left: 6px;
}
.tded-result { display: inline-block; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* === ODDS / RATE TEXT === */
.tx-rate { color: #38bdf8; font-weight: 600; }

/* === TEAM LOGO === */
.t-logo, .team-logo {
    display: inline-block; width: 24px; height: 24px; overflow: hidden;
    vertical-align: middle; margin: 0 4px;
}
.t-logo img, .team-logo img { width: 100%; height: 100%; object-fit: contain; }

/* === TDED TENG => moved to hot-ballteng.css === */

/* === TDED ZEAN => moved to hot-ballzean.css === */

/* === TDED LEAGUE (league predictions) === */
.zleague-box {
    border: 1px solid #1a2a44; border-radius: 0 0 12px 12px;
    overflow: hidden; background: #0a1628;
}
.zleague-row {
    display: flex; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid rgba(26,42,68,0.5); padding: 12px 16px;
    transition: background 0.15s;
}
.zleague-row:hover { background: rgba(15,35,65,0.6); }
.zleague-row .zl-no { width: 30px; font-weight: 700; color: #00a651; font-size: 1.2rem; text-align: center; }
.zleague-row .zl-team { flex: 1; display: flex; align-items: center; gap: 8px; }
.zleague-row .zl-team .t-name { font-size: 0.85rem; color: #e8edf3; }
.zleague-row .zl-vs {
    font-size: 0.9rem; font-weight: 700; color: #fff;
    background: #0f2341; border-radius: 6px; padding: 4px 14px;
    margin: 0 12px; min-width: 70px; text-align: center;
}
.zleague-row .zl-rate { color: #e74c3c; font-size: 0.8rem; margin: 0 8px; }
.zleague-row .zl-predict {
    background: rgba(0,166,81,0.1); border-radius: 8px; padding: 4px 14px;
    font-size: 0.85rem; font-weight: 600; color: #00a651;
}
.zleague-row .zl-pg { width: 100%; font-size: 0.7rem; color: #6b7280; margin-top: 4px; }
.zleague-row .zl-pg .pg-img { display: inline-block; width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; }
.zleague-row .zl-pg .pg-img img { width: 100%; }

/* === TDED STEP3 (parlay) === */
.zstep3-box {
    border: 1px solid #1a2a44; border-radius: 0 0 12px 12px;
    overflow: hidden; background: #0a1628;
}
.zstep3-zean {
    background: #0f2341; padding: 10px 16px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #1a2a44;
}
.zstep3-zean .z-logo { display: inline-block; width: 32px; height: 32px; }
.zstep3-zean .z-logo img { width: 100%; border-radius: 50%; }
.zstep3-zean .z-name { font-weight: 600; font-size: 0.85rem; color: #e8edf3; }
.zstep3-row {
    display: flex; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid rgba(26,42,68,0.5); padding: 12px 16px;
    transition: background 0.15s; gap: 8px;
}
.zstep3-row:hover { background: rgba(15,35,65,0.6); }
.zstep3-row .step-no { font-weight: 700; color: #00a651; margin-right: 8px; }
.zstep3-row .step-teams { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.zstep3-row .step-vs {
    font-weight: 700; color: #fff; background: #0f2341; border-radius: 6px;
    padding: 2px 10px; font-size: 0.85rem;
}
.zstep3-row .step-predict {
    background: rgba(0,166,81,0.1); border-radius: 8px; padding: 4px 14px;
    font-size: 0.85rem; font-weight: 600; color: #00a651;
}
.zstep3-row .step-rate { color: #e74c3c; font-size: 0.8rem; }
.zstep3-result {
    padding: 12px 16px; background: #0f2341; text-align: center;
    font-weight: 600; color: #e8edf3;
}

/* === TDED SCORE => moved to hot-score.css === */

/* === AI PREDICTION CARDS === */
.ai-card {
    border: 1px solid #1a2a44; border-radius: 0 0 12px 12px;
    overflow: hidden; background: #0a1628; margin-bottom: 12px;
}
.ai-card:last-child { margin-bottom: 0; }
.ai-card-header {
    background: linear-gradient(135deg, #0f2341, #162d50);
    padding: 8px 16px; font-size: 0.85rem; color: #e8edf3;
}
.ai-card-body {
    padding: 16px;
}
.ai-card-teams {
    font-size: 1rem; font-weight: 700; color: #fff;
}
.ai-card-teams .vs { color: #6b7280; font-weight: 400; margin: 0 4px; }
.ai-card-odds { font-size: 0.8rem; color: #9ca3af; margin-top: 4px; }
.ai-card-predict {
    display: inline-block; border-radius: 20px; padding: 6px 18px;
    font-weight: 700; font-size: 0.85rem; color: #fff; margin-top: 8px;
}
.ai-card-predict.home { background: #2196f3; }
.ai-card-predict.away { background: #e74c3c; }
.ai-card-predict.draw { background: #ff9800; }
.ai-card-confidence {
    display: inline-block; border-radius: 12px; padding: 2px 12px;
    font-size: 0.75rem; color: #fff; margin-left: 8px;
}
.ai-card-confidence.high { background: #00a651; }
.ai-card-confidence.mid { background: #ff9800; }
.ai-card-confidence.low { background: #e74c3c; }
.ai-card-reasoning {
    margin-top: 12px; padding: 10px 14px;
    background: #0f2341; border-radius: 8px;
    font-size: 0.8rem; color: #9ca3af;
    border-left: 3px solid #00a651;
}

/* === MATCHES => moved to matches.css === */

/* === LIVESCORE === */
.livescore { }
.nav-livescore {
    display: flex; gap: 0; flex-wrap: wrap;
    background: #0f2341; border-radius: 12px 12px 0 0;
    border: 1px solid #1a2a44; border-bottom: none;
    overflow: hidden;
}
.btn-nlives { flex: 1; }
.btn-nlives a {
    display: block; padding: 10px 12px; text-align: center;
    font-size: 0.8rem; font-weight: 500; color: #9ca3af;
    border-bottom: 2px solid transparent; transition: all 0.2s;
}
.btn-nlives a:hover { color: #fff; background: rgba(0,166,81,0.1); }
.btn-nlives a.active {
    color: #00a651; border-bottom-color: #00a651; background: rgba(0,166,81,0.05);
}
.lmain-content {
    border: 1px solid #1a2a44; border-radius: 0 0 12px 12px;
    padding: 16px; background: #0a1628; min-height: 300px;
    color: #e8edf3;
}

/* === RANKS (ranking table) === */
.section-ranks { }
.ranks-table { display: flex; gap: 16px; }
.ranks-left { flex: 1; min-width: 0; }
.ranks-right {
    width: 220px; flex-shrink: 0;
    background: #0f2341; border: 1px solid #1a2a44;
    border-radius: 12px; padding: 8px 0;
    max-height: 600px; overflow-y: auto;
}
.ranks-hprogram {
    font-weight: 700; font-size: 1.1rem; color: #fff;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 0;
}
.ranks-hprogram .logo { display: inline-block; width: 28px; height: 28px; }
.ranks-hprogram .logo img { width: 100%; }
.ranks-navbtn {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.ranks-navbtn .btn-navbtn {
    display: inline-block; background: #0f2341; border: 1px solid #1a2a44;
    border-radius: 6px; padding: 4px 12px; font-size: 0.75rem; color: #9ca3af;
    cursor: pointer;
}
.ranks-navbtn a .btn-navbtn:hover { background: #1a2a44; color: #00a651; }
.ranks-navbtn a { color: #9ca3af; }

/* Ranking point table */
.ranks-tbpoint { margin-top: 8px; }
.h-group {
    background: #0f2341; padding: 8px 12px; font-size: 0.85rem;
    font-weight: 600; color: #00a651; border: 1px solid #1a2a44;
}
.tbp-row {
    display: flex; align-items: center;
    border-bottom: 1px solid rgba(26,42,68,0.3);
    font-size: 0.75rem; transition: background 0.15s;
}
.tbp-row:hover { background: rgba(15,35,65,0.6); }
.tbp-row.row-header {
    background: #0f2341; font-weight: 600; color: #9ca3af;
    font-size: 0.7rem; position: sticky; top: 0; z-index: 2;
}
.tbp-row.row-header:hover { background: #0f2341; }
.tbp-row.row-htop {
    font-size: 0.7rem;
}
.tbp-col {
    padding: 6px 4px; text-align: center; width: 32px; color: #e8edf3;
}
.tbp-col.team {
    flex: 1; text-align: left; display: flex; align-items: center; gap: 4px;
    font-size: 0.8rem; white-space: nowrap; overflow: hidden;
}
.tbp-col.team .team-logo { width: 18px; height: 18px; flex-shrink: 0; }
.tbp-col.home { background: rgba(0,166,81,0.05); }
.tbp-col.away { background: rgba(231,76,60,0.05); }
.tbp-col.all { }
.tbp-col.last { font-weight: 700; color: #00a651; }
.tbp-row .bg-sort {
    display: inline-block; width: 20px; height: 20px; line-height: 20px;
    border-radius: 4px; text-align: center; font-size: 0.65rem; color: #fff;
}
.bg-1 { background: rgba(15,35,65,0.3); }

/* Ranking sidebar */
.country-row {
    padding: 8px 14px; cursor: pointer; font-size: 0.8rem; color: #9ca3af;
    border-bottom: 1px solid rgba(26,42,68,0.3); transition: background 0.15s;
}
.country-row:hover { background: #1a2a44; color: #fff; }
.country-row.active { background: #1a2a44; color: #00a651; font-weight: 600; }
.league-row {
    display: none; padding: 0 14px 8px; background: rgba(15,35,65,0.3);
}
.league-row.active { display: block; }
.league-row a {
    display: block; padding: 4px 10px; font-size: 0.75rem; color: #6b7280;
    border-radius: 4px; margin: 2px 0;
}
.league-row a:hover { background: #1a2a44; color: #e8edf3; }
.league-row a.active { color: #00a651; background: rgba(0,166,81,0.1); }

.ranks-noted { font-size: 0.8rem; color: #6b7280; padding: 8px 0; }
.ranks-noted.none { display: none; }
.ranks-quota { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
.ranks-quota .quota-box { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #9ca3af; }
.ranks-quota .quota-box .bg { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }

/* === MATCH DETAIL (matchs/index.php) === */
.match-view {
    border: 1px solid #1a2a44; border-radius: 12px;
    overflow: hidden; background: #0a1628; margin-bottom: 16px;
}
.match-view-header {
    background: linear-gradient(135deg, #0f2341, #162d50);
    padding: 20px 16px; text-align: center;
}
.match-view-header .mv-team { font-size: 1rem; font-weight: 700; color: #fff; }
.match-view-header .mv-logo { display: inline-block; width: 48px; height: 48px; margin: 0 12px; }
.match-view-header .mv-logo img { width: 100%; }
.match-view-header .mv-score {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    background: rgba(0,0,0,0.3); border-radius: 8px;
    padding: 8px 20px; display: inline-block; margin: 8px 0;
}
.match-view-header .mv-league { font-size: 0.8rem; color: #9ca3af; margin-top: 4px; }
.match-view-header .mv-tv { margin-top: 8px; }
.match-view-header .mv-tv img { max-height: 24px; margin: 0 4px; }

.match-view-body { padding: 16px; }
.match-view-body h2 { font-size: 1rem; font-weight: 600; color: #00a651; margin-bottom: 12px; }

/* H2H and last results tables */
.h2h-table { width: 100%; border-collapse: collapse; }
.h2h-table th {
    background: #0f2341; padding: 8px 10px; text-align: center;
    font-size: 0.75rem; color: #9ca3af; font-weight: 600;
    border-bottom: 1px solid #1a2a44;
}
.h2h-table td {
    padding: 6px 10px; text-align: center; font-size: 0.8rem;
    border-bottom: 1px solid rgba(26,42,68,0.3); color: #e8edf3;
}
.h2h-table tr:hover { background: rgba(15,35,65,0.6); }
.h2h-table .td-team { text-align: left; }
.h2h-nav { display: flex; gap: 8px; margin-bottom: 10px; }
.h2h-nav a, .h2h-nav span {
    display: inline-block; padding: 4px 12px; border-radius: 6px;
    font-size: 0.75rem; cursor: pointer;
}
.h2h-nav a { background: #0f2341; color: #9ca3af; border: 1px solid #1a2a44; }
.h2h-nav a:hover { background: #1a2a44; color: #e8edf3; }
.h2h-nav span { background: #00a651; color: #fff; }

/* Article / generic page */
.box-article {
    background: #0f2341; border: 1px solid #1a2a44; border-radius: 12px;
    padding: 20px; color: #e8edf3; font-size: 0.9rem; line-height: 1.7;
    margin-bottom: 20px;
}
.box-article a { color: #00a651; }
.box-article a:hover { color: #39b54a; }
.box-article img { border-radius: 8px; }

/* === SOCIAL SHARING === */
.side-social { position: fixed; right: 6px; bottom: 50px; z-index: 9999; }
.side-social .btn {
    display: flex; align-items: center; gap: 4px;
    width: 36px; height: 36px; margin: 6px 0; padding: 0;
    border-radius: 50%; overflow: hidden; justify-content: center;
    font-size: 0; color: #fff; transition: all 0.2s;
}
.side-social .btn:hover { width: auto; border-radius: 18px; padding: 0 12px; font-size: 0.7rem; }
.side-social .btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.side-social .btn.facebook { background: #1877f2; }
.side-social .btn.line { background: #06c755; }
.side-social .btn.twitter { background: #1da1f2; }

/* === SHARED PREDICTION STYLES === */
.bg-zstep3, .bg-zleague, .bg-tryscore, .step-predict, .zl-predict {
    display: inline-block; background: rgba(0,166,81,0.1);
    border-radius: 8px; padding: 4px 14px;
    font-size: 0.85rem; font-weight: 600; color: #00a651;
}

/* === MATCH DETAIL VIEW === */
.section-mviews { }
.mviews-h1 {
    font-size: 1rem; font-weight: 600; color: #00a651;
    display: flex; align-items: center; gap: 8px; padding: 8px 0;
}
.mviews-h1 img { width: 20px; height: 20px; }
.mviews-header {
    display: flex; align-items: flex-start; gap: 16px;
    background: linear-gradient(135deg, #0f2341, #162d50);
    border: 1px solid #1a2a44; border-radius: 12px;
    padding: 24px 16px; margin-bottom: 16px;
}
.mviews-hcol { text-align: center; }
.mviews-hcol.home, .mviews-hcol.away { flex: 1; }
.mviews-hcol.center { flex: 0 0 auto; min-width: 160px; }
.mviews-hlogo { margin-bottom: 8px; }
.mviews-hlogo img { width: 64px; height: 64px; object-fit: contain; }
.mviews-hname { font-size: 1rem; font-weight: 700; color: #fff; }
.mviews-hnote { font-size: 0.75rem; color: #6b7280; margin-top: 4px; }
.hcol-score {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    background: rgba(0,0,0,0.3); border-radius: 8px;
    padding: 8px 20px; display: inline-block;
}
.hcol-schalf { font-size: 0.8rem; color: #9ca3af; margin-top: 4px; }
.hcol-scnote { font-size: 0.75rem; color: #9ca3af; }
.hcol-pg { font-size: 0.8rem; color: #9ca3af; margin-top: 4px; }
.hcol-tv { margin-top: 8px; }
.hcol-tv img { max-height: 24px; margin: 0 4px; border-radius: 4px; }

.mviews-box {
    background: #0a1628; border: 1px solid #1a2a44; border-radius: 12px;
    overflow: hidden; margin-bottom: 16px;
}
.mviews-box.box-half { display: flex; gap: 16px; background: none; border: none; border-radius: 0; }
.mviews-box .half-col {
    flex: 1; background: #0a1628; border: 1px solid #1a2a44;
    border-radius: 12px; overflow: hidden;
}
.mviews-h2 {
    display: flex; align-items: center; gap: 8px;
    background: #0f2341; padding: 10px 16px;
    font-size: 0.9rem; font-weight: 600; color: #00a651;
}
.mviews-h2 img { width: 16px; height: 16px; }
.mviews-naver {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 16px; border-bottom: 1px solid #1a2a44;
}
.naver-col { display: flex; gap: 6px; align-items: center; }
.btn-navbar {
    display: inline-block; padding: 4px 12px; border-radius: 6px;
    font-size: 0.75rem; background: #0f2341; color: #9ca3af;
    border: 1px solid #1a2a44; cursor: pointer; transition: all 0.2s;
}
.btn-navbar:hover { background: #1a2a44; color: #e8edf3; }
.btn-navbar.active { background: #00a651; color: #fff; border-color: #00a651; }
.btn-navbar.disable { opacity: 0.3; pointer-events: none; }
.btn-navbar.unactive { }
.content-h2h, .content-last { padding: 8px; }

.ranks-tbpoint.mviews { margin: 0; }

.pg-logo { display: inline-block; width: 20px; height: 20px; vertical-align: middle; margin-right: 4px; }
.pg-logo img { width: 100%; }

/* === RESPONSIVE === */
@media screen and (max-width: 1179px) {
    .container { padding: 0 12px; }
    .ranks-table { flex-direction: column; }
    .ranks-right { width: 100%; max-height: 300px; }
}

@media screen and (max-width: 799px) {
    .ads-float.left .ads-item { width: 80px; }
    .ads-float.right .ads-item { width: 80px; }
    .hot-navdate { font-size: 0.8rem; }
    .hot-navdate h1, .hot-navdate h2, .hot-navdate h3 { font-size: 0.8rem; }
    .mviews-header { flex-direction: column; align-items: center; gap: 12px; padding: 16px; }
    .mviews-hlogo img { width: 48px; height: 48px; }
    .mviews-box.box-half { flex-direction: column; }
}

@media screen and (max-width: 589px) {
    body { padding-bottom: 30px; }
    .ads-float.left { top: 130px; }
    .ads-float.left .ads-item { width: 65px; }
    .ads-float.right { top: 130px; }
    .ads-float.right .ads-item { width: 65px; }
    .hot-header { font-size: 1.2rem; }
    .hot-navdate { flex-wrap: wrap; justify-content: space-between; padding: 0 8px; font-size: 0.75rem; }
    .hot-navdate .btn-navdate { width: 49%; white-space: nowrap; padding: 3px 10px; }
    .hot-navdate .btn-navdate.c { width: 100%; order: 1; }
    .hot-navdate .btn-navdate.c h1, .hot-navdate .btn-navdate.c h2, .hot-navdate .btn-navdate.c h3 { font-weight: 500; font-size: 0.85rem; }
    .hot-navdate .btn-navdate.l { order: 2; }
    .hot-navdate .btn-navdate.r { order: 3; }
    
    /* zguru responsive => moved to hot-ballzean.css */
    /* matches responsive => moved to matches.css */

    .ranks-table { flex-direction: column; }
    .ranks-right { width: 100%; }
    .tbp-col { width: 24px; font-size: 0.65rem; padding: 4px 2px; }
    .tbp-col.team { font-size: 0.7rem; }
    .tbp-col.home, .tbp-col.away { display: none; }
    .tbp-row.row-htop { display: none; }
    .mviews-header { padding: 12px; }
    .mviews-hlogo img { width: 40px; height: 40px; }
    .mviews-hname { font-size: 0.85rem; }
    .hcol-score { font-size: 1.1rem; padding: 6px 14px; }
    .mviews-box.box-half { flex-direction: column; gap: 8px; }
    .mviews-naver { flex-wrap: wrap; gap: 4px; }
}
