@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Titillium+Web:wght@400;600;700&display=swap');

:root {
  --void: #0A0E27;
  --kill: #FF4655;
  --skill: #00E5FF;
  --grid: rgba(0,229,255,0.08);
}

body.s2-body {
  margin: 0;
  font-family: 'Titillium Web', sans-serif;
  background: var(--void);
  color: #c8d6e5;
  line-height: 1.5;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

h1, h2, h3, .s2-display {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.s2-header {
  background: rgba(10,14,39,0.95);
  border-bottom: 2px solid var(--kill);
  padding: 12px 0;
}

.s2-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.s2-logo a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--skill);
  text-decoration: none;
  text-transform: uppercase;
}

.s2-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.s2-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.s2-nav a:hover { color: var(--kill); }

.s2-battle-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 16px;
}

.s2-radar {
  background: rgba(255,70,85,0.08);
  border: 1px solid var(--kill);
  padding: 16px;
  border-radius: 4px;
}

.s2-radar h3 {
  color: var(--kill);
  font-size: 1rem;
  margin: 0 0 12px;
}

.s2-radar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,70,85,0.2);
  text-decoration: none;
  color: inherit;
}

.s2-radar-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--skill);
  background: var(--void);
}

.s2-center { min-width: 0; }

.s2-h1-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: rgba(0,229,255,0.06);
  border-left: 3px solid var(--skill);
}

.s2-h1-row h1 { margin: 0; font-size: 1.6rem; color: var(--skill); }
.s2-body .site-subtitle { color: #8899aa; font-family: 'Titillium Web', sans-serif; text-transform: none; font-size: 0.9rem; }

.s2-danmaku {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--skill);
  height: 120px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  border-radius: 4px;
}

.s2-danmaku-line {
  position: absolute;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--skill);
  animation: s2-drift 12s linear infinite;
}

@keyframes s2-drift {
  from { transform: translateX(100%); }
  to { transform: translateX(-120%); }
}

.s2-rank {
  background: rgba(0,229,255,0.06);
  border: 1px solid var(--skill);
  padding: 16px;
  border-radius: 4px;
  counter-reset: s2rank;
}

.s2-rank h3 { color: var(--skill); margin: 0 0 12px; font-size: 1rem; }

.s2-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 8px;
  background: rgba(10,14,39,0.8);
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
}

.s2-rank-item.top1 { box-shadow: 0 0 12px var(--kill), inset 0 0 0 1px var(--kill); }
.s2-rank-item.top2 { box-shadow: 0 0 8px var(--skill); }
.s2-rank-item.top3 { box-shadow: 0 0 6px #ffd700; }

.s2-rank-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--kill);
  min-width: 28px;
}

.s2-rank-item { counter-increment: s2rank; }
.s2-rank-item .s2-rank-num::after { content: counter(s2rank); }

.s2-news-wall {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.s2-news-wall h2 { color: var(--kill); font-size: 1.2rem; margin-bottom: 12px; }

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

.s2-news-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.s2-news-card:hover { border-color: var(--kill); }

.s2-footer {
  background: #060818;
  border-top: 2px solid var(--kill);
  text-align: center;
  padding: 28px 20px;
  width: 100%;
}

.s2-footer .container { width: 100%; max-width: 1200px; margin: 0 auto; text-align: center; }
.s2-footer p { text-align: center; margin: 5px 0; color: #8899aa; }
.s2-footer a { color: var(--skill); }

.s2-footer.footer-wrapper,
.s2-footer .footer-desc,
.s2-footer p { text-align: center; }
.s2-body .position { background: rgba(10,14,39,0.9); color: #8899aa; border-bottom: 1px solid var(--kill); }
.s2-body .lmtit .lmname { font-family: 'Rajdhani', sans-serif; color: var(--skill); text-transform: uppercase; }
.s2-body .bgwhite, .s2-body .main { background: rgba(0,0,0,0.35); color: #c8d6e5; }

.s2-body .match_filter_item.on a,
.s2-body .match_filter_item.active a { background: var(--kill) !important; color: #fff !important; }
.s2-body .info_right.start a { background: var(--skill) !important; color: var(--void) !important; }
.s2-body .match_list { background: rgba(0,0,0,0.3); }

/* 新闻列表 / 录像列表 — 深色背景下白色文字 */
.s2-body .position,
.s2-body .position a,
.s2-body .position .crumb { color: #fff !important; }
.s2-body .position a:hover { color: var(--skill) !important; }

.s2-body .ny_newslist_leftside,
.s2-body .container_left,
.s2-body .container_right { color: #fff; }

.s2-body .lmtit .lmname,
.s2-body .lmtit h1.lmname { color: #fff !important; }
.s2-body .update-time { color: rgba(255,255,255,0.7) !important; }

.s2-body .newslist ul li .tit,
.s2-body .newslist ul li .tit a { color: #fff !important; }
.s2-body .newslist ul li .desc { color: rgba(255,255,255,0.75) !important; }
.s2-body .newslist ul li .st { color: rgba(255,255,255,0.55) !important; }
.s2-body .newslist ul li:after { border-bottom-color: rgba(255,255,255,0.12) !important; }

.s2-body .luxianglist li,
.s2-body .luxianglist li a,
.s2-body .luxianglist li a p,
.s2-body .luxianglist li a .nr { color: #fff !important; }
.s2-body .luxianglist li { border-bottom-color: rgba(255,255,255,0.12) !important; }
.s2-body .luxianglist li:hover,
.s2-body .luxianglist li:hover a,
.s2-body .luxianglist li:hover a p { background: rgba(0,229,255,0.08) !important; color: var(--skill) !important; }

.s2-body .fenye,
.s2-body .fenye a,
.s2-body .fenye li { color: #fff !important; }

.s2-body .hot_news_list li,
.s2-body .hot_news_list li a,
.s2-body .hot_news_list li span { color: #fff !important; }

.s2-body .index_video_list_qh li a,
.s2-body .index_video_list_qh li a p,
.s2-body .index_video_list_qh li a .nr { color: #fff !important; }

.s2-body .live_right_item,
.s2-body .live_right_item a,
.s2-body .live_right_item span { color: #fff !important; }

.s2-body .hottagmain a { color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.2); }

.s2-page-bar { display: flex; align-items: center; width: 100%; margin-bottom: 12px; }
.s2-page-bar h1 { margin: 0; font-size: 1.5rem; color: var(--skill); }

@media (max-width: 900px) {
  .s2-battle-wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .s2-danmaku-line { animation: none; position: static; display: block; padding: 4px 8px; }
}
