/* =========================================================
   Kèo Thể Thao — skin theo tylekeo.black (ocean mint / light)
   ========================================================= */
:root {
  --primary-color: #079eb4;
  --fs-color-primary: #079eb4;
  --fs-color-secondary: #10263a;
  --fs-color-success: #a6d91f;
  --fs-color-alert: #b20000;
  --fs-color-base: #10263a;

  --tk-primary: #079eb4;
  --tk-primary-dark: #067f94;
  --tk-accent: #a6d91f;
  --tk-bg: #f1f6f9;
  --tk-card: #ffffff;
  --tk-text: #10263a;
  --tk-muted: #667c8f;
  --tk-border: rgba(18, 61, 91, 0.13);
  --tk-shadow: 0 14px 38px rgba(35, 72, 101, 0.09);

  --odds-card-bg: #ffffff;
  --odds-soft-bg: #f7fafc;
  --odds-border: var(--tk-border);
  --odds-text: var(--tk-text);
  --odds-muted: var(--tk-muted);
  --odds-primary: var(--tk-primary);
  --odds-accent: var(--tk-accent);
  --odds-radius: 15px;
  --odds-inner-radius: 12px;
  --odds-title-height: 64px;
  --odds-gap: 18px;
  --odds-shadow: 0 14px 38px rgba(35, 72, 101, 0.08);

  --mkeo-bg: #F4F6F8;
  --mkeo-toolbar: #F4F6F8;
  --mkeo-row: #FFFFFF;
  --mkeo-border: #DCE4EB;
  --mkeo-text: #526174;
  --mkeo-muted: #64748B;
  --mkeo-accent: #007F65;
  --mkeo-on-accent: #ffffff;
}

html, body {
  background: var(--tk-bg) !important;
  color: var(--tk-text);
  font-family: Inter, Montserrat, system-ui, sans-serif !important;
  font-weight: 500;
}
#wrapper, .page-wrapper, .content-area { background: transparent !important; }
#main {
  min-height: 600px;
  background:
    radial-gradient(circle at 5% 0%, rgba(7, 158, 180, 0.08), transparent 28%),
    linear-gradient(180deg, #f9fcfe 0%, #f1f6f9 55%, #edf4f8 100%) !important;
}
/* Chỉ ẩn title Flatsome trên trang sport/home — giữ entry-header bài viết */
.page-title-wrapper, .page-title, .breadcrumbs { display: none !important; }
body.home .entry-header,
body.page-template-page-sport .entry-header { display: none !important; }
.container-width, .container, .row { max-width: 1280px; }

/* ===== Top bar (light mint like tylekeo) ===== */
.header-top, #top-bar {
  background: #e8f8fa !important;
  min-height: 38px !important;
  display: block !important;
  border-bottom: 1px solid rgba(7, 158, 180, 0.14) !important;
  color: #276473 !important;
}
.header-top, .header-top a, #top-bar, #top-bar a {
  color: var(--tk-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.header-top a:hover { color: var(--tk-primary) !important; }

.tk-live-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--tk-text) !important;
}
.tk-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a765;
  box-shadow: 0 0 0 5px rgba(22, 167, 101, 0.10);
  animation: tk-live-pulse 1.6s infinite;
  display: inline-block;
}
@keyframes tk-live-pulse {
  50% { box-shadow: 0 0 0 9px rgba(22, 167, 101, 0); }
}

/* ===== Header main ===== */
.header-wrapper, .header-main, #header, .header {
  background: rgba(255,255,255,.96) !important;
  border: none !important;
}
.header-main {
  min-height: 78px !important;
  height: auto !important;
  border-bottom: 1px solid var(--tk-border) !important;
  box-shadow: 0 7px 25px rgba(35, 72, 101, 0.06) !important;
}
.header-main .nav > li > a {
  color: var(--tk-text) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0 12px !important;
}
.header-main .nav > li > a:hover,
.header-main .nav > li.current-menu-item > a {
  color: var(--tk-primary) !important;
}
.header-main .nav > li.current-menu-item > a::after { display: none !important; }

#logo { width: 180px !important; margin: 0 12px 0 0 !important; }
#logo img.header-logo-dark, #logo img.header-logo-sticky, .header-logo-dark, .header-logo-sticky { display: none !important; }
#logo img.header_logo, #logo img.header-logo {
  display: inline-block !important;
  max-height: 54px !important;
  width: auto !important;
}
.header-nav .header_logo, .header-nav a[rel="home"] img { display: none !important; }
.header-cart-link, .header-account-link { display: none !important; }
.keo-header-pills { display: none !important; }

/* Header bottom */
#wide-nav.header-bottom, .header-bottom.wide-nav {
  background: rgba(255,255,255,.97) !important;
  border-top: none !important;
  border-bottom: 1px solid var(--tk-border) !important;
  min-height: 50px !important;
  box-shadow: 0 7px 20px rgba(35, 72, 101, 0.05) !important;
}
.header-bottom .nav > li > a {
  color: #536b7d !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  padding: 15px 11px !important;
  line-height: 1.2 !important;
  position: relative;
}
.header-bottom .nav > li > a:hover,
.header-bottom .nav > li.current-menu-item > a {
  color: var(--tk-primary) !important;
  background: transparent !important;
}
.header-bottom .nav > li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--tk-primary), var(--tk-accent));
  border-radius: 99px;
}

/* ===== Layout shells ===== */
.tk-page { padding: 0 0 48px; }
.tk-container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }

/* Hero — light like tylekeo */
.tk-hero-section { padding: 28px 0 10px; }
.tk-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: center;
}
.tk-hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 850;
  color: var(--tk-text);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
}
.tk-hero-copy p {
  margin: 0 0 16px;
  color: var(--tk-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
}
.tk-hero-copy p a { color: var(--tk-primary); font-weight: 700; text-decoration: none; }
.tk-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tk-hero__actions a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 8px;
  font-size: 13.5px; font-weight: 800;
  text-decoration: none !important;
  min-width: 160px;
}
.tk-btn-primary {
  background: linear-gradient(135deg, var(--tk-primary), var(--tk-primary-dark));
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(7, 158, 180, 0.25);
}
.tk-btn-outline {
  background: rgba(255,255,255,.82);
  color: var(--tk-text) !important;
  border: 1px solid var(--tk-border);
}
.tk-btn-outline:hover { color: var(--tk-primary) !important; background: #fff; }

.tk-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}
.tk-hero-stat {
  position: relative;
  min-height: 94px;
  padding: 15px 14px 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.66));
  border: 1px solid rgba(18, 61, 91, 0.10);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(35, 72, 101, 0.06), inset 0 1px 0 rgba(255,255,255,.60);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tk-hero-stat::before {
  content: "";
  position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: linear-gradient(90deg, var(--tk-primary), #58cbd6 55%, var(--tk-accent));
  border-radius: 99px;
}
.tk-hero-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 158, 180, 0.23);
  box-shadow: 0 11px 24px rgba(35, 72, 101, 0.10), inset 0 1px 0 rgba(255,255,255,.66);
}
.tk-hero-stat-badge {
  position: absolute; top: 10px; right: 10px;
  min-height: 18px; padding: 0 7px;
  display: inline-flex; align-items: center;
  color: var(--tk-primary);
  background: rgba(7, 158, 180, 0.07);
  border: 1px solid rgba(7, 158, 180, 0.12);
  border-radius: 99px;
  font-size: 8px; font-weight: 800; letter-spacing: .6px;
}
.tk-hero-stat strong {
  display: block; max-width: calc(100% - 48px); margin: 0 0 7px;
  color: var(--tk-text); font-size: 29px; font-weight: 850; line-height: 1; letter-spacing: -.8px;
}
.tk-hero-stat-label {
  display: block; color: var(--tk-text); font-size: 12.5px; font-weight: 650; line-height: 1.35;
}

.tk-hero-media img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 40px rgba(35, 72, 101, 0.18));
}

/* Odds area */
.tk-odds-section { padding: 18px 0 28px; }
.tk-odds-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--odds-gap);
  align-items: start;
}
.tk-odds-card, .tk-side-card {
  background: var(--odds-card-bg);
  border: 1px solid var(--odds-border);
  border-radius: var(--odds-radius);
  box-shadow: var(--odds-shadow);
  overflow: hidden;
}
.tk-side-card + .tk-side-card { margin-top: var(--odds-gap); }

.odds-title-row, .widget-title-row {
  min-height: var(--odds-title-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border-bottom: 1px solid var(--odds-border);
  margin: 0 !important;
}
.odds-title-row .widget-title {
  margin: 0;
  color: var(--odds-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  text-transform: none;
}
.odds-title-desc {
  font-size: 12.5px;
  color: var(--odds-muted);
  font-weight: 600;
}
.odds-update, .widget-label {
  flex: 0 0 auto;
  color: var(--odds-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.tk-board {
  background: var(--mkeo-bg);
  padding: 10px;
}

/* Restyle keo boards → ocean-mint */
.keo-fa-board, .keo-ls {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: Inter, Montserrat, system-ui, sans-serif !important;
  color: var(--mkeo-text) !important;
}
.keo-fa-toolbar, .keo-ls__bar, .keo-ls__intro {
  background: var(--mkeo-toolbar) !important;
  border-color: var(--mkeo-border) !important;
}
.keo-fa-badge, .keo-ls__tabs button.is-active {
  background: var(--mkeo-accent) !important;
  color: #fff !important;
  border-color: var(--mkeo-accent) !important;
  border-radius: 6px !important;
}
.keo-ls__tabs button {
  border-radius: 6px !important;
  border-color: var(--mkeo-border) !important;
}
.keo-fa-league__title, .keo-ls__league-h {
  background: #e8f8f0 !important;
  border-color: #d5ddd9 !important;
  color: #161a18 !important;
  border-radius: 8px !important;
}
.keo-fa-row, .keo-ls__row {
  background: var(--mkeo-row) !important;
  border-color: var(--mkeo-border) !important;
  border-radius: 8px !important;
}
.keo-fa-row.is-live, .keo-ls__row.is-live { background: #f0fbf6 !important; }
.keo-fa-row .c-score, .keo-ls__row .c-score,
.keo-fa-row.is-live .c-time, .keo-ls__row.is-live .c-time {
  color: var(--mkeo-accent) !important;
  font-weight: 800 !important;
}
.keo-ls__feature { background: #10263a !important; }
.keo-ls__pitch .min, .keo-ls__side-odds .panel-h { color: #a6d91f !important; }

/* Sidebar */
.tk-quick-links { display: grid; padding: 8px; gap: 6px; }
.tk-quick-links a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-radius: 11px;
  text-decoration: none !important;
  color: var(--tk-text) !important;
  background: var(--odds-soft-bg);
  border: 1px solid transparent;
  transition: border-color .15s ease, transform .15s ease;
}
.tk-quick-links a:hover {
  border-color: rgba(7, 158, 180, 0.28);
  transform: translateY(-1px);
}
.tk-quick-links strong { font-size: 13.5px; font-weight: 800; color: var(--tk-text); }
.tk-quick-links span { font-size: 12px; color: var(--tk-muted); font-weight: 600; }

.tk-side-news { list-style: none; margin: 0; padding: 6px 8px 12px; }
.tk-side-news li { border-bottom: 1px solid var(--tk-border); }
.tk-side-news li:last-child { border-bottom: none; }
.tk-side-news a {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  padding: 11px 8px; text-decoration: none !important; color: var(--tk-text) !important;
}
.tk-side-news__title { font-size: 13px; font-weight: 700; line-height: 1.4; }
.tk-side-news time { flex: 0 0 auto; font-size: 11px; color: var(--tk-muted); font-weight: 700; }
.tk-side-news .is-empty { padding: 14px; color: var(--tk-muted); font-size: 13px; }

/* Inner sport pages */
.tk-page-head { margin: 18px 0 0 !important; border-radius: var(--odds-radius) var(--odds-radius) 0 0; }
.tk-page > .tk-container > .tk-board {
  background: var(--odds-card-bg);
  border: 1px solid var(--odds-border);
  border-top: none;
  border-radius: 0 0 var(--odds-radius) var(--odds-radius);
  box-shadow: var(--odds-shadow);
  padding: 10px;
  margin-bottom: 28px;
}
.tk-page > .tk-container > .tk-page-head + .tk-board {
  /* title + board as one card */
}
.tk-page > .tk-container {
  display: flex;
  flex-direction: column;
}
.tk-page > .tk-container > .odds-title-row {
  border: 1px solid var(--odds-border);
  border-bottom: 1px solid var(--odds-border);
  border-radius: var(--odds-radius) var(--odds-radius) 0 0;
  box-shadow: none;
}
.tk-page > .tk-container > .odds-title-row + .tk-board {
  border: 1px solid var(--odds-border);
  border-top: none;
  border-radius: 0 0 var(--odds-radius) var(--odds-radius);
  box-shadow: var(--odds-shadow);
  background: var(--mkeo-bg);
}

a { color: var(--tk-primary); }
.button.primary, .primary:not(.is-outline) {
  background: var(--tk-primary) !important;
  border-color: var(--tk-primary) !important;
}

@media (max-width: 999px) {
  .tk-odds-grid { grid-template-columns: 1fr; }
  .tk-hero-grid { grid-template-columns: 1fr; }
  .tk-hero-media { display: none; }
}
@media (max-width: 849px) {
  .header-main { min-height: 64px !important; }
  #logo img.header_logo, #logo img.header-logo { max-height: 44px !important; }
  .tk-hero-stat strong { font-size: 22px; }
}
@media (max-width: 549px) {
  .tk-hero-stats { grid-template-columns: 1fr; }
  .odds-title-row { padding: 12px 14px; min-height: 0; align-items: flex-start; flex-direction: column; }
  .odds-title-row .widget-title { font-size: 16px; }
}


.tk-inner-card { margin: 22px 0 28px; }
.tk-inner-card .tk-board { background: var(--mkeo-bg); padding: 10px; }
.tk-inner-card .odds-title-row { border-radius: 0; border: none; border-bottom: 1px solid var(--odds-border); }

/* =========================================================
   FOOTER — kiểu tylekeo.black
   ========================================================= */
#footer.footer-wrapper,
.footer-wrapper {
  color: var(--tk-text);
  background: linear-gradient(180deg, #edf6fa 0%, #e7f1f5 55%, #e1edf2 100%) !important;
  border-top: 1px solid var(--tk-border);
}

#footer .footer-1,
#footer .footer-2 {
  display: none !important;
}

#footer .absolute-footer {
  display: none !important;
}

.tk-footer-block {
  padding: 42px 0 0;
  background: transparent;
}

.tk-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr));
  gap: 28px 22px;
  align-items: flex-start;
  padding-bottom: 8px;
}

.tk-footer-logo {
  display: inline-block;
  margin: 0 0 14px;
}
.tk-footer-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.tk-footer-brand p {
  margin: 0;
  max-width: 450px;
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.65;
}
.tk-footer-brand p strong {
  color: var(--tk-text);
  font-weight: 800;
}

.tk-footer-col .widget-title {
  display: block;
  margin: 0 0 15px;
  color: var(--tk-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.tk-footer-col .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tk-footer-col .menu > li {
  margin: 0;
  padding: 0;
  border: 0;
}
.tk-footer-col .menu > li + li { margin-top: 9px; }
.tk-footer-col .menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--tk-muted) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none !important;
  border: 0;
  transition: color .2s ease, transform .2s ease;
}
.tk-footer-col .menu > li > a::before,
.tk-footer-col .menu > li > a::after { display: none !important; }
.tk-footer-col .menu > li > a:hover {
  color: var(--tk-primary) !important;
  transform: translateX(2px);
}

.tk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 64px;
  margin-top: 34px;
  padding: 19px 0 22px;
  border-top: 1px solid var(--tk-border);
}
.tk-footer-bottom p {
  margin: 0;
  color: var(--tk-muted);
  font-size: 12px;
  line-height: 1.5;
}
.tk-footer-bottom p:last-child {
  text-align: right;
  margin-left: auto;
}

/* back to top — soft teal */
#top-link.back-to-top {
  border-color: rgba(7, 158, 180, 0.35) !important;
  color: var(--tk-primary) !important;
  background: #fff !important;
}

@media (max-width: 999px) {
  .tk-footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .tk-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 549px) {
  .tk-footer-block { padding-top: 32px; }
  .tk-footer-main { grid-template-columns: 1fr; gap: 22px; }
  .tk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 22px;
    padding-top: 16px;
  }
  .tk-footer-bottom p:last-child {
    text-align: left;
    margin-left: 0;
  }
}


/* header-bottom — 1 hàng chuyên mục kiểu tylekeo */
#wide-nav.header-bottom,
.header-bottom.wide-nav {
  position: relative !important;
  z-index: 20;
  overflow: hidden !important;
  height: auto !important;
  min-height: 50px !important;
}
.header-bottom .flex-row {
  position: relative !important;
  height: auto !important;
  min-height: 50px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}
.header-bottom .flex-row::before { display: none !important; content: none !important; }
.header-bottom .header-bottom-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0;
  width: 100%;
}
.header-bottom .nav > li {
  flex: 0 0 auto;
}
.header-bottom .nav > li > a {
  white-space: nowrap !important;
  line-height: 50px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #536b7d !important;
}
.header-bottom .nav > li > a:hover,
.header-bottom .nav > li.current-menu-item > a {
  color: var(--tk-primary) !important;
}
.header-bottom .nav > li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--tk-primary), var(--tk-accent));
  border-radius: 99px;
}
.header-bottom .nav > li > a {
  position: relative;
}

/* Blog / tin tức layout */
body.blog #main,
body.archive #main,
body.single-post #main {
  padding-top: 12px;
}
body.blog .blog-wrapper,
body.archive .blog-wrapper {
  position: relative;
  z-index: 1;
  clear: both;
}
body.blog .entry-header,
body.single-post .entry-header {
  display: block !important;
  margin-bottom: 10px;
}
body.blog .entry-header .entry-title,
body.single-post .entry-header .entry-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tk-text);
  margin: 0 0 6px;
}
body.blog article.post,
body.archive article.post {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 18px 18px 14px;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(35, 72, 101, 0.05);
}
body.blog .entry-content,
body.blog .entry-summary {
  color: var(--tk-muted);
  font-size: 14px;
  line-height: 1.65;
}
/* Soften Flatsome "read more" teal blocks */
body.blog .more-link,
body.blog a.button.primary {
  display: inline-flex !important;
  margin-top: 10px;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}


/* header search tylekeo */
.header-main form.searchform {
  width: 100%;
  height: 40px;
  margin: 0 12px !important;
  background: #f3f7fa !important;
  border: 1px solid rgba(84, 119, 145, 0.16) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75) !important;
  overflow: hidden;
}
.header-main form.searchform .search-field {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 38px !important;
  font-size: 13px !important;
  color: var(--tk-text) !important;
}
.header-main form.searchform .ux-search-submit {
  background: var(--tk-primary) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 0 !important;
  min-width: 42px;
}
.header-main .header-button-1 .button {
  border-radius: 99px !important;
  font-weight: 800 !important;
  padding: 0 18px !important;
  min-height: 40px;
  background: var(--tk-primary) !important;
  border-color: var(--tk-primary) !important;
}
/* Ẩn nav chính trên header-main nếu còn sót */
.header-main .header-nav-main.nav > li.menu-item { display: none !important; }


/* ===== Header exact tylekeo ===== */
#wide-nav.header-bottom,
.header-bottom.wide-nav {
  background: rgba(255,255,255,.97) !important;
}
.header-top .nav-divided > li + li,
.header-top .nav > li + li {
  border: 0 !important;
}
.header-top .top-bar-nav > li > a {
  color: var(--tk-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  opacity: .9;
}
.header-top .top-bar-nav > li > a:hover {
  color: var(--tk-primary) !important;
}

/* Lime CTA */
.header-main .header-button-1 .button,
.header-main .header-button-1 .button.secondary {
  background: #a6d91f !important;
  border-color: #a6d91f !important;
  color: #10263a !important;
  border-radius: 99px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(166, 217, 31, 0.35);
}
.header-main .header-button-1 .button:hover {
  filter: brightness(0.96);
}

/* Search placeholder polish */
.header-main form.searchform {
  max-width: none;
  width: 100%;
  flex: 1 1 auto;
}
.header-main .flex-left.flex-grow,
.header-main .header-nav-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* Chips bên phải menu dưới */
.tk-header-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.tk-header-chip {
  min-height: 36px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tk-text) !important;
  background: rgba(246, 250, 252, 0.92);
  border: 1px solid var(--tk-border);
  border-radius: 9px;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.tk-header-chip:hover {
  color: var(--tk-primary) !important;
  background: #fff;
  border-color: rgba(7, 158, 180, 0.27);
  transform: translateY(-1px);
}
.tk-header-chip-text { display: block; line-height: 1.15; }
.tk-header-chip-text strong,
.tk-header-chip-text small { display: block; white-space: nowrap; }
.tk-header-chip-text strong {
  font-size: 10px; font-weight: 850; line-height: 1.25; color: inherit;
}
.tk-header-chip-text small {
  margin-top: 1px; color: var(--tk-muted); font-size: 8px; font-weight: 600;
}
.tk-header-live-dot {
  flex: 0 0 auto; width: 8px; height: 8px;
  background: #16a765; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 167, 101, 0.10);
  animation: tk-header-live-pulse 1.6s ease-in-out infinite;
}
@keyframes tk-header-live-pulse {
  50% { box-shadow: 0 0 0 8px rgba(22, 167, 101, 0); }
}
.tk-header-chip.is-live {
  background: linear-gradient(135deg, rgba(7,158,180,.10), rgba(22,167,101,.08));
  border-color: rgba(7, 158, 180, 0.22);
}
.tk-header-chip.is-worldcup {
  padding-right: 12px;
  background: linear-gradient(135deg, rgba(7,158,180,.065), rgba(166,217,31,.06));
}
.tk-header-ball {
  flex: 0 0 auto; width: 26px; height: 26px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid rgba(18,61,91,.10);
  border-radius: 50%; font-size: 14px; line-height: 1;
}
.header-bottom .flex-right { margin-left: auto; }
.header-bottom .header-inner,
.header-bottom .flex-row { align-items: center; }

@media (max-width: 1100px) {
  .tk-header-chip.is-live { display: none; }
}
@media (max-width: 849px) {
  .tk-header-quick { display: none !important; }
}




/* =========================================================
   HEADER BALANCE — logo | search full mid | CTA (tylekeo)
   ========================================================= */
.header-main {
  min-height: 78px !important;
}
.header-main .header-inner.flex-row {
  max-width: 1280px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px;
  padding-left: 15px;
  padding-right: 15px;
  min-height: 78px;
}
.header-main #logo.flex-col.logo {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 200px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}
.header-main #logo img.header_logo,
.header-main #logo img.header-logo {
  max-height: 52px !important;
  width: auto !important;
  display: block !important;
}
/* Cột giữa chiếm hết khoảng trống */
.header-main .flex-col.hide-for-medium.flex-left.flex-grow {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.header-main .header-nav-main.nav-left {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.header-main .header-search-form,
.header-main .header-search-form-wrapper,
.header-main .searchform-wrapper {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}
.header-main form.searchform {
  width: 100% !important;
  max-width: none !important;
  height: 42px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  background: #f3f7fa !important;
  border: 1px solid rgba(84, 119, 145, 0.16) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75) !important;
  overflow: hidden !important;
}
.header-main form.searchform > .flex-row {
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
}
.header-main form.searchform .search-field {
  height: 40px !important;
  min-height: 40px !important;
  line-height: 40px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.header-main form.searchform .ux-search-submit {
  height: 42px !important;
  min-width: 46px !important;
  background: var(--tk-primary) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  margin: 0 !important;
}
/* CTA sát phải, cùng trục dọc */
.header-main .flex-col.hide-for-medium.flex-right {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  margin-left: 0 !important;
}
.header-main .header-button-1,
.header-main .header-button {
  display: flex;
  align-items: center;
  margin: 0 !important;
}
.header-main .header-button-1 .button {
  min-height: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap;
}

/* Bottom nav cùng bề rộng container */
#wide-nav.header-bottom .flex-row,
.header-bottom .flex-row {
  max-width: 1280px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  align-items: center !important;
  min-height: 50px;
}
.header-top .flex-row.container {
  max-width: 1280px !important;
}

@media (max-width: 849px) {
  .header-main .header-inner.flex-row { min-height: 64px; gap: 8px; }
  .header-main #logo img.header_logo,
  .header-main #logo img.header-logo { max-height: 44px !important; }
}
