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

html, body {
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  color: #10b981;
}

ul, li {
  list-style: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1003;
  background: linear-gradient(135deg, #1f2937, #111827);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 60px;
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand-section {
  display: flex;
  align-items: center;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand-img {
  height: 35px;
  width: auto;
}

.brand-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.nav-section {
  flex: 1;
  display: flex;
  justify-content: center;
  pointer-events: auto !important;
  position: relative;
  z-index: 1001;
}

.primary-nav {
  display: flex;
  gap: 5px;
}

.primary-nav li {
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 18px 20px;
  color: #e5e7eb;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.primary-nav a:hover {
  color: #10b981;
}

.primary-nav a.current-nav {
  color: #10b981;
}

.primary-nav a.current-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  pointer-events: auto !important;
  z-index: 1005;
  position: relative;
}

.menu-trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1005;
  position: relative;
}

.menu-trigger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-trigger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

.qr-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

.qr-link:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.qr-box {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
}

.qr-link:hover .qr-box {
  display: block;
}

.qr-box img {
  width: 120px;
  height: 120px;
  display: block;
}

.search-trigger {
  display: none;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  position: relative;
}

.search-trigger:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.search-close {
  display: none;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto !important;
}

.search-field {
  width: 200px;
  height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-field:focus {
  outline: none;
  border-color: #10b981;
  background: rgba(255, 255, 255, 0.15);
}

.search-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.header-gap {
  height: 60px;
}

.mobile-search-panel {
  display: none;
  background: #fff;
  padding: 20px;
  text-align: center;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  pointer-events: auto !important;
}

.mobile-search-panel.show {
  display: block;
}

.mobile-input,
.mobile-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.mobile-form {
  max-width: 500px;
  margin: 0 auto;
}

.mobile-logo {
  max-height: 40px;
  margin: 0 auto 15px;
}

.mobile-input-wrap {
  display: flex;
  gap: 10px;
}

.mobile-input {
  flex: 1;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

.mobile-btn {
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
}

.mobile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.main-gap {
  height: 20px;
}

.clear-fix {
  clear: both;
}

.clear-both {
  clear: both;
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 15px;
}

.share-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-panel strong {
  font-size: 14px;
  color: #6b7280;
}

.share-panel a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.share-wx {background: #07c160;color:#fff;}
.share-wx:hover {background: #06ad56;}

.share-qzone {background: #2d8cf0;color:#fff;}
.share-qzone:hover {background: #257be0;}

.share-sina {background: #e6162d;color:#fff;}
.share-sina:hover {background: #cf1225;}

.share-tqq {background: #1296db;color:#fff;}
.share-tqq:hover {background: #0b85c4;}

.share-sqq {background: #12b7f5;color:#fff;}
.share-sqq:hover {background: #0ba6e4;}

.share-renren {background: #2d8cf0;color:#fff;}
.share-renren:hover {background: #257be0;}

.share-douban {background: #00b51d;color:#fff;}
.share-douban:hover {background: #009f1a;}

.reward-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reward-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.reward-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
}

.reward-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  z-index: 2001;
  text-align: center;
  min-width: 300px;
}

.reward-popup h3 {
  margin: 0 0 20px;
  font-size: 18px;
  color: #111827;
}

.reward-item {
  margin-bottom: 20px;
}

.reward-item:last-child {
  margin-bottom: 0;
}

.reward-item h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #6b7280;
}

.reward-item img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto;
}

.reward-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  font-size: 20px;
  color: #6b7280;
  transition: color 0.3s ease;
}

.reward-close:hover {
  color: #111827;
}

.reward-popup.show {
  display: block;
}

.reward-overlay.show {
  display: block;
}

.episodes-container {
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.episodes-body {
  width: 100%;
}

.episode-panel {
  width: 100%;
}

.ep-source-list {
  display: flex;
  gap: 5px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid #e5e7eb;
}

.ep-source-list li {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.ep-source-list li.current {
  color: #10b981;
  border-bottom-color: #10b981;
  font-weight: 600;
}

.ep-episode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-episode-list li {
  display: none;
}

.ep-episode-list li:first-child {
  display: block;
}

.ep-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ep-link:hover {
  border-color: #10b981;
  color: #10b981;
  background: #ecfdf5;
  transform: translateY(-2px);
}

.section-heading {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
}

.intro-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

.desc-text {
  display: block;
}

.view-font {
  margin-top: 20px;
}

.tv-section {
  min-height: 100px;
}

.hero-slider {
  background: linear-gradient(135deg, #1f2937, #111827);
  padding: 0;
  margin-bottom: 30px;
}

.slider-track {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.slider-inner {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.slider-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-list::-webkit-scrollbar {
  display: none;
}

.slide-unit {
  flex: 0 0 100%;
}

.slide-unit a {
  display: block;
  text-decoration: none;
}

.slide-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.main-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.featured-section,
.category-block,
.ranking-section,
.link-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.section-name {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.view-more {
  font-size: 14px;
  color: #10b981;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-more:hover {
  color: #059669;
  transform: translateX(3px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.video-rows {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
}

.video-box {
  list-style: none;
  transition: transform 0.3s ease;
}

.video-box:hover {
  transform: translateY(-5px);
}

.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-poster {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f4f6;
  aspect-ratio: 2/3;
  margin-bottom: 12px;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-box:hover .poster-img {
  transform: scale(1.05);
}

.poster-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.poster-state {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.video-box:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-overlay svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.video-data {
  padding: 0 5px;
}

.video-name {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.video-box:hover .video-name {
  color: #10b981;
}

.video-star {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-rate {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.ranking-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ranking-list {
  margin: 0;
  padding: 0;
}

.ranking-item {
  list-style: none;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.ranking-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ranking-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.ranking-item a:hover {
  padding-left: 5px;
}

.rank-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  font-weight: 600;
  border-radius: 8px;
  flex-shrink: 0;
}

.rank-hot {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.rank-std {
  background: #f3f4f6;
  color: #6b7280;
}

.rank-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-points {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.link-notice {
  font-size: 13px;
  color: #6b7280;
}

.filter-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group::before,
.filter-group::after {
  content: "";
  display: table;
  line-height: 0;
}

.filter-group::after {
  clear: both;
}

.filter-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-label {
  font-weight: 600;
  color: #111827;
  margin-right: 10px;
}

.filter-content a {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-content a:hover {
  border-color: #10b981;
  color: #10b981;
  background: #ecfdf5;
}

.filter-content a.filter-label {
  border: none;
  background: none;
  color: #10b981;
  cursor: default;
}

.main-grid {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-container {
  padding: 0;
}

.video-card {
  list-style: none;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-3px);
}

.video-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
  aspect-ratio: 2/3;
  margin-bottom: 10px;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.g-playicon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .g-playicon::after {
  opacity: 1;
}

.card-info {
  padding: 0 5px;
}

.card-title {
  margin: 0 0 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card-title .name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title .score {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
}

.card-info .actor {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 0 15px;
    z-index: 1005;
    position: relative;
  }
  
  .brand-text {
    display: none;
  }
  
  .nav-section {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    pointer-events: auto !important;
  }
  
  .nav-section.active {
    transform: translateX(0);
  }
  
  .nav-section .primary-nav a {
    display: block;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  .primary-nav {
    flex-direction: column;
    gap: 0;
    pointer-events: auto !important;
  }
  
  .primary-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  .primary-nav a.current-nav::after {
    display: none;
  }
  
  .primary-nav a.current-nav {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
  }
  
  .header-tools {
    gap: 10px;
    position: relative;
    z-index: 1005;
  }
  
  .menu-trigger {
    display: flex;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1005;
  }
  
  .menu-trigger span {
    pointer-events: auto !important;
  }
  
  .search-form {
    display: none;
  }
  
  .search-trigger {
    display: flex;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1005;
    position: relative;
  }
  
  .search-trigger svg {
    pointer-events: none;
  }
  
  .search-close {
    display: none;
  }
  
  .main-area {
    padding: 0 15px 30px;
  }
  
  .video-grid,
  .video-rows {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .video-name {
    font-size: 14px;
  }
  
  .section-name {
    font-size: 18px;
  }
  
  .filter-content {
    gap: 8px;
  }
  
  .filter-content a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .video-grid,
  .video-rows {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-img {
    height: 30px;
  }

  .site-header {
    height: 50px;
    z-index: 1003;
  }

  .header-wrapper {
    height: 50px;
    position: relative;
    z-index: 1005;
  }

  .header-gap {
    height: 50px;
  }

  .nav-section {
    top: 50px;
    z-index: 1000;
  }

  .mobile-search-panel {
    top: 50px;
    z-index: 1000;
  }

  .header-tools {
    position: relative;
    z-index: 1005;
  }

  .menu-trigger,
  .search-trigger {
    position: relative;
    z-index: 1005;
  }

  .player-frame-box {
    height: 190px !important;
  }

  .play-zone-box {
    padding: 12px !important;
  }

  .play-title-bar h2 {
    font-size: 14px !important;
  }

  .heart-vote-play .heart-icon-play {
    font-size: 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .heart-vote-play .rate-num-play {
    font-size: 16px !important;
    padding: 6px 12px !important;
  }

  .vote-btn-play {
    padding: 10px 18px !important;
    font-size: 14px !important;
    height: 42px !important;
  }

  .ep-source-list li {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .ep-link {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
  line-height: 0;
}

.clearfix::after {
  clear: both;
}

.g-clear::before,
.g-clear::after {
  content: "";
  display: table;
  line-height: 0;
}

.g-clear::after {
  clear: both;
}

.play-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.play-wrapper {
  display: flex;
  gap: 20px;
}

.play-layout {
  display: flex;
  gap: 20px;
  width: 100%;
}

.player-area {
  flex: 1;
  min-width: 0;
}

.play-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.stat-widget {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.stat-widget a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.stat-style1 strong {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.stat-style1 h2 {
  font-size: 32px;
  color: #10b981;
  margin: 0;
}

.stat-style2 strong {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.qrcode-box img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 10px auto;
}

@media (max-width: 992px) {
  .play-wrapper {
    flex-direction: column;
  }
  
  .play-layout {
    flex-direction: column;
  }
  
  .play-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .play-section {
    padding: 0 15px;
  }

  .detail-container {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .detail-sidebar {
    width: 100% !important;
  }

  .poster-box {
    max-width: 200px !important;
    margin: 0 auto !important;
  }

  .poster-box img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .meta-list {
    overflow-x: auto !important;
    padding: 10px 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .meta-row {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }

  .love-vote-box {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px !important;
    min-height: auto !important;
  }

  .heart-btn {
    font-size: 22px !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 24px !important;
    margin: 0 !important;
  }

  .rate-display {
    font-size: 11px !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 22px !important;
    font-weight: 700 !important;
  }

  .vote-box {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: auto !important;
    min-width: auto !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .vote-btn {
    flex: 0 0 auto !important;
    justify-content: center !important;
    min-width: auto !important;
    padding: 4px 8px !important;
    height: auto !important;
    align-items: center !important;
    min-height: 24px !important;
    font-size: 11px !important;
    border-width: 1px !important;
  }

  .vote-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  .play-wrapper {
    flex-direction: column !important;
  }

  .play-layout {
    flex-direction: column !important;
  }

  .play-sidebar {
    width: 100% !important;
  }

  .player-area {
    width: 100% !important;
  }

  .play-zone-box {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .play-title-bar {
    margin-bottom: 10px !important;
  }

  .play-title-bar h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .player-frame-box {
    height: 210px !important;
  }

  .player-frame-box iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
  }

  .loading-hint {
    font-size: 13px !important;
    padding: 10px !important;
    margin: 10px 0 0 !important;
  }

  .vote-panel {
    margin: 15px 0 !important;
    padding: 15px !important;
  }

  .heart-vote-play {
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  .heart-vote-play .heart-icon-play {
    font-size: 28px !important;
  }

  .heart-vote-play .rate-num-play {
    font-size: 16px !important;
  }

  .vote-actions-play {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .vote-btn-play {
    padding: 10px 15px !important;
    font-size: 13px !important;
    flex: 1 !important;
  }

  .episodes-container {
    padding: 15px !important;
    margin: 15px 0 !important;
  }

  .ep-source-list {
    gap: 3px !important;
    margin-bottom: 10px !important;
  }

  .ep-source-list li {
    padding: 8px 15px !important;
    font-size: 13px !important;
  }

  .ep-episode-list {
    gap: 8px !important;
  }

  .ep-link {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }

  .ep-episode-list .ep-link {
    width: calc(20% - 6px) !important;
    text-align: center !important;
  }

  .section-heading {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  .intro-desc {
    font-size: 13px !important;
  }

  .action-bar {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }

  .share-panel {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 480px) {
  .ep-episode-list {
    gap: 6px !important;
  }

  .ep-episode-list .ep-link {
    padding: 5px 8px !important;
    font-size: 12px !important;
    width: calc(20% - 5px) !important;
    text-align: center !important;
    display: inline-block !important;
  }

  .love-vote-box {
    padding: 6px !important;
    gap: 4px !important;
    margin: 8px 0 !important;
  }

  .heart-btn {
    font-size: 18px !important;
    min-height: 20px !important;
  }

  .rate-display {
    font-size: 10px !important;
    min-height: 20px !important;
    padding: 1px 6px !important;
  }

  .vote-btn {
    padding: 3px 6px !important;
    min-height: 20px !important;
    font-size: 10px !important;
  }

  .vote-btn svg {
    width: 10px !important;
    height: 10px !important;
  }
}