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

:root {
  --cream: #FFF8E7;
  --pink: #E85D75;
  --green: #2D6A4F;
  --orange: #F4A261;
  --white: #FFFCF5;
  --text: #3D3D3D;
  --sidebar-w: 200px;
  --max: 1100px;
  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobble-sm: 185px 12px 165px 12px / 12px 165px 12px 185px;
  --wobble-lg: 285px 18px 255px 18px / 18px 255px 18px 285px;
}

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

body.n4-body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, .n4-hand, .n4-display {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

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

.n4-sketch {
  border: 2.5px solid var(--green);
  border-radius: var(--wobble);
  background: var(--white);
}

.n4-sketch-pink {
  border-color: var(--pink);
}

.n4-sketch-orange {
  border-color: var(--orange);
}

/* Left nav */
.n4-shell {
  min-height: 100vh;
  padding-left: var(--sidebar-w);
}

.n4-nav {
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 3px solid var(--green);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 0 rgba(45, 106, 79, 0.08);
}

.n4-nav-logo {
  padding: 20px 14px 16px;
  text-align: center;
  border-bottom: 2px dashed rgba(45, 106, 79, 0.25);
}

.n4-nav-logo a {
  font-family: 'Caveat', cursive;
  font-size: 1.45rem;
  color: var(--green);
  line-height: 1.2;
  display: block;
}

.n4-nav-logo img {
  max-height: 40px;
  max-width: 100%;
}

.n4-nav-menu {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  gap: 4px;
  flex: 1;
}

.n4-nav-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--wobble-sm);
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.n4-nav-menu a:hover {
  background: rgba(244, 162, 97, 0.15);
  border-color: var(--orange);
  transform: rotate(-0.5deg);
}

.n4-emoji {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.n4-nav-hot {
  padding: 12px 14px 18px;
  border-top: 2px dashed rgba(232, 93, 117, 0.3);
}

.n4-nav-hot .n4-hand {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--pink);
}

.n4-nav-hot a {
  display: block;
  padding: 4px 0;
  font-size: 0.78rem;
  color: #666;
}

.n4-nav-hot a:hover { color: var(--green); }

.n4-menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--wobble-sm);
  color: var(--green);
  font-size: 1.2rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* Main content */
.n4-main,
.n4-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 28px 36px;
  min-width: 0;
}

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

.n4-league-icon {
  text-align: center;
  min-width: 72px;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 2px solid var(--green);
  border-radius: var(--wobble-sm);
  background: var(--white);
  transition: transform 0.2s;
}

.n4-league-icon:hover {
  transform: rotate(2deg) scale(1.04);
  border-color: var(--orange);
}

.n4-league-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px;
}

.n4-league-icon span {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
}

/* News sketch */
.n4-news-block {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.n4-news-hero {
  position: relative;
  display: block;
  border: 2.5px solid var(--green);
  border-radius: var(--wobble-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s;
}

.n4-news-hero:hover { transform: rotate(-0.5deg); }

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

.n4-news-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(45, 106, 79, 0.88));
  color: #fff;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
}

.n4-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.n4-news-list a {
  padding: 12px 14px;
  border: 2px solid var(--pink);
  border-radius: var(--wobble-sm);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.n4-news-list a:hover {
  background: rgba(232, 93, 117, 0.08);
  transform: rotate(0.5deg);
}

/* Section titles */
.n4-section {
  font-size: 1.5rem;
  color: var(--green);
  margin: 24px 0 14px;
  padding-left: 4px;
}

.n4-body .site-subtitle {
  color: var(--orange);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 8px;
}

/* Sticky note match cards */
.n4-body .match {
  background: #FFF9C4;
  border: 2px solid rgba(244, 162, 97, 0.6);
  border-radius: var(--wobble);
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: 3px 5px 0 rgba(45, 106, 79, 0.12);
}

.n4-body .match h1 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--green);
}

.n4-body .lmtit .lmname {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--green);
}

.n4-body .match_filter_item.on,
.n4-body .match_filter_item.on a {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--wobble-sm) !important;
}

.n4-body .match_filter_item {
  border-radius: var(--wobble-sm);
  transition: transform 0.15s;
}

.n4-body .match_filter_item:hover {
  transform: rotate(-1deg);
}

.n4-body .info_right.start a {
  background: var(--pink) !important;
  color: #fff !important;
  border-radius: var(--wobble-sm) !important;
}

.n4-body .match-item {
  border-bottom: 1px dashed rgba(45, 106, 79, 0.2);
}

.n4-body .load_more {
  border: 2px dashed var(--green) !important;
  border-radius: var(--wobble-sm) !important;
  background: var(--white) !important;
  color: var(--green) !important;
  font-weight: 700;
}

/* Polaroid videos */
.n4-polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.n4-polaroid {
  background: var(--white);
  padding: 10px 10px 18px;
  border: 2px solid #ddd;
  border-radius: 2px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  display: block;
  color: inherit;
}

.n4-polaroid:nth-child(odd) { transform: rotate(-1.5deg); }
.n4-polaroid:nth-child(even) { transform: rotate(1deg); }

.n4-polaroid:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 4px 8px 20px rgba(45, 106, 79, 0.15);
}

.n4-polaroid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #eee;
  display: block;
  margin-bottom: 10px;
}

.n4-polaroid div {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--green);
  padding: 0 4px;
}

.n4-polaroid span {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  font-family: 'Nunito', sans-serif;
}

/* Player circles */
.n4-players {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.n4-player-circle {
  text-align: center;
  min-width: 88px;
  flex-shrink: 0;
}

.n4-player-circle img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  margin-bottom: 6px;
  background: var(--white);
}

.n4-player-circle span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

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

.n4-team-badge {
  text-align: center;
  padding: 14px 8px;
  border: 2px solid var(--orange);
  border-radius: var(--wobble-sm);
  background: var(--white);
  transition: transform 0.2s;
}

.n4-team-badge:hover {
  transform: rotate(-2deg);
  border-color: var(--green);
}

.n4-team-badge img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.n4-team-badge span {
  display: block;
  font-size: 0.76rem;
  margin-top: 6px;
  font-weight: 600;
}

/* Bubble tags */
.n4-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border: 2px dashed var(--pink);
  border-radius: var(--wobble);
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.n4-bubbles a {
  padding: 6px 16px;
  background: rgba(244, 162, 97, 0.2);
  color: var(--green);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(45, 106, 79, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.n4-bubbles a:hover {
  background: var(--orange);
  color: #fff;
  transform: scale(1.05);
}

/* Footer */
.n4-friends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px 0 8px;
}

.n4-friends a {
  font-size: 0.82rem;
  color: #777;
}

.n4-footer {
  margin-top: 20px;
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid var(--green);
  border-radius: var(--wobble-lg) var(--wobble-lg) 0 0;
  background: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
  font-size: 0.88rem;
}

.n4-footer a { color: var(--green); }

/* Breadcrumb */
.n4-breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #888;
}

.n4-breadcrumb a { color: var(--green); font-weight: 600; }

/* Detail / article max 700px */
.n4-detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 28px;
  align-items: start;
}

.n4-article {
  max-width: 700px;
  padding: 28px;
  border: 2.5px solid var(--green);
  border-radius: var(--wobble-lg);
  background: var(--white);
}

.n4-article h1 {
  margin: 0 0 14px;
  font-size: 1.85rem;
  color: var(--green);
  line-height: 1.3;
}

.n4-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(45, 106, 79, 0.2);
}

.n4-article-meta a { color: var(--pink); font-weight: 600; }

.n4-article-body {
  line-height: 1.85;
  word-break: break-word;
  font-family: 'Nunito', sans-serif;
}

.n4-article-body a { color: var(--orange); }

.n4-article-cover img {
  width: 100%;
  border-radius: var(--wobble-sm);
  border: 2px solid var(--orange);
  margin-bottom: 18px;
}

.n4-article-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-bottom: 18px;
  border-radius: var(--wobble-sm);
  overflow: hidden;
  border: 2px solid var(--green);
}

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

.n4-prenext {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 2px dashed rgba(232, 93, 117, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.n4-prenext a:hover { color: var(--pink); }

.n4-record-play {
  display: inline-block;
  padding: 10px 20px;
  background: var(--orange);
  color: #fff !important;
  border-radius: var(--wobble-sm);
  font-weight: 700;
}

/* Sidebar aside */
.n4-aside {
  position: sticky;
  top: 24px;
}

.n4-aside-box {
  padding: 16px;
  margin-bottom: 16px;
  border: 2px solid var(--pink);
  border-radius: var(--wobble);
  background: var(--white);
}

.n4-aside-box h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--pink);
  border-bottom: 2px dashed rgba(232, 93, 117, 0.3);
  padding-bottom: 8px;
}

.n4-aside-link {
  display: block;
  padding: 7px 0;
  font-size: 0.82rem;
  color: #555;
  border-bottom: 1px dotted #eee;
}

.n4-aside-link:hover { color: var(--green); }

.n4-aside-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.n4-aside-tags a {
  padding: 4px 10px;
  background: rgba(244, 162, 97, 0.15);
  color: var(--green);
  border-radius: var(--wobble-sm);
  font-size: 0.75rem;
  border: 1px solid rgba(45, 106, 79, 0.2);
}

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

.n4-list-head h1 {
  margin: 0;
  font-size: 1.65rem;
  color: var(--green);
}

.n4-list-row {
  display: flex;
  gap: 16px;
  padding: 14px;
  margin-bottom: 14px;
  border: 2px solid var(--green);
  border-radius: var(--wobble);
  background: var(--white);
  transition: transform 0.2s;
}

.n4-list-row:hover {
  transform: rotate(-0.3deg);
  border-color: var(--orange);
}

.n4-list-row img {
  width: 130px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--orange);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: #eee;
}

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

.n4-list-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--green);
}

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

.n4-list-meta {
  font-size: 0.78rem;
  color: #999;
}

.n4-list-main {
  border: 2.5px solid var(--green);
  border-radius: var(--wobble-lg);
  background: var(--white);
  padding: 24px;
  min-width: 0;
}

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

/* Fenye pagination hand-drawn */
.n4-body .fenye {
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
  clear: both;
}

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

.n4-body .fenye ul li { margin: 0; }

.n4-body .fenye ul li a {
  display: block;
  padding: 8px 15px;
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--green);
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.n4-body .fenye ul li a:hover {
  background: var(--green);
  color: #fff;
  transform: rotate(-2deg);
}

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

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

.n4-body ul.pagination li {
  margin: 0;
  border: none;
  float: none;
}

.n4-body ul.pagination li a {
  display: block;
  padding: 8px 15px;
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--green);
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--wobble-sm);
}

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

/* Column / matchLive from a1.css overrides */
.n4-body .header,
.n4-body .second-header { display: none !important; }

.n4-body .container {
  max-width: 100%;
  width: 100% !important;
  margin: 0;
}

.n4-body .position {
  background: transparent;
  padding: 8px 0;
}

.n4-body .position .container {
  width: 100% !important;
  margin: 0;
  padding: 0;
}

.n4-body .position .crumb { color: var(--green); font-weight: 600; }

.n4-body .container.flex-between {
  flex-wrap: nowrap !important;
  justify-content: stretch !important;
}

.n4-body .container.flex-between:has(.ny_leftside) {
  display: grid !important;
  grid-template-columns: 100px minmax(0, 1fr) 240px;
  gap: 14px;
  align-items: start;
  float: none !important;
  padding-bottom: 32px;
}

.n4-body .container.flex-between:not(:has(.ny_leftside)) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: start;
  float: none !important;
  padding-bottom: 32px;
}

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

.n4-body .container.flex-between:has(.ny_leftside) .ny_leftside .all {
  background: var(--green);
  border-radius: var(--wobble-sm);
  width: 100% !important;
  line-height: 48px;
  font-size: 0.85rem;
}

.n4-body .container.flex-between:has(.ny_leftside) .ny_leftside .navlist li a {
  font-size: 0.78rem;
  line-height: 32px;
}

.n4-body .container_left,
.n4-body .container_right {
  width: 100% !important;
  float: none !important;
  min-width: 0;
  overflow: hidden;
}

.n4-body .bgwhite {
  border: 2px solid var(--green);
  border-radius: var(--wobble);
}

/* 赛事列表标题行 */
.n4-body .match_zhibo_list.match_box {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.n4-body .match_zhibo_list.match_box > .match_box {
  width: 100%;
  flex-basis: 100%;
}

.n4-body .match_zhibo_list .match_time {
  margin: 12px 0 8px !important;
  width: auto !important;
}

/* 赛事行：压缩宽度，防止三栏下溢出重叠 */
.n4-body .container_left .match-item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  padding: 10px 6px !important;
  font-size: 13px !important;
}

.n4-body .container_left .match-item .info_left {
  width: auto !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px;
}

.n4-body .container_left .match-item .info_left .time {
  min-width: 0 !important;
  padding-right: 4px !important;
  font-size: 12px !important;
}

.n4-body .container_left .match-item .info_left .time em {
  padding-left: 4px !important;
}

.n4-body .container_left .match-item .info_left .league {
  width: 48px !important;
  padding-right: 4px !important;
  font-size: 11px !important;
}

.n4-body .container_left .match-item .info_center {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  float: none !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.n4-body .container_left .match-item .info_center .home,
.n4-body .container_left .match-item .info_center .away {
  width: auto !important;
  float: none !important;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 !important;
}

.n4-body .container_left .match-item .info_center .home .left,
.n4-body .container_left .match-item .info_center .away .right {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.n4-body .container_left .match-item .info_center .home .left > img,
.n4-body .container_left .match-item .info_center .away .right > img {
  width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}

.n4-body .container_left .match-item .info_center .home .left .text,
.n4-body .container_left .match-item .info_center .away .right .text {
  width: auto !important;
  max-width: 100%;
  padding-left: 4px !important;
  font-size: 12px !important;
}

.n4-body .container_left .match-item .info_center .score {
  width: auto !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  float: none !important;
  font-size: 13px !important;
  padding: 0 4px;
}

.n4-body .container_left .match-item .info_center .score .fenge {
  display: inline !important;
  padding: 0 4px !important;
}

.n4-body .container_left .match-item .info_right {
  flex: 0 0 auto;
  width: auto !important;
}

.n4-body .container_left .match-item .info_right a {
  width: 64px !important;
  font-size: 11px !important;
  line-height: 24px !important;
  padding: 0 2px;
}

/* 右侧栏内容不溢出 */
.n4-body .container_right .hotvideos .hotvideosmain {
  display: block !important;
}

.n4-body .container_right .hotvideos .hotvideosmain .hot_video_item {
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
  margin-top: 8px !important;
}

.n4-body .container_right .hot_news_list ul li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n4-body .container.mt10.flex-between {
  display: grid !important;
  gap: 20px;
  align-items: start;
  float: none !important;
  padding-bottom: 36px;
  width: 100% !important;
}

/* 中等屏幕：略缩右侧栏，保证中间赛事列可读 */
@media (min-width: 901px) and (max-width: 1280px) {
  .n4-content {
    max-width: calc(100vw - var(--sidebar-w) - 24px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .n4-body .container.flex-between:has(.ny_leftside) {
    grid-template-columns: 92px minmax(0, 1fr) 220px;
    gap: 10px;
  }
}

/* 覆盖 a1.css 1200px 断点下 float 宽度冲突 */
@media (min-width: 901px) {
  .n4-body .container_left,
  .n4-body .container_right {
    width: 100% !important;
    float: none !important;
  }
}

/* MatchLive detail */
.n4-body .match_allinfo .top {
  background: linear-gradient(135deg, var(--green), #40916c);
  border-radius: var(--wobble-lg) var(--wobble-lg) 0 0;
}

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

.n4-body .match_allinfo {
  border: 2.5px solid var(--green);
  border-radius: var(--wobble-lg);
  overflow: hidden;
}

.n4-body .match_info,
.n4-body .match_analysis {
  border-radius: 0 0 var(--wobble-lg) var(--wobble-lg);
}

.n4-body .match_analysis .senav span.on {
  background: var(--pink);
  color: #fff;
  border-radius: var(--wobble-sm);
}

.n4-body .zhibo_btn .redirectLink {
  background: var(--orange);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--wobble-sm);
  margin: 4px;
  display: inline-block;
  font-weight: 700;
}

.n4-body .hottagmain a {
  padding: 5px 12px;
  background: rgba(244, 162, 97, 0.2);
  border-radius: var(--wobble-sm);
  border: 1px solid rgba(45, 106, 79, 0.25);
  margin: 3px;
  display: inline-block;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .n4-menu-toggle { display: block; }

  .n4-shell { padding-left: 0; }

  .n4-nav {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .n4-nav.open {
    transform: translateX(0);
  }

  .n4-main,
  .n4-content { padding: 60px 16px 28px; }

  .n4-news-block { grid-template-columns: 1fr; }
  .n4-polaroid-grid { grid-template-columns: 1fr 1fr; }
  .n4-detail-wrap { grid-template-columns: 1fr; }
  .n4-list-layout { grid-template-columns: 1fr; }
  .n4-aside { position: static; }
  .n4-list-row { flex-direction: column; }
  .n4-list-row img { width: 100%; height: 160px; }

  .n4-body .container.flex-between:has(.ny_leftside),
  .n4-body .container.flex-between:not(:has(.ny_leftside)) {
    grid-template-columns: 1fr;
  }

  .n4-body .container.mt10.flex-between {
    grid-template-columns: 1fr;
  }

  .n4-body .container_left .match-item {
    flex-wrap: wrap !important;
  }

  .n4-body .container_left .match-item .info_center {
    flex-basis: 100%;
    order: 2;
  }

  .n4-body .container_left .match-item .info_right {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .n4-polaroid-grid { grid-template-columns: 1fr; }
}
