@charset "utf-8";
@import url("base.css");
/* 贵州信息港直播频道2025-10-28 */
body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  line-height: 1.6;
}
.live-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
/* 头部导航 */
.live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}
.logo img {
  height: 50px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-menu a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #fff;
}
/* 直播列表 */
.live-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.live-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.live-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.live-status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.live-status.live {
  background: rgba(252, 0, 4, 0.8);
  color: #fff;
}
.live-status.upcoming {
  background: rgba(255, 142, 0, 0.8);
  color: #fff;
}
.live-status.ended {
  background: rgba(128, 128, 128, 0.8);
  color: #fff;
}
.live-thumb {
  position: relative;
  width: 100%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live-thumb-placeholder {
  color: #666;
  font-size: 14px;
}
.live-item-info {
  padding: 15px;
}
.item-title {
  font-weight: 500;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 10px;
}
.item-host {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-viewers {
  display: flex;
  align-items: center;
  gap: 5px;
}
.item-description {
  font-size: 13px;
  color: #aaa;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 分页 */
.pagination {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #ccc;
}

.pagination select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  padding: 5px 10px;
  margin: 0 5px;
}
/* 直播内容区域 */
.live-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  margin-bottom: 30px;
}
/* 播放器区域 */
.player-section {
  background: #000;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.live-txt {
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 3px;
  color: #FC0004;
}
.player-placeholder {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 宽高比 */
  align-items: center;
  justify-content: center;
  position: relative;
}
.alt table td {
  color: #4874c0;
}
.player-info {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}
.live-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.live-meta {
  display: flex;
  gap: 20px;
  color: #ccc;
  font-size: 14px;
}
/* 侧边栏 */
.sidebar {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 10px 20px;
  backdrop-filter: blur(10px);
}
.sidebar-section {
  margin-bottom: 30px;
}
.sidebar-section:nth-of-type(3) {
  margin-bottom: 10px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.host-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.host-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff8a00, #e52e71);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
}
.host-avatar img{ width: 100%; height: 100%;}
.host-details h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.host-details p, .zhibo-info p {
  color: #ccc;
  font-size: 14px;
}
.zhibo-info span {
  color: #2ab3dc;
}
.live-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}
.stat-value {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 12px;
  color: #ccc;
}
/* 推荐直播 */
.recommendations {
  margin-top: 40px;
}
.rec-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.live-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.live-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s;
}
.live-item:hover {
  transform: translateY(-5px);
}
.live-thumb {
  width: 100%;
  height: auto;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.live-thumb img {
  width: 100%;
}
.live-item-info {
  padding: 15px;
}
.item-title {
  font-weight: 500;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-host {
  font-size: 12px;
  color: #ccc;
}
/*点赞*/
.like-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  right: 15px;
  top: 20px;
  z-index: 5;
  overflow: hidden;
}
.thumb-icon {
  position: relative;
  width: 30px;
  height: 30px;
  background: #888;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: background-color 0.3s;
}
.like-btn.liked .thumb-icon {
  background: #ff4757;
}
.thumb-animation {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #ff4757;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: rise 0.5s ease-out forwards;
  opacity: 0;
  top: 0;
  left: 0;
}
@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) scale(1.5);
    opacity: 0;
  }
}
/*倒计时*/
.Countdown-wrap {
  text-align: center;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 12px;
  left: 15px;
}
.status {
  font-size: 1.2rem;
  color: #333;
}
.countdown {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff4757;
}
.message {
  font-size: 1rem;
  color: #666;
}
footer {
  background: #000000;
  margin-top: 2em;
  border-top: 1px solid #333;
  clear: both;
}
footer a:hover {
  color: #D9D9D9;
}
.cr_left {
  background: url(../images/icon_footer_left2.png) no-repeat left top;
  background-size: 30px 73px;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .live-content {
    grid-template-columns: 1fr;
  }
  .live-header {
    padding: 0px 0px 5px 0px;
    margin-bottom: 15px;
  }
  .logo {
    float: none;
    margin-right: 0px;
    width: 100%;
  }
  .logo img {
    display: block;
    height: 40px;
    margin: 0 auto;
  }
  .live-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .live-meta {
    display: block;
  }
  .live-meta span {
    display: block;
  }
  .live-meta span:nth-child(2) {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .status {
    font-size: 1rem;
  }
  .host-info {
    gap: 25px;
  }
  .Countdown-wrap {
    padding: 5px 10px;
    bottom: 10px;
    left: 13px;
  }
  .countdown {
    font-size: 1.2rem;
  }
  .message {
    font-size: 0.8rem;
  }
  .live-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sidebar-section {
    margin-bottom: 20px;
  }
  /* 直播数据两列 */
  .live-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-item {
    padding: 12px 8px;
  }
  .stat-value {
    font-size: 16px;
  }
  .stat-label {
    font-size: 11px;
  }
  .cr_left {
    background: none;
  }
  .player-info {
    position: relative;
    padding-right: 50px;
  }
  .like-btn {
    position: absolute;
    top: 70%;
    right: 15px;
    transform: translateY(-50%);
    margin-top: 0;
  }
}