/* ===============================
   Mobile Live Page Optimize
   f4eoh.com
   =============================== */

@media (max-width: 768px) {

  /* ===============================
     1. 基础容器
     =============================== */
  .container {
    width: 100% !important;
    padding: 0 10px;
  }

  /* ===============================
     2. 顶部联赛导航（横向滑动）
     =============================== */
  .live-cat-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  /* 隐藏滚动条 */
  .live-cat-nav::-webkit-scrollbar {
    display: none;
  }

  /* 兼容 li / a / span 结构 */
  .live-cat-nav li {
    flex: 0 0 auto;
    list-style: none;
  }

  .live-cat-nav a,
  .live-cat-nav span {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 16px;
    background: #f3f3f3;
    color: #333;
    line-height: 1.2;
  }

  /* 当前选中 / hover */
  .live-cat-nav li.active a,
  .live-cat-nav a.active,
  .live-cat-nav a:hover {
    background: #ef3b31;
    color: #fff;
  }

  /* ===============================
     3. 比赛列表（卡片化）
     =============================== */
  .match-list li {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .vs-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .team {
    width: 40%;
    text-align: center;
  }

  .team-logo {
    width: 28px;
    height: 28px;
  }

  /* ===============================
     4. 状态按钮
     =============================== */
  .status-link {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    background: #ddd;
    color: #333;
  }

  .status-link.start {
    background: #ef3b31;
    color: #fff;
  }

  /* ===============================
     5. 隐藏 PC 端无用模块
     =============================== */
  .col-sidebar,
  .col-comps {
    display: none !important;
  }
}
