:root {
  --v18-001-accent: var(--template-seo-theme-color, hsl(150 86% 56%));
  --v18-001-secondary: hsl(189 82% 54%);
  --v18-001-dark: hsl(0 48% 11%);
  --v18-001-surface: hsl(168 34% 96%);
  --v18-001-ink: hsl(15 32% 13%);
  --v18-001-radius: 13px;
  --v18-001-gap: 15px;
  --v18-001-columns: 4;
}

.v18-001-theme {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--v18-001-accent) 24%, transparent), transparent 34rem),
    linear-gradient(135deg, color-mix(in srgb, var(--v18-001-dark) 96%, black), color-mix(in srgb, var(--v18-001-dark) 78%, var(--v18-001-accent)) 46%, #05070c);
  color: white;
}

.v18-001-app { min-height: 100vh; display: flex; flex-direction: column; }
.v18-001-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px); background: color-mix(in srgb, var(--v18-001-dark) 80%, transparent); border-bottom: 1px solid rgb(255 255 255 / .12); }
.v18-001-header-inner { width: min(1480px, calc(100% - 32px)); margin: 0 auto; min-height: 68px; display: flex; align-items: center; gap: 18px; }
.v18-001-brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 900; letter-spacing: .04em; }
.v18-001-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--v18-001-accent), var(--v18-001-secondary)); box-shadow: 0 16px 34px color-mix(in srgb, var(--v18-001-accent) 32%, transparent); }
.v18-001-nav { display: flex; flex: 1; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.v18-001-nav a { color: rgb(255 255 255 / .78); text-decoration: none; white-space: nowrap; padding: 9px 12px; border-radius: 999px; }
.v18-001-nav a:hover { color: white; background: rgb(255 255 255 / .1); }
.v18-001-search { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .1); }
.v18-001-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v18-001-search input { width: 210px; border: 0; outline: 0; color: white; background: transparent; padding: 8px 10px; }
.v18-001-search input::placeholder { color: rgb(255 255 255 / .54); }
.v18-001-search button, .v18-001-hero-search button { border: 0; color: white; cursor: pointer; border-radius: 999px; padding: 9px 15px; background: linear-gradient(135deg, var(--v18-001-accent), var(--v18-001-secondary)); }
.v18-001-main { flex: 1; }
.v18-001-footer { margin-top: 48px; border-top: 1px solid rgb(255 255 255 / .12); background: rgb(0 0 0 / .24); }
.v18-001-footer-inner { width: min(1480px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; display: grid; gap: 18px; }
.v18-001-footer-keywords, .v18-001-footer-keywords a { display: flex; flex-wrap: wrap; gap: 8px; color: rgb(255 255 255 / .75); }

.v18-001-home, .v18-001-list-page, .v18-001-detail-page, .v18-001-play-page { width: min(1480px, calc(100% - 32px)); margin: 0 auto; padding: 25px 0 56px; color: white; }
.v18-001-hero { display: flex; flex-direction: row; gap: calc(var(--v18-001-gap) * 1.4); align-items: stretch; min-height: 360px; }
.v18-001-hero-content-only { min-height: 0; justify-content: center; }
.v18-001-hero-content-only .v18-001-featured { width: min(720px, 100%); aspect-ratio: 16 / 9; }
.v18-001-hero-content-only .v18-001-featured img { min-height: 0; }
.v18-001-hero-copy, .v18-001-featured, .v18-001-list-hero, .v18-001-detail-hero, .v18-001-play-hero, .v18-001-rank, .v18-001-channel, .v18-001-latest, .v18-001-list-related, .v18-001-detail-episodes, .v18-001-play-episodes, .v18-001-play-sources, .v18-001-play-rating, .v18-001-play-comments, .v18-001-play-brand-links, .v18-001-detail-sidebar > *, .v18-001-play-sidebar > * { border: 1px solid rgb(255 255 255 / .12); border-radius: var(--v18-001-radius); background: linear-gradient(180deg, rgb(255 255 255 / .11), rgb(255 255 255 / .055)); box-shadow: 0 24px 70px rgb(0 0 0 / .28); }
.v18-001-hero-copy { flex: 1; padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.v18-001-hero-copy h1, .v18-001-list-hero h1, .v18-001-detail-copy h1, .v18-001-play-now h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.8rem); line-height: .98; letter-spacing: 0; }
.v18-001-hero-copy p, .v18-001-list-hero span, .v18-001-detail-copy span, .v18-001-play-now span { color: rgb(255 255 255 / .72); line-height: 1.8; }
.v18-001-hero-search { margin-top: 24px; display: flex; gap: 10px; max-width: 520px; padding: 8px; border-radius: 999px; background: white; }
.v18-001-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 14px; color: var(--v18-001-ink); }
.v18-001-featured { width: min(360px, 100%); overflow: hidden; color: white; text-decoration: none; position: relative; }
.v18-001-featured img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; opacity: .86; }
.v18-001-featured span, .v18-001-featured small { position: absolute; left: 22px; right: 22px; text-shadow: 0 2px 12px rgb(0 0 0 / .7); }
.v18-001-featured span { bottom: 44px; font-size: 1.25rem; font-weight: 800; }
.v18-001-featured small { bottom: 20px; color: rgb(255 255 255 / .74); }
.v18-001-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.v18-001-section-head h2, .v18-001-rank h2, .v18-001-list-related h2, .v18-001-detail-episodes h2, .v18-001-play-episodes h2, .v18-001-play-sources h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.v18-001-section-head a, .v18-001-list-related a, .v18-001-detail-meta a, .v18-001-detail-source a, .v18-001-play-sources a, .v18-001-play-brand-links a { color: white; text-decoration: none; }
.v18-001-latest, .v18-001-channel, .v18-001-rank, .v18-001-list-related { margin-top: var(--v18-001-gap); padding: var(--v18-001-gap); }
.v18-001-grid, .v18-001-list-grid { display: grid; grid-template-columns: repeat(var(--v18-001-columns), minmax(0, 1fr)); gap: calc(var(--v18-001-gap) * .82); }
.v18-001-card { overflow: hidden; border-radius: calc(var(--v18-001-radius) - 4px); background: color-mix(in srgb, var(--v18-001-surface) 12%, transparent); }
.v18-001-rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v18-001-rank li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .08); }
.v18-001-rank li > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--v18-001-accent); font-weight: 900; }
.v18-001-rank a { color: white; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v18-001-list-hero { padding: clamp(24px, 4vw, 54px); }
.v18-001-list-tools, .v18-001-list-count { margin: var(--v18-001-gap) 0; }
.v18-001-list-count strong { color: var(--v18-001-accent); }
.v18-001-list-related div, .v18-001-detail-meta, .v18-001-detail-source div, .v18-001-play-sources div { display: flex; flex-wrap: wrap; gap: 10px; }
.v18-001-list-related a, .v18-001-detail-meta a, .v18-001-detail-source a, .v18-001-play-sources a { border-radius: 999px; padding: 8px 12px; background: rgb(255 255 255 / .1); }
.v18-001-play-sources a.is-active { background: var(--v18-001-accent); }
.v18-001-detail-inner, .v18-001-play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--v18-001-gap); }
.v18-001-detail-hero { padding: var(--v18-001-gap); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--v18-001-gap); }
.v18-001-detail-cover img, .v18-001-detail-cover div { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: calc(var(--v18-001-radius) - 4px); background: rgb(255 255 255 / .08); display: grid; place-items: center; }
.v18-001-detail-copy { display: flex; flex-direction: column; gap: 16px; }
.v18-001-detail-play { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; color: white; text-decoration: none; background: linear-gradient(135deg, var(--v18-001-accent), var(--v18-001-secondary)); }
.v18-001-detail-play svg { width: 18px; height: 18px; }
.v18-001-detail-sidebar, .v18-001-play-sidebar { position: sticky; top: 84px; display: grid; gap: var(--v18-001-gap); align-self: start; align-content: start; }
.v18-001-detail-sidebar > *, .v18-001-play-sidebar > * { overflow: hidden; padding: 16px; }
.v18-001-detail-episodes, .v18-001-play-episodes, .v18-001-play-sources, .v18-001-play-rating, .v18-001-play-comments { margin-top: var(--v18-001-gap); padding: var(--v18-001-gap); }
.v18-001-play-hero { overflow: hidden; padding: 0; }
.v18-001-player { background: #000; }
.v18-001-play-now { padding: 18px var(--v18-001-gap); }
.v18-001-play-now h1 { font-size: clamp(1.3rem, 2.4vw, 2.5rem); }
.v18-001-play-brand-links a { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .08); }
.v18-001-play-brand-links span { color: rgb(255 255 255 / .64); font-size: .85rem; line-height: 1.5; }
.v18-001-home-index, .v18-001-list-index, .v18-001-detail-index { margin-top: var(--v18-001-gap); }

.v18-001-footer-inner {
  padding: 42px 0 30px;
}

.v18-001-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) repeat(3, minmax(160px, .7fr));
  gap: 28px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / .08), rgb(255 255 255 / .035));
}

.v18-001-footer-copy {
  display: grid;
  gap: 10px;
}

.v18-001-footer-copy strong,
.v18-001-footer-group h2 {
  color: white;
  font-size: 1rem;
  margin: 0;
}

.v18-001-footer-copy span,
.v18-001-footer-legal {
  color: rgb(255 255 255 / .68);
  line-height: 1.8;
}

.v18-001-footer-group {
  display: grid;
  gap: 12px;
}

.v18-001-footer-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.v18-001-footer-group a,
.v18-001-footer-keywords a {
  color: rgb(255 255 255 / .76);
  text-decoration: none;
}

.v18-001-footer-group a:hover,
.v18-001-footer-keywords a:hover {
  color: white;
}

.v18-001-footer-legal {
  margin: 18px 0 0;
  text-align: center;
  border-top: 1px solid rgb(255 255 255 / .1);
  padding-top: 18px;
}

.v18-001-list-tools {
  padding: 16px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--v18-001-radius);
  background: rgb(0 0 0 / .2);
}

.v18-001-list-tools .frontend-filter-body {
  display: grid;
  gap: 12px;
}

.v18-001-list-tools .frontend-filter-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.v18-001-list-tools .frontend-filter-label {
  color: rgb(255 255 255 / .66);
  line-height: 32px;
}

.v18-001-list-tools .frontend-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v18-001-list-tools .frontend-filter-button {
  border-radius: 999px;
  color: rgb(255 255 255 / .86);
  background: rgb(255 255 255 / .08);
}

.v18-001-list-tools .frontend-filter-button.bg-primary,
.v18-001-list-tools .frontend-filter-button:hover {
  color: white;
  background: linear-gradient(135deg, var(--v18-001-accent), var(--v18-001-secondary));
}

.v18-001-rank ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v18-001-rank li {
  min-width: 0;
  padding: 10px 12px;
}

.v18-001-rank small {
  max-width: 240px;
  overflow: hidden;
  color: rgb(255 255 255 / .68);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v18-001-detail-seo,
.v18-001-detail-related,
.v18-001-play-seo,
.v18-001-play-related,
.v18-001-play-side-entry,
.v18-001-detail-side-entry {
  margin-top: var(--v18-001-gap);
  padding: var(--v18-001-gap);
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--v18-001-radius);
  background: linear-gradient(180deg, rgb(255 255 255 / .11), rgb(255 255 255 / .055));
  box-shadow: 0 24px 70px rgb(0 0 0 / .28);
}

.v18-001-detail-seo h2,
.v18-001-play-seo h2,
.v18-001-detail-related h2,
.v18-001-play-related h2,
.v18-001-play-side-entry h2,
.v18-001-detail-side-entry h2 {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.v18-001-detail-seo p,
.v18-001-play-seo p {
  color: rgb(255 255 255 / .74);
  line-height: 1.8;
}

.v18-001-detail-meta-grid,
.v18-001-play-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.v18-001-detail-meta-grid div,
.v18-001-play-meta-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgb(255 255 255 / .08);
}

.v18-001-detail-meta-grid strong,
.v18-001-play-meta-grid strong {
  color: rgb(255 255 255 / .58);
  font-size: .82rem;
}

.v18-001-detail-meta-grid span,
.v18-001-play-meta-grid span {
  color: white;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v18-001-detail-people,
.v18-001-play-people {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.v18-001-detail-people p,
.v18-001-play-people p {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.v18-001-detail-entry-links,
.v18-001-play-entry-links,
.v18-001-play-side-entry div,
.v18-001-detail-side-entry div,
.v18-001-episode-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.v18-001-detail-entry-links a,
.v18-001-play-entry-links a,
.v18-001-play-side-entry a,
.v18-001-detail-side-entry a,
.v18-001-episode-grid a {
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgb(255 255 255 / .1);
}

.v18-001-episode-grid a.is-active,
.v18-001-detail-entry-links a:hover,
.v18-001-play-entry-links a:hover,
.v18-001-episode-grid a:hover {
  color: white;
  background: linear-gradient(135deg, var(--v18-001-accent), var(--v18-001-secondary));
}

.v18-001-player {
  aspect-ratio: 16 / 9;
}

.v18-001-player > * {
  width: 100%;
  height: 100%;
}

.v18-001-related-grid,
.v18-001-detail-related-grid,
.v18-001-play-related-grid {
  display: grid;
  grid-template-columns: repeat(var(--v18-001-columns), minmax(0, 1fr));
  gap: calc(var(--v18-001-gap) * .82);
}

@media (max-width: 1100px) {
  .v18-001-grid, .v18-001-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v18-001-related-grid,
  .v18-001-detail-related-grid,
  .v18-001-play-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v18-001-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v18-001-rank ol { grid-template-columns: 1fr; }
  .v18-001-detail-meta-grid, .v18-001-play-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v18-001-detail-inner, .v18-001-play-layout { grid-template-columns: 1fr; }
  .v18-001-detail-sidebar, .v18-001-play-sidebar { position: static; }
  .v18-001-detail-hero { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .v18-001-header-inner { flex-wrap: wrap; padding: 12px 0; }
  .v18-001-search { width: 100%; }
  .v18-001-search input { width: 100%; }
  .v18-001-hero { flex-direction: column; min-height: 0; gap: 12px; }
  .v18-001-hero-copy { padding: 16px; }
  .v18-001-hero-copy h1 { font-size: 1.75rem; line-height: 1.25; letter-spacing: 0; }
  .v18-001-hero-copy p { margin: 10px 0 0; line-height: 1.65; }
  .v18-001-featured { width: 100%; }
  .v18-001-grid, .v18-001-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v18-001-related-grid,
  .v18-001-detail-related-grid,
  .v18-001-play-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v18-001-footer-grid, .v18-001-detail-meta-grid, .v18-001-play-meta-grid { grid-template-columns: 1fr; }
  .v18-001-list-tools .frontend-filter-row { grid-template-columns: 1fr; }
  .v18-001-detail-hero { grid-template-columns: 1fr; }
}
