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

:root {
  --black: #0A0A0A;
  --pink: #FF00FF;
  --cyan: #00FFFF;
  --yellow: #FFFF00;
  --panel: #111111;
  --border: rgba(0, 255, 255, 0.25);
  --text: #d4d4d4;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body.n2-body {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .n2-display {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

a { color: inherit; text-decoration: none; }

img.lazy {
  background: #151515;
  min-height: 1px;
}

.n2-body .header,
.n2-body .second-header { display: none !important; }

/* Header + scanlines */
.n2-header {
  background: var(--black);
  border-bottom: 2px solid var(--cyan);
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.n2-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 255, 0.03) 2px,
    rgba(0, 255, 255, 0.03) 4px
  );
  animation: n2-scan 8s linear infinite;
}

@keyframes n2-scan {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

.n2-header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.n2-logo a {
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0, 255, 255, 0.4);
}

.n2-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.n2-nav a {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

.n2-nav a:hover {
  color: var(--yellow);
  border-bottom-color: var(--pink);
  text-shadow: 0 0 8px var(--yellow);
}

/* LIVE scroll banner */
.n2-live-banner {
  background: linear-gradient(90deg, #0A0A0A, #151515, #0A0A0A);
  border-bottom: 1px solid var(--pink);
  padding: 10px 0;
  overflow: hidden;
}

.n2-live-track {
  display: flex;
  gap: 28px;
  animation: n2-scroll 35s linear infinite;
  width: max-content;
}

@keyframes n2-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.n2-live-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.n2-live-item:hover { color: var(--cyan); }
.n2-live-item strong { color: var(--yellow); font-family: 'Orbitron', sans-serif; }

.n2-live-badge {
  background: var(--pink);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  animation: n2-blink 1.2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--pink);
}

@keyframes n2-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--pink); }
  50% { opacity: 0.4; box-shadow: 0 0 4px var(--pink); }
}

/* LED score display */
.n2-led-score {
  font-family: 'Orbitron', sans-serif;
  color: var(--cyan);
  text-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(0, 255, 255, 0.5);
  letter-spacing: 2px;
}

/* Main wrap */
.n2-wrap,
.n2-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.n2-section {
  font-size: 1.25rem;
  color: var(--cyan);
  margin: 28px 0 14px;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  border-left: 3px solid var(--pink);
  padding-left: 12px;
}

/* League icons */
.n2-leagues {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  margin-bottom: 20px;
}

.n2-league-item {
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
  padding: 10px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
}

.n2-league-item:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.35);
}

.n2-league-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.n2-league-item span {
  font-size: 0.75rem;
  color: var(--cyan);
}

/* News hero + purple overlay */
.n2-news-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.n2-news-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  border: 2px solid var(--pink);
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.n2-news-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.45);
}

.n2-news-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.n2-news-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(128, 0, 128, 0.75));
  pointer-events: none;
}

.n2-news-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
}

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

.n2-news-side a {
  background: var(--panel);
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  border-left: 3px solid var(--yellow);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(255, 255, 0, 0.08);
}

.n2-news-side a:hover {
  transform: translateX(4px);
  box-shadow: 0 0 16px rgba(255, 255, 0, 0.25);
}

/* Video 3-col neon cards */
.n2-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.n2-video-card {
  background: var(--panel);
  border: 2px solid var(--cyan);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.12);
}

.n2-video-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink);
  box-shadow: 0 0 24px rgba(255, 0, 255, 0.35);
}

.n2-video-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #1a1a1a;
}

.n2-video-card div {
  padding: 12px;
  font-size: 0.85rem;
  color: #fff;
}

.n2-video-card span {
  display: block;
  padding: 0 12px 12px;
  font-size: 0.75rem;
  color: var(--yellow);
}

/* Player scroll with glow numbers */
.n2-players-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scroll-snap-type: x mandatory;
}

.n2-player-panel {
  min-width: 150px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.n2-player-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.25);
  border-color: var(--pink);
}

.n2-glow-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow), 0 0 20px rgba(255, 255, 0, 0.5);
  line-height: 1;
}

.n2-player-panel img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.n2-player-panel span {
  color: #fff;
  font-size: 0.85rem;
}

/* Team grid */
.n2-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.n2-team-cell {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.n2-team-cell:hover {
  transform: scale(1.05);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.25);
}

.n2-team-cell img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

/* Glowing tag cloud */
.n2-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 24px;
}

.n2-tag-cloud a {
  padding: 6px 16px;
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 0, 255, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.n2-tag-cloud a:nth-child(3n+1) {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 255, 255, 0.08);
}

.n2-tag-cloud a:nth-child(3n+2) {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255, 255, 0, 0.08);
}

.n2-tag-cloud a:hover {
  background: var(--pink);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--pink);
}

/* Contest list / a1 overrides */
.n2-body .site-subtitle {
  color: var(--yellow);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-left: 8px;
}

.n2-body .match_filter_item.on a {
  background: var(--pink) !important;
  color: #fff !important;
}

.n2-body .info_right.start a {
  background: var(--cyan) !important;
  color: var(--black) !important;
  box-shadow: 0 0 10px var(--cyan);
}

.n2-body .match,
.n2-body .bgwhite {
  background: var(--panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.n2-body .match h1 { color: #fff !important; }

.n2-body .lmtit .lmname,
.n2-body .lmtit .lmname div { color: var(--cyan) !important; }

.n2-body .match-item {
  border-bottom-color: var(--border) !important;
  transition: background 0.2s;
}

.n2-body .match-item:hover { background: rgba(0, 255, 255, 0.04); }

.n2-body .match-item .info_left .time,
.n2-body .match-item .info_left .league,
.n2-body .match-item .info_left .league a,
.n2-body .match-item .info_center .text,
.n2-body .match-item .info_center .text a,
.n2-body .match-item .info_center .score,
.n2-body .match-item .info_center .hscore,
.n2-body .match-item .info_center .vscore,
.n2-body .match_time { color: #fff !important; }

.n2-body .match-item .info_center .hscore,
.n2-body .match-item .info_center .vscore {
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 8px var(--cyan);
}

.n2-body .match-item .info_right a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: var(--border) !important;
}

.n2-body .load_more {
  background: #151515 !important;
  color: var(--cyan) !important;
  border-color: var(--border) !important;
}

.n2-body .update-time { color: rgba(255, 255, 255, 0.5) !important; }

/* Detail pages */
.n2-breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: #888;
}

.n2-breadcrumb a { color: var(--cyan); }
.n2-breadcrumb a:hover { color: var(--yellow); }

.n2-detail-layout,
.n2-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.n2-detail-main,
.n2-aside-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: box-shadow 0.25s;
}

.n2-detail-main { padding: 28px; }
.n2-detail-main:hover { box-shadow: 0 0 24px rgba(0, 255, 255, 0.1); }

.n2-detail h1 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.35;
}

.n2-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.n2-detail-meta a { color: var(--cyan); }

.n2-detail-cover img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  max-height: 400px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.n2-detail-body {
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  word-break: break-word;
  color: var(--text);
}

.n2-detail-body a { color: var(--cyan); }
.n2-detail-body a:hover { color: var(--yellow); }

.n2-detail-video {
  max-width: 1000px;
  margin: 0 auto 20px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.2);
}

.n2-detail-video-dark { background: #010101; }

.n2-detail-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.n2-video-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  margin: 0;
}

.n2-detail-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.n2-detail-tags a {
  padding: 4px 12px;
  background: rgba(255, 0, 255, 0.1);
  color: var(--pink);
  border: 1px solid rgba(255, 0, 255, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.n2-detail-tags a:hover {
  background: var(--pink);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--pink);
}

.n2-prenext {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.n2-prenext a { color: #888; }
.n2-prenext a:hover { color: var(--cyan); }

.n2-record-play {
  display: inline-block;
  padding: 10px 20px;
  background: var(--pink);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.4);
}

.n2-record-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.n2-aside-box {
  padding: 16px;
  margin-bottom: 16px;
}

.n2-aside-box h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--cyan);
  border-bottom: 2px solid var(--pink);
  padding-bottom: 8px;
}

.n2-aside-link {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.n2-aside-link:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.n2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.n2-related-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.n2-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.2);
}

.n2-related-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.n2-related-card p {
  padding: 10px;
  font-size: 0.82rem;
  margin: 0;
  color: #fff;
}

.n2-record-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 24px;
  padding-bottom: 8px;
}

.n2-record-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.n2-record-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 0 16px rgba(255, 0, 255, 0.25);
}

.n2-record-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.n2-record-card p {
  padding: 10px;
  font-size: 0.82rem;
  margin: 0;
  color: #fff;
}

/* List pages */
.n2-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.n2-list-head h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.n2-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.n2-filters span {
  padding: 6px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.n2-filters span.on,
.n2-filters span:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.n2-list-row {
  display: flex;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.n2-list-row:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.n2-list-row img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.n2-list-body { flex: 1; min-width: 0; }

.n2-list-body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #fff;
}

.n2-list-body p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #888;
}

.n2-list-meta {
  font-size: 0.78rem;
  color: #888;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.n2-list-meta .tag { color: var(--yellow); }

/* 分页 fenye */
.n2-body .fenye {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
  margin-top: 8px;
  clear: both;
}

.n2-body .fenye ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.n2-body .fenye ul li {
  display: inline-block;
  margin: 0;
}

.n2-body .fenye ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: 'Rajdhani', sans-serif;
  color: var(--cyan);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.n2-body .fenye ul li a:hover {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.n2-body .fenye ul li.active a {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.4);
}

.n2-body ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  justify-content: center;
  clear: both;
}

.n2-body ul.pagination li {
  display: inline-block;
  float: none;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.n2-body ul.pagination li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--cyan);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
}

.n2-body ul.pagination li.active {
  background: transparent;
  border: none;
}

.n2-body ul.pagination li.active a {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.n2-body ul.pagination li a:hover {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
}

/* Column pages grid overrides */
.n2-body .container { max-width: var(--max); width: 100% !important; }
.n2-body .position { background: var(--black); }
.n2-body .position,
.n2-body .position a,
.n2-body .position .crumb { color: var(--text) !important; }
.n2-body .position a:hover { color: var(--cyan) !important; }

.n2-body .container.flex-between:has(.ny_leftside) {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 32px;
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) 300px;
  gap: 16px;
  float: none !important;
}

.n2-body .container.flex-between:not(:has(.ny_leftside)) {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  float: none !important;
}

.n2-body .container.flex-between:has(.ny_leftside) .ny_leftside {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  float: none !important;
}

.n2-body .container.flex-between:has(.ny_leftside) .ny_leftside .all {
  background: var(--pink) !important;
  width: 100%;
  color: #fff !important;
}

.n2-body .container_left,
.n2-body .container_right {
  width: 100% !important;
  float: none !important;
  min-width: 0;
  color: var(--text);
}

.n2-body .container_left .match-item {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.n2-body .ny_leftside {
  background: var(--panel) !important;
  border: 1px solid var(--border);
}

.n2-body .ny_leftside .navlist li {
  background: var(--panel) !important;
  border-bottom-color: var(--border) !important;
}

.n2-body .ny_leftside .navlist li a { color: var(--text) !important; }
.n2-body .ny_leftside .navlist li a:hover { color: var(--cyan) !important; }

.n2-body .hot_news_list ul li {
  background: rgba(255, 255, 255, 0.04) !important;
}

.n2-body .hot_news_list ul li a { color: #fff !important; }
.n2-body .hot_news_list ul li span { color: var(--pink) !important; }

.n2-body .hotvideos .hotvideosmain .hot_video_item {
  background: rgba(255, 255, 255, 0.04) !important;
}

.n2-body .hotvideos .hotvideosmain .hot_video_item a,
.n2-body .hotvideos .hotvideosmain .hot_video_item a p,
.n2-body .hotvideos .hotvideosmain .hot_video_item a .nr { color: #fff !important; }

.n2-body .hotvideos .hotvideosmain .hot_video_item:hover {
  background: rgba(0, 255, 255, 0.08) !important;
}

.n2-body .hottag .hottagmain a {
  color: var(--yellow) !important;
  background: rgba(255, 255, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 0, 0.3);
}

.n2-body .hottag .hottagmain a:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
}

/* Footer */
.n2-footer.footer-wrapper {
  background: #050505;
  border-top: 2px solid var(--pink);
}

.n2-footer p,
.n2-footer .footer-desc {
  text-align: center;
  color: #888;
}

.n2-footer a { color: var(--cyan); }
.n2-footer a:hover { color: var(--yellow); }

.n2-body .friend-wrapper a { color: #888; }
.n2-body .friend-wrapper a:hover { color: var(--cyan); }

/* 赛事详情页 matchLive */
.n2-body .match_allinfo .top {
  background: linear-gradient(135deg, #111, #0A0A0A);
  border: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
}

.n2-body .match_allinfo .top,
.n2-body .match_allinfo .top p,
.n2-body .match_allinfo .qiudui_name { color: #fff; }

.n2-body .match_allinfo .qiudui_bifen {
  font-family: 'Orbitron', sans-serif;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.n2-body .match_info,
.n2-body .match_analysis,
.n2-body .xiangguanzhibo,
.n2-body .hotvideos {
  background: var(--panel) !important;
  border: 1px solid var(--border);
  color: var(--text);
}

.n2-body .match_analysis .senav span.on {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
}

.n2-body .zhibo_btn .redirectLink {
  background: var(--pink);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  margin: 4px;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.n2-body .container.mt10.flex-between {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid !important;
  gap: 24px;
  float: none !important;
}

.n2-body .position .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 0.85rem;
}

.n2-body .column_hd p,
.n2-body .column_hd h2,
.n2-body .match_analysis .tabmain { color: var(--text); }

@media (max-width: 900px) {
  .n2-nav { display: none; }
  .n2-news-split { grid-template-columns: 1fr; }
  .n2-video-grid { grid-template-columns: 1fr; }
  .n2-detail-layout,
  .n2-list-layout { grid-template-columns: 1fr; }
  .n2-related-grid { grid-template-columns: 1fr; }
  .n2-list-row { flex-direction: column; }
  .n2-list-row img { width: 100%; height: 160px; }
  .n2-body .container.flex-between:has(.ny_leftside),
  .n2-body .container.flex-between:not(:has(.ny_leftside)),
  .n2-body .container.mt10.flex-between {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .n2-live-track,
  .n2-live-badge,
  .n2-scanlines { animation: none; }
}
