:root{
  --bg:#0f1115;
  --bg-soft:#151922;
  --panel:#1a1f2b;
  --panel-2:#202636;
  --line:rgba(255,255,255,.08);
  --text:#f4f6fb;
  --text-soft:rgba(255,255,255,.72);
  --muted:rgba(255,255,255,.5);
  --primary:#ff4d6d;
  --primary-2:#ff7b57;
  --radius:18px;
  --shadow:0 16px 36px rgba(0,0,0,.28);
  --container:1360px;
}

*{
  box-sizing:border-box;
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,77,109,.12), transparent 30%),
    radial-gradient(circle at top right, rgba(255,123,87,.08), transparent 24%),
    linear-gradient(180deg, #0d0f14 0%, #11141b 100%);
  line-height:1.6;
}

img{
  display:block;
  width:100%;
  height:auto;
  border:0;
}

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

button,
input{
  font:inherit;
}

.site-wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1;
}

.container{
  width:min(var(--container), calc(100% - 24px));
  margin:0 auto;
}

.site-header{
  position:relative;
  z-index:10;
  padding-top:14px;
}

.header-top{
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
  padding:18px 0 14px;
}

.site-brand{
  min-width:0;
}

.logo-link{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  box-shadow:0 10px 24px rgba(255,77,109,.28);
  flex:0 0 auto;
}

.logo-text{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.logo-text strong{
  font-size:20px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.logo-text span{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.search-form{
  width:min(560px, 100%);
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px;
  backdrop-filter:blur(10px);
}

.search-input{
  flex:1;
  height:42px;
  border:none;
  background:transparent;
  color:var(--text);
  padding:0 14px;
  outline:none;
  min-width:0;
}

.search-input::placeholder{
  color:var(--muted);
}

.search-btn{
  flex:0 0 auto;
  border:none;
  height:42px;
  padding:0 20px;
  border-radius:999px;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
}

.nav-row{
  padding-bottom:14px;
}

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

.nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text-soft);
  transition:.2s ease;
}

.nav-link:hover{
  color:#fff;
  border-color:rgba(255,77,109,.35);
  background:rgba(255,77,109,.08);
}

.recommend-sites{
  padding-bottom:12px;
}

.recommend-title{
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}

.recommend-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.recommend-links a{
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  color:var(--text-soft);
  font-size:13px;
}

.hero-panel{
  padding:12px 0 8px;
}

.hero-card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:42px 28px;
  background:
    linear-gradient(135deg, rgba(255,77,109,.18), rgba(255,123,87,.10)),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,77,109,.16);
  color:#ffd9df;
  font-size:13px;
  margin-bottom:14px;
}

.hero-title{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.2;
}

.hero-desc{
  margin:0;
  color:var(--text-soft);
  max-width:720px;
}

.page-banner{
  padding:12px 0 8px;
}

.page-banner-inner{
  border-radius:24px;
  padding:28px 24px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
}

.page-banner-inner h1{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.2;
}

.page-banner-inner p{
  margin:0;
  color:var(--text-soft);
}

.highlight-text{
  color:#fff;
  font-weight:700;
}

.content-section{
  padding:16px 0 10px;
}

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

.section-head h2{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

.section-more{
  color:var(--text-soft);
  font-size:14px;
}

.no-margin{
  margin-bottom:12px;
}

.vod-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
}

.vod-card{
  min-width:0;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid var(--line);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.vod-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,77,109,.3);
  box-shadow:0 14px 28px rgba(0,0,0,.24);
}

.vod-thumb{
  position:relative;
  display:block;
  aspect-ratio: 3 / 4.2;
  overflow:hidden;
  background:#0d1015;
}

.vod-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.vod-time{
  position:absolute;
  right:10px;
  bottom:10px;
  max-width:calc(100% - 20px);
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  line-height:1.2;
  color:#fff;
  background:rgba(0,0,0,.62);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.vod-body{
  padding:12px 12px 14px;
}

.vod-title{
  display:block;
  min-height:44px;
  line-height:1.45;
  font-size:15px;
  color:#fff;
  overflow:hidden;
  word-break:break-all;
}

.vod-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}

.vod-meta span,
.vod-type{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.vod-type{
  color:#ffb2bf;
}

.keywords-section{
  padding-bottom:18px;
}

.keyword-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.keyword-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text-soft);
}

.pagination{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text-soft);
}

.play-page{
  padding:12px 0 6px;
}

.player-layout{
  display:block;
}

.player-main{
  min-width:0;
}

.player-box{
  border-radius:24px;
  overflow:hidden;
  background:#090b10;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.player-frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:#000;
}

.video-player{
  width:100%;
  height:100%;
  display:block;
  background:#000;
  object-fit:contain;
}

.play-info{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
}

.play-cover{
  border-radius:18px;
  overflow:hidden;
  background:#0d1015;
  aspect-ratio:3 / 4.2;
}

.play-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

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

.play-title{
  margin:0 0 12px;
  font-size:30px;
  line-height:1.25;
  word-break:break-all;
}

.play-meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:var(--text-soft);
  margin-bottom:14px;
}

.play-source{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
}

.source-label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:8px;
}

.source-url{
  font-size:14px;
  line-height:1.65;
  color:#fff;
  word-break:break-all;
}

.episode-panel{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
}

.episode-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.episode-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text-soft);
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.site-footer{
  margin-top:24px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.02);
}

.footer-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:16px;
  padding:22px 0 28px;
}

.footer-brand{
  font-size:18px;
  font-weight:800;
}

.footer-text{
  color:var(--muted);
  font-size:13px;
}

.footer-text p{
  margin:0 0 6px;
}

.footer-text p:last-child{
  margin-bottom:0;
}

@media (max-width: 1200px){
  .vod-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

@media (max-width: 992px){
  .header-top{
    flex-direction:column;
    align-items:stretch;
  }

  .search-form{
    width:100%;
  }

  .vod-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .play-info{
    grid-template-columns:180px 1fr;
  }

  .hero-title{
    font-size:28px;
  }
}

@media (max-width: 768px){
  .container{
    width:min(var(--container), calc(100% - 18px));
  }

  .site-header{
    padding-top:10px;
  }

  .header-top{
    gap:14px;
    padding:14px 0 12px;
  }

  .logo-mark{
    width:42px;
    height:42px;
    border-radius:12px;
    font-size:14px;
  }

  .logo-text strong{
    font-size:18px;
  }

  .nav-row{
    padding-bottom:12px;
  }

  .main-nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }

  .main-nav::-webkit-scrollbar{
    display:none;
  }

  .nav-link{
    white-space:nowrap;
  }

  .recommend-links{
    gap:8px;
  }

  .hero-card,
  .page-banner-inner{
    padding:22px 16px;
    border-radius:20px;
  }

  .hero-title{
    font-size:24px;
  }

  .section-head h2{
    font-size:19px;
  }

  .vod-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .vod-card{
    border-radius:16px;
  }

  .vod-body{
    padding:10px 10px 12px;
  }

  .vod-title{
    min-height:42px;
    font-size:14px;
  }

  .play-info{
    grid-template-columns:1fr;
    padding:14px;
    gap:14px;
  }

  .play-cover{
    max-width:220px;
  }

  .play-title{
    font-size:22px;
  }

  .episode-panel{
    padding:14px;
  }

  .page-btn{
    min-width:38px;
    height:38px;
    padding:0 12px;
  }

  .keyword-item,
  .episode-btn{
    max-width:100%;
  }
}

@media (max-width: 420px){
  .search-form{
    padding:6px;
    gap:6px;
  }

  .search-input{
    height:40px;
    padding:0 10px;
  }

  .search-btn{
    height:40px;
    padding:0 16px;
  }

  .logo-text span{
    max-width:180px;
  }

  .hero-title{
    font-size:22px;
  }

  .page-banner-inner h1{
    font-size:22px;
  }

  .vod-meta{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }

  .footer-inner{
    padding:18px 0 24px;
  }
}