/* ============================================================
   style.css  —  运动橙主题 v3（覆盖式重写）
   依赖：main.css 提供 Bootstrap 基础骨架
   ============================================================ */

/* ---------- 0. 变量 ---------- */
:root {
  --brand:        #F97316;   /* 主色：活力橙 */
  --brand-dark:   #EA580C;
  --brand-light:  #FFF7ED;
  --ink:          #0F172A;   /* 深空蓝黑 */
  --ink-soft:     #334155;
  --muted:        #64748B;
  --line:         #E5E7EB;
  --bg:           #F3F4F6;
  --card:         #FFFFFF;
  --live:         #22C55E;
  --live-glow:    rgba(34,197,94,.35);
  --soon-bg:      #FEF3C7;
  --soon-text:    #B45309;
  --radius-sm:    8px;
  --radius:       12px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,.06);
  --shadow:       0 4px 16px rgba(15,23,42,.08);
  --shadow-brand: 0 4px 16px rgba(249,115,22,.18);
}

/* ---------- 1. 全局 ---------- */
html { overflow-y: scroll !important; }
body {
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-size: .95rem !important;
  font-family: 'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif !important;
}
a { color: var(--ink); text-decoration: none; }
.text-end { text-align: right !important; }
.vh-50 { height: 50vh; } .vh-80 { height: 80vh; }

/* ---------- 2. 导航栏：深色 + 橙色强调 ---------- */
.navbar {
  background: var(--ink) !important;
  box-shadow: 0 2px 12px rgba(15,23,42,.15);
  padding: .7rem 1rem !important;
  border-bottom: 2px solid var(--brand);
}
.navbar-brand {
  font-weight: 800 !important;
  letter-spacing: 1.5px;
  color: #fff !important;
  position: relative;
  padding-left: 14px;
  font-size: 1.15rem !important;
}
.navbar-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background: var(--brand);
  border-radius: 3px;
}
.navbar-nav { gap: 4px; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.7) !important;
  font-weight: 500;
  border-radius: 8px;
  padding: .4rem .9rem !important;
  font-size: .88rem;
  transition: all .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(249,115,22,.15) !important;
  color: var(--brand) !important;
}

/* ---------- 3. 卡片 ---------- */
.card {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden;
  margin-bottom: 14px !important;
  transition: box-shadow .25s;
}
.card:hover { box-shadow: var(--shadow) !important; }

.card-header {
  background: var(--card) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .85rem 1.1rem !important;
  position: relative;
  padding-left: 1.15rem !important;
}
.card-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--brand);
  border-radius: 0 3px 3px 0;
}
.card-header h2 { color: var(--ink) !important; font-size: .95rem; margin: 0; }
.card-header i  { color: var(--brand) !important; margin-right: 6px; }
.card-header a  { color: var(--ink) !important; }
.card-header a:hover { color: var(--brand) !important; }
.card-body { padding: 1.05rem 1.1rem !important; }

/* ---------- 4. Tab：方形按钮 ---------- */
.nav-tabs {
  border: none !important;
  gap: 6px;
  padding: 0;
  background: transparent;
  display: flex !important;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.nav-tabs .nav-item { margin: 0 !important; }
.nav-tabs .nav-link {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  color: var(--muted) !important;
  font-weight: 600;
  padding: .38rem .9rem !important;
  background: var(--card) !important;
  font-size: .85rem;
  transition: all .2s;
}
.nav-tabs .nav-link:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  background: var(--brand-light) !important;
}
.nav-tabs .nav-link.active {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  box-shadow: var(--shadow-brand);
}

/* ---------- 5. H1：深色文字 + 左侧橙色竖条 ---------- */
h1 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  letter-spacing: .3px;
  padding: .5rem 0 .5rem 14px !important;
  margin: 0 !important;
  border-left: 4px solid var(--brand);
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
}
p { color: var(--muted); }

/* ---------- 6. 比赛列表：单行紧凑布局 ---------- */
.match-list { padding: 4px !important; }

/* 日期分组标题条 */
.match-list > .text-center {
  background: var(--brand-light) !important;
  color: var(--brand-dark) !important;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  padding: .55rem 1rem !important;
  margin: .75rem 0 !important;
  letter-spacing: .3px;
  text-align: left !important;
}
.match-list > .text-center .text-success { color: var(--brand-dark) !important; }

/* 单个比赛：紧凑单行 */
.match-item {
  display: block !important;
  padding: 12px 14px !important;
  margin-bottom: 8px !important;
  background: var(--card);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  position: relative;
  overflow: hidden;
  transition: all .2s;
}
.match-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .25s;
}
.match-item:hover {
  border-color: var(--brand) !important;
  box-shadow: var(--shadow-brand);
  background: #FFFCFA !important;
}
.match-item:hover::before { transform: scaleY(1); }
.match-item:last-child { margin-bottom: 0 !important; }

/* match-info：横向排列（左联赛、中对阵、右状态） */
.match-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px;
}

/* 左侧：联赛 + 时间，竖排 */
.league-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  width: auto !important;
  min-width: 78px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.league-w { width: auto !important; }
.league-name {
  color: var(--brand-dark) !important;
  font-weight: 700;
  background: var(--brand-light);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: .72rem;
  letter-spacing: .3px;
}
.match-time {
  color: var(--muted) !important;
  font-size: .74rem !important;
  font-weight: 500;
  margin-left: 0 !important;
  width: auto !important;
}

/* 中间：主队 — VS — 客队 — 状态 */
.match-main {
  display: flex !important;
  align-items: center !important;
  flex: 1;
  gap: 8px;
  width: auto !important;
  margin-top: 0 !important;
}
.home-team {
  flex: 1 1 0 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px;
}
.away-team {
  flex: 1 1 0 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px;
}
.match-score {
  width: 60px !important;
  flex: 0 0 60px !important;
  text-align: center;
  margin: 0 !important;
}
.score-value {
  color: var(--brand) !important;
  font-size: .95rem;
  letter-spacing: 1px;
  font-weight: 800;
}
.team-name { font-weight: 600; color: var(--ink); font-size: .9rem; }
.team-logo {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  border: 2px solid var(--line) !important;
  background: #fff;
  object-fit: contain;
  padding: 2px;
  transition: transform .2s;
}
.match-item:hover .team-logo { transform: scale(1.08); }

/* 状态按钮 */
.match-action {
  width: auto !important;
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  border-radius: 6px !important;
  font-size: .72rem !important;
  font-weight: 700;
  padding: 6px 12px !important;
  letter-spacing: .5px;
  white-space: nowrap;
}
.match-action.live {
  background: var(--live) !important;
  color: #fff !important;
  border: none !important;
  animation: livePulse 2s infinite;
}
.match-action.live2 {
  background: var(--soon-bg) !important;
  color: var(--soon-text) !important;
  border: 1px solid #FDE68A !important;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 var(--live-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---------- 7. 右侧：热门联赛 ---------- */
.hot-league-logo {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
}
.card-body .col-4 > a > .border {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  transition: all .2s;
  background: var(--card);
  padding: .5rem !important;
}
.card-body .col-4 > a:hover > .border {
  border-color: var(--brand) !important;
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ---------- 8. 右侧：文章列表 ---------- */
.hot-articles-list a {
  display: block;
  padding: .55rem .6rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
  color: var(--ink) !important;
  font-size: .86rem;
  line-height: 1.5;
}
.hot-articles-list a:hover {
  background: var(--brand-light);
  color: var(--brand-dark) !important;
  transform: translateX(3px);
}
.hot-articles-list .border-bottom { border-bottom: 1px dashed var(--line) !important; }

/* ---------- 9. 热门主播（v2-anchor） ---------- */
.v2-anchor-list { display: grid; gap: 10px; }
.v2-anchor {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #FAFAFA;
  border: 1px solid var(--line);
  transition: all .2s;
}
.v2-anchor:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.v2-anchor-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(249,115,22,.3);
}
.v2-anchor-info { flex: 1; min-width: 0; }
.v2-anchor-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.v2-anchor-desc { font-size: .74rem; color: var(--muted); }
.v2-live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--live); margin-right: 4px;
  animation: livePulse 2s infinite;
}

/* ---------- 10. FAQ 手风琴 ---------- */
.v2-faq { display: grid; gap: 8px; }
.v2-faq details {
  background: #FAFAFA;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: all .2s;
}
.v2-faq details[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
  background: #FFFCFA;
}
.v2-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .88rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink);
}
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after {
  content: '+'; color: var(--brand);
  font-size: 1.15rem; font-weight: 700;
  transition: transform .25s;
}
.v2-faq details[open] summary::after { content: '−'; }
.v2-faq details p {
  margin: 8px 0 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 11. 页脚 ---------- */
footer {
  background: var(--ink) !important;
  color: rgba(255,255,255,.6) !important;
  padding: 32px 10px !important;
  margin-top: 32px;
  border-top: 3px solid var(--brand);
}
footer p { color: rgba(255,255,255,.55) !important; font-size: .84rem; }
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: var(--brand); }

/* ---------- 12. 返回顶部 ---------- */
#backToTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px !important; height: 44px !important;
  z-index: 9999;
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
#backToTop:hover {
  transform: translateY(-3px);
  background: var(--brand-dark) !important;
}

/* ---------- 13. 分页 ---------- */
ul.pagination { display: inline-block; padding: 0; margin: 0; clear: both; }
ul.pagination li { display: inline; }
ul.pagination li a {
  color: var(--ink); float: left;
  padding: 4px 10px; margin: 4px 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  transition: all .2s;
}
ul.pagination li a.active {
  background: var(--brand);
  color: #fff; border-color: var(--brand);
}
ul.pagination li a:hover:not(.active) {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-color: var(--brand);
}

/* ---------- 14. 其它工具类 ---------- */
#tab_mQjUhw9n { display: flex; flex-wrap: wrap; }
#tab_mQjUhw9n a {
  background: var(--brand);
  color: #fff; border-radius: 6px;
  font-weight: 600; padding: 6px 12px;
  font-size: .875rem; line-height: 1.5;
  margin: .2rem !important;
}
#tab_mQjUhw9n a:hover { background: var(--brand-dark); }
.bg-img { background: url(../picture/0t5c06b247ca4ca07f.png) no-repeat center; background-size: 100% auto; }
.white-color { color: #fff; }
.fenye { display: flex; justify-content: center; padding: 20px 0; font-size: 14px; }
.fenye ul li { display: inline-block; margin: 0 3px; }
.fenye ul li a {
  font-size: 15px; color: var(--muted);
  display: block; padding: 2px 8px;
  background: #fff; border-radius: 6px;
}

/* ---------- 15. 响应式：移动端 ---------- */
@media (max-width: 767.98px) {
  /* 主内容全宽 */
  .col-lg-9, .col-lg-3 { width: 100%; }

  /* 比赛项：三行堆叠 */
  .match-info {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
  }
  .league-info {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--line);
  }
  .match-time { margin-left: auto !important; }
  .match-main {
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .home-team, .away-team {
    flex: 1 1 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px;
  }
  .home-team img { order: -1; }
  .team-name { font-size: .82rem; text-align: center; }
  .match-score {
    flex: 0 0 50px !important;
    width: 50px !important;
    font-size: .85rem;
  }
  .match-main > a.ycnhwl3 {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }
  .match-action {
    width: auto !important;
    margin: 0 auto !important;
  }

  /* 卡片 */
  .card { margin-bottom: 12px !important; }
  .card-body { padding: .9rem !important; }
  .card-header { padding: .75rem 1rem !important; }

  /* 主播头衔缩小 */
  .v2-anchor-avatar { width: 36px; height: 36px; font-size: .9rem; }

  /* 导航 */
  .navbar-brand { font-size: 1.05rem !important; }
  .navbar-nav .nav-link { color: var(--ink) !important; }
  .navbar-nav .nav-link:hover { background: var(--brand-light) !important; color: var(--brand-dark) !important; }

  /* H1 缩小 */
  h1 { font-size: 1.15rem !important; padding-left: 12px !important; }
}

<?php
/* ============================================================
   积分榜 v3：远程读取 + 本地缓存（缓存 1 天）
   远程地址：https://img.aqswsw.cn/jf/
   缓存目录：/data/cache/
   缓存时间：24 小时
   ============================================================ */

$std_leagues_cfg = [
    'yingchao'  => ['name'=>'英超',    'type'=>'football',   'group'=>'football'],
    'xijia'     => ['name'=>'西甲',    'type'=>'football',   'group'=>'football'],
    'dejia'     => ['name'=>'德甲',    'type'=>'football',   'group'=>'football'],
    'yijia'     => ['name'=>'意甲',    'type'=>'football',   'group'=>'football'],
    'fajia'     => ['name'=>'法甲',    'type'=>'football',   'group'=>'football'],
    'ouguan'    => ['name'=>'欧冠',    'type'=>'football',   'group'=>'football'],
    'ouguolian' => ['name'=>'欧国联',  'type'=>'football',   'group'=>'football'],
    'nba'       => ['name'=>'NBA',     'type'=>'basketball', 'group'=>'basketball'],
    'cba'       => ['name'=>'CBA',     'type'=>'basketball', 'group'=>'basketball'],
    'wnba'      => ['name'=>'WNBA',    'type'=>'basketball', 'group'=>'basketball'],
];

$std_remote_base = 'https://img.aqswsw.cn/jf/';
$std_cache_dir   = rtrim($_SERVER['DOCUMENT_ROOT'], '/') . '/data/cache/';
$std_cache_ttl   = 86400;

if(!is_dir($std_cache_dir)){
    @mkdir($std_cache_dir, 0755, true);
}

if(!function_exists('getRemoteJson')){
    function getRemoteJson($url, $cacheFile, $ttl){
        if(file_exists($cacheFile) && (time() - filemtime($cacheFile)) < $ttl){
            $raw = @file_get_contents($cacheFile);
            if($raw !== false) return $raw;
        }
        $raw = false;
        if(function_exists('curl_init')){
            $ch = curl_init($url);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_TIMEOUT, 10);
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
            curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 JRS-Standings/1.0');
            $raw = curl_exec($ch);
            curl_close($ch);
        } else {
            $ctx = stream_context_create(['http'=>['timeout'=>10]]);
            $raw = @file_get_contents($url, false, $ctx);
        }
        if($raw !== false && !empty($raw)){
            @file_put_contents($cacheFile, $raw);
            return $raw;
        }
        if(file_exists($cacheFile)){
            return @file_get_contents($cacheFile);
        }
        return false;
    }
}

$std_groups = [
    'football'   => ['name'=>'足球', 'icon'=>'fa-futbol',         'leagues'=>[]],
    'basketball' => ['name'=>'篮球', 'icon'=>'fa-basketball-ball','leagues'=>[]],
];
$std_updated = '';

foreach($std_leagues_cfg as $key => $cfg){
    $url   = $std_remote_base . 'jf-' . $key . '.json';
    $cache = $std_cache_dir . 'jf-' . $key . '.json';

    $raw = getRemoteJson($url, $cache, $std_cache_ttl);
    if(empty($raw)) continue;

    $json = json_decode($raw, true);
    if(!is_array($json) || empty($json)) continue;

    $format = 'single';
    $groups = [];

    if(isset($json[0]['list']) && is_array($json[0]['list'])){
        $format = 'grouped';
        foreach($json as $g){
            $groups[] = [
                'title' => $g['title'] ?? '',
                'list'  => $g['list']  ?? []
            ];
        }
    } else {
        $groups[] = ['title' => '', 'list' => $json];
    }

    $cfg['key']    = $key;
    $cfg['format'] = $format;
    $cfg['groups'] = $groups;

    if(file_exists($cache)){
        $mt = filemtime($cache);
        if($mt > strtotime($std_updated ?: '1970-01-01')){
            $std_updated = date('Y-m-d H:i', $mt);
        }
    }

    $std_groups[$cfg['group']]['leagues'][$key] = $cfg;
}

$std_groups = array_filter($std_groups, function($g){
    return !empty($g['leagues']);
});
?>

/* ============================================================
   积分榜样式 — 适配运动橙主题
   ============================================================ */
.std-mainnav {
  display: flex; gap: 8px; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.std-maintab {
  padding: 7px 18px; font-size: .9rem; font-weight: 700;
  color: var(--muted); border-radius: 8px;
  text-decoration: none; cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent;
}
.std-maintab:hover { color: var(--brand); }
.std-maintab.active {
  color: var(--brand-dark);
  background: var(--brand-light);
  border-color: var(--brand);
}
.std-mainpanel { display: none; }
.std-mainpanel.active { display: block; }

.std-nav {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.std-tab {
  padding: 5px 14px; font-size: .82rem; font-weight: 600;
  color: var(--muted); border-radius: 6px;
  transition: all .2s; text-decoration: none; cursor: pointer;
}
.std-tab:hover { color: var(--brand); background: var(--brand-light); }
.std-tab.active {
  color: var(--brand-dark);
  background: var(--brand-light);
  font-weight: 700;
}

.std-subnav {
  display: flex; gap: 6px; margin-bottom: 10px;
  overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px;
}
.std-subnav::-webkit-scrollbar { height: 4px; }
.std-subnav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.std-subtab {
  flex: 0 0 auto; padding: 4px 12px; font-size: .76rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 6px; text-decoration: none; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.std-subtab:hover { border-color: var(--brand); color: var(--brand); }
.std-subtab.active {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-light);
}

.std-panel, .std-subpanel { display: none; }
.std-panel.active, .std-subpanel.active { display: block; }

.std-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.std-table {
  width: 100%; border-collapse: collapse;
  font-size: .85rem; background: #fff;
}
.std-table thead th {
  color: var(--brand-dark); font-weight: 700; font-size: .78rem;
  padding: 10px 8px; text-align: center; white-space: nowrap;
  border-bottom: 2px solid var(--brand-light);
  background: var(--brand-light);
}
.std-table tbody td {
  padding: 9px 8px; text-align: center;
  border-top: 1px solid var(--line);
  color: var(--ink); white-space: nowrap;
}
.std-table tbody tr:hover { background: #FFFCFA; }

.std-rank { font-weight: 800; color: var(--muted); width: 36px; }
.std-team { text-align: left !important; padding-left: 12px !important; min-width: 160px; }
.std-name { font-weight: 600; color: var(--ink); }
.std-tag { color: var(--muted); font-size: .72rem; margin-left: 6px; }
.std-pts { color: var(--brand-dark); font-size: .92rem; font-weight: 800; }

@media (max-width: 767.98px) {
  .std-maintab { padding: 6px 14px; font-size: .82rem; }
  .std-table { font-size: .8rem; }
  .std-table thead th { padding: 8px 5px; font-size: .75rem; }
  .std-table tbody td { padding: 8px 5px; }
  .std-team { min-width: 130px; padding-left: 8px !important; }
  .std-name { font-size: .85rem; }
  .std-tag { font-size: .65rem; }
  .std-tab { padding: 4px 10px; font-size: .76rem; }
}