/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--zb-topbar-bg);
  border-bottom: 1px solid var(--zb-border);
  box-shadow: var(--zb-shadow);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.brand {
  flex-shrink: 0;
}

.brand a,
.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.logo-box {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-item > a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--zb-radius);
  transition: background 0.15s, color 0.15s;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--zb-accent);
  background: var(--zb-accent-soft);
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  padding: 6px 0;
  background: var(--zb-bg-elevated);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  box-shadow: var(--zb-shadow);
  z-index: 100;
}

.nav-item:hover .sub-nav {
  display: block;
}

.sub-nav li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.sub-nav li a:hover,
.sub-nav li.active a {
  color: var(--zb-accent);
  background: var(--zb-bg-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--zb-text);
  border-radius: 1px;
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  background: var(--zb-bg-elevated);
  border-bottom: 1px solid var(--zb-border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--zb-text-muted);
}

.breadcrumb a:hover {
  color: var(--zb-accent);
}

/* ===== Layout ===== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  padding: 20px 0 40px;
  align-items: start;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head h2,
.section-head h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--zb-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--zb-accent);
}

/* ===== News carousel ===== */
.top-news-carousel {
  position: relative;
  overflow: hidden;
  background: #050a16;
}

.carousel-track {
  position: relative;
  height: 320px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-color: #050a16;
  background-size: cover;
  background-position: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-link {
  display: block;
  height: 100%;
  color: #fff;
}

.slide-link:hover {
  color: #fff;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 48px 0 56px;
}

.slide-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--zb-accent);
  background: rgba(212, 160, 23, 0.2);
  border-radius: var(--zb-radius-pill);
}

.slide-content h2 {
  max-width: 760px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
}

.slide-content p:last-child {
  margin-top: 10px;
  max-width: 640px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(5, 10, 22, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.carousel-btn:hover {
  background: rgba(212, 160, 23, 0.85);
  border-color: var(--zb-accent);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.carousel-dot.is-active {
  background: var(--zb-accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-track,
  .slide-content {
    min-height: 240px;
    height: 240px;
  }

  .slide-content {
    padding: 32px 0 48px;
  }

  .carousel-btn {
    display: none;
  }
}

/* ===== Hot carousel ===== */
#hot-games {
  padding: 20px 0 0;
}

.hot-carousel {
  position: relative;
  margin-top: 12px;
}

.hot-viewport {
  overflow: hidden;
}

.hot-list {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
}

.hot-row,
.match-row {
  display: grid;
  grid-template-columns: minmax(0, 100px) minmax(0, 70px) minmax(0, 1fr) minmax(0, 60px) minmax(0, 1fr) minmax(0, 80px) minmax(0, 90px);
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}

.hot-row {
  flex: 0 0 calc(50% - 6px);
  min-width: 0;
  grid-template-columns: minmax(0, 72px) minmax(0, 50px) minmax(0, 1fr) minmax(0, 38px) minmax(0, 1fr) minmax(0, 58px) minmax(0, 72px);
  gap: 6px;
  padding: 10px 8px;
}

.match-row:hover,
.hot-row:hover {
  border-color: var(--zb-accent);
  box-shadow: var(--zb-shadow);
}

.hot-row.is-hidden,
.match-row.is-hidden {
  display: none !important;
}

.league-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mini-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.league-name {
  font-size: 12px;
  color: var(--zb-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-time {
  font-size: 13px;
  color: var(--zb-text-muted);
  text-align: center;
}

.team-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-pair-home {
  justify-content: flex-end;
}

.team-pair-away {
  justify-content: flex-start;
}

.team-home,
.team-away {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-pair-home .team-home {
  text-align: right;
}

.team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.score,
.score.bf {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--zb-accent);
}

.row-status {
  text-align: center;
  font-size: 12px;
  min-width: 0;
}

.row-status.is-live a,
.row-status a:hover {
  color: var(--zb-live);
}

.room-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  max-width: 86px;
  box-sizing: border-box;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  background: linear-gradient(135deg, var(--zb-accent), var(--zb-accent-hover));
  border-radius: var(--zb-radius-pill);
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
}

.hot-row .league-name,
.hot-row .match-time,
.hot-row .team-home,
.hot-row .team-away,
.hot-row .row-status {
  font-size: 12px;
}

.hot-row .room-btn {
  max-width: 68px;
  padding: 5px 6px;
  font-size: 11px;
}

.room-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #1a1a1a;
}

.hot-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--zb-border);
  border-radius: 50%;
  background: var(--zb-bg-elevated);
  color: var(--zb-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s, color 0.15s;
}

.hot-carousel-btn:hover {
  background: var(--zb-accent);
  color: #1a1a1a;
  border-color: var(--zb-accent);
}

.hot-carousel-btn.prev {
  left: -12px;
}

.hot-carousel-btn.next {
  right: -12px;
}

.hot-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.hot-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zb-border);
  cursor: pointer;
  transition: background 0.15s;
}

.hot-carousel-dots .dot.active {
  background: var(--zb-accent);
}

/* ===== League tabs ===== */
.league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.league-tab {
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius-pill);
  background: var(--zb-bg-elevated);
  color: var(--zb-text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.league-tab:hover,
.league-tab.active {
  color: var(--zb-accent);
  border-color: var(--zb-accent);
  background: var(--zb-accent-soft);
}

/* ===== Match list ===== */
.match-section {
  padding-bottom: 20px;
}

.match-panel {
  min-width: 0;
}

.day-block {
  margin-bottom: 20px;
}

.day-heading {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zb-accent);
  background: var(--zb-accent-soft);
  border-radius: var(--zb-radius);
  margin-bottom: 8px;
}

.day-list-title {
  font-size: 12px;
  color: var(--zb-text-dim);
  margin-bottom: 8px;
  padding-left: 4px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-load-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--zb-accent);
  background: var(--zb-bg-elevated);
  border: 1px dashed var(--zb-border);
  border-radius: var(--zb-radius);
  cursor: pointer;
  transition: background 0.15s;
}

.match-load-more:hover {
  background: var(--zb-accent-soft);
}

/* ===== Live detail ===== */
.live-room-page .live-room-main {
  padding-bottom: 40px;
}

.live-scoreboard {
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.live-scoreboard-inner {
  text-align: center;
}

.live-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--zb-text-muted);
  background: var(--zb-bg-hover);
  border-radius: var(--zb-radius-pill);
  margin-bottom: 16px;
}

.live-scoreboard-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.live-scoreboard-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 180px;
}

.team-logo-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--zb-bg-hover);
  border: 2px solid var(--zb-border);
}

.team-logo-lg {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.team-name-lg {
  font-size: 16px;
  font-weight: 700;
}

.live-score-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 36px;
  font-weight: 800;
  color: var(--zb-accent);
}

.live-scoreboard-status {
  margin-top: 14px;
}

.live-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--zb-live);
  background: var(--zb-live-soft);
  border-radius: var(--zb-radius-pill);
}

.live-signals-panel {
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  padding: 20px;
  margin-bottom: 16px;
}

.live-signals-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.live-signals-icon {
  color: var(--zb-live);
  font-size: 10px;
}

.live-signal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-signal-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  background: linear-gradient(135deg, #e6c04a, #c9a017);
  border-radius: var(--zb-radius-pill);
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.live-signal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.45);
  color: #1a1a1a;
}

.live-signals-backup {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--zb-border);
}

.live-signals-backup-label {
  font-size: 13px;
  color: var(--zb-text-muted);
  margin-bottom: 8px;
}

.live-signal-btns-sm .live-signal-btn {
  padding: 6px 14px;
  font-size: 12px;
}

.live-signal-iframe-wrap iframe {
  width: 100%;
  border: none;
  min-height: 44px;
}

.countdown-bar {
  padding: 12px;
  text-align: center;
  font-size: 16px;
  color: var(--zb-text);
  background: var(--zb-bg-hover);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  margin-bottom: 16px;
}

.live-match-intro {
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  padding: 20px;
  margin-bottom: 16px;
}

.live-match-intro h2 {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zb-border);
}

.intro-meta p,
.intro-body p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--zb-text-muted);
  line-height: 1.7;
}

.intro-meta strong {
  color: var(--zb-text);
}

.intro-search-links a {
  display: inline-block;
  margin-right: 12px;
  font-size: 13px;
  color: var(--zb-accent);
}

.intro-league-row a {
  font-size: 13px;
  color: var(--zb-accent);
}

.intro-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.intro-tag-grid a {
  padding: 4px 10px;
  font-size: 12px;
  background: var(--zb-bg-hover);
  border-radius: var(--zb-radius-pill);
  color: var(--zb-text-muted);
}

.hash-chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  background: var(--zb-accent-soft);
  color: var(--zb-accent);
  border-radius: var(--zb-radius-pill);
}

.intro-footer-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--zb-border);
  font-size: 13px;
  color: var(--zb-text-muted);
}

.url-box a {
  color: var(--zb-accent);
  word-break: break-all;
}

.intro-disclaimer {
  font-size: 12px;
  color: var(--zb-text-dim);
  margin-top: 8px;
}

/* Hidden zhibo_btn for urls_run.js */
.zhibo_btn {
  display: none !important;
}

/* ===== League catalog (teams) ===== */
.league-catalog-panel {
  min-width: 0;
}

.league-catalog-section {
  margin-bottom: 28px;
}

.league-catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.league-catalog-head h2 {
  font-size: 18px;
  font-weight: 700;
}

.league-catalog-head a {
  font-size: 13px;
  color: var(--zb-accent);
}

.league-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.league-catalog-grid a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  text-align: center;
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.league-catalog-grid a:hover {
  border-color: var(--zb-accent);
  color: var(--zb-accent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  transition: border-color 0.15s;
}

.team-card:hover {
  border-color: var(--zb-accent);
}

.team-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.team-card span {
  font-size: 13px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ===== Sidebar panels ===== */
.news-panel {
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  padding: 14px;
}

.sidebar-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sidebar-panel-title {
  font-size: 15px;
  font-weight: 700;
}

.sidebar-panel-more,
.sidebar-more a {
  font-size: 12px;
  color: var(--zb-accent);
}

.sidebar-panel-desc {
  font-size: 12px;
  color: var(--zb-text-dim);
  margin-bottom: 8px;
}

.sidebar-league-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-league-pill {
  padding: 4px 10px;
  font-size: 12px;
  background: var(--zb-bg-hover);
  border-radius: var(--zb-radius-pill);
  color: var(--zb-text-muted);
  transition: all 0.15s;
}

.sidebar-league-pill:hover {
  color: var(--zb-accent);
  background: var(--zb-accent-soft);
}

.news-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--zb-border);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--zb-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover {
  color: var(--zb-accent);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  padding: 4px 10px;
  font-size: 12px;
  background: var(--zb-bg-hover);
  border-radius: var(--zb-radius-pill);
  color: var(--zb-text-muted);
}

.tag-chip:hover {
  color: var(--zb-accent);
  background: var(--zb-accent-soft);
}

/* ===== Article / detail ===== */
.detail-card {
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.detail-card h1 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--zb-text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zb-border);
}

.detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--zb-text);
}

.detail-body img {
  max-width: 100%;
  height: auto;
}

.detail-nav {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--zb-border);
  font-size: 13px;
  color: var(--zb-text-muted);
}

.detail-nav p {
  margin-bottom: 6px;
}

.detail-nav a {
  color: var(--zb-accent);
}

.team-detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--zb-bg-card);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  margin-bottom: 16px;
}

.team-detail-head img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.team-detail-info h1 {
  font-size: 22px;
  margin-bottom: 4px;
}

.team-detail-info p {
  font-size: 13px;
  color: var(--zb-text-muted);
}

.label-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.label-tags span {
  font-size: 13px;
  color: var(--zb-text-muted);
}

.label-tags a {
  padding: 3px 10px;
  font-size: 12px;
  background: var(--zb-accent-soft);
  color: var(--zb-accent);
  border-radius: var(--zb-radius-pill);
}

.page-info {
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  color: var(--zb-text-muted);
}

.page-info a {
  color: var(--zb-accent);
  margin: 0 4px;
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
}

.footer-dark {
  background: var(--zb-footer-bg);
  color: #c9d1d9;
  padding: 24px 0;
}

.footer-inner {
  text-align: center;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #8b949e;
}

.footer-desc a {
  color: var(--zb-accent);
}

.footer-copy {
  font-size: 12px;
  color: #6e7681;
}

.footer-copy a {
  color: var(--zb-accent);
  margin: 0 4px;
}

/* ===== Side tools ===== */
.side-tools {
  position: fixed;
  right: 16px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 999;
}

.side-tool-btn {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--zb-text);
  background: var(--zb-bg-elevated);
  border: 1px solid var(--zb-border);
  border-radius: var(--zb-radius);
  cursor: pointer;
  box-shadow: var(--zb-shadow);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.side-tool-btn:hover {
  background: var(--zb-accent);
  color: #1a1a1a;
  border-color: var(--zb-accent);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hot-row {
    flex: 0 0 calc(100% - 6px);
  }

  .hot-row,
  .match-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 6px;
  }

  .league-cell {
    grid-column: 1 / -1;
  }

  .match-time {
    grid-column: 1;
  }

  .row-status {
    grid-column: 2;
    text-align: right;
  }

  .team-pair-home {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .score {
    grid-column: 1 / -1;
  }

  .team-pair-away {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .room-btn {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--zb-bg-elevated);
    border-bottom: 1px solid var(--zb-border);
    padding: 12px;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-nav {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: 16px;
    background: transparent;
  }

  .nav-item:hover .sub-nav {
    display: block;
  }

  .live-scoreboard-row {
    flex-direction: column;
    gap: 12px;
  }

  .side-tools {
    right: 8px;
    bottom: 60px;
  }
}
