@import "./original-bundle.css";

.xiazai-dyrs6-site-theme {
  --dyrs-blue: var(--template-seo-theme-color, #409eff);
  --dyrs-blue-dark: #1b78d0;
  --dyrs-text: #1f2937;
  --dyrs-muted: #6b7280;
  --dyrs-border: #eef2f7;
  --dyrs-soft: #f7f9fc;
  --dyrs-card: #ffffff;
  min-height: 100vh;
  color: var(--dyrs-text);
  background: #fff;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
}

.xiazai-dyrs6-site-theme *,
.xiazai-dyrs6-site-theme *::before,
.xiazai-dyrs6-site-theme *::after {
  box-sizing: border-box;
}

.xiazai-dyrs6-site-theme a {
  color: inherit;
  text-decoration: none;
}

.xiazai-dyrs6-site-theme img {
  max-width: 100%;
  display: block;
}

.dyrs-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 256px;
  overflow-y: auto;
  border-right: 1px solid var(--dyrs-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.dyrs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 22px 18px;
  color: var(--dyrs-text);
}

.dyrs-logo img {
  width: 118px;
  max-height: 42px;
  object-fit: contain;
}

.dyrs-logo strong {
  font-size: 18px;
  color: var(--dyrs-blue);
}

.dyrs-sidebar-nav {
  padding: 0 12px 28px;
}

.dyrs-channel-group {
  margin: 10px 0 20px;
}

.dyrs-channel-title {
  padding: 8px 12px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dyrs-channel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 10px 14px;
  border-radius: 10px;
  color: #4b5563;
  transition: 0.18s ease;
}

.dyrs-channel-link span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d1d5db;
}

.dyrs-channel-link:hover,
.dyrs-channel-link:first-of-type {
  color: var(--dyrs-blue);
  background: #f2f8ff;
}

.dyrs-channel-link:hover span,
.dyrs-channel-link:first-of-type span {
  background: var(--dyrs-blue);
}

.dyrs-page {
  min-height: 100vh;
  margin-left: 256px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dyrs-mobile-header {
  display: none;
}

.dyrs-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--dyrs-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.dyrs-topbar p {
  margin: 0 0 4px;
  color: var(--dyrs-blue);
  font-size: 12px;
  font-weight: 700;
}

.dyrs-topbar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.dyrs-search {
  display: flex;
  overflow: hidden;
  min-width: 320px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
}

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

.dyrs-search button {
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: var(--dyrs-blue);
  font-weight: 700;
}

.dyrs-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.dyrs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  margin-bottom: 26px;
}

.dyrs-hero-stage {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 20px;
  background: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.dyrs-hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.dyrs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.08));
}

.dyrs-hero-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  max-width: 640px;
  color: #fff;
}

.dyrs-hero-copy span,
.dyrs-section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--dyrs-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dyrs-hero-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.dyrs-hero-copy p {
  max-width: 560px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.dyrs-hero-copy strong,
.dyrs-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 22px;
  color: #fff;
  background: var(--dyrs-blue);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(64, 158, 255, 0.35);
}

.dyrs-hero-rank,
.dyrs-section,
.dyrs-filters,
.dyrs-list-head,
.dyrs-detail-card,
.dyrs-player-card,
.dyrs-widget {
  border: 1px solid var(--dyrs-border);
  border-radius: 18px;
  background: var(--dyrs-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.dyrs-hero-rank {
  padding: 20px;
}

.dyrs-hero-rank h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.dyrs-hero-rank a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.dyrs-hero-rank a:last-child {
  border-bottom: 0;
}

.dyrs-hero-rank a > span {
  color: var(--dyrs-blue);
  font-weight: 900;
}

.dyrs-hero-rank strong,
.dyrs-card-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dyrs-hero-rank em,
.dyrs-card-meta {
  display: block;
  overflow: hidden;
  color: var(--dyrs-muted);
  font-style: normal;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dyrs-section {
  margin-top: 22px;
  padding: 22px;
}

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

.dyrs-section-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.dyrs-section-head > a {
  color: var(--dyrs-blue);
  font-weight: 700;
}

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

.dyrs-card {
  min-width: 0;
}

.dyrs-card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  padding-top: 142%;
  background: #e5e7eb;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.dyrs-card-poster img,
.dyrs-detail-poster img,
.dyrs-player-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dyrs-card-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
}

.dyrs-card-play {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  color: #fff;
  background: rgba(64, 158, 255, 0.9);
  font-size: 12px;
}

.dyrs-card-body {
  padding: 10px 2px 0;
}

.dyrs-card-title {
  font-weight: 800;
}

.dyrs-card-meta {
  margin: 4px 0 0;
}

.dyrs-list-head {
  padding: 24px;
}

.dyrs-list-head p,
.dyrs-breadcrumb {
  margin: 0 0 8px;
  color: var(--dyrs-blue);
  font-weight: 800;
}

.dyrs-list-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.dyrs-list-head span {
  color: var(--dyrs-muted);
}

.dyrs-filters {
  margin: 18px 0;
  padding: 18px 22px;
}

.dyrs-filter-row,
.dyrs-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.dyrs-filter-row b {
  min-width: 64px;
}

.dyrs-filter-row a,
.dyrs-sort a,
.dyrs-source-tabs a,
.dyrs-episode-grid a {
  border-radius: 999px;
  padding: 7px 13px;
  color: #4b5563;
  background: #f3f6fb;
}

.dyrs-filter-row a.active,
.dyrs-sort a.active,
.dyrs-source-tabs a.active,
.dyrs-episode-grid a.active,
.dyrs-filter-row a:hover,
.dyrs-sort a:hover,
.dyrs-source-tabs a:hover,
.dyrs-episode-grid a:hover {
  color: #fff;
  background: var(--dyrs-blue);
}

.dyrs-sort span {
  margin-left: auto;
  color: var(--dyrs-muted);
}

.dyrs-pagination {
  margin-top: 24px;
}

.dyrs-empty,
.dyrs-hero-empty {
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  color: var(--dyrs-muted);
  background: #f8fafc;
}

.dyrs-detail-backdrop {
  position: relative;
  height: 36vh;
  min-height: 260px;
  margin: -24px calc(50% - 50vw) 0;
  background-position: center;
  background-size: cover;
}

.dyrs-detail-backdrop span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), #fff 92%);
}

.dyrs-detail-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  margin: -110px 0 24px;
  padding: 24px;
}

.dyrs-detail-poster,
.dyrs-player-side {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e5e7eb;
}

.dyrs-detail-poster {
  aspect-ratio: 2 / 3;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.dyrs-detail-poster span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
}

.dyrs-detail-info h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
}

.dyrs-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.dyrs-score-row strong,
.dyrs-score-row span {
  border-radius: 12px;
  padding: 9px 13px;
  background: #f3f7fb;
  color: #4b5563;
  font-weight: 800;
}

.dyrs-score-row strong {
  color: #f59e0b;
}

.dyrs-detail-meta,
.dyrs-detail-desc {
  color: var(--dyrs-muted);
  line-height: 1.8;
}

.dyrs-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.dyrs-secondary-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 22px;
  color: var(--dyrs-blue);
  background: #eef7ff;
  font-weight: 800;
}

.dyrs-source-list,
.dyrs-source-block {
  display: grid;
  gap: 16px;
}

.dyrs-source-block h3 {
  margin: 0;
  color: var(--dyrs-blue);
}

.dyrs-episode-grid,
.dyrs-source-tabs,
.dyrs-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dyrs-player-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  margin: 18px 0 24px;
}

.dyrs-play-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--dyrs-muted);
  background: #f5f7fb;
}

.dyrs-play-breadcrumb a,
.dyrs-play-breadcrumb b {
  color: var(--dyrs-blue);
}

.dyrs-player-main {
  min-width: 0;
  background: #020617;
}

.dyrs-player-notice {
  padding: 12px 16px;
  color: #e0f2fe;
  background: linear-gradient(90deg, var(--dyrs-blue), var(--dyrs-blue-dark));
  font-weight: 700;
}

.dyrs-player-box {
  min-height: 520px;
  background: #000;
}

.dyrs-player-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  border-radius: 0;
  padding: 22px;
  color: #fff;
}

.dyrs-player-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.86));
}

.dyrs-player-side h1,
.dyrs-player-side p {
  position: relative;
  z-index: 1;
}

.dyrs-player-side h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.dyrs-player-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.dyrs-widget {
  margin-top: 20px;
  padding: 20px;
}

.dyrs-brand-links a {
  display: grid;
  gap: 4px;
  min-width: 180px;
  border-radius: 14px;
  padding: 14px;
  background: #f6f8fb;
}

.dyrs-brand-links span {
  color: var(--dyrs-muted);
  font-size: 12px;
}

.dyrs-footer {
  border-top: 1px solid var(--dyrs-border);
  padding: 30px 32px 40px;
  color: var(--dyrs-muted);
  background: #fff;
}

.dyrs-footer-keywords,
.dyrs-content-links,
.dyrs-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.dyrs-footer-keywords a,
.dyrs-content-link,
.dyrs-index-link {
  border-radius: 999px;
  padding: 6px 12px;
  color: #4b5563;
  background: #f3f6fb;
}

.dyrs-content-title,
.dyrs-index-title {
  margin: 0 0 10px;
  color: var(--dyrs-text);
}

.dyrs-content-group,
.dyrs-index-group {
  margin: 12px 0 8px;
  color: var(--dyrs-blue);
}

@media (max-width: 1180px) {
  .dyrs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dyrs-hero { grid-template-columns: 1fr; }
  .dyrs-hero-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
}

@media (max-width: 900px) {
  .dyrs-sidebar { display: none; }
  .dyrs-page { margin-left: 0; }
  .dyrs-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--dyrs-border); background: #fff; }
  .dyrs-mobile-logo { display: flex; align-items: center; gap: 8px; color: var(--dyrs-blue); font-weight: 900; }
  .dyrs-mobile-logo img { width: 96px; max-height: 34px; object-fit: contain; }
  .dyrs-topbar { position: static; flex-direction: column; align-items: stretch; padding: 16px 18px; }
  .dyrs-search { min-width: 0; }
  .dyrs-main { width: min(100% - 24px, 1280px); padding-top: 16px; }
  .dyrs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .dyrs-detail-card { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
  .dyrs-player-card { grid-template-columns: 1fr; }
  .dyrs-player-side { min-height: 240px; }
}

@media (max-width: 560px) {
  .dyrs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dyrs-hero-stage, .dyrs-hero-stage img { min-height: 320px; }
  .dyrs-hero-copy { left: 20px; right: 20px; bottom: 22px; }
  .dyrs-section, .dyrs-filters, .dyrs-list-head, .dyrs-detail-card { padding: 16px; }
  .dyrs-hero-rank { display: block; }
  .dyrs-detail-card { display: block; margin-top: -70px; }
  .dyrs-detail-poster { width: 48%; margin: 0 16px 12px 0; float: left; }
  .dyrs-detail-info h1 { font-size: 25px; }
  .dyrs-player-box { min-height: 300px; }
}
