* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f4f5f7;
  color: #212121;
  min-width: 1100px;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  z-index: 1000;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.logo svg {
  fill: #00A1D6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  padding: 6px 12px;
  font-size: 14px;
  color: #18191c;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.nav-item:hover {
  background: #e3e5e7;
  color: #00a1d6;
}

.nav-item.active {
  color: #00a1d6;
  font-weight: 600;
}

.nav-item.download {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #00a1d6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f1f2f3;
  border-radius: 8px;
  overflow: hidden;
  width: 260px;
  height: 40px;
  transition: background .2s;
}

.search-box:focus-within {
  background: #e3e5e7;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0 12px;
  height: 100%;
  flex: 1;
  font-size: 14px;
  color: #18191c;
}

.search-input::placeholder {
  color: #9499a0;
}

.search-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover svg {
  fill: #00a1d6;
}

.header-login-btn {
  padding: 6px 16px;
  border: 1px solid #00a1d6;
  border-radius: 8px;
  color: #00a1d6;
  font-size: 14px;
  transition: all .2s;
}

.header-login-btn:hover {
  background: #00a1d6;
  color: #fff;
}

.header-vip-btn {
  padding: 6px 16px;
  background: linear-gradient(135deg, #fb7299, #fc3);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* ========== Main Content ========== */
.main-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 20px 40px;
}

/* ========== Banner ========== */
.banner-section {
  margin-bottom: 24px;
}

.banner-carousel {
  width: 100%;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.banner-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.banner-info {
  position: absolute;
  bottom: 24px;
  left: 32px;
  color: #fff;
  z-index: 2;
}

.banner-title {
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.banner-subtitle {
  font-size: 15px;
  margin-top: 6px;
  opacity: .85;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.banner-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.thumb-item {
  flex-shrink: 0;
  width: 170px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.thumb-item:hover,
.thumb-item.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.thumb-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00a1d6;
}

.thumb-item img {
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.thumb-title {
  display: block;
  padding: 6px 8px;
  font-size: 12px;
  color: #18191c;
  background: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== Content Layout ========== */
.content-wrapper {
  display: flex;
  gap: 20px;
}

.content-left {
  flex: 1;
  min-width: 0;
}

/* ========== Index Section ========== */
.index-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #18191c;
}

.section-title a {
  color: #18191c;
}

.section-title a:hover {
  color: #00a1d6;
}

.section-more {
  font-size: 13px;
  color: #9499a0;
  transition: color .2s;
}

.section-more:hover {
  color: #00a1d6;
}

.fire-icon {
  font-size: 22px;
  margin-right: 4px;
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.index-group {
  padding: 12px 16px;
  background: #f6f7f8;
  border-radius: 8px;
}

.index-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #18191c;
  margin-bottom: 8px;
}

.index-group-title a {
  color: #18191c;
}

.index-group-title a:hover {
  color: #00a1d6;
}

.hot-title {
  color: #ff6699;
}

.index-links {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.index-link {
  font-size: 14px;
  color: #00a1d6;
  padding: 4px 10px;
  background: #e8f4f8;
  border-radius: 6px;
  transition: all .2s;
}

.index-link:hover {
  background: #00a1d6;
  color: #fff;
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.index-tag {
  font-size: 13px;
  color: #61666d;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all .2s;
}

.index-tag:hover {
  color: #00a1d6;
  background: #e8f4f8;
}

.index-tag.hot {
  color: #ff6699;
  background: #fff0f5;
}

.index-tag.hot:hover {
  background: #ff6699;
  color: #fff;
}

/* ========== Schedule Section ========== */
.schedule-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.schedule-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e3e5e7;
  padding-bottom: 0;
}

.tab-item {
  padding: 8px 16px;
  font-size: 14px;
  color: #61666d;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  margin-bottom: -1px;
}

.tab-item:hover {
  color: #00a1d6;
}

.tab-item.active {
  color: #00a1d6;
  font-weight: 600;
  border-bottom-color: #00a1d6;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f6f7f8;
  transition: background .2s, box-shadow .2s;
}

.schedule-card:hover {
  background: #edf0f2;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.schedule-cover {
  position: relative;
  width: 96px;
  height: 128px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.schedule-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.schedule-card:hover .schedule-cover img {
  transform: scale(1.05);
}

.schedule-score {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.schedule-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.schedule-name {
  font-size: 15px;
  font-weight: 600;
  color: #18191c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}

.schedule-ep {
  font-size: 13px;
  color: #9499a0;
  margin-bottom: 4px;
}

.schedule-time {
  font-size: 13px;
  color: #00a1d6;
}

/* ========== Ranking Section ========== */
.ranking-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

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

.ranking-card {
  display: flex;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f7f8;
  transition: background .2s;
  align-items: center;
}

.ranking-card:hover {
  background: #edf0f2;
}

.ranking-cover {
  position: relative;
  width: 80px;
  height: 106px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.ranking-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.ranking-card:hover .ranking-cover img {
  transform: scale(1.05);
}

.ranking-score {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.ranking-num {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  font-style: italic;
}

.rank-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.rank-2 { background: linear-gradient(135deg, #ffa502, #e17055); }
.rank-3 { background: linear-gradient(135deg, #ffc048, #f0932b); }
.rank-4, .rank-5 { background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }

.ranking-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ranking-name {
  font-size: 15px;
  font-weight: 600;
  color: #18191c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}

.ranking-desc {
  font-size: 13px;
  color: #9499a0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== Sidebar ========== */
.sidebar {
  width: 72px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.sidebar-nav,
.sidebar-actions {
  background: #fff;
  border-radius: 12px;
  padding: 8px 0;
  margin-bottom: 12px;
}

.sidebar-link,
.sidebar-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 0;
  font-size: 12px;
  color: #61666d;
  transition: color .2s;
}

.sidebar-link:hover,
.sidebar-action:hover {
  color: #00a1d6;
}

.sidebar-icon {
  font-size: 18px;
  line-height: 1;
}

/* ========== Footer ========== */
.footer {
  background: #fff;
  border-top: 1px solid #e3e5e7;
  padding: 32px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 12px;
  color: #9499a0;
  transition: color .2s;
}

.footer-links a:hover {
  color: #00a1d6;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e3e5e7;
}

.footer-bottom p {
  font-size: 12px;
  color: #9499a0;
  line-height: 2;
}

.footer-bottom a {
  color: #9499a0;
  transition: color .2s;
}

.footer-bottom a:hover {
  color: #00a1d6;
}

.footer-copyright {
  margin-top: 12px;
  color: #c9ccd0 !important;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c9ccd0;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9499a0;
}
