.troggle-btn-area {
  display: flex;
  box-sizing: border-box;
  padding-left: 10px;
  margin: 10px 0;
}

.troggle-btn-area .troggle-btn {
  width: 110px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25), 0 5px 5px rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  filter: grayscale(100%);
  transition: 0.3s;
  margin: 10px 5px;
  color: #fff;
  background-color: #262525a1;
  font-size: 16px;
  font-weight: bold;
}

.troggle-btn-area .active {
  background-color: var(--match-header-active);
  filter: initial;
}

.stream-game-item {
  display: flex;
  justify-content: space-around;
  width: 95%;
  height: 70px;
  margin: 0 auto;
  border-top: 1px dashed #c6c6c6;
  border-bottom: 1px dashed #c6c6c6;
}

.stream-game-item .time {
  display: flex;
  align-items: center;
  width: 30%;
}

.stream-game-item .league {
  display: flex;
  align-items: center;
  width: 40%;
}

.behind-part {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.team-info-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
}

.team-info-content .team {
  display: flex;
  align-items: center;
  margin: 0 20px;
}

.team-info-content .team .home {
  display: inline-block;
  width: 100px;
  text-align: right;
  margin: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-info-content .team .away {
  display: inline-block;
  width: 100px;
  text-align: left;
  margin: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-info-content .team img {
  width: 30px;
  height: 30px;
}

.stream-play {
  flex: 1;
  display: flex;
}

.stream-play-link {
  display: inline-block;
  color: var(--match-signal-end-color);
  background-color: var(--match-signal-end-bg-color);
  border: var(--match-signal-end-bg-border);
  box-sizing: border-box;
  padding: 12px;
  width: 50%;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto;
  cursor: pointer;
}

.friendly-area {
  width: 100%;
  background-color: var(--friendly-bg-color);
  color: #fff;
}

.friendly-area .friendly-area-content {
  padding: 20px;
}

.friendly-area .friendly-area-content a {
  margin: 0 5px 0 5px;
  text-decoration: none;
  line-height: 1.8em;
}

#main {
  background-color: #fff;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
}

.streamer-area {
  background-color: #e8e7e7;
  width: 100%;
}

.streamer-container {
  margin: 0 auto;
  gap: 20px;
  padding: 10px 20px 20px 20px;
}

/* 直播主卡片样式 */
.streamer-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.streamer-card:hover {
  transform: translateY(-5px);
}

/* 大头贴样式 */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

/* 直播主名称 */
.streamer-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* 直播主描述 */
.streamer-desc {
  font-size: 0.9rem;
  color: #666;
}

/* 主标题样式 */
.section-title {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto 5px auto;
  box-sizing: border-box;
  padding: 10px 0 0 0;
}

.section-title h2 {
  font-size: 1rem; /* 大字体 */
  color: var(--news-text-color); /* 使用鲜艳的颜色吸引注意，例如番茄红 */
  display: inline-block;
  padding: 0px 15px;
  text-transform: uppercase; /* 大写字母 */
  letter-spacing: 2px; /* 增加字母间距 */
  position: relative;
  margin-left: 20px;
}

/* 标题下面的小装饰条 */
.section-title h2:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 100%;
  background-color: var(--news-text-before-bg-color); /* 与标题文字相同的颜色 */
  bottom: 0; /* 放置在标题的底部 */
  left: 0;
  transform: translateX(-50%); /* 使下划线居中 */
  border-radius: 2px;
}

.news-area {
  background-color: #e8e7e7;
  width: 100%;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
  width: 92%; /* 默认最大宽度 */
  padding: 10px 0 30px 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-title {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制最多显示 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-summary {
  font-size: 12px;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制最多显示 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-tag {
  display: inline-block;
  background-color: #540001;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 4px;
  margin-right: 6px;
}

/* --- 响应式设计 --- */
@media (min-width: 768px) {
  .news-list {
    max-width: 300px; /* 中屏幕增大列表宽度 */
    width: 84%;
  }

  .news-image {
    height: 120px; /* 图片高度增加 */
  }

  .news-summary {
    font-size: 14px; /* 内容字体增大 */
  }
}

@media (min-width: 1024px) {
  .news-list {
    max-width: 600px; /* 大屏幕改为双列布局 */
    display: grid;
    gap: 10px;
  }

  .news-item {
    align-items: center;
  }

  .news-image {
    height: 100px;
  }

  .news-content {
    flex: 1;
  }

  .news-summary {
    font-size: 16px; /* 内容字体更大 */
  }
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .streamer-container {
    grid-template-columns: repeat(3, 1fr); /* 调整为3列 */
  }
}

@media (max-width: 768px) {
  .streamer-container {
    grid-template-columns: repeat(2, 1fr); /* 调整为2列 */
  }
  #main {
    display: block;
  }
}

@media (max-width: 480px) {
  .streamer-container {
    grid-template-columns: 1fr; /* 单列布局 */
  }
}

@media screen and (max-width: 768px) {
  .team-info-content {
    display: block;
  }

  .stream-game-item .time {
    text-align: center;
    margin-right: 10px;
  }

  .team-info-content .team {
    margin: 10px 10px;
  }

  .team-info-content .team img {
    width: 25px;
    height: 25px;
  }

  .team-info-content .team:nth-child(n + 2) {
    flex-direction: row-reverse;
  }

  .team-info-content .team .away {
    text-align: right;
  }

  .stream-game-item .league {
    width: 50px;
  }

  .stream-game-item .league a,
  .stream-game-item .league span {
    width: 50px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vs {
    display: none;
  }

  .stream-play {
    display: flex;
    justify-content: center;
    max-width: 64px;
  }

  .stream-play-link {
    padding: 12px;
    width: 100%;
    max-width: 64px;
  }

  .section-title h2 {
    margin-left: 20px;
  }
}

@media screen and (max-width: 400px) {
  .team-info-content .team .home {
    width: 110px;
  }

  .team-info-content .team .away {
    display: inline-block;
    width: 110px;
  }
}

.hot-tag-area {
  width: 95%;
  background-color: var(--friendly-bg-color);
  color: #fff;
  margin: 10px auto;
  box-sizing: border-box;
  padding: 20px;
}

.hot-tag-desc {
  margin-top: 10px;
  line-height: 1.6em;
}

.hot-tag-content:hover {
  background-color: #3f0808;
  color: white;
  transition: 0.3s;
}

.hot-tag-content:hover p {
  color: white;
  transition: 0.3s;
}
