*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;background:#eef1f6;color:#111827}
a{color:#2563eb;text-decoration:none}
img{max-width:100%;display:block}
button,.btn,.public-btn{display:inline-block;border:0;border-radius:12px;padding:10px 16px;cursor:pointer;font-weight:700}
input,select{width:100%;font-size:15px;padding:11px 13px;border:1px solid #d1d5db;border-radius:10px;margin:6px 0 12px;background:#fff}
table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}
th,td{border-bottom:1px solid #e5e7eb;padding:11px;text-align:left;font-size:14px}
th{background:#f8fafc;color:#334155;font-weight:800}
tr:hover td{background:#fafafa}
hr{border:0;border-top:1px solid #e5e7eb;margin:18px 0}
h1,h2,h3{margin:0 0 16px}
p{line-height:1.75}
.small{color:#64748b;font-size:13px}
.warn{background:#fff7ed;color:#9a3412;padding:10px;border-radius:10px;border:1px solid #fed7aa}
.btn{background:#111827;color:#fff}
.btn.secondary{background:#e5e7eb;color:#111827}
.btn.danger{background:#dc2626;color:#fff}

/* public */
.public-body{background:#070816;color:#fff}
.public-nav{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:rgba(6,8,22,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.12);position:sticky;top:0;z-index:20}
.public-brand{display:flex;align-items:center;gap:12px}
.public-brand img{width:46px;height:46px;border-radius:14px;object-fit:cover}
.public-brand strong{display:block;font-size:18px}
.public-brand span{display:block;color:#a5b4fc;font-size:12px}
.public-links{display:flex;align-items:center;gap:18px}
.public-links a{color:#e5e7eb}
.login-link{background:linear-gradient(135deg,#7c3aed,#4f46e5);padding:9px 14px;border-radius:999px;color:#fff!important}
.public-shell{max-width:1180px;margin:0 auto;padding:38px 18px 70px}
.public-hero{min-height:560px;display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center;padding:44px 0}
.public-hero-copy h1{font-size:62px;line-height:1.05;margin:10px 0 18px;background:linear-gradient(135deg,#fff,#c4b5fd 55%,#fbbf24);-webkit-background-clip:text;color:transparent}
.eyebrow{color:#fbbf24;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.hero-desc{font-size:18px;color:#cbd5e1;max-width:680px}
.hero-actions{display:flex;gap:14px;margin-top:28px}
.public-btn.primary{background:linear-gradient(135deg,#fbbf24,#f97316);color:#111827}
.public-btn.ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff}
.public-logo-card{background:radial-gradient(circle at center,rgba(124,58,237,.45),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.18);border-radius:34px;padding:24px;box-shadow:0 24px 90px rgba(124,58,237,.28)}
.public-logo-card img{border-radius:28px}
.public-section{margin-top:34px;padding:34px;border:1px solid rgba(255,255,255,.12);border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));box-shadow:0 24px 80px rgba(0,0,0,.28)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.section-head h2,.feature-copy h2{font-size:34px}
.public-pill{background:rgba(251,191,36,.16);color:#fbbf24;border:1px solid rgba(251,191,36,.4);padding:8px 12px;border-radius:999px;font-weight:900}
.public-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:22px}
.public-kpis div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:18px}
.public-kpis strong{display:block;font-size:28px;color:#fff}
.public-kpis span{display:block;color:#a5b4fc;font-size:13px;margin-top:6px}
.public-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.public-card{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:20px}
.public-table th{background:rgba(255,255,255,.08);color:#fff}
.public-table td{background:rgba(255,255,255,.02);color:#e5e7eb;border-color:rgba(255,255,255,.09)}
.home-focal-row td{background:rgba(124,58,237,.28)!important;color:#fff}
.analysis-card strong{color:#fbbf24}
.public-feature{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:center}
.public-feature.reverse{grid-template-columns:.85fr 1.15fr}
.feature-img img{border-radius:24px;box-shadow:0 20px 70px rgba(0,0,0,.38)}
.feature-copy p,.feature-copy li{color:#cbd5e1;font-size:17px}
.feature-copy li{margin:9px 0}
.public-quote{font-size:22px!important;color:#fbbf24!important;font-weight:900}
.public-footer{max-width:1180px;margin:0 auto;padding:28px 18px 50px;display:flex;justify-content:space-between;color:#94a3b8}
.public-footer a{color:#fbbf24}

/* internal */
.header{min-height:64px;background:linear-gradient(135deg,#0f172a,#111827 55%,#312e81);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;box-shadow:0 10px 30px rgba(15,23,42,.28);position:sticky;top:0;z-index:10}
.brand-mini{display:flex;align-items:center;gap:10px}
.brand-mini img{width:38px;height:38px;border-radius:10px;object-fit:cover}
.brand-mini span{font-size:12px;color:#a5b4fc}
.nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.nav a{color:#fff;opacity:.92}
.tag{display:inline-block;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 10px;font-size:12px}
.container{max-width:1220px;margin:24px auto;padding:0 16px}
.card{background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.88);border-radius:20px;padding:24px;box-shadow:0 12px 36px rgba(15,23,42,.08);margin-bottom:18px}
.login{max-width:420px;margin:70px auto}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ops-hero{background:linear-gradient(135deg,#111827,#1e293b 58%,#4c1d95);color:#fff;display:flex;justify-content:space-between;align-items:center}
.ops-brand{display:flex;align-items:center;gap:18px}
.ops-brand img{width:110px;height:110px;object-fit:cover;border-radius:24px;border:2px solid rgba(255,255,255,.28)}
.ops-brand p{color:#cbd5e1;margin:0}
.ops-rank{font-size:28px;font-weight:900;color:#fbbf24}
.season-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px}
.stat{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:16px;padding:16px;min-height:92px}
.stat .num{font-size:26px;font-weight:900;color:#0f172a;word-break:break-word}
.stat .label{font-size:13px;color:#64748b;margin-top:6px}
.internal-analysis{background:linear-gradient(135deg,#fff7ed,#fff)}
.leader-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.leader-card{border-radius:16px;padding:16px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb}
.leader-focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.12)}
.leader-group{font-size:13px;color:#64748b}
.leader-name{font-size:18px;font-weight:900;margin-top:8px}
.leader-score{font-size:30px;font-weight:900;color:#b91c1c;margin-top:6px}
.leader-days{font-size:12px;color:#64748b;margin-top:4px}
.season-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.group-board h3{display:flex;justify-content:space-between;align-items:baseline}
.season-table th,.season-table td{font-size:13px}
.rank-hot td{background:#fff1f2}
.status-hot{display:inline-block;background:#dc2626;color:#fff;border-radius:999px;padding:2px 8px;font-size:12px}
.status-normal{display:inline-block;background:#e5e7eb;color:#374151;border-radius:999px;padding:2px 8px;font-size:12px}
.status-done{display:inline-block;background:#dcfce7;color:#166534;border-radius:999px;padding:2px 8px;font-size:12px}
.status-upcoming{display:inline-block;background:#fef3c7;color:#92400e;border-radius:999px;padding:2px 8px;font-size:12px}
.player-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#111827,#1e293b 58%,#4338ca);color:#fff}
.player-left{display:flex;align-items:center;gap:18px}
.player-left p{margin:5px 0;color:#dbeafe}
.avatar-xl{width:96px;height:96px;border-radius:24px;object-fit:cover;border:3px solid rgba(255,255,255,.35)}
.avatar-placeholder{display:flex;align-items:center;justify-content:center;background:#475569;color:#fff;font-size:36px;font-weight:800}
.power-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:18px 24px;text-align:center;min-width:150px}
.power-pill span{display:block;color:#c7d2fe;font-size:13px}
.power-pill strong{font-size:42px;line-height:1.1}
.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.chart-card{min-height:360px}
.radar{width:100%;max-width:360px;display:block;margin:0 auto}
.radar-grid{fill:none;stroke:#cbd5e1;stroke-width:1}
.radar-axis{stroke:#e2e8f0;stroke-width:1}
.radar-area{fill:rgba(79,70,229,.22);stroke:#4f46e5;stroke-width:3}
.radar-dot{fill:#4f46e5}
.radar-label{font-size:12px;fill:#334155;font-weight:700}
.metric-bar{margin:18px 0}
.metric-bar-head{display:flex;justify-content:space-between;margin-bottom:8px;color:#334155}
.metric-bar-track{height:14px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.metric-bar-fill{height:100%;background:linear-gradient(90deg,#2563eb,#7c3aed);border-radius:999px}

@media(max-width:980px){
  .public-nav,.public-links{display:block;height:auto}
  .public-links{margin-top:12px}
  .public-links a{display:inline-block;margin:6px 8px 6px 0}
  .public-hero,.public-two-col,.public-feature,.public-feature.reverse{grid-template-columns:1fr}
  .public-hero-copy h1{font-size:42px}
  .public-kpis,.season-kpis{grid-template-columns:repeat(2,1fr)}
  .leader-grid{grid-template-columns:repeat(2,1fr)}
  .season-groups,.chart-grid,.row{grid-template-columns:1fr}
  .header{display:block;height:auto;padding:12px 16px}
  .nav{justify-content:flex-start;margin-top:10px}
  .ops-hero,.player-hero{display:block}
  .ops-rank,.power-pill{margin-top:16px}
}

/* === PUBLIC_WORDING_FIX_V04 === */
.public-two-col{
  grid-template-columns:1fr 1fr;
}
.public-analysis-wide{
  grid-column:1 / -1;
}
.public-scroll-table{
  max-height:360px;
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
}
.public-scroll-table table{
  margin:0;
}
.public-scroll-table thead th{
  position:sticky;
  top:0;
  z-index:2;
}
.public-table-note{
  color:#a5b4fc;
  font-size:14px;
  margin-top:-6px;
  margin-bottom:12px;
}
@media(max-width:980px){
  .public-two-col{grid-template-columns:1fr}
  .public-analysis-wide{grid-column:auto}
}

/* =========================
   UI MOBILE FIX V05
   只增强视觉与响应式，不改业务逻辑
   ========================= */

/* 全局更稳一些 */
body{overflow-x:hidden}
.public-body{
  background:
    radial-gradient(circle at top, rgba(124,58,237,.20), transparent 30%),
    radial-gradient(circle at right top, rgba(251,191,36,.10), transparent 25%),
    linear-gradient(180deg,#050816 0%,#0a1023 55%,#070b18 100%);
  color:#fff;
}

.public-shell{
  max-width:1200px;
  margin:0 auto;
  padding:32px 18px 72px;
}

/* 顶部导航 */
.public-nav{
  min-height:74px;
  padding:12px 24px;
  background:rgba(7,10,24,.78);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.public-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.public-brand img{
  width:46px;
  height:46px;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 0 18px rgba(124,58,237,.25);
}
.public-brand strong{
  display:block;
  font-size:18px;
}
.public-brand span{
  display:block;
  color:#a5b4fc;
  font-size:12px;
}

.public-links{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.public-links a{
  color:#e5e7eb;
  transition:.2s ease;
}
.public-links a:hover{
  color:#fff;
}
.login-link{
  background:linear-gradient(135deg,#7c3aed,#4f46e5);
  color:#fff !important;
  padding:9px 14px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(79,70,229,.28);
}

/* Hero */
.public-hero{
  min-height:520px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
  align-items:center;
  padding:28px 0 18px;
}
.public-hero-copy h1{
  font-size:58px;
  line-height:1.06;
  margin:10px 0 18px;
  background:linear-gradient(135deg,#ffffff 0%,#d8b4fe 55%,#fbbf24 100%);
  -webkit-background-clip:text;
  color:transparent;
}
.eyebrow{
  color:#fbbf24;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero-desc{
  font-size:18px;
  line-height:1.8;
  color:#cbd5e1;
  max-width:700px;
}
.hero-actions{
  display:flex;
  gap:14px;
  margin-top:24px;
}
.public-btn.primary{
  background:linear-gradient(135deg,#fbbf24,#f97316);
  color:#111827;
  box-shadow:0 12px 28px rgba(249,115,22,.28);
}
.public-btn.ghost{
  background:rgba(255,255,255,.06);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.public-logo-card{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  padding:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.32);
}
.public-logo-card img{
  border-radius:24px;
}

/* 公共 section */
.public-section{
  margin-top:26px;
  padding:26px;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(12,18,40,.90),rgba(7,11,24,.94));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 60px rgba(0,0,0,.28);
}
.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section-head h2,
.feature-copy h2{
  font-size:34px;
  line-height:1.25;
  margin:0;
}
.public-pill{
  white-space:nowrap;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.30);
  color:#fbbf24;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
}

/* KPI */
.public-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:0 0 20px;
}
.public-kpis > div{
  min-height:96px;
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.public-kpis strong{
  display:block;
  font-size:28px;
  line-height:1.15;
  color:#fff;
}
.public-kpis span{
  display:block;
  color:#a5b4fc;
  font-size:13px;
  margin-top:8px;
  line-height:1.5;
}

/* 第二屏布局 */
.public-two-col{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.public-analysis-wide{
  grid-column:1 / -1;
}

/* 卡片 */
.public-card{
  min-width:0;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.public-card h3{
  margin:0 0 12px;
  font-size:18px;
  color:#fff;
}
.public-table-note{
  color:#a5b4fc;
  font-size:14px;
  margin:2px 0 12px;
  line-height:1.6;
}

/* 表格修正：这是本次重点 */
.public-table{
  width:100%;
  min-width:100%;
  background:transparent !important;
  border-collapse:separate;
  border-spacing:0;
  border-radius:16px;
  overflow:hidden;
  table-layout:fixed;
}
.public-table thead th{
  background:rgba(255,255,255,.08) !important;
  color:#f8fafc !important;
  font-size:13px;
  font-weight:800;
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.public-table tbody td{
  background:transparent !important;
  color:#e5e7eb !important;
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:14px;
}
.public-table tbody tr:nth-child(even) td{
  background:rgba(255,255,255,.025) !important;
}
.public-table tbody tr:hover td{
  background:rgba(255,255,255,.05) !important;
}
.public-table tbody tr.home-focal-row td{
  background:linear-gradient(90deg,rgba(167,139,250,.42),rgba(124,58,237,.34)) !important;
  color:#fff !important;
}
.public-table tbody tr.home-focal-row td strong{
  color:#fff !important;
}

/* 滚动榜单区域 */
.public-scroll-table{
  max-height:370px;
  overflow:auto;
  border-radius:16px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.28) transparent;
}
.public-scroll-table::-webkit-scrollbar{
  width:10px;
  height:10px;
}
.public-scroll-table::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.26);
  border-radius:999px;
}
.public-scroll-table::-webkit-scrollbar-track{
  background:transparent;
}
.public-scroll-table .public-table thead th{
  position:sticky;
  top:0;
  z-index:2;
}

/* 分析卡 */
.analysis-card{
  line-height:1.85;
}
.analysis-card p{
  color:#dbe4f2;
  margin:0 0 12px;
}
.analysis-card strong{
  color:#fbbf24;
}

/* 图文区 */
.public-feature{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:center;
}
.public-feature.reverse{
  grid-template-columns:.9fr 1.1fr;
}
.feature-img img{
  border-radius:22px;
  box-shadow:0 20px 60px rgba(0,0,0,.38);
}
.feature-copy p,
.feature-copy li{
  color:#cbd5e1;
  font-size:17px;
  line-height:1.85;
}
.feature-copy ul{
  padding-left:20px;
}
.public-quote{
  font-size:22px !important;
  color:#fbbf24 !important;
  font-weight:800;
}

/* footer */
.public-footer{
  max-width:1200px;
  margin:0 auto;
  padding:24px 18px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#94a3b8;
}
.public-footer a{
  color:#fbbf24;
}

/* ========== 内部页也顺带增强一点响应式 ========== */
.container{
  max-width:1220px;
  margin:24px auto;
  padding:0 16px 32px;
}
.card{
  overflow:hidden;
}
.card table{
  width:100%;
}
@media (max-width:980px){
  .card{
    padding:18px;
  }
}

/* ========== 平板 ========== */
@media (max-width:1100px){
  .public-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .public-two-col{
    grid-template-columns:1fr;
  }
  .public-analysis-wide{
    grid-column:auto;
  }
  .public-feature,
  .public-feature.reverse{
    grid-template-columns:1fr;
  }
  .public-hero{
    grid-template-columns:1fr;
    min-height:auto;
  }
}

/* ========== 手机 ========== */
@media (max-width:768px){
  .public-nav{
    display:block;
    padding:14px 16px;
  }

  .public-brand{
    margin-bottom:10px;
  }

  .public-links{
    gap:10px;
  }

  .public-links a{
    font-size:14px;
  }

  .public-shell{
    padding:20px 14px 48px;
  }

  .public-hero{
    padding:10px 0 8px;
    gap:20px;
  }

  .public-hero-copy h1{
    font-size:34px;
    line-height:1.14;
  }

  .hero-desc{
    font-size:15px;
    line-height:1.8;
  }

  .hero-actions{
    flex-direction:column;
  }

  .public-btn{
    width:100%;
    text-align:center;
  }

  .public-section{
    padding:18px;
    border-radius:22px;
  }

  .section-head{
    display:block;
  }

  .section-head h2,
  .feature-copy h2{
    font-size:24px;
    margin-top:8px;
  }

  .public-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .public-kpis > div{
    min-height:84px;
    padding:14px;
  }

  .public-kpis strong{
    font-size:22px;
  }

  .public-kpis span{
    font-size:12px;
  }

  .public-card{
    padding:14px;
    border-radius:18px;
  }

  .public-card h3{
    font-size:17px;
  }

  .public-scroll-table{
    max-height:none;
    overflow:auto;
  }

  .public-scroll-table .public-table,
  .public-card .public-table{
    min-width:620px;
  }

  .feature-copy p,
  .feature-copy li{
    font-size:15px;
  }

  .public-quote{
    font-size:18px !important;
  }

  .public-footer{
    display:block;
    text-align:center;
    padding:18px 14px 42px;
  }

  .public-footer a{
    display:block;
    margin-top:8px;
  }

  /* 内部页 */
  .header{
    display:block;
    height:auto;
    padding:12px 14px;
  }

  .nav{
    justify-content:flex-start;
    margin-top:10px;
    gap:10px;
  }

  .season-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .leader-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .season-groups,
  .chart-grid,
  .row{
    grid-template-columns:1fr;
  }

  .ops-hero,
  .player-hero{
    display:block;
  }

  .ops-brand{
    align-items:flex-start;
  }

  .ops-brand img{
    width:78px;
    height:78px;
    border-radius:18px;
  }

  .ops-brand h1{
    font-size:24px;
    line-height:1.25;
  }

  .ops-rank,
  .power-pill{
    margin-top:16px;
  }

  .card table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
}

/* ========== 超小屏 ========== */
@media (max-width:480px){
  .public-hero-copy h1{
    font-size:30px;
  }
  .public-kpis{
    grid-template-columns:1fr 1fr;
  }
  .public-brand strong{
    font-size:16px;
  }
  .public-brand span{
    font-size:11px;
  }
}

/* =========================
   V06 PUBLIC RANK CARD UPGRADE
   榜单卡片化 + 手机优先
   ========================= */

.public-two-col{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}

.public-analysis-wide{
  grid-column:1 / -1;
}

.public-rank-board{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.compact-board{
  gap:10px;
}

.public-rank-scroll{
  max-height:560px;
  overflow:auto;
  padding-right:4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.24) transparent;
}
.public-rank-scroll::-webkit-scrollbar{
  width:8px;
}
.public-rank-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
}

.public-rank-item{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:.2s ease;
}
.public-rank-item:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
}
.public-rank-item.focus{
  background:linear-gradient(90deg,rgba(124,58,237,.32),rgba(91,33,182,.22));
  border-color:rgba(196,181,253,.28);
  box-shadow:0 14px 36px rgba(91,33,182,.20), inset 0 1px 0 rgba(255,255,255,.06);
}

.rank-badge{
  width:56px;
  min-width:56px;
  height:56px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,rgba(124,58,237,.95),rgba(79,70,229,.85));
  box-shadow:0 10px 24px rgba(79,70,229,.22);
}

.public-rank-main{
  min-width:0;
}

.public-rank-top{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.public-rank-top h4{
  margin:0;
  font-size:19px;
  line-height:1.3;
  color:#fff;
}

.public-rank-sub{
  margin-top:6px;
  color:#cbd5e1;
  font-size:14px;
  line-height:1.6;
}

.public-rank-tag,
.group-chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.public-rank-tag{
  background:rgba(251,191,36,.14);
  border:1px solid rgba(251,191,36,.28);
  color:#fbbf24;
}
.group-chip{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#c7d2fe;
}

.public-rank-stats{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.stat-chip{
  min-width:90px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}
.stat-chip.accent{
  background:rgba(124,58,237,.18);
  border-color:rgba(196,181,253,.18);
}
.stat-chip span{
  display:block;
  color:#a5b4fc;
  font-size:12px;
  line-height:1.4;
}
.stat-chip strong{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:22px;
  line-height:1.2;
}

@media (max-width:1100px){
  .public-two-col{
    grid-template-columns:1fr;
  }
  .public-analysis-wide{
    grid-column:auto;
  }
}

@media (max-width:768px){
  .public-rank-scroll{
    max-height:none;
    overflow:visible;
    padding-right:0;
  }

  .public-rank-item{
    grid-template-columns:58px minmax(0,1fr);
    gap:12px;
    padding:14px;
    border-radius:16px;
  }

  .rank-badge{
    width:50px;
    min-width:50px;
    height:50px;
    border-radius:14px;
    font-size:16px;
  }

  .public-rank-top h4{
    font-size:17px;
  }

  .public-rank-sub{
    font-size:13px;
    margin-top:4px;
  }

  .public-rank-stats{
    grid-column:1 / -1;
    justify-content:flex-start;
    padding-left:2px;
  }

  .stat-chip{
    min-width:84px;
    padding:9px 10px;
    border-radius:12px;
  }

  .stat-chip strong{
    font-size:20px;
  }
}

@media (max-width:480px){
  .public-rank-item{
    padding:12px;
  }

  .public-rank-top{
    gap:8px;
  }

  .public-rank-top h4{
    font-size:16px;
  }

  .stat-chip{
    min-width:78px;
  }

  .stat-chip strong{
    font-size:18px;
  }
}

/* =========================
   V07 HERO CTA SOFTEN
   首屏弱化内部入口，去掉硬按钮感
   ========================= */

.staff-link{
  color:#cbd5e1 !important;
  font-size:14px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  opacity:.82;
}
.staff-link:hover{
  opacity:1;
  color:#fff !important;
  background:rgba(255,255,255,.08);
}

.hero-actions{
  display:none !important;
}

.hero-meta{
  margin-top:24px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  color:#a5b4fc;
  font-size:15px;
  line-height:1.7;
}

.hero-meta span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
}

.hero-meta a{
  color:#cbd5e1;
  font-size:14px;
  border-bottom:1px solid rgba(203,213,225,.35);
  opacity:.76;
}

.hero-meta a:hover{
  color:#fff;
  opacity:1;
}

.public-hero-copy h1{
  margin-bottom:18px;
}

.hero-desc{
  max-width:740px;
}

/* 手机端：队员入口更低调，不抢主视觉 */
@media(max-width:768px){
  .staff-link{
    font-size:13px;
    padding:6px 9px;
    opacity:.72;
  }

  .hero-meta{
    display:block;
    margin-top:20px;
    font-size:13px;
  }

  .hero-meta span{
    display:block;
    border-radius:16px;
    padding:10px 12px;
  }

  .hero-meta a{
    display:inline-block;
    margin-top:10px;
  }
}

/* =========================
   V08 HERO + RECENT BRIEF
   第一屏头图升级 + 近期战绩快报
   ========================= */

.public-hero-v08{
  position:relative;
  overflow:hidden;
  min-height:620px;
  padding:46px 0 28px;
}

.public-hero-v08::before{
  content:"";
  position:absolute;
  inset:6% -10% auto auto;
  width:520px;
  height:520px;
  background:radial-gradient(circle,rgba(124,58,237,.26),transparent 62%);
  pointer-events:none;
}

.public-hero-v08::after{
  content:"";
  position:absolute;
  left:0;
  bottom:8%;
  width:320px;
  height:160px;
  background:radial-gradient(circle,rgba(251,191,36,.11),transparent 68%);
  pointer-events:none;
}

.hero-stat-strip{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  max-width:760px;
}

.hero-stat-strip > div{
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.hero-stat-strip span{
  display:block;
  color:#a5b4fc;
  font-size:13px;
  margin-bottom:8px;
}

.hero-stat-strip strong{
  display:block;
  color:#fff;
  font-size:28px;
  line-height:1.1;
}

.hero-logo-v08{
  position:relative;
}

.hero-logo-caption{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.10);
}

.hero-logo-caption strong{
  color:#fff;
  font-size:18px;
}

.hero-logo-caption span{
  color:#fbbf24;
  font-size:13px;
  font-weight:800;
}

/* 近期战绩 */
.recent-board{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}

.recent-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.recent-date{
  display:inline-flex;
  width:max-content;
  padding:5px 9px;
  border-radius:999px;
  color:#fbbf24;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.24);
  font-size:12px;
  font-weight:900;
}

.recent-main h4{
  margin:0;
  color:#fff;
  font-size:16px;
  line-height:1.35;
}

.recent-main p{
  margin:6px 0 0;
  color:#cbd5e1;
  font-size:13px;
  line-height:1.6;
}

.recent-score{
  margin-top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}

.recent-score strong{
  font-size:30px;
  color:#fff;
  line-height:1;
}

.recent-score span{
  color:#a5b4fc;
  font-size:13px;
}

.recent-bonus{
  color:#fbbf24;
  font-size:13px;
  font-weight:800;
  min-height:20px;
}

.next-board{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
}

.next-board h3{
  margin:0 0 12px;
  color:#fff;
}

.next-card{
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:12px;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.next-card:first-of-type{
  border-top:0;
}

.next-card strong{
  display:block;
  color:#fff;
}

.next-card span{
  display:block;
  color:#a5b4fc;
  font-size:13px;
  margin-top:4px;
}

.next-card p{
  margin:0;
  color:#cbd5e1;
  font-size:14px;
  line-height:1.7;
}

/* 平板 */
@media(max-width:1100px){
  .hero-stat-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .recent-board{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* 手机 */
@media(max-width:768px){
  .public-hero-v08{
    min-height:auto;
    padding:18px 0 8px;
  }

  .hero-stat-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:20px;
  }

  .hero-stat-strip > div{
    padding:14px;
    border-radius:16px;
  }

  .hero-stat-strip span{
    font-size:12px;
  }

  .hero-stat-strip strong{
    font-size:24px;
  }

  .hero-logo-caption{
    display:block;
  }

  .hero-logo-caption span{
    display:block;
    margin-top:4px;
  }

  .recent-board{
    grid-template-columns:1fr;
  }

  .recent-card{
    border-radius:18px;
  }

  .recent-card{
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    align-items:center;
  }

  .recent-date{
    grid-row:1 / span 2;
    width:72px;
    justify-content:center;
  }

  .recent-score{
    margin-top:0;
  }

  .recent-bonus{
    grid-column:2;
  }

  .next-card{
    grid-template-columns:1fr;
    gap:6px;
  }
}

@media(max-width:480px){
  .hero-stat-strip strong{
    font-size:22px;
  }

  .recent-score strong{
    font-size:26px;
  }
}

/* =========================
   V09 MOBILE SCROLL FIX
   删除重复入口后，手机端效率榜改为内部滚动
   ========================= */

/* 首屏公开信息提示只保留一条，不再像按钮区 */
.hero-meta{
  margin-top:22px;
}

.hero-meta span{
  max-width:100%;
}

/* 页脚只有文字时居中/简洁 */
.public-footer{
  justify-content:center;
  text-align:center;
}

/* 手机端全赛区效率榜不要撑满整页，改成内部滚动面板 */
@media(max-width:768px){
  .public-rank-scroll{
    max-height:560px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding-right:4px !important;
    -webkit-overflow-scrolling:touch;
    border-radius:18px;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.26) transparent;
  }

  .public-rank-scroll::-webkit-scrollbar{
    width:6px;
  }

  .public-rank-scroll::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.26);
    border-radius:999px;
  }

  .public-rank-scroll::-webkit-scrollbar-track{
    background:transparent;
  }

  /* B组积分态势可以完整展示；全赛区榜单内部滑动 */
  .public-card .public-rank-scroll .public-rank-board{
    padding-bottom:4px;
  }

  /* 避免移动端卡片过高 */
  .public-rank-item.compact{
    min-height:124px;
  }

  .public-rank-item.compact .public-rank-stats{
    margin-top:2px;
  }

  /* 让“全赛区日均效率榜”看起来是一个可滑动榜单盒子 */
  .public-rank-scroll{
    background:rgba(0,0,0,.16);
    border:1px solid rgba(255,255,255,.08);
    padding:10px 8px 10px 10px !important;
  }
}

/* 更小屏进一步收紧高度 */
@media(max-width:480px){
  .public-rank-scroll{
    max-height:500px !important;
  }
}

/* =========================
   V10 VENUE + COOPERATION
   场地介绍 + 赛事合作
   ========================= */

.venue-section,
.cooperation-section{
  position:relative;
  overflow:hidden;
}

.venue-section::before,
.cooperation-section::before{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:280px;
  height:280px;
  background:radial-gradient(circle,rgba(124,58,237,.18),transparent 65%);
  pointer-events:none;
}

.venue-intro{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:24px;
  align-items:start;
}

.venue-copy{
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.08);
}

.venue-copy h3{
  font-size:24px;
  color:#fff;
  margin:0 0 14px;
  line-height:1.35;
}

.venue-copy p{
  color:#cbd5e1;
  margin:0 0 12px;
}

.venue-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.venue-card{
  min-height:132px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.085);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.venue-card strong{
  display:block;
  color:#fff;
  font-size:20px;
  margin-bottom:10px;
}

.venue-card span{
  color:#a5b4fc;
  line-height:1.65;
  font-size:15px;
}

.cooperation-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:16px;
}

.cooperation-card{
  padding:20px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.085);
}

.cooperation-card.featured{
  grid-row:span 2;
  background:linear-gradient(135deg,rgba(124,58,237,.30),rgba(255,255,255,.045));
  border-color:rgba(196,181,253,.22);
}

.cooperation-card h3{
  color:#fff;
  font-size:22px;
  margin:0 0 12px;
}

.cooperation-card p{
  color:#cbd5e1;
  margin:0;
  line-height:1.85;
}

/* 手机端继续保持单列与舒适阅读 */
@media(max-width:900px){
  .venue-intro,
  .cooperation-grid{
    grid-template-columns:1fr;
  }

  .cooperation-card.featured{
    grid-row:auto;
  }
}

@media(max-width:768px){
  .venue-copy,
  .venue-card,
  .cooperation-card{
    padding:16px;
    border-radius:18px;
  }

  .venue-copy h3,
  .cooperation-card h3{
    font-size:20px;
  }

  .venue-grid{
    grid-template-columns:1fr;
  }

  .venue-card{
    min-height:auto;
  }

  .venue-card strong{
    font-size:18px;
  }

  .venue-card span,
  .cooperation-card p,
  .venue-copy p{
    font-size:14px;
    line-height:1.8;
  }
}

/* =========================
   V11 VENUE FIRST
   桌游吧主站 + 疯人堂赛事双轨版
   ========================= */

.public-hero-v11{
  min-height:620px;
}

.venue-stat-strip strong{
  font-size:24px;
}

.venue-section-prime{
  background:
    radial-gradient(circle at top left,rgba(124,58,237,.18),transparent 35%),
    linear-gradient(180deg,rgba(12,18,40,.94),rgba(7,11,24,.96));
}

.venue-section-prime .venue-copy{
  background:linear-gradient(180deg,rgba(124,58,237,.16),rgba(255,255,255,.04));
  border-color:rgba(196,181,253,.18);
}

.venue-section-prime .venue-card{
  transition:.2s ease;
}

.venue-section-prime .venue-card:hover{
  transform:translateY(-2px);
  border-color:rgba(196,181,253,.26);
}

@media(max-width:768px){
  .public-hero-v11{
    min-height:auto;
  }

  .venue-stat-strip strong{
    font-size:20px;
  }
}

/* =========================
   V12 PLAYER CAROUSEL
   公开首页选手介绍横向滑动模块
   ========================= */

.player-showcase-section{
  position:relative;
  overflow:hidden;
}

.player-showcase-section::before{
  content:"";
  position:absolute;
  left:-120px;
  top:-120px;
  width:300px;
  height:300px;
  background:radial-gradient(circle,rgba(124,58,237,.20),transparent 65%);
  pointer-events:none;
}

.player-section-intro{
  max-width:860px;
  color:#cbd5e1;
  font-size:16px;
  line-height:1.85;
  margin:0 0 20px;
}

.player-carousel{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:6px 4px 18px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.24) transparent;
}

.player-carousel::-webkit-scrollbar{
  height:8px;
}

.player-carousel::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.24);
  border-radius:999px;
}

.player-carousel::-webkit-scrollbar-track{
  background:transparent;
}

.player-profile-card{
  position:relative;
  flex:0 0 318px;
  min-height:520px;
  border-radius:26px;
  overflow:hidden;
  scroll-snap-align:start;
  background:
    radial-gradient(circle at top,rgba(124,58,237,.22),transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 58px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
}

.player-profile-card.top-player{
  border-color:rgba(251,191,36,.30);
  box-shadow:0 20px 70px rgba(251,191,36,.10), inset 0 1px 0 rgba(255,255,255,.06);
}

.player-card-glow{
  position:absolute;
  inset:auto -40px -80px -40px;
  height:180px;
  background:radial-gradient(circle,rgba(124,58,237,.30),transparent 70%);
  pointer-events:none;
}

.player-avatar-wrap{
  height:230px;
  padding:18px 18px 0;
}

.player-avatar-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
  background:#111827;
  border:1px solid rgba(255,255,255,.12);
}

.player-card-body{
  position:relative;
  padding:18px;
}

.player-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.player-card-head h3{
  margin:0;
  color:#fff;
  font-size:24px;
  line-height:1.25;
}

.player-card-head span{
  flex:0 0 auto;
  max-width:120px;
  color:#fbbf24;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.24);
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player-role-text{
  color:#cbd5e1;
  margin:10px 0 14px;
  font-size:14px;
  line-height:1.7;
  min-height:72px;
}

.player-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:0 0 14px;
}

.player-mini-stats div{
  padding:10px 8px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.player-mini-stats strong{
  display:block;
  color:#fff;
  font-size:20px;
  line-height:1.15;
}

.player-mini-stats span{
  display:block;
  color:#a5b4fc;
  font-size:11px;
  margin-top:5px;
}

.player-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  min-height:58px;
  align-content:flex-start;
}

.player-tags span{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  color:#dbeafe;
  background:rgba(124,58,237,.20);
  border:1px solid rgba(196,181,253,.16);
  font-size:12px;
  font-weight:700;
}

.player-card-foot{
  margin-top:14px;
  color:#94a3b8;
  font-size:12px;
  display:flex;
  flex-direction:column;
  gap:4px;
  line-height:1.45;
  min-height:38px;
}

.player-card-foot span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.public-empty-card{
  flex:0 0 360px;
  padding:24px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.public-empty-card h3{
  color:#fff;
  margin:0 0 10px;
}

.public-empty-card p{
  color:#cbd5e1;
  margin:0;
}

/* 手机端：一屏一张半，横向滑动 */
@media(max-width:768px){
  .player-section-intro{
    font-size:14px;
    line-height:1.8;
  }

  .player-carousel{
    gap:14px;
    padding-bottom:14px;
    margin-left:-2px;
    margin-right:-2px;
  }

  .player-profile-card{
    flex-basis:78vw;
    min-height:500px;
    border-radius:22px;
  }

  .player-avatar-wrap{
    height:215px;
    padding:14px 14px 0;
  }

  .player-avatar-wrap img{
    border-radius:18px;
  }

  .player-card-body{
    padding:16px;
  }

  .player-card-head h3{
    font-size:21px;
  }

  .player-mini-stats strong{
    font-size:18px;
  }
}

@media(max-width:480px){
  .player-profile-card{
    flex-basis:82vw;
    min-height:490px;
  }

  .player-avatar-wrap{
    height:205px;
  }

  .player-card-head{
    display:block;
  }

  .player-card-head span{
    display:inline-flex;
    margin-top:8px;
    max-width:100%;
  }
}

/* =========================
   V13 INTERNAL DATA SECURITY / TEAM POWER
   ========================= */

textarea{
  width:100%;
  min-height:180px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(15,23,42,.78);
  color:#e5e7eb;
  padding:14px;
  resize:vertical;
  outline:none;
}

textarea:focus{
  border-color:rgba(167,139,250,.55);
  box-shadow:0 0 0 3px rgba(124,58,237,.18);
}

.error{
  color:#fca5a5;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

/* =========================
   V13B TEAM POWER INTERNAL
   ========================= */

.player-mini{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}

.player-mini img{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover;
  background:#111827;
}

.player-mini strong{
  display:block;
  color:#fff;
  line-height:1.3;
}

.player-mini span{
  display:block;
  color:#94a3b8;
  font-size:12px;
  margin-top:3px;
}

.power-formula{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}

.power-formula div{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.power-formula strong{
  display:block;
  color:#fbbf24;
  font-size:24px;
}

.power-formula span{
  display:block;
  color:#cbd5e1;
  font-size:13px;
  margin-top:6px;
}

@media(max-width:900px){
  .power-formula{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* =========================
   V13C TEAM POWER TABLE FIX
   ========================= */

.card table{
  width:100%;
}

.card table td,
.card table th{
  vertical-align:middle;
}

.card table td[title]{
  max-width:160px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:900px){
  .card{
    overflow-x:auto;
  }

  .card table{
    min-width:980px;
  }

  .player-mini{
    min-width:180px;
  }
}

/* =========================
   INTERNAL APP BASE FIX
   ========================= */

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;
  background:#0b1020;
  color:#e5e7eb;
}

a{
  color:#93c5fd;
  text-decoration:none;
}

a:hover{
  color:#bfdbfe;
}

.app-shell{
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 34%),
    radial-gradient(circle at top right, rgba(168,85,247,.14), transparent 30%),
    #0b1020;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 24px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(15,23,42,.86);
  backdrop-filter:blur(12px);
  position:sticky;
  top:0;
  z-index:20;
}

.topbar strong{
  display:block;
  font-size:18px;
  color:#fff;
}

.topbar span{
  display:block;
  margin-top:3px;
  color:#94a3b8;
  font-size:12px;
}

.topbar nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:14px;
}

.topbar nav a{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#dbeafe;
}

.topbar nav a:hover{
  background:rgba(59,130,246,.28);
}

.app-main{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:28px 0 60px;
}

.ops-hero{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
  padding:24px;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(30,41,59,.96), rgba(15,23,42,.92));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.24);
}

.ops-hero h1{
  margin:8px 0 10px;
  font-size:34px;
  color:#fff;
}

.eyebrow{
  margin:0;
  color:#fbbf24;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.muted{
  color:#94a3b8;
  line-height:1.75;
}

.ops-rank{
  min-width:190px;
  padding:20px;
  border-radius:20px;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.22);
  text-align:center;
}

.ops-rank span,
.ops-rank em{
  display:block;
  color:#fde68a;
  font-style:normal;
}

.ops-rank strong{
  display:block;
  margin:8px 0;
  font-size:46px;
  line-height:1;
  color:#fff;
}

.season-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.season-kpis div{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.season-kpis strong{
  display:block;
  font-size:28px;
  color:#fff;
}

.season-kpis span{
  display:block;
  margin-top:6px;
  color:#94a3b8;
  font-size:13px;
}

.card{
  margin-top:18px;
  padding:22px;
  border-radius:22px;
  background:rgba(15,23,42,.88);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.2);
}

.card h2{
  margin:0 0 14px;
  color:#fff;
}

.card table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:14px;
}

.card th,
.card td{
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  color:#e5e7eb;
  font-size:14px;
}

.card th{
  background:rgba(255,255,255,.07);
  color:#cbd5e1;
  font-weight:600;
}

.card tbody tr:hover{
  background:rgba(59,130,246,.08);
}

@media(max-width:900px){
  .topbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .ops-hero{
    flex-direction:column;
  }

  .season-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .app-main{
    width:min(100% - 20px, 1180px);
  }
}

/* avatar eye-center patch */
.player-mini img,
.player-card img,
.public-player-card img,
.home-player-card img,
.player-avatar img,
.avatar img,
.avatar,
img[src*="huashan.tv"],
img[src*="avatar"],
img[src*="avator"]{
  object-fit: cover !important;
  object-position: center 24% !important;
}

/* INTERNAL_VISUAL_UNIFY_V1 */
body:not(.public-body){
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 34%),
    linear-gradient(180deg,#070b16 0%,#0b1020 45%,#090d18 100%);
  color:#e5e7eb;
}

body:not(.public-body) a{
  color:#93c5fd;
}

body:not(.public-body) a:hover{
  color:#bfdbfe;
}

.header{
  min-height:68px;
  padding:0 24px;
  background:linear-gradient(90deg,rgba(15,23,42,.98),rgba(17,24,39,.96) 55%,rgba(31,41,55,.94));
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 44px rgba(0,0,0,.26);
}

.brand-mini{
  min-width:max-content;
}

.brand-mini img{
  width:38px;
  height:38px;
  border-radius:10px;
  object-fit:cover;
  object-position:center 24%;
}

.brand-mini strong{
  color:#fff;
  font-size:17px;
  line-height:1;
}

.brand-mini span{
  color:#a5b4fc;
  font-size:12px;
}

.nav{
  gap:14px;
}

.nav a{
  color:#f3f4f6;
  opacity:.96;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}

.nav a:hover{
  color:#fff;
}

.nav .tag,
.tag{
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#f8fafc;
  font-size:12px;
  line-height:1;
  white-space:nowrap;
}

.container{
  max-width:1220px;
  margin:26px auto 0;
  padding:0 18px 52px;
}

.card{
  margin:0 0 18px;
  padding:22px;
  border-radius:18px;
  background:rgba(15,23,42,.88);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  color:#e5e7eb;
  overflow-x:auto;
}

.card h1,
.card h2,
.card h3{
  color:#fff;
}

.card p,
.muted{
  color:#cbd5e1;
}

.small,
.leader-group,
.leader-days,
.stat .label{
  color:#94a3b8;
}

input,
select{
  background:rgba(15,23,42,.92);
  border:1px solid rgba(148,163,184,.34);
  color:#f8fafc;
}

input::placeholder{
  color:#94a3b8;
}

button,
.btn{
  background:linear-gradient(135deg,#4f46e5,#2563eb);
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
}

.btn.secondary,
button.btn.secondary{
  background:rgba(255,255,255,.08);
  color:#f8fafc;
  border:1px solid rgba(255,255,255,.18);
}

.btn.danger,
button.btn.danger{
  background:#dc2626;
  color:#fff;
}

table,
.card table{
  width:100%;
  min-width:900px;
  border-collapse:separate;
  border-spacing:0;
  background:#0f172a;
  border-radius:14px;
  overflow:hidden;
}

th,
td,
.card th,
.card td{
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#e5e7eb;
  font-size:14px;
  text-align:left;
  vertical-align:middle;
}

th,
.card th{
  background:#182236;
  color:#dbe4f0;
  font-weight:700;
}

tbody tr:nth-child(even) td{
  background:rgba(255,255,255,.025);
}

tr:hover td,
.card tbody tr:hover td{
  background:rgba(59,130,246,.10);
}

.rank-hot td{
  background:rgba(127,29,29,.28)!important;
}

.status-hot,
.status-normal,
.status-done,
.status-upcoming,
.roster-tag{
  display:inline-block;
  padding:4px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.status-hot{
  background:rgba(220,38,38,.22);
  color:#fecaca;
  border:1px solid rgba(248,113,113,.34);
}

.status-normal{
  background:rgba(148,163,184,.16);
  color:#cbd5e1;
  border:1px solid rgba(148,163,184,.28);
}

.status-done,
.tag-current{
  background:rgba(34,197,94,.16);
  color:#86efac;
  border:1px solid rgba(34,197,94,.28);
}

.status-upcoming,
.tag-history{
  background:rgba(148,163,184,.14);
  color:#cbd5e1;
  border:1px solid rgba(148,163,184,.24);
}

.ops-hero{
  background:linear-gradient(135deg,rgba(30,41,59,.96),rgba(15,23,42,.92));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.24);
  color:#fff;
}

.ops-hero h1{
  color:#fff;
  font-size:34px;
  line-height:1.18;
}

.ops-brand p{
  color:#cbd5e1;
}

.ops-rank{
  min-width:190px;
  padding:20px;
  border-radius:18px;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.22);
  color:#fde68a;
  text-align:center;
}

.ops-rank span,
.ops-rank em{
  display:block;
  color:#fde68a;
  font-style:normal;
}

.ops-rank strong{
  display:block;
  margin:8px 0;
  color:#fff;
  font-size:42px;
  line-height:1;
}

.season-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.season-kpis > div,
.stat,
.leader-card,
.power-formula > div{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  box-shadow:none;
}

.season-kpis strong,
.season-kpis .num,
.stat .num,
.leader-name{
  color:#fff;
}

.leader-score,
.analysis-card strong,
.power-formula strong,
.eyebrow{
  color:#fbbf24;
}

.internal-analysis{
  background:rgba(15,23,42,.88);
}

.analysis-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.analysis-head h2{
  color:#fff;
  margin-bottom:8px;
}

.analysis-head p{
  margin:0;
  color:#cbd5e1;
}

.analysis-pill,
.analysis-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  border-radius:999px;
  border:1px solid rgba(251,191,36,.32);
  background:rgba(251,191,36,.14);
  color:#fde68a;
  font-size:12px;
  font-weight:800;
  padding:5px 10px;
  white-space:nowrap;
}

.analysis-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.analysis-block,
.schedule-plan-item,
.strategy-list{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  padding:16px;
}

.analysis-block h3,
.schedule-plan h3,
.strategy-list h3{
  color:#fff;
  margin:0 0 10px;
  font-size:17px;
}

.analysis-block p,
.schedule-plan-item p,
.strategy-list li{
  color:#dbe4f2;
  font-size:14px;
  line-height:1.75;
}

.analysis-block p,
.schedule-plan-item p{
  margin:0 0 10px;
}

.analysis-block p:last-child,
.schedule-plan-item p:last-child{
  margin-bottom:0;
}

.schedule-plan{
  margin-top:16px;
}

.schedule-plan-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.schedule-plan-item strong{
  display:block;
  color:#fff;
  margin:10px 0 8px;
}

.strategy-list{
  margin-top:16px;
}

.strategy-list ul{
  margin:0;
  padding-left:20px;
}

.strategy-list li{
  margin:7px 0;
}

.power-formula{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}

.power-formula > div{
  padding:14px;
  text-align:center;
}

.power-formula span{
  display:block;
  margin-top:6px;
  color:#cbd5e1;
  font-size:13px;
}

.player-mini{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}

.player-mini img{
  width:46px;
  height:46px;
  border-radius:14px;
  object-fit:cover;
  object-position:center 24%;
  background:#111827;
}

.player-mini strong{
  display:block;
  color:#fff;
  line-height:1.3;
}

.player-mini span{
  display:block;
  margin-top:3px;
  color:#94a3b8;
  font-size:12px;
}

.avatar-xl,
.ops-brand img{
  object-fit:cover;
  object-position:center 24%;
}

.huashan-search-form{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto auto;
  gap:10px;
  align-items:center;
}

.huashan-search-form input{
  margin:0;
}

.huashan-search-form button,
.huashan-search-form .btn{
  min-height:42px;
  white-space:nowrap;
}

.huashan-player-hero .player-left{
  min-width:0;
}

.profile-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}

.profile-page-head h1{
  margin:4px 0 0;
  color:#fff;
  font-size:28px;
  line-height:1.2;
}

.profile-page-head .btn{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}

.huashan-player-hero{
  align-items:center;
  gap:20px;
}

.huashan-player-hero .avatar-xl{
  width:96px;
  height:96px;
  flex:0 0 auto;
}

.huashan-player-hero .player-left > div{
  min-width:0;
}

.huashan-player-hero h1{
  margin-bottom:10px;
}

.profile-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.profile-chart-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0;
}

.profile-chart-grid .chart-card{
  min-height:0;
}

.profile-chart-grid .ability-card{
  grid-row:span 2;
}

.camp-chart h2,
.ability-card h2{
  margin-bottom:18px;
}

.bar-row{
  display:grid;
  grid-template-columns:86px minmax(120px,1fr) 64px;
  align-items:center;
  gap:10px;
  margin:14px 0;
}

.bar-label{
  color:#cbd5e1;
  font-size:13px;
  white-space:nowrap;
}

.bar-value{
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-align:right;
  white-space:nowrap;
}

.bar-track{
  height:12px;
  border-radius:999px;
  background:rgba(148,163,184,.18);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.bar-fill{
  height:100%;
  min-width:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#60a5fa,#8b5cf6);
}

.bar-row.good .bar-fill{
  background:linear-gradient(90deg,#22c55e,#84cc16);
}

.bar-row.wolf .bar-fill{
  background:linear-gradient(90deg,#f97316,#ef4444);
}

@media(max-width:980px){
  .header{
    display:flex;
    align-items:flex-start;
    flex-direction:column;
    height:auto;
    padding:14px 16px;
    gap:12px;
  }

  .nav{
    justify-content:flex-start;
    gap:12px;
  }

  .container{
    margin-top:18px;
    padding:0 12px 40px;
  }

  .season-kpis,
  .power-formula{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:900px){
  body:not(.public-body){
    overflow-x:hidden;
  }

  .header{
    min-height:auto;
    padding:12px 16px;
  }

  .brand-mini{
    width:100%;
  }

  .nav{
    width:100%;
    max-width:100%;
    margin-top:0;
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    justify-content:flex-start;
    align-items:center;
    gap:10px;
    padding:2px 0 8px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }

  .nav a,
  .nav .tag,
  .nav form,
  .nav button,
  .nav .btn{
    flex:0 0 auto;
  }

  .nav a,
  .nav button,
  .nav .btn.secondary{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    padding:8px 10px;
    border-radius:10px;
  }

  .nav a{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
  }

  .nav .tag{
    min-height:32px;
    display:inline-flex;
    align-items:center;
  }

  .container{
    max-width:100%;
    margin-top:16px;
    padding:0 14px 40px;
  }

  .card{
    border-radius:16px;
    padding:18px;
    margin-bottom:14px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  table,
  .card table{
    min-width:860px;
  }

  .ops-hero,
  .player-hero{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }

  .ops-rank,
  .power-pill{
    width:100%;
    min-width:0;
  }

  .player-mini{
    min-width:220px;
  }

  .row{
    grid-template-columns:1fr;
  }

  .huashan-search-form{
    grid-template-columns:1fr auto auto;
  }

  .profile-page-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .profile-chart-grid{
    grid-template-columns:1fr;
  }

  .profile-chart-grid .ability-card{
    grid-row:auto;
  }

  .profile-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .container{
    padding-left:12px;
    padding-right:12px;
  }

  .header{
    padding-left:12px;
    padding-right:12px;
  }

  .brand-mini strong{
    font-size:15px;
  }

  .brand-mini span{
    font-size:11px;
  }

  .card{
    padding:16px;
    border-radius:14px;
  }

  .card h1,
  .ops-hero h1,
  .player-hero h1{
    font-size:24px;
    line-height:1.24;
  }

  .card h2,
  .chart-card h2{
    font-size:19px;
    line-height:1.3;
  }

  p,
  td,
  th,
  .small,
  input,
  select,
  button,
  .btn{
    font-size:13px;
  }

  th,
  td,
  .card th,
  .card td{
    font-size:12px;
    padding:10px 8px;
  }

  .season-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .season-kpis > div,
  .stat{
    min-height:78px;
    padding:14px;
  }

  .season-kpis strong,
  .season-kpis .num,
  .stat .num{
    font-size:22px;
  }

  .power-formula{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .leader-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .season-groups,
  .chart-grid,
  .analysis-grid,
  .schedule-plan-grid{
    grid-template-columns:1fr;
  }

  .analysis-head{
    flex-direction:column;
    gap:10px;
  }

  .analysis-pill,
  .analysis-tag{
    min-height:30px;
    white-space:normal;
  }

  .analysis-block,
  .schedule-plan-item,
  .strategy-list{
    padding:14px;
    border-radius:14px;
  }

  .analysis-block p,
  .schedule-plan-item p,
  .strategy-list li{
    font-size:13px;
  }

  .player-left{
    align-items:flex-start;
    flex-direction:column;
  }

  .avatar-xl{
    width:82px;
    height:82px;
    border-radius:20px;
  }

  form{
    max-width:100%;
  }

  input,
  select{
    max-width:100%;
  }

  .card p .btn,
  .card p button,
  .card form button,
  .card form .btn{
    margin:4px 6px 4px 0;
  }

  .huashan-search-form{
    grid-template-columns:1fr;
  }

  .huashan-search-form button,
  .huashan-search-form .btn{
    width:100%;
    margin:0;
  }

  .profile-page-head h1{
    font-size:24px;
  }

  .profile-page-head .btn{
    width:100%;
  }

  .profile-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .huashan-player-hero .avatar-xl{
    width:86px;
    height:86px;
  }

  .bar-row{
    grid-template-columns:72px minmax(96px,1fr) 56px;
    gap:8px;
  }

  .bar-label,
  .bar-value{
    font-size:12px;
  }
}

@media(max-width:420px){
  .container{
    padding-left:12px;
    padding-right:12px;
  }

  .card{
    padding:14px;
    border-radius:12px;
  }

  .card h1,
  .ops-hero h1,
  .player-hero h1{
    font-size:22px;
  }

  .card h2,
  .chart-card h2{
    font-size:18px;
  }

  .nav{
    gap:8px;
  }

  .nav a,
  .nav button,
  .nav .btn.secondary{
    min-height:36px;
    font-size:13px;
    padding:8px 9px;
  }

  .season-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .power-formula{
    grid-template-columns:1fr;
  }

  .ops-brand{
    flex-direction:column;
    align-items:flex-start;
  }

  .ops-brand img{
    width:82px;
    height:82px;
    border-radius:18px;
  }

  .bar-row{
    grid-template-columns:1fr;
    gap:6px;
  }

  .bar-value{
    text-align:left;
  }

  .analysis-block,
  .schedule-plan-item,
  .strategy-list{
    padding:12px;
  }

  .analysis-block h3,
  .schedule-plan h3,
  .strategy-list h3{
    font-size:16px;
  }
}

/* === dashboard group boards compact v1 START === */
/* 只处理 /app/dashboard 的 A/B/C/D 小组积分卡片，避免小表格被全局 table min-width 规则误伤 */
.season-groups .group-board{
  overflow-x:hidden !important;
}

.season-groups .group-board table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}

.season-groups .group-board th,
.season-groups .group-board td{
  padding:10px 10px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.season-groups .group-board th:nth-child(1),
.season-groups .group-board td:nth-child(1){
  width:52px !important;
}

.season-groups .group-board th:nth-child(3),
.season-groups .group-board td:nth-child(3){
  width:82px !important;
  text-align:left !important;
}

.season-groups .group-board th:nth-child(4),
.season-groups .group-board td:nth-child(4){
  width:76px !important;
}

.season-groups .group-board h3{
  margin-bottom:14px !important;
}

/* 手机端仍然保持可读，不让整页横向溢出 */
@media(max-width:640px){
  .season-groups{
    grid-template-columns:1fr !important;
  }

  .season-groups .group-board{
    overflow-x:hidden !important;
  }

  .season-groups .group-board th,
  .season-groups .group-board td{
    padding:9px 8px !important;
    font-size:12px !important;
  }

  .season-groups .group-board th:nth-child(1),
  .season-groups .group-board td:nth-child(1){
    width:44px !important;
  }

  .season-groups .group-board th:nth-child(3),
  .season-groups .group-board td:nth-child(3){
    width:70px !important;
  }

  .season-groups .group-board th:nth-child(4),
  .season-groups .group-board td:nth-child(4){
    width:64px !important;
  }
}
/* === dashboard group boards compact v1 END === */

/* === dashboard + ranking mobile polish v1 START === */

/* 本赛季战况：小组积分表尽量紧凑展示，不出现卡片内横向滚动条 */
.season-groups .group-board{
  overflow-x:hidden !important;
}

.season-groups .group-board table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}

/* 门派积分榜：7列表格在手机端允许局部横向滑动，但不让整页横向溢出 */
.card:has(h2) table{
  max-width:100%;
}

@media(max-width:900px){
  .season-groups{
    grid-template-columns:1fr !important;
  }

  .season-groups .group-board th,
  .season-groups .group-board td{
    padding:9px 8px !important;
    font-size:12px !important;
  }
}

@media(max-width:640px){
  body{
    overflow-x:hidden !important;
  }

  .card{
    padding:14px !important;
    border-radius:16px !important;
  }

  .card h1{
    font-size:24px !important;
    line-height:1.25 !important;
  }

  .card h2{
    font-size:19px !important;
    line-height:1.3 !important;
  }

  .card .small,
  .card p{
    font-size:13px !important;
    line-height:1.65 !important;
  }

  /* dashboard 小组表：四列紧凑显示 */
  .season-groups .group-board table{
    min-width:0 !important;
  }

  .season-groups .group-board th:nth-child(1),
  .season-groups .group-board td:nth-child(1){
    width:42px !important;
  }

  .season-groups .group-board th:nth-child(3),
  .season-groups .group-board td:nth-child(3){
    width:66px !important;
  }

  .season-groups .group-board th:nth-child(4),
  .season-groups .group-board td:nth-child(4){
    width:60px !important;
  }

  /* ranking 门派积分榜：七列表格不要硬压，保留卡片内横向滑动 */
  .card table{
    font-size:12px !important;
  }

  .card:has(h2) {
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  .card:has(h2) table{
    min-width:680px;
  }

  .card:has(h2) th,
  .card:has(h2) td{
    padding:9px 8px !important;
    white-space:nowrap !important;
  }
}

@media(max-width:420px){
  .card{
    padding:12px !important;
  }

  .season-groups .group-board h3{
    font-size:18px !important;
  }

  .season-groups .group-board th,
  .season-groups .group-board td{
    padding:8px 6px !important;
    font-size:12px !important;
  }

  .card:has(h2) table{
    min-width:640px;
  }
}

/* === dashboard + ranking mobile polish v1 END === */
