/*
Theme Name: มวยเด็ด (MuayDed) — Combat Sports & Live Muay Thai Hub
Theme URI: https://muayded.com
Author: MuayDed Sports Engineering Team
Author URI: https://muayded.com
Description: ธีมเว็บไซต์มวยไทยและมวยสากลมาตรฐานระดับโปร (Enterprise Combat Sports Theme) ศูนย์รวมผลมวยสดเรียลไทม์ ตารางโปรแกรมมวยทุกเวที เรตมวยไหล อันดับมวยโลก (WBC/WBA/IBF/WBO/ONE/UFC) ระบบเทียบสถิติ H2H ไฮไลท์วิดีโอ และฟีดข่าวมวยอัตโนมัติ 24 ชม. รองรับ Mobile App-like UX, PWA, และ Schema.org SEO เต็มรูปแบบ
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muayded
Tags: sports, muay-thai, boxing, live-scores, odds-comparison, rankings, responsive-layout, custom-menu, featured-images, full-width-template
*/

:root {
  --primary: #E11D48;
  --primary-dark: #BE123C;
  --primary-light: #FB7185;
  --primary-subtle: #FFF1F2;
  --muay-blue: #2563EB;
  --muay-blue-dark: #1D4ED8;
  --muay-blue-subtle: #EFF6FF;
  --secondary: #FFFFFF;
  --secondary-dark: #1E293B;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-gold: #FBBF24;
  --danger: #EF4444;
  --danger-dark: #DC2626;
  --success: #10B981;
  --success-dark: #059669;
  --bg: #F8FAFC;
  --bg-light: #FFFFFF;
  --surface: #FFFFFF;
  --surface-dark: #F1F5F9;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.12);
  --shadow-neon-red: 0 0 20px rgba(225, 29, 72, 0.2);
  --shadow-neon-gold: 0 0 20px rgba(245, 158, 11, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #F8FAFC;
  color: #0F172A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Header */
.site-header {
  background: #FFFFFF;
  color: #0F172A;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom: 1.5px solid #F1F5F9;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.header-top {
  background: linear-gradient(90deg, #1E3A8A 0%, #1D4ED8 50%, #1E40AF 100%);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #172554;
  box-sizing: border-box;
  width: 100%;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
.top-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  background: #E11D48;
  border: 1px solid #BE123C;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  flex-shrink: 0;
}
.live-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.top-tagline {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #F8FAFC;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.top-time {
  font-weight: 700;
  color: #FBBF24;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12.5px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}


.logo a {
  font-size: 28px;
  font-weight: 900;
  color: #0F172A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.logo-icon {
  font-size: 26px;
  filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.4));
}
.logo-accent {
  color: #E11D48;
  position: relative;
  text-shadow: 0 2px 10px rgba(225, 29, 72, 0.3);
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
  list-style: none;
}

.main-menu a {
  color: #1E293B;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-menu li.menu-item-has-children > a::after {
  content: '▾';
  font-size: 11px;
  margin-left: 2px;
  color: #64748B;
  transition: transform 0.2s ease;
}

.main-menu li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: #2563EB;
}

.main-menu a:hover,
.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.main-menu a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after {
  color: #FFFFFF !important;
}

/* 🔴 Live Scores Spotlight Menu Item */
/* Inactive / Default state: Clean light badge pill with red accent & soft border so it doesn't look like an active tab */
.main-menu li.menu-item-live-spotlight > a {
  background: #FFF1F2;
  color: #E11D48 !important;
  font-weight: 800;
  border: 1.5px solid #FECDD3;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.08);
  position: relative;
  padding: 7px 15px;
  transition: all 0.2s ease;
}

.main-menu li.menu-item-live-spotlight .live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #E11D48;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);
  animation: muaydedPulseLive 2s infinite;
}

/* Hover state */
.main-menu li.menu-item-live-spotlight > a:hover {
  background: #FFE4E6;
  border-color: #FDA4AF;
  color: #BE123C !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
  transform: translateY(-1px);
}

/* Active state: When user is ACTUALLY on /ผลมวยสด/ page */
.main-menu li.menu-item-live-spotlight.current-menu-item > a {
  background: linear-gradient(135deg, #DC2626 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45) !important;
  animation: muaydedPulseLiveGlow 2s infinite;
}

.main-menu li.menu-item-live-spotlight.current-menu-item .live-pulse-dot {
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  animation: none;
}

@keyframes muaydedPulseLive {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); transform: scale(0.95); }
  70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); transform: scale(1.1); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); transform: scale(0.95); }
}

@keyframes muaydedPulseLiveGlow {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* Dropdown Sub-menu */
.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  min-width: 230px;
  padding: 8px;
  list-style: none;
  z-index: 9999;
  margin-top: 2px;
}

/* Invisible hover bridge to eliminate gap flickers */
.main-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu,
.main-menu li.is-open > .sub-menu {
  display: block;
  animation: muaydedFadeIn 0.18s ease-out forwards;
}

.main-menu .sub-menu li {
  margin: 0;
}

.main-menu .sub-menu a {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  background: none;
  box-shadow: none;
}

.main-menu .sub-menu a:hover,
.main-menu .sub-menu li.current-menu-item > a,
.main-menu .sub-menu li.active > a {
  background: #EFF6FF;
  color: #2563EB !important;
  font-weight: 700;
  box-shadow: none;
}

@keyframes muaydedFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header Search */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search .search-input {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 8px 38px 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  outline: none;
  transition: all 0.2s;
  width: 200px;
}
.header-search .search-input:focus {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  width: 240px;
}
.header-search .search-submit {
  position: absolute;
  right: 4px;
  background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
  color: #FFFFFF;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
  transition: transform 0.15s;
}
.header-search .search-submit:hover {
  transform: scale(1.08);
}

/* Front Hero Section — Stadium Atmosphere with High Contrast Scrim */
.front-hero {
  margin: 24px 0 28px;
}
.hero-feature {
  background: linear-gradient(135deg, #172554 0%, #1E3A8A 50%, #1D4ED8 100%);
  border-radius: 20px;
  box-shadow: 0 14px 34px -4px rgba(29, 78, 216, 0.25);
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hero-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -4px rgba(37, 99, 235, 0.3);
}
.hero-feature a {
  text-decoration: none;
  display: block;
  color: #FFFFFF;
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 36px 32px;
  color: #FFFFFF;
  border-radius: 20px;
}
.hero-overlay .featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.4);
}
.hero-overlay h2 {
  font-size: 30px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-overlay .hero-excerpt {
  color: #E2E8F0;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 800px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-overlay .hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 700;
}
.hero-overlay .hero-readmore {
  background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
  transition: transform 0.15s;
}
.hero-overlay .hero-readmore:hover {
  transform: scale(1.04);
}

/* Front Section Headers */
.front-section {
  margin-bottom: 34px;
}
.front-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.front-section-title {
  font-size: 22px;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.front-section-more {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1.5px solid #BFDBFE;
  text-decoration: none;
  transition: all 0.15s ease;
}
.front-section-more:hover {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Cards & Leagues */
.league-block {
  background: #FFFFFF;
  border-radius: 18px;
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
  border: 1.5px solid #E2E8F0;
}
.league-header {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: #FFFFFF;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.league-header h2 {
  font-size: 17px;
  font-weight: 900;
  margin: 0;
  flex: 1;
  letter-spacing: 0.2px;
}
.match-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.match-card {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-card:last-child {
  border-bottom: none;
}
.match-card:hover {
  background: #F8FAFC;
}
.match-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.live-badge {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 10px rgba(220, 38, 38, 0.6); }
  100% { transform: scale(0.95); opacity: 0.85; }
}
.ft-badge {
  background: #475569;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.time-badge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.match-division {
  background: #F1F5F9;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.match-teams {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.match-status-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 110px;
}
.corner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.corner-dot.red-corner {
  background: #DC2626;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.6);
}
.corner-dot.blue-corner {
  background: #2563EB;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);
}
.winner-mark {
  font-size: 13px;
  margin-left: 4px;
}
.team {
  display: flex;
  align-items: center;
  gap: 8px;
}
.team.home {
  justify-content: flex-start;
}
.team.home .team-name {
  color: #DC2626;
  font-weight: 800;
  font-size: 15px;
}
.team.away {
  justify-content: flex-end;
  text-align: right;
}
.team.away .team-name {
  color: #2563EB;
  font-weight: 800;
  font-size: 15px;
}
.score {
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-divider {
  font-size: 12px;
  font-weight: 900;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  letter-spacing: 0.5px;
}
.match-action-col {
  display: flex;
  align-items: center;
}
.match-btn-mini {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s;
}
.match-btn-mini:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .match-card {
    padding: 6px 8px !important;
  }
  .match-teams {
    grid-template-columns: 1fr auto 1fr auto !important;
    grid-template-areas: 
      "meta meta meta meta"
      "home vs away action" !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    align-items: center !important;
    text-align: left !important;
  }
  .match-status-col {
    grid-area: meta !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    gap: 4px !important;
    margin-bottom: 2px !important;
  }
  .team.home {
    grid-area: home !important;
    justify-content: flex-start !important;
    gap: 5px !important;
  }
  .score {
    grid-area: vs !important;
  }
  .team.away {
    grid-area: away !important;
    justify-content: flex-end !important;
    text-align: right !important;
    gap: 5px !important;
  }
  .match-action-col {
    grid-area: action !important;
    justify-content: flex-end !important;
  }
  .team-name {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 105px !important;
  }
  .score-divider {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }
  .match-btn-mini {
    padding: 3px 8px !important;
    font-size: 10px !important;
    border-radius: 6px !important;
  }
  .time-badge,
  .live-badge,
  .ft-badge,
  .match-division {
    font-size: 9px !important;
    padding: 1px 6px !important;
  }
}

@media (max-width: 480px) {
  .team-name {
    max-width: 85px !important;
    font-size: 11.5px !important;
  }
  .match-btn-mini {
    padding: 3px 6px !important;
    font-size: 9.5px !important;
  }
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
/* News & Articles Grid & Filters */
.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  padding: 6px 0;
}
.news-filters .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.news-filters .filter-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}
.news-filters .filter-btn.active {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  border-color: #E11D48;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.news-grid,
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card,
.article-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  border: 1.5px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.news-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}
.news-card.is-article,
.article-card {
  border-top: 3.5px solid #2563EB;
}
.news-card.is-news {
  border-top: 3.5px solid #E11D48;
}

.news-card a,
.article-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-thumb,
.article-thumb {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #0F172A;
}
.news-thumb img,
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-thumb img,
.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.badge-news {
  background: rgba(225, 29, 72, 0.92);
  color: #FFFFFF;
}
.badge-article {
  background: rgba(37, 99, 235, 0.92);
  color: #FFFFFF;
}

.news-card-body,
.article-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-meta,
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 10px;
}
.meta-source {
  background: #F1F5F9;
  color: #334155;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.news-title,
.article-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.45;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.news-card:hover .news-title,
.article-card:hover .article-title {
  color: #E11D48;
}
.article-card:hover .article-title {
  color: #2563EB;
}

.news-excerpt,
.article-excerpt {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-action-link {
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.action-news {
  color: #E11D48;
}
.action-article {
  color: #2563EB;
}

/* Featured */
.featured-article {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.featured-image {
  position: relative;
  height: 400px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 40px 30px 30px;
}

.featured-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.featured-overlay h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Pagination */
.pagination {
  margin: 45px auto 25px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pagination ul.page-numbers,
.pagination ul {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px !important;
}

.pagination ul.page-numbers li,
.pagination ul li {
  display: inline-flex !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination ul.page-numbers li::before,
.pagination ul.page-numbers li::marker,
.pagination ul li::before,
.pagination ul li::marker {
  display: none !important;
  content: "" !important;
}

.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  text-decoration: none;
  color: #0F172A;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.pagination .page-numbers:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #E11D48;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.pagination .page-numbers.current {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  border-color: #E11D48 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
  cursor: default;
  transform: none !important;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 18px;
  font-weight: 800;
}

.pagination .page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #94A3B8;
  cursor: default;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  color: #64748B;
  border-top: 1.5px solid #E2E8F0;
  padding: 28px 0 20px;
  margin-top: 24px;
  text-align: center;
}

.error-box {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
}

.main-content {
  padding: 24px 0 24px;
}

.single-container {
  max-width: 820px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 10px 18px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  top: 0;
}

.main-nav {
  position: relative;
  flex-wrap: wrap;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 2;
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 4px 4px 4px 14px;
  transition: background 0.2s;
}
.header-search:focus-within {
  background: rgba(255,255,255,0.2);
}
.header-search .search-input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  font-size: 14px;
  width: 180px;
}
.header-search .search-input::placeholder {
  color: rgba(255,255,255,0.75);
}
.header-search .search-submit {
  background: var(--accent);
  color: #222;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.header-search .search-submit:hover {
  transform: scale(1.06);
}

.menu-toggle {
  display: none;
  background: #1E40AF;
  border: 1.5px solid #1D4ED8;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
  transition: all 0.2s ease;
}
.menu-toggle:hover {
  background: #1D4ED8;
}
.menu-toggle .hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.muayded-breadcrumbs {
  background: #F1F5F9;
  padding: 10px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 13px;
  color: #64748B;
}
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs-list a {
  color: #1D4ED8;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}
.breadcrumbs-list a:hover {
  color: #1E3A8A;
  text-decoration: underline;
}
.breadcrumbs-list .current {
  color: #0F172A;
  font-weight: 800;
}
.breadcrumbs-list .sep {
  color: #94A3B8;
  padding: 0 4px;
  font-weight: 700;
}

.page-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  line-height: 1.75;
  font-size: 16px;
}
.page-content p,
.entry-content p {
  margin: 0 0 16px;
}
.page-content h2,
.entry-content h2 {
  font-size: 22px;
  color: var(--secondary);
  margin: 28px 0 14px;
  font-weight: 800;
}
.page-content h3,
.entry-content h3 {
  font-size: 19px;
  color: var(--text);
  margin: 22px 0 12px;
  font-weight: 700;
}
.page-content a,
.entry-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}
.page-content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.page-content ul,
.page-content ol,
.entry-content ul,
.entry-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.page-links {
  clear: both;
  margin: 20px 0;
  text-align: center;
  font-weight: 700;
}
.page-links .page-link {
  display: inline-block;
  min-width: 32px;
  padding: 6px 12px;
  margin: 0 3px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.single-article {
  background: white;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.single-thumb {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.single-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.single-cats {
  margin-bottom: 12px;
}
.single-cat {
  margin-right: 6px;
  margin-bottom: 6px;
}
.single-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--secondary);
  margin: 0 0 14px;
}
.single-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E3F2FD;
}
.single-meta .meta-sep {
  margin: 0 8px;
  opacity: 0.6;
}
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}
.single-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E3F2FD;
}
.single-tags {
  font-size: 14px;
  color: var(--text-light);
}
.single-tags a {
  display: inline-block;
  background: #E1F5FE;
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 20px;
  margin: 2px 4px 2px 0;
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}
.comments-area {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E3F2FD;
}

.post-navigation {
  margin-top: 36px;
}
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-navigation a {
  display: block;
  background: white;
  padding: 16px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--primary);
  transition: transform 0.2s;
}
.post-navigation a:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent);
}
.post-navigation .nav-next a {
  border-left: none;
  border-right: 4px solid var(--primary);
  text-align: right;
}
.post-navigation .nav-next a:hover {
  border-right-color: var(--accent);
}
.post-navigation .nav-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-navigation .nav-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.notice-info {
  background: #E3F2FD;
  color: var(--secondary);
  border-left: 4px solid var(--primary);
}
.notice-success {
  background: #E8F5E9;
  color: #2E7D32;
  border-left: 4px solid #66BB6A;
}
.notice-warning {
  background: #FFF8E1;
  color: #E65100;
  border-left: 4px solid var(--accent);
}
.notice-error {
  background: #FFEBEE;
  color: #C62828;
  border-left: 4px solid #EF5350;
}

.match-count {
  background: rgba(255,255,255,0.18);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.match-division {
  font-size: 13px;
  color: #607D8B;
  background: #ECEFF1;
  padding: 2px 10px;
  border-radius: 10px;
}
.match-title {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.match-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-source {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.85;
}
.footer-nav {
  margin-top: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.footer-menu a {
  color: #BBDEFB;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: var(--accent);
}

.widget {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

@media (max-width: 1024px) {
  .header-search .search-input {
    width: 130px;
  }
}

@media (max-width: 768px) {
  .site-header {
    width: 100%;
    box-sizing: border-box;
  }
  .header-top {
    padding: 6px 0 !important;
  }
  .header-top-inner {
    padding: 0 12px !important;
    gap: 8px !important;
  }
  .top-live-tag,
  .top-time {
    display: none !important;
  }
  .top-tagline {
    font-size: 11.5px !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .main-nav {
    align-items: center;
    padding: 8px 12px !important;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .logo a {
    font-size: clamp(18px, 5vw, 24px) !important;
    gap: 4px;
    white-space: nowrap;
  }
  .logo-icon {
    font-size: clamp(18px, 5vw, 22px) !important;
  }
  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }
  .header-search {
    padding: 2px 2px 2px 8px;
    flex: 1;
    max-width: 180px;
    min-width: 60px;
  }
  .header-search .search-input {
    width: 100% !important;
    min-width: 0;
    font-size: 12px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    flex-shrink: 0;
  }
  .menu-toggle .hamburger span {
    width: 18px;
    height: 2px;
  }
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, #1E3A8A 0%, #1D4ED8 100%);
    margin-top: 0;
    z-index: 999;
    padding: 8px 0;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.35);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-navigation.is-open {
    display: block;
  }
  .main-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .main-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  /* On mobile, primary bottom nav already has home & live; keep header menu clean & focused */
  .main-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    font-size: 14px;
    color: #FFFFFF !important;
    border-radius: 6px;
  }
  .main-menu .sub-menu {
    display: flex !important;
    flex-direction: column;
    position: static !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    margin: 2px 0 8px 10px !important;
    padding: 4px 8px !important;
    animation: none !important;
  }
  .main-menu .sub-menu li {
    border-bottom: 1px dashed rgba(255,255,255,0.06);
  }
  .main-menu .sub-menu li:last-child {
    border-bottom: none;
  }
  .main-menu .sub-menu a {
    padding: 7px 8px !important;
    font-size: 12.5px !important;
    color: #CBD5E1 !important;
  }
  .main-menu .sub-menu a:hover {
    color: #38BDF8 !important;
    background: rgba(255,255,255,0.06) !important;
  }
  .match-teams {
    flex-direction: column;
    gap: 8px;
  }
  .team.away {
    justify-content: flex-start;
    text-align: left;
  }
  .news-grid,
  .articles-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .featured-image {
    height: 260px;
  }
  .single-article {
    padding: 22px 18px;
  }
  .single-title {
    font-size: 24px;
  }
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
  .post-navigation .nav-next a {
    text-align: left;
    border-right: none;
    border-left: 4px solid var(--primary);
  }
  .post-navigation .nav-next a:hover {
    border-right: none;
    border-left-color: var(--accent);
  }
  .league-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .match-status {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .header-top {
    font-size: 10.5px;
    padding: 4px 0;
  }
  .header-search {
    max-width: 130px;
  }
  .header-search .search-input {
    font-size: 11px;
    padding: 3px 6px;
  }
  .logo a {
    font-size: 17px !important;
  }
  .logo-icon {
    font-size: 18px !important;
  }
  .main-nav {
    padding: 6px 10px !important;
  }
  .page-title {
    font-size: 20px;
  }
  .single-title {
    font-size: 20px;
  }
}

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(21,101,192,0.98);
  color: white;
  border-top: 3px solid var(--accent, #FFB300);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
  padding: 14px 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  opacity: 1;
}
.cookie-notice.cookie-accepted {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-notice-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-notice-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  min-width: 260px;
}
.cookie-notice-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-more-link {
  color: #BBDEFB;
  text-decoration: underline;
  font-weight: 600;
  font-size: 13px;
}
.cookie-more-link:hover {
  color: white;
}
.cookie-accept-btn {
  background: var(--accent, #FFB300);
  color: #3E2723;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s;
  white-space: nowrap;
}
.cookie-accept-btn:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .cookie-notice {
    bottom: 64px !important;
    z-index: 999995 !important;
    padding: 10px 12px !important;
  }
  .cookie-notice-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .cookie-notice-actions {
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
  }
  .cookie-notice-text {
    font-size: 11px !important;
    line-height: 1.35 !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .cookie-accept-btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
  }
  .cookie-more-link {
    font-size: 11px !important;
  }
}

/* Search empty error state */
.header-search.has-error {
  animation: searchShake 0.4s;
  box-shadow: 0 0 0 2px rgba(255,152,0,0.8) inset, 0 0 16px rgba(255,152,0,0.5);
  background: rgba(255,152,0,0.15);
}
.header-search .search-error {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #E65100;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 999;
}
.header-search.has-error .search-error {
  display: block;
}
@keyframes searchShake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.header-actions {
  position: relative;
}
.header-search {
  position: relative;
}
.header-search .search-clear {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
}
.header-search .search-clear:hover {
  background: #ffebee;
  color: #c62828;
}
.live-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  z-index: 9998;
  overflow: hidden;
  max-height: 60vh;
  overflow-y: auto;
}
.live-results::-webkit-scrollbar {
  width: 6px;
}
.live-results::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 3px;
}
.live-result-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.12s ease;
}
.live-result-item:last-child {
  border-bottom: none;
}
.live-result-item:hover,
.live-result-item.is-focused,
.live-result-item:focus {
  background: #E3F2FD;
  outline: none;
}
.live-result-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 8px;
  margin-top: 2px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.live-result-body {
  flex: 1;
  min-width: 0;
}
.live-result-title {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  color: #263238;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-result-excerpt {
  margin: 0;
  font-size: 12px;
  color: #616161;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-result-status {
  padding: 14px 16px;
  font-size: 13px;
  color: #616161;
  text-align: center;
}
.live-result-status.lr-error {
  color: #b71c1c;
  background: #ffebee;
}
.live-result-footer {
  padding: 8px 14px;
  font-size: 12px;
  color: #1565c0;
  font-weight: 700;
  background: #e3f2fd;
  border-top: 1px solid #bbdefb;
  cursor: pointer;
}
.live-result-footer:hover {
  background: #bbdefb;
}
@media (max-width: 768px) {
  .live-results {
    top: calc(100% + 4px);
    border-radius: 8px;
    max-height: 55vh;
  }
  .live-result-item {
    padding: 10px 12px;
    gap: 8px;
  }
  .live-result-title {
    font-size: 13.5px;
  }
  .live-result-excerpt {
    font-size: 11.5px;
  }
}

/* ============================================================
   C4-1 Match CPT Grid Cards — CSS Hover (แทน inline JS handlers)
   ป้องกัน SyntaxError จาก inline onmouseover/onmouseout
   ============================================================ */
article.match-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform, box-shadow;
}
article.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
article.fighter-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform, box-shadow;
}
article.fighter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.fighters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .fighters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .fighters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .fighters-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   STANDARDIZED GRID & CARD SYSTEM
   ============================================================ */
.muayded-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.muayded-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.muayded-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .muayded-grid-4 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 820px) {
  .muayded-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .muayded-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 540px) {
  .muayded-grid-4, .muayded-grid-3, .muayded-grid-2 { grid-template-columns: 1fr; gap: 12px; }
}

.muayded-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.muayded-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.muayded-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
.muayded-badge-primary { background: var(--primary-subtle); color: var(--primary-dark); }
.muayded-badge-accent { background: #FEF3C7; color: #92400E; }
.muayded-badge-success { background: #D1FAE5; color: #065F46; }
.muayded-badge-danger { background: #FEE2E2; color: #991B1B; }

.muayded-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.muayded-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.muayded-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}
.muayded-btn-accent {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* ============================================================
   BOOKMAKER & ODDS COMPARISON STYLING (REPLACING TAILWIND)
   ============================================================ */
.muayded-bookmaker-archive, .muayded-bookmaker-single {
  background: var(--bg);
  padding-bottom: 80px;
}
.muayded-bm-header {
  background: linear-gradient(135deg, #172554 0%, #1E3A8A 50%, #1D4ED8 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.muayded-disclaimer {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.muayded-disclaimer.border-green-300, .muayded-disclaimer.bg-green-50 {
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  color: #065F46;
}
.muayded-disclaimer.border-orange-300, .muayded-disclaimer.bg-orange-50 {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  color: #92400E;
}

.muayded-bm-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.muayded-bm-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.muayded-bm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.muayded-odds-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-bottom: 24px;
}
.muayded-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.muayded-odds-table th {
  background: #F1F5F9;
  color: var(--secondary-dark);
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
}
.muayded-odds-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.muayded-odds-table tr:hover td {
  background: #F8FAFC;
}

/* ============================================================
   FLOATING SIDE ADS (LEFT & RIGHT)
   ============================================================ */
.muayded-floating-ad-container {
  position: fixed;
  top: 130px;
  z-index: 990;
  width: 160px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.muayded-float-left {
  left: 16px;
}
.muayded-float-right {
  right: 16px;
}
.muayded-ad-item {
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}

/* ============================================================
   FLOATING SIDE ADS (LEFT & RIGHT POPUP CARDS)
   ============================================================ */
.muayded-floating-ad-container {
  position: fixed;
  top: 42%;
  transform: translateY(-50%);
  z-index: 998;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.muayded-float-left {
  left: 14px;
}
.muayded-float-right {
  right: 14px;
}
.muayded-side-ad-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  padding: 10px 8px 8px;
  width: 126px;
  text-align: center;
  position: relative;
}
.muayded-side-ad-badge {
  background: #06C755;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  padding: 3px 6px;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.2px;
}
.muayded-side-ad-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}
.muayded-side-ad-img {
  width: 108px;
  height: 108px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}
.muayded-side-ad-btn {
  display: block;
  color: #0284C7;
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
  text-decoration: none;
  transition: color 0.15s;
}
.muayded-side-ad-btn:hover {
  color: #0369A1;
  text-decoration: underline;
}
.muayded-ad-dismiss {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 10;
  transition: background 0.15s, transform 0.15s;
}
.muayded-ad-dismiss:hover {
  background: #DC2626;
  transform: scale(1.15);
}

/* Auto-hide Floating Ads on screen width <= 1280px */
@media (max-width: 1280px) {
  .muayded-floating-ad-container {
    display: none !important;
  }
}

/* ============================================================
   LINE OFFICIAL ACCOUNT BOTTOM-RIGHT FLOATING PILL (รูปแบบที่ 3)
   ============================================================ */
.muayded-line-sticky-bar {
  position: fixed;
  bottom: 20px;
  right: 24px;
  z-index: 1000000;
  width: auto;
  max-width: 95vw;
}
.muayded-line-sticky-bar .widget,
.muayded-line-sticky-bar .muayded-line-widget {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.muayded-line-pill-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #06C755;
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  padding: 6px 14px 6px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.muayded-line-pill-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.muayded-line-pill-icon {
  background: #06C755;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(6,199,85,0.3);
}
.muayded-line-pill-tag {
  font-size: 7.5px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
  letter-spacing: 0.4px;
}
.muayded-line-pill-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.muayded-line-pill-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.muayded-line-pill-sub {
  font-size: 11px;
  color: #64748B;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.muayded-line-pill-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.muayded-line-pill-qr-btn {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 6px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}
.muayded-line-pill-qr-btn:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}
.muayded-line-pill-add-btn {
  background: #06C755;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 800;
  border-radius: 9999px;
  padding: 7px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 12px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.muayded-line-pill-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(6, 199, 85, 0.45);
}
.muayded-line-dismiss {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s, transform 0.15s;
}
.muayded-line-dismiss:hover {
  background: #EF4444;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .muayded-line-sticky-bar {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .muayded-line-pill-card {
    padding: 6px 12px 6px 8px;
    justify-content: space-between;
  }
  .muayded-line-pill-sub, .muayded-line-pill-qr-btn {
    display: none !important;
  }
  .muayded-line-pill-title {
    font-size: 12.5px;
  }
  .muayded-line-pill-add-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* Ensure body has bottom padding on desktop and mobile so content isn't covered */
body {
  padding-bottom: 74px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 120px;
  }
  .muayded-line-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .muayded-line-actions {
    justify-content: stretch;
  }
  .muayded-line-qr-btn, .muayded-line-add-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Modal Styling */
.muayded-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.muayded-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}
.muayded-modal-box {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  animation: muayded-modal-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes muayded-modal-in {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
.muayded-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: #64748B;
  transition: background 0.15s;
}
.muayded-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}
.muayded-modal-badge {
  display: inline-block;
  background: #06C755;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}
.muayded-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary-dark);
  margin: 0 0 6px;
}
.muayded-modal-header p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.muayded-modal-qr-wrap {
  background: #F8FAFC;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: inline-block;
  margin-bottom: 18px;
}
.muayded-modal-qr-img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto;
}
.muayded-modal-id-tag {
  font-size: 14px;
  color: #06C755;
  margin-top: 10px;
}
.muayded-modal-cta {
  display: block;
  background: #06C755;
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: background 0.15s;
}
.muayded-modal-cta:hover {
  background: #05B34C;
}

/* ============================================================
   RESPONSIVE AUTO-ADAPTATION & MOBILE CHIPS
   ============================================================ */
.muayded-scroll-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.muayded-scroll-chips::-webkit-scrollbar {
  display: none;
}
.muayded-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
}
.muayded-chip:hover, .muayded-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF !important;
}

/* ============================================================
   🥊 MUAYDED COMBAT ARENA & FIGHT HUB UI COMPONENTS
   ============================================================ */

.arena-card-section {
  padding: 30px 0;
}

.arena-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.arena-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.arena-section-title .title-badge {
  font-size: 13px;
  background: #E11D48;
  color: #FFFFFF;
  padding: 3px 12px;
  border-radius: 9999px;
  font-weight: 700;
}

/* Daily Event Header Card */
.event-card-wrapper {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #E2E8F0;
  margin-bottom: 28px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card-wrapper:hover {
  box-shadow: 0 15px 35px -5px rgba(225, 29, 72, 0.12);
}

.event-card-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  color: #0F172A;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid #E11D48;
}

.event-title-group h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 4px;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}


.event-meta-info {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #94A3B8;
  flex-wrap: wrap;
}

.event-meta-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-channel-badge {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60A5FA;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
}

/* Fight Match Row: Red vs Blue Arena */
.fight-arena-row {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
  transition: background 0.15s;
}

.fight-arena-row:hover {
  background: #F8FAFC;
}

.fight-arena-row:last-child {
  border-bottom: none;
}

/* Red Corner */
.corner-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.corner-box.red-corner {
  justify-content: flex-end;
  text-align: right;
}

.corner-box.blue-corner {
  justify-content: flex-start;
  text-align: left;
}

.fighter-info .fighter-name {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 2px;
}

.corner-box.red-corner .fighter-name {
  color: #BE123C;
}

.corner-box.blue-corner .fighter-name {
  color: #1D4ED8;
}

.fighter-info .fighter-camp {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 600;
}

.fighter-odds {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
}

.red-odds-tag {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
}

.blue-odds-tag {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.corner-indicator {
  width: 10px;
  height: 48px;
  border-radius: 6px;
  flex-shrink: 0;
}

.corner-indicator.red {
  background: linear-gradient(180deg, #E11D48 0%, #9F1239 100%);
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.corner-indicator.blue {
  background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* VS Center Stage */
.arena-vs-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vs-circle {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  color: #E11D48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
  border: 2px solid #FECDD3;
  margin-bottom: 6px;
}

.fight-order-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 10px;
}

.fight-weight-tag {
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
  margin-top: 4px;
}

/* Status & Verdict Badges */
.fight-verdict-banner {
  grid-column: 1 / -1;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.verdict-tag {
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}

.verdict-live {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  animation: pulse-dot 1.5s infinite;
}

.verdict-win {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.tip-pill {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

/* ⚡ Live Odds Fluctuation Ticker & Modern Card Styles */
.live-odds-ticker-wrap {
  background: #FFFFFF;
  border-bottom: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}

.live-odds-ticker-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-odds-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.live-odds-track {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.live-odds-track::-webkit-scrollbar {
  display: none;
}

.live-odds-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 12.5px;
  color: #1E293B;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.2s, border-color 0.2s;
}

.live-odds-chip:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.live-odds-chip .chip-spike-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  animation: pulse-dot 1.2s infinite;
}


.live-odds-chip .rate-pill {
  background: #FBBF24;
  color: #0F172A;
  font-weight: 800;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.live-odds-chip .red-side {
  color: #F87171;
  font-weight: 700;
}

.live-odds-chip .blue-side {
  color: #60A5FA;
  font-weight: 700;
}

.live-odds-chip .trend-up {
  color: #34D399;
  font-weight: 800;
  font-size: 11px;
}

.live-odds-chip .trend-down {
  color: #F87171;
  font-weight: 800;
  font-size: 11px;
}

/* Bout H2H Action & Spike Elements */
.bout-action-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #E2E8F0;
}

.btn-open-h2h {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #BE123C;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-open-h2h:hover {
  background: #E11D48;
  color: #FFFFFF;
  border-color: #E11D48;
  transform: translateY(-1px);
}

.spike-indicator-tag {
  background: #FEF2F2;
  border: 1px solid #F87171;
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: pulse-dot 1.5s infinite;
}

/* Responsive Arena Rows */
@media (max-width: 768px) {
  .fight-arena-row {
    grid-template-columns: 1fr 50px 1fr;
    gap: 6px;
    padding: 8px 10px;
    text-align: center;
  }
  .corner-box.red-corner, .corner-box.blue-corner {
    justify-content: center;
    text-align: center;
  }
  .corner-indicator {
    display: none;
  }
  .arena-vs-col {
    order: 0;
    margin-bottom: 0;
  }
  .bout-action-row {
    flex-direction: row;
    gap: 6px;
  }
}

/* ============================================================
   💸 BOXING ODDS MARKET & COMPARISON INDEX UI COMPONENTS
   ============================================================ */
.odds-market-page .page-header {
  margin-bottom: 24px;
}

.odds-comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
}

.odds-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.odds-comparison-table th {
  background: linear-gradient(90deg, #1E3A8A 0%, #1D4ED8 100%);
  color: #FFFFFF;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 12.5px;
  white-space: nowrap;
}

.odds-comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.odds-comparison-table tr:hover td {
  background: #F8FAFC;
}

.odds-pill-decimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 66px;
  white-space: nowrap;
}

.odds-pill-decimal.red-fav {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.odds-pill-decimal.blue-fav {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.odds-pill-thai {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}

.odds-card-enhanced {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.odds-card-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
}

.odds-card-enhanced .card-top-bar {
  background: linear-gradient(90deg, #1E3A8A 0%, #1D4ED8 100%);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.odds-card-enhanced .matchup-stage {
  padding: 18px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.odds-card-enhanced .markets-container {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .odds-comparison-table th,
  .odds-comparison-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
  .odds-card-enhanced .matchup-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ============================================================
   🥊 FIGHTER DIRECTORY & SINGLE PROFILE MODERN UI
   ============================================================ */
.stat-progress-bar {
  background: #E2E8F0;
  border-radius: 9999px;
  height: 7px;
  overflow: hidden;
  margin-top: 6px;
}

.stat-progress-fill-win {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.stat-progress-fill-ko {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.recent-form-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-pill-w {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.form-pill-l {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.form-pill-d {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

/* ============================================================
   📱 MOBILE BOTTOM TAB BAR (APP-LIKE EXPERIENCE)
   ============================================================ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1.5px solid #E2E8F0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    z-index: 999990;
    justify-content: space-around;
    align-items: center;
  }

  .mobile-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #475569;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 700;
    padding: 6px 2px;
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .mobile-tab-item:active,
  .mobile-tab-item.active {
    color: #1D4ED8;
    font-weight: 800;
  }

  .mobile-tab-item.live-tab:active,
  .mobile-tab-item.live-tab.active {
    color: #E11D48;
    font-weight: 800;
  }

  .mobile-tab-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .mobile-tab-item:active .mobile-tab-icon,
  .mobile-tab-item.active .mobile-tab-icon {
    transform: scale(1.15);
  }

  .mobile-tab-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 3px;
    background: #1D4ED8;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.45);
  }

  .mobile-tab-item.live-tab {
    color: #E11D48;
  }

  .mobile-tab-item.live-tab.active {
    color: #BE123C;
  }

  .mobile-tab-item.live-tab.active::after {
    background: #E11D48;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.5);
  }

  .mobile-tab-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse-dot 1.2s infinite;
  }
}

/* ==========================================================================
   🤝 Footer Partner Logos Section (เว็บพันธมิตร)
   ========================================================================== */
.footer-partners-section {
  margin: 28px 0 20px;
  padding: 24px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  text-align: center;
}

.footer-partners-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-partners-title::before,
.footer-partners-title::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #CBD5E1;
  border-radius: 2px;
}

.footer-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 28px;
}

.partner-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.partner-logo-link:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 8px 14px rgba(30, 58, 138, 0.14));
}

.partner-logo-link img {
  max-height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.partner-logo-link:hover img {
  opacity: 0.95;
}

@media (max-width: 768px) {
  .footer-partners-section {
    padding: 18px 12px;
    margin: 20px 0 16px;
  }
  .footer-partners-grid {
    gap: 14px 18px;
  }
  .partner-logo-link img {
    max-height: 44px;
    max-width: 110px;
  }
}

/* Footer Copyright & Source Spacing */
.footer-copyright {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 4px;
}

.footer-source {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ==========================================================================
   🏛️ Modern Footer SAT Legal Card & Compliance Styling
   ========================================================================== */
.muayded-sat-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1D4ED8 100%);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-lg, 14px);
  margin: 12px 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.muayded-sat-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}

.muayded-sat-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  flex-shrink: 0;
}

.muayded-sat-text {
  font-size: 13px;
  line-height: 1.5;
  color: #E2E8F0;
}

.muayded-sat-text strong {
  color: #FFFFFF;
  display: inline-block;
  margin-right: 4px;
}

.muayded-sat-badge {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
  white-space: nowrap;
}

/* ==========================================================================
   🔍 EEAT Verified Sources & PDPA Safety Box (Modern Badges & Chips)
   ========================================================================== */
.muayded-footer-compliance-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 16px 0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.muayded-eeat-row,
.muayded-pdpa-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.muayded-compliance-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0284C7;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.muayded-compliance-tag.pdpa-tag {
  color: #059669;
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.muayded-eeat-chips,
.muayded-pdpa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.muayded-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.muayded-chip:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.2);
}

.muayded-chip-subtle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.muayded-chip-subtle:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-2px);
}

.muayded-chip-subtle.helpline-chip {
  color: #059669;
  background: #ECFDF5;
  border-color: #A7F3D0;
  font-weight: 700;
}

.muayded-chip-subtle.helpline-chip:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

@media (max-width: 768px) {
  .muayded-sat-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .muayded-sat-badge {
    align-self: flex-start;
  }
  .muayded-footer-compliance-box {
    padding: 14px 14px;
  }
  .muayded-compliance-tag {
    width: 100%;
    text-align: center;
  }
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.live-fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ==========================================================================
   🥊 Modern International Match Card (.muayded-match-card-modern)
   ========================================================================== */
.muayded-match-card-modern {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  position: relative;
}

.muayded-match-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
  border-color: #CBD5E1;
}

/* Card Header */
.mmc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
  gap: 8px;
}

.mmc-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.mmc-belt-tag {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.mmc-promo-tag {
  background: #F1F5F9;
  color: #475569;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

/* Status Tag */
.mmc-status-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mmc-status-tag.status-not_started {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.mmc-status-tag.status-live {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.mmc-status-tag.status-finished {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  background: #DC2626;
  border-radius: 50%;
  animation: pulse-live 1.2s infinite;
}

/* Title Box */
.mmc-title-box {
  padding: 12px 16px 8px;
  text-align: center;
}

.mmc-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
}

.mmc-sub {
  display: block;
  font-size: 11.5px;
  color: #64748B;
  margin-top: 3px;
}

/* Versus Arena Box */
/* Versus Arena Box (Vertical Stacked Format) */
.mmc-versus-box {
  margin: 10px 14px 14px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mmc-fighter {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mmc-fighter.red-corner {
  text-align: center;
  align-items: center;
  padding-bottom: 4px;
}

.mmc-fighter.blue-corner {
  text-align: center;
  align-items: center;
  padding-top: 4px;
}

.corner-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
}

.corner-pill.red {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.corner-pill.blue {
  background: #DBEAFE;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.fighter-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  word-break: break-word;
  text-align: center;
}

.mmc-fighter.is-winner .fighter-name {
  color: #1E3A8A;
}

.winner-trophy {
  font-size: 11px;
  font-weight: 800;
  color: #D97706;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

.mmc-vs-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2px 0;
}

.mmc-vs-divider::before,
.mmc-vs-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.mmc-vs-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

/* Meta Bar */
.mmc-meta-bar {
  padding: 0 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 6px;
}

.mmc-division {
  font-weight: 600;
}

.mmc-source-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.mmc-source-badge.is-cpt {
  background: #ECFDF5;
  color: #059669;
}

.mmc-source-badge.is-fb {
  background: #FFF7ED;
  color: #C2410C;
}

/* Result Banner */
.mmc-result-banner {
  margin: 0 14px 12px;
  padding: 8px 12px;
  background: #F1F5F9;
  border-radius: 8px;
  font-size: 12px;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E2E8F0;
}

/* Actions */
.mmc-actions {
  margin-top: auto;
  padding: 12px 14px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mmc-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.mmc-btn.btn-details {
  background: #F1F5F9;
  color: #334155;
  border: 1.5px solid #E2E8F0;
}

.mmc-btn.btn-details:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
}

.mmc-btn.btn-odds {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.mmc-btn.btn-odds:hover {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.mmc-btn.btn-disabled {
  background: #F8FAFC;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
  cursor: default;
}

/* ============================================================
 * Modern Single Odds Cards (EEAT Verified)
 * ============================================================ */
.odds-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.odds-card-modern {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.odds-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: #CBD5E1;
}

.ocm-header {
  padding: 14px 16px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ocm-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ocm-ev-badge {
  font-size: 11px;
  font-weight: 800;
  color: #4338CA;
  background: #EEF2FF;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #E0E7FF;
}

.ocm-source-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.ocm-source-badge.is-cpt {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.ocm-source-badge.is-fb {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.ocm-rating-badge {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 4px 8px;
  text-align: center;
  min-width: 42px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.ocm-rating-val {
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ocm-rating-max {
  font-size: 8px;
  opacity: 0.85;
  line-height: 1;
  margin-top: 2px;
}

.ocm-title-box {
  padding: 14px 16px 8px;
}

.ocm-title {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.4;
  color: #0F172A;
}

.ocm-sub {
  margin: 0;
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  line-height: 1.4;
}

.ocm-odds-box {
  margin: 8px 16px 12px;
  padding: 10px 12px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.ocm-odds-col {
  padding: 8px 4px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.ocm-odds-col.col-red {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
}

.ocm-odds-col.col-draw {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
}

.ocm-odds-col.col-blue {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
}

.ocm-fighter-label {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85px;
}

.ocm-odds-col.col-red .ocm-fighter-label { color: #DC2626; }
.ocm-odds-col.col-draw .ocm-fighter-label { color: #D97706; }
.ocm-odds-col.col-blue .ocm-fighter-label { color: #2563EB; }

.ocm-odds-num {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.ocm-odds-col.col-red .ocm-odds-num { color: #B91C1C; }
.ocm-odds-col.col-draw .ocm-odds-num { color: #B45309; }
.ocm-odds-col.col-blue .ocm-odds-num { color: #1D4ED8; }

.ocm-meta-info {
  padding: 0 16px 12px;
  font-size: 11.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ocm-action-box {
  margin-top: auto;
  padding: 12px 16px 16px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.ocm-btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #00E676;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.ocm-btn-full:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.35);
  color: #FFFFFF;
}

/* ============================================================
 * 📱 COMPACT MOBILE CARDS OPTIMIZATION (สมดุลบนจอมือถือ)
 * ============================================================ */
@media (max-width: 768px) {
  /* Section Headers & Badges Fluid Sizing */
  .arena-section-head {
    margin-bottom: 14px !important;
  }
  .arena-section-title {
    font-size: clamp(16px, 4.5vw, 20px) !important;
    gap: 6px 8px !important;
    line-height: 1.3 !important;
  }
  .arena-section-title .title-badge {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }
  .arena-card-section {
    margin-bottom: 12px !important;
  }
  .front-rankings-section {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
  }
  .front-rankings-section > .container > div {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  /* แถบตัวกรองเวทีมวยและหมวดหมู่ (Horizontal Scrollable Pills บนมือถือ) */
  .stadium-filter-bar,
  .news-filters {
    gap: 6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .btn-stadium-filter,
  .filter-btn {
    font-size: 11px !important;
    padding: 4px 10px !important;
    white-space: nowrap !important;
  }

  /* 1. Arena Stadium Fights (โปรแกรมมวย & ศึกมวยเด็ด) */
  .event-card-wrapper,
  .arena-stadium-card {
    border-radius: 10px !important;
    margin-bottom: 8px !important;
  }
  .event-card-header,
  .card-header-bar {
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .event-title-group h3 {
    font-size: 13.5px !important;
    margin-bottom: 2px !important;
  }
  .event-meta-info {
    font-size: 10px !important;
    gap: 6px !important;
  }
  .live-channel-badge {
    font-size: 10px !important;
    padding: 2px 8px !important;
  }
  .fight-arena-row {
    grid-template-columns: 1fr 48px 1fr !important;
    padding: 6px 8px !important;
    gap: 4px !important;
    align-items: center !important;
  }
  .arena-vs-col {
    order: 0 !important;
    margin-bottom: 0 !important;
  }
  .vs-circle {
    width: 24px !important;
    height: 24px !important;
    font-size: 9px !important;
    margin-bottom: 1px !important;
  }
  .fight-order-badge {
    display: none !important; /* ซ่อนข้อความยาวใต้ VS บนมือถือ เหลือแค่ VS และพิกัดน้ำหนัก */
  }
  .fight-weight-tag {
    font-size: 8.5px !important;
    margin-top: 1px !important;
  }
  .fighter-info .fighter-name {
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }
  .fighter-info .fighter-camp {
    display: none !important;
  }
  .fighter-odds {
    font-size: 9px !important;
    padding: 1px 4px !important;
    margin-top: 1px !important;
  }
  .fight-verdict-banner {
    padding: 2px 6px !important;
    margin-top: 3px !important;
    font-size: 9px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
    border-radius: 6px !important;
  }
  .fight-verdict-banner span[style*="color: #475569"] {
    display: none !important; /* ซ่อนข้อความบทวิเคราะห์ยาวในจอมือถือ */
  }
  .tip-pill {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
    white-space: nowrap !important;
  }
  .verdict-tag {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
    white-space: nowrap !important;
  }
  .bout-action-row {
    padding-top: 2px !important;
    margin-top: 2px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .bout-action-row span[style*="color: #94A3B8"] {
    display: none !important; /* ซ่อนชื่อศึกซ้ำซ้อนด้านล่าง */
  }
  .btn-open-h2h {
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    white-space: nowrap !important;
  }
  .spike-indicator-tag {
    font-size: 8px !important;
    padding: 1px 4px !important;
    white-space: nowrap !important;
  }

  /* 2. Match Cards (แมตช์ล่าสุด EEAT Verified - 2 คอลัมน์ ต่อ 1 แถว บนมือถือ) */
  .matches-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .muayded-match-card-modern {
    border-radius: 10px !important;
    display: flex;
    flex-direction: column;
  }
  .mmc-header {
    padding: 6px 6px 2px !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
  }
  .mmc-belt-tag,
  .mmc-promo-tag {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
  .mmc-status-tag {
    font-size: 8px !important;
    padding: 1px 5px !important;
  }
  .mmc-title-box {
    padding: 3px 6px !important;
  }
  .mmc-title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  .mmc-sub {
    display: none !important; /* ซ่อนชื่อสนามเวทียาวที่ซ้ำซ้อน */
  }
  .mmc-versus-box {
    margin: 3px 4px 4px !important;
    padding: 5px 6px !important;
    gap: 3px !important;
  }
  .fighter-name {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
  }
  .corner-pill {
    font-size: 8px !important;
    padding: 1px 3px !important;
  }
  .winner-trophy {
    font-size: 8px !important;
  }
  .mmc-vs-circle {
    width: 18px !important;
    height: 18px !important;
    font-size: 7.5px !important;
  }
  .mmc-meta-bar {
    display: none !important; /* ซ่อนแถบพิกัดน้ำหนัก/ป้ายเครดิตด้านล่างในมุมมอง 2 คอลัมน์ */
  }
  .mmc-result-banner {
    padding: 3px 4px !important;
    font-size: 8px !important;
  }
  .mmc-actions {
    padding: 3px 4px 6px !important;
    gap: 3px !important;
    grid-template-columns: 1fr 1fr !important;
    margin-top: auto;
  }
  .mmc-btn {
    padding: 3px 2px !important;
    font-size: 9px !important;
    text-align: center !important;
    border-radius: 5px !important;
  }

  /* 3. Odds Cards (ราคามวยซิงเกิล EEAT Verified - 2 คอลัมน์ ต่อ 1 แถว บนมือถือ) */
  .odds-highlight-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .odds-card-modern {
    border-radius: 10px !important;
    display: flex;
    flex-direction: column;
  }
  .ocm-header {
    padding: 6px 6px 2px !important;
    gap: 3px !important;
  }
  .ocm-badge-single,
  .ocm-ev-badge {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
  .ocm-source-badge {
    display: none !important; /* ซ่อนป้ายกำกับทางเทคนิคเพื่อเพิ่มพื้นที่ */
  }
  .ocm-rating-badge {
    width: 22px !important;
    height: 22px !important;
    font-size: 8px !important;
  }
  .ocm-title-box {
    padding: 3px 6px !important;
  }
  .ocm-title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: auto !important;
  }
  .ocm-sub {
    display: none !important; /* ซ่อนชื่อศึกภาษาไทยซ้ำซ้อน */
  }
  .ocm-odds-box {
    margin: 3px 4px 4px !important;
    padding: 4px 2px !important;
    gap: 2px !important;
  }
  .ocm-odds-col {
    padding: 3px 1px !important;
  }
  .ocm-odds-num {
    font-size: 11.5px !important;
  }
  .ocm-fighter-label {
    font-size: 8.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .ocm-meta-info {
    display: none !important; /* ซ่อนจำนวนค่าย Bookmaker เพื่อลดความสูง */
  }
  .ocm-action-box {
    padding: 3px 4px 6px !important;
    margin-top: auto;
  }
  .ocm-btn-full {
    padding: 4px 4px !important;
    font-size: 9.5px !important;
    border-radius: 5px !important;
    text-align: center !important;
  }

  /* 4. Highlights Video Grid (ไฮไลต์ไฟต์เดือด - 3 คอลัมน์ ต่อ 1 แถว บนมือถือ) */
  .highlights-video-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .video-card-item {
    border-radius: 8px !important;
    display: flex;
    flex-direction: column;
  }
  .video-play-btn {
    width: 28px !important;
    height: 28px !important;
  }
  .video-play-icon {
    border-top-width: 5px !important;
    border-bottom-width: 5px !important;
    border-left-width: 9px !important;
    margin-left: 2px !important;
  }
  .video-card-body {
    padding: 6px 6px 8px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .video-card-meta-top {
    margin-bottom: 4px !important;
  }
  .video-badge {
    font-size: 8px !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
  }
  .video-stats {
    font-size: 8.5px !important;
    display: none !important;
  }
  .video-card-title {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: auto !important;
    word-break: break-word;
  }
  .video-card-footer {
    display: none !important;
  }

  /* 5. Live Scores Cards (ผลมวยสด - 2 คอลัมน์ ต่อ 1 แถว บนมือถือ) */
  .live-fp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .live-fp-card {
    border-radius: 10px !important;
    padding: 8px 8px 10px !important;
    gap: 6px !important;
  }
  .live-fp-card h3 {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .live-fp-scorebox {
    padding: 4px 4px !important;
    gap: 4px !important;
  }
  .live-corner-box {
    padding: 4px 2px !important;
  }
  .live-corner-box div:nth-child(2) {
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .live-corner-box div:nth-child(3) {
    font-size: 15px !important;
  }
  .live-vs-box div:nth-child(1) {
    font-size: 10px !important;
  }
  .live-vs-box div:nth-child(2) {
    font-size: 8px !important;
  }

  /* 6. News & Articles Grid on Mobile (1 แถว 3 คอลัมน์) */
  .news-grid,
  .articles-grid,
  .combat-news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .news-card,
  .article-card,
  .combat-news-card {
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    display: flex;
    flex-direction: column;
  }
  .news-thumb,
  .article-thumb,
  .combat-news-thumb {
    height: 72px !important;
    min-height: 72px !important;
    position: relative;
    overflow: hidden;
  }
  .news-thumb img,
  .article-thumb img,
  .combat-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .news-card-body,
  .article-body,
  .combat-news-body {
    padding: 6px 6px 8px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .news-title,
  .article-title,
  .combat-news-title {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
    font-weight: 700 !important;
    height: auto;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word;
  }
  .news-meta,
  .article-meta,
  .combat-news-meta {
    font-size: 8.5px !important;
    margin-top: auto;
    margin-bottom: 0 !important;
    gap: 3px !important;
    color: #94a3b8 !important;
  }
  .news-meta .meta-source,
  .article-meta .meta-source,
  .combat-news-meta .meta-source {
    font-size: 8px !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: inline-block !important;
  }
  .news-excerpt,
  .article-excerpt,
  .combat-news-desc {
    display: none !important;
  }
  .category-badge,
  .combat-news-badge {
    font-size: 8px !important;
    padding: 1px 4px !important;
    top: 4px !important;
    left: 4px !important;
    border-radius: 3px !important;
  }
  .combat-news-action,
  .card-action-link {
    display: none !important; /* ซ่อนปุ่มอ่านต่อด้านล่างบนมือถือ เพราะการ์ดทั้งใบกดได้อยู่แล้ว */
  }
  /* ซ่อนกล่องข้อความกำกับ YMYL และกล่องแบนเนอร์ EEAT / PDPA ท้ายเว็บเพื่อคืนพื้นที่บนมือถือ */
  .eeat-disclaimer,
  .muayded-footer-compliance-box {
    display: none !important;
  }

  /* หน้าผลมวยสด (archive-live-scores): ย่อ Hero Header ให้เล็ก เหลือแค่หัวข้อ */
  .live-hub-hero {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  .live-hub-hero h1 {
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  .live-hub-hero p,
  .live-hub-hero .live-hub-hero-btns,
  .live-hub-hero > div > div:nth-child(2) {
    display: none !important; /* ซ่อนคำบรรยายยาว และปุ่มทางลัดด้านล่างบนมือถือ */
  }
  .live-hub-hero > div > div:first-child > div:first-child {
    margin-bottom: 4px !important;
    gap: 6px !important;
  }
  .live-hub-hero span[style*="LIVE RADAR ACTIVE"],
  .live-hub-hero span[style*="ซิงค์อัตโนมัติ"] {
    display: none !important; /* ซ่อนป้าย radar และเวลาซิงค์ เหลือเฉพาะป้ายสรุปจำนวนรายการ */
  }
  .live-hub-hero span[style*="ผลการแข่งขัน"] {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }
  .live-hub-responsible-banner,
  .live-hub-eeat-strip {
    display: none !important; /* ซ่อนแบนเนอร์ Responsible Combat Hub 18+ และ EEAT Data Trust Layer บนมือถือ */
  }

  /* หน้าอันดับมวยโลก (/อันดับมวยโลก/): ย่อ Hero Header ให้กะทัดรัด */
  .rankings-hero-card {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  .rankings-hero-title {
    font-size: 16px !important;
    margin: 4px 0 2px !important;
    line-height: 1.3 !important;
  }
  .rankings-hero-desc {
    display: none !important;
  }
  .rankings-hero-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .rankings-date-box {
    padding: 4px 8px !important;
    border-radius: 6px !important;
  }
  .rankings-switcher {
    margin-top: 10px !important;
    padding-top: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .rankings-switch-btn {
    font-size: 11.5px !important;
    padding: 7px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .division-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    font-size: 13px !important;
    color: #64748B !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
  }
  .ranking-card.is-collapsed .ranking-card-content {
    display: none !important;
  }
  .ranking-card.is-collapsed .division-toggle-btn .toggle-icon {
    transform: rotate(-90deg) !important;
  }

  /* หน้าบทความมวย (/บทความ/): ย่อ Hero Header ให้เล็ก เหลือแค่หัวข้อ */
  .articles-hero {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  .articles-hero .page-title {
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  .articles-hero .page-subtitle,
  .articles-hero > div > div:first-child > div:first-child,
  .articles-hero > div > div:nth-child(2) {
    display: none !important; /* ซ่อนคำบรรยายยาว ป้ายแท็ก และปุ่มทางลัดด้านล่างบนมือถือ */
  }

  /* หน้าไฮไลต์มวย (/ไฮไลต์/): ย่อ Hero Header ให้กะทัดรัด เหลือแค่หัวข้อที่จำเป็น */
  .highlights-hero {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  .highlights-hero .page-title {
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  .highlights-hero .page-subtitle,
  .highlights-hero > div > div:first-child > div:first-child,
  .highlights-hero > div > div:nth-child(2) {
    display: none !important; /* ซ่อนคำบรรยายยาว ป้ายแท็กบน และปุ่มทางลัดช่องทางติดตามบนมือถือ */
  }

  /* หน้าราคามวย (/ราคา-มวย/): ย่อ Hero Header ให้เล็ก เหลือแค่หัวข้อ */
  .odds-market-hero {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  .odds-market-hero h1 {
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  .odds-market-hero p,
  .odds-market-hero > div > div:nth-child(2),
  .odds-market-hero > div > div:first-child > div:first-child {
    display: none !important; /* ซ่อนคำบรรยายยาว ป้ายแท็ก และปุ่มทางลัดด้านล่างบนมือถือ */
  }

  /* หน้าโปรแกรมการแข่งขัน (/โปรแกรมมวย/) และหน้าผลแข่งขัน (/ผลมวย/): ซ่อนข้อความบรรยายยาวใต้หัวข้อ */
  .fixtures-page .page-header,
  .live-scores-page .page-header {
    margin-bottom: 12px !important;
  }
  .fixtures-page .page-title,
  .live-scores-page .page-title {
    font-size: 18px !important;
    margin: 0 !important;
  }
  .fixtures-page .page-subtitle,
  .live-scores-page .page-subtitle {
    display: none !important; /* ซ่อนข้อความยาวใต้หัวข้อบนมือถือ */
  }
  .fixtures-page .match-card a {
    padding: 8px 10px !important;
  }
  .fixtures-page .match-teams-centered {
    flex-direction: row !important;
    gap: 8px !important;
    margin: 6px 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .fixtures-page .match-teams-centered .team.home {
    text-align: right !important;
  }
  .fixtures-page .match-teams-centered .team.away {
    text-align: left !important;
  }
  .fixtures-page .match-teams-centered .team-name {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }
  .fixtures-page .match-teams-centered .score-divider {
    padding: 2px 6px !important;
    font-size: 10px !important;
  }
  .fixtures-page .match-title {
    font-size: 11px !important;
    margin-top: 4px !important;
  }

  /* กระชับระยะห่างช่องว่าง (Spacing) บนจอมือถือ */
  .front-live-scores-section {
    margin-top: 16px !important;
    margin-bottom: 20px !important;
  }
  .front-live-scores-section .front-section-head {
    margin-bottom: 10px !important;
    gap: 8px !important;
    align-items: center !important;
  }
  .front-live-scores-section .front-section-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
  .front-live-scores-section .front-section-head > div:first-child > div {
    display: none !important; /* ซ่อนแท็กสนามมวยยาวเพื่อคืนพื้นที่ */
  }
  .front-live-scores-section .front-section-more {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }
  .front-highlights-section {
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
  }
  .front-cta-section {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
  }
  .front-cta-section .cta-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }
  .front-cta-section .cta-title {
    font-size: 16px !important;
    margin: 0 0 4px !important;
  }
  .front-cta-section .cta-sub {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
  }
  .front-cta-section .cta-form {
    display: flex !important;
    gap: 6px !important;
  }
  .front-cta-section .cta-input {
    font-size: 12px !important;
    padding: 6px 10px !important;
    flex: 1 !important;
  }
  .front-cta-section .cta-submit {
    font-size: 12px !important;
    padding: 6px 14px !important;
  }
  .muayded-sat-card {
    margin: 8px 0 !important;
    padding: 10px 12px !important;
  }
  .site-footer {
    padding: 14px 0 10px !important;
    margin-top: 8px !important;
  }
  .footer-copyright {
    margin: 0 0 4px !important;
    font-size: 11px !important;
  }
  .footer-source {
    margin: 0 0 8px !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 600px) {
  /* Extra compact adjustments for small smartphone screens - Always 1 Column for Cards */
  .live-fp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .live-fp-card {
    padding: 8px 8px 10px !important;
  }
  .matches-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .fighter-name {
    font-size: 13px !important;
    max-width: none !important;
    white-space: normal !important;
  }
  .odds-highlight-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .highlights-video-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}

/* ============================================================
   📊 READING PROGRESS BAR & COMPACT BACK TO TOP BUTTON
   ============================================================ */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(226, 232, 240, 0.35);
  z-index: 1000010;
  pointer-events: none;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB 0%, #E11D48 100%);
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.45);
  transition: width 0.1s ease-out;
}

.back-to-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 999995;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.2s ease;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
  background: linear-gradient(135deg, #BE123C 0%, #E11D48 100%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
    right: 14px;
    bottom: calc(126px + env(safe-area-inset-bottom, 0px));
  }
}









