:root {
  --landing-ink: #26262A;
  --landing-muted: #612E35;
  --landing-bg: #F3ECE0;
  --landing-panel: #F1E8DF;
  --landing-soft: #EED0AE;
  --landing-accent: #9E1030;
}

body.theme-r18 {
  background: var(--landing-bg);
  color: var(--landing-ink);
}

.theme-r18 .site-header {
  background: rgba(243, 236, 224, .96);
  border-bottom-color: rgba(97, 46, 53, .2);
}

.theme-r18 .site-header::after,
.theme-r18 .eyebrow > span,
.theme-r18 .gallery-section .split-heading::after,
.theme-r18 .formats-section-head::after,
.theme-r18 .feature-section-head::after,
.theme-r18 .definition-section-head::after,
.theme-r18 .video-gallery-section .split-heading::after {
  background: linear-gradient(90deg, #9E1030, #EED0AE, transparent);
}

.theme-r18 .site-header .desktop-nav {
  border-color: rgba(97, 46, 53, .2);
  background: rgba(241, 232, 223, .82);
}

.theme-r18 .site-header .desktop-nav a,
.theme-r18 .brand-copy,
.theme-r18 .site-footer nav a {
  color: #612E35;
}

.theme-r18 .site-header .desktop-nav a:hover,
.theme-r18 .site-header .desktop-nav a:focus-visible,
.theme-r18 .site-header .desktop-nav a[aria-current="page"] {
  background: #9E1030;
  color: #F1E8DF;
}

.theme-r18 .age-badge {
  border-color: rgba(158, 16, 48, .55);
  background: #F1E8DF;
  color: #9E1030;
}

.theme-r18 .article-hero {
  border-color: rgba(97, 46, 53, .18);
  background:
    radial-gradient(circle at 15% 18%, rgba(158, 16, 48, .22), transparent 29%),
    radial-gradient(circle at 86% 65%, rgba(238, 208, 174, .28), transparent 32%),
    linear-gradient(rgba(38, 38, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 38, 42, .035) 1px, transparent 1px),
    linear-gradient(135deg, #F1E8DF, #F3ECE0 64%);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

.theme-r18 .hero-kicker,
.theme-r18 h2 em,
.theme-r18 .eyebrow,
.theme-r18 .type-card-link,
.theme-r18 .character-profile-copy h4 {
  color: #9E1030;
}

.theme-r18 .hero-title-main {
  color: #26262A;
  background-image: linear-gradient(92deg, #26262A, #612E35);
}

.theme-r18 .hero-title-accent {
  color: #9E1030;
  background-image: linear-gradient(92deg, #9E1030, #EED0AE 70%, #612E35);
}

.theme-r18 .hero-description {
  border-left-color: #9E1030;
  background: rgba(241, 232, 223, .82);
  box-shadow: 0 18px 44px rgba(97, 46, 53, .1);
}

.theme-r18 .hero-lead,
.theme-r18 .info-panel p,
.theme-r18 .video-section-intro > p,
.theme-r18 .final-cta-copy > p,
.theme-r18 .landing-gallery-intro > p,
.theme-r18 .gallery-group-intro {
  color: #612E35;
}

.theme-r18 .button-small,
.theme-r18 .button-primary,
.theme-r18 .final-actions .button,
.theme-r18 .character-profile-image > span,
.theme-r18 .formats-editor-number,
.theme-r18 .feature-board-number,
.theme-r18 .definition-step-number,
.theme-r18 .video-card-number {
  border-color: rgba(241, 232, 223, .72) !important;
  background: linear-gradient(120deg, #612E35, #9E1030 58%, #EED0AE) !important;
  color: #F1E8DF !important;
  box-shadow: 0 13px 32px rgba(97, 46, 53, .25) !important;
}

.theme-r18 .button-secondary,
.theme-r18 .hero-benefits span,
.theme-r18 .character-tags span,
.theme-r18 .feature-board-tags span,
.theme-r18 .video-tags span {
  border-color: rgba(158, 16, 48, .38) !important;
  background: rgba(241, 232, 223, .86) !important;
  color: #612E35 !important;
}

.theme-r18 .video-card-description {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 8px 0 0;
  overflow: hidden;
  color: #612E35;
  font-size: clamp(12px, .9vw, 14px);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 680px) {
  .theme-r18 .video-card-description {
    min-height: 0;
  }
}

/* Editorial R18 definition and watch/create panels. */
body.theme-r18.landing-page main.article-page #about-ai-av .about-media-pair,
body.theme-r18.landing-page main.article-page #enjoy .enjoy-media-pair {
  gap: clamp(20px, 2.6vw, 38px);
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel,
body.theme-r18.landing-page main.article-page #about-ai-av .section-media-frame,
body.theme-r18.landing-page main.article-page #enjoy .video-section-intro,
body.theme-r18.landing-page main.article-page #enjoy .section-media-frame {
  min-height: clamp(390px, 29vw, 490px);
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel,
body.theme-r18.landing-page main.article-page #enjoy .video-section-intro {
  position: relative;
  isolation: isolate;
  justify-content: center;
  padding: clamp(34px, 3.4vw, 54px);
  border: 1px solid rgba(116, 20, 43, .28) !important;
  border-left: 3px solid #8f1c36 !important;
  background:
    radial-gradient(circle at 96% 8%, rgba(143, 28, 54, .13), transparent 27%),
    linear-gradient(142deg, #f5e9d9 0%, #ead1b4 100%) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 24px 58px rgba(38, 24, 29, .18);
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel::before {
  content: none !important;
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel::after,
body.theme-r18.landing-page main.article-page #enjoy .video-section-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(22px, 2.6vw, 40px);
  bottom: clamp(22px, 2.6vw, 40px);
  width: 78px;
  height: 78px;
  border: 1px solid rgba(116, 20, 43, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(116, 20, 43, .035), 0 0 0 28px rgba(116, 20, 43, .022);
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-title,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-title {
  max-width: 640px;
  margin: 0;
  color: #2c2427 !important;
  font-size: clamp(26px, 2.4vw, 40px) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -.045em !important;
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-title em,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-title em {
  display: block;
  margin-top: 4px;
  color: #8f1c36 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-copy,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-copy {
  max-width: 670px;
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  color: #514448 !important;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.72;
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-path,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(18px, 2vw, 26px);
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-path > span,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-path > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(116, 20, 43, .2);
  border-radius: 12px;
  background: rgba(255, 250, 241, .5);
  color: #4f2028;
  font-size: clamp(9px, .75vw, 11px);
  font-weight: 850;
  white-space: nowrap;
}

body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-path b,
body.theme-r18.landing-page main.article-page #enjoy .video-intro-path b {
  color: #9e1030;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}

body.theme-r18.landing-page main.article-page #about-ai-av .section-media-frame img,
body.theme-r18.landing-page main.article-page #enjoy .section-media-frame img {
  object-position: center center;
}

body.theme-r18.landing-page main.article-page #enjoy .section-media-frame img {
  object-position: 74% center;
}

body.theme-r18 main.article-page #enjoy #videos-title {
  color: #f3ece0 !important;
}

body.theme-r18 main.article-page #enjoy #videos-title em {
  color: #eed0ae !important;
}

body.theme-r18.landing-page main.article-page #enjoy .video-section-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 2.2vw, 30px);
}

body.theme-r18.landing-page main.article-page #enjoy .video-section-actions .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  justify-content: center;
  border-radius: 999px;
}

body.theme-r18.landing-page main.article-page #enjoy .video-section-actions .button-primary {
  border-color: rgba(238, 208, 174, .76) !important;
  background: linear-gradient(120deg, #612e35, #9e1030 62%, #6a282c) !important;
  color: #f3ece0 !important;
  box-shadow: 0 13px 32px rgba(97, 46, 53, .28) !important;
}

body.theme-r18.landing-page main.article-page #enjoy .video-section-actions .button-secondary {
  border-color: #b77a3f !important;
  background: linear-gradient(135deg, #d9ad78, #edcfaa 54%, #c99156) !important;
  color: #3d2024 !important;
  box-shadow: 0 12px 30px rgba(94, 50, 28, .22), inset 0 1px rgba(255, 255, 255, .48) !important;
}

body.theme-r18.landing-page main.article-page #enjoy .video-section-actions .button-secondary > span[aria-hidden="true"] {
  border-color: rgba(61, 32, 36, .22) !important;
  background: rgba(61, 32, 36, .1) !important;
  color: #65172a !important;
}

@media (hover: hover) {
  body.theme-r18.landing-page main.article-page #enjoy .video-section-actions .button:hover {
    transform: translateY(-4px) scale(1.012);
    filter: brightness(1.1) saturate(1.1);
    box-shadow: 0 20px 44px rgba(111, 16, 43, .34) !important;
  }
}

body.theme-r18.landing-page main.article-page #ai-av-types .definition-points article > div > p + p {
  margin-top: 10px;
}

@media (max-width: 980px) {
  body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel,
  body.theme-r18.landing-page main.article-page #enjoy .video-section-intro {
    min-height: 0;
  }

  body.theme-r18.landing-page main.article-page #about-ai-av .section-media-frame,
  body.theme-r18.landing-page main.article-page #enjoy .section-media-frame {
    min-height: clamp(250px, 48vw, 420px);
  }
}

@media (max-width: 680px) {
  body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-panel,
  body.theme-r18.landing-page main.article-page #enjoy .video-section-intro {
    padding: 28px 20px;
  }

  body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-title,
  body.theme-r18.landing-page main.article-page #enjoy .video-intro-title {
    font-size: clamp(25px, 8vw, 32px) !important;
  }

  body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-path,
  body.theme-r18.landing-page main.article-page #enjoy .video-intro-path,
  body.theme-r18.landing-page main.article-page #enjoy .video-section-actions {
    grid-template-columns: 1fr;
  }

  body.theme-r18.landing-page main.article-page #about-ai-av .about-intro-path > span,
  body.theme-r18.landing-page main.article-page #enjoy .video-intro-path > span {
    justify-content: center;
    white-space: normal;
  }
}

.theme-r18 .ticker {
  background: linear-gradient(90deg, #EED0AE, #F1E8DF, #F3ECE0, #EED0AE);
  color: #26262A;
}

.theme-r18 .models,
.theme-r18 .ai-av-overview-section,
.theme-r18 .accent-section,
.theme-r18 .video-gallery-section {
  background: #F3ECE0;
}

.theme-r18 .dark-section,
.theme-r18 .final-cta {
  background:
    radial-gradient(circle at 85% 10%, rgba(158, 16, 48, .18), transparent 30%),
    linear-gradient(135deg, #F1E8DF, #F3ECE0);
  color: #26262A;
}

.theme-r18 .character-profile,
.theme-r18 .formats-editor-item,
.theme-r18 .feature-board-card,
.theme-r18 .definition-points article,
.theme-r18 .video-card,
.theme-r18 .landing-topic-grid article {
  border-color: rgba(97, 46, 53, .16);
  background: #F1E8DF;
  color: #26262A;
  box-shadow: 0 18px 48px rgba(97, 46, 53, .12);
}

.theme-r18 .site-footer {
  background: #612E35;
  color: #F1E8DF;
}

.theme-r18 .site-footer .brand-copy,
.theme-r18 .site-footer > p,
.theme-r18 .site-footer nav a {
  color: #F1E8DF;
}

.theme-r18 .hero-video-duo-card {
  border-color: #26262A;
  background: #26262A;
}

.theme-r18 .hero-video-duo-card > span {
  background: #F1E8DF;
  color: #612E35;
}

.landing-gallery-intro {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding: 0 max(6vw, 30px);
}

.landing-gallery-intro h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
}

.landing-gallery-intro > p {
  max-width: 820px;
  margin: 20px 0 0;
}

.landing-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.landing-topic-grid article {
  padding: 24px;
  border: 1px solid;
  border-radius: 22px;
}

.landing-topic-grid h3,
.landing-topic-grid p {
  margin-top: 0;
}

.gallery-group-intro {
  max-width: 520px;
  margin: 8px 0 0;
  font-size: 13px;
}

@media (min-width: 681px) {
  body.theme-r18 main.article-page #videos .gallery-group-intro {
    max-width: none;
    white-space: nowrap;
  }
}

.landing-page .article-hero h1 {
  font-size: clamp(34px, 3vw, 54px);
}

.landing-page .feature-board-column {
  grid-template-rows: none;
}

/* One editorial heading language across the R18 page sections. */
body.theme-r18 main.article-page #characters-title,
body.theme-r18 main.article-page #about-ai-av-title,
body.theme-r18 main.article-page #videos-title,
body.theme-r18 main.article-page #ai-av-types-title,
body.theme-r18 main.article-page #realistic-videos-title,
body.theme-r18 main.article-page #anime-videos-title,
body.theme-r18 main.article-page #generation-title,
body.theme-r18 main.article-page #features-title,
body.theme-r18 main.article-page #why-choose-title {
  color: #26262a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  text-align: left;
}

body.theme-r18 main.article-page #characters-title em,
body.theme-r18 main.article-page #about-ai-av-title em,
body.theme-r18 main.article-page #videos-title em,
body.theme-r18 main.article-page #ai-av-types-title em,
body.theme-r18 main.article-page #realistic-videos-title em,
body.theme-r18 main.article-page #anime-videos-title em,
body.theme-r18 main.article-page #generation-title em,
body.theme-r18 main.article-page #features-title em,
body.theme-r18 main.article-page #why-choose-title em {
  display: inline !important;
  color: #9e1030 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -.045em !important;
}

body.theme-r18 main.article-page #why-choose-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(90deg, #9e1030, #c88f62 34%, rgba(97, 46, 53, .12));
}

@media (max-width: 680px) {
  body.theme-r18 main.article-page #characters-title,
  body.theme-r18 main.article-page #about-ai-av-title,
  body.theme-r18 main.article-page #videos-title,
  body.theme-r18 main.article-page #ai-av-types-title,
  body.theme-r18 main.article-page #realistic-videos-title,
  body.theme-r18 main.article-page #anime-videos-title,
  body.theme-r18 main.article-page #generation-title,
  body.theme-r18 main.article-page #features-title,
  body.theme-r18 main.article-page #why-choose-title {
    letter-spacing: -.04em !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 680px) {
  .landing-gallery-intro {
    padding-inline: 20px;
  }

  .landing-topic-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .article-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

/* R18 generation tools: preserve the complete supplied copy and finish with one strong CTA. */
body.theme-r18 main.article-page #generation .formats-editor-item,
body.theme-r18 main.article-page #generation .formats-editor-item:nth-child(2),
body.theme-r18 main.article-page #generation .formats-editor-item:nth-child(4),
body.theme-r18 main.article-page #generation .formats-editor-content {
  min-height: 500px;
}

body.theme-r18 main.article-page #generation .formats-editor-body {
  min-height: 280px;
}

body.theme-r18 main.article-page #generation .formats-editor-body p,
body.theme-r18 main.article-page #generation .formats-editor-item.has-background .formats-editor-body p {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

body.theme-r18 main.article-page #generation .generation-section-action {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(18px, 2vw, 28px);
  padding-inline: 64px;
  border-radius: 999px;
  font-size: 13px;
  text-align: center;
}

body.theme-r18 main.article-page #generation .generation-section-action > span {
  position: absolute;
  right: 18px;
}

/* Feature cards follow the same alternating editorial system as the other pages. */
body.theme-r18.landing-page main.article-page #features .feature-board-card {
  isolation: isolate;
  min-height: 390px;
  padding: clamp(26px, 2.5vw, 38px);
  border: 1px solid rgba(97, 46, 53, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 5%, rgba(238, 208, 174, .78), transparent 34%),
    linear-gradient(145deg, #f7f0e7, #efe2d5);
  box-shadow: 0 22px 52px rgba(38, 38, 42, .1);
  transform: none !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card::after {
  inset: auto 30px 0;
  height: 3px;
  background: linear-gradient(90deg, #9e1030, #d19a71 58%, transparent);
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) {
  border-color: rgba(238, 208, 174, .32);
  background:
    radial-gradient(circle at 94% 6%, rgba(185, 131, 145, .28), transparent 34%),
    linear-gradient(150deg, #6a282c, #3b292e 72%, #29262a);
  box-shadow: 0 26px 58px rgba(48, 28, 33, .22);
}

body.theme-r18.landing-page main.article-page #features .feature-board-number {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 0 clamp(44px, 4vw, 62px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9e1030 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(50px, 4vw, 66px) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  line-height: .86 !important;
  letter-spacing: -.075em !important;
  text-shadow: 0 3px 0 rgba(97, 46, 53, .08);
  box-shadow: none !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) .feature-board-number {
  color: #eed0ae !important;
  text-shadow: none;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card h3 {
  margin-bottom: 16px;
  color: #8f1c36 !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) h3 {
  color: #fff8ee !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) p {
  color: rgba(255, 248, 238, .76) !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-tags {
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(97, 46, 53, .18);
}

body.theme-r18.landing-page main.article-page #features .feature-board-tags span {
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #6a282c !important;
  font-size: 10px !important;
  font-weight: 850;
  letter-spacing: .045em;
  box-shadow: none !important;
}

body.theme-r18.landing-page main.article-page #features .feature-board-tags span + span::before {
  content: "／";
  margin: 0 8px;
  color: #c99156;
  font-weight: 500;
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) .feature-board-tags {
  border-top-color: rgba(238, 208, 174, .25);
}

body.theme-r18.landing-page main.article-page #features .feature-board-card:nth-child(even) .feature-board-tags span {
  color: #eed0ae !important;
}

body.theme-r18.landing-page main.article-page #why-choose h2#why-choose-title {
  font-size: clamp(36px, 3.4vw, 52px) !important;
}

@media (max-width: 640px) {
  body.theme-r18.landing-page main.article-page #features .feature-board-card {
    min-height: 0;
    padding: 26px 22px;
  }

  body.theme-r18.landing-page main.article-page #features .feature-board-number {
    margin-bottom: 34px !important;
    font-size: 48px !important;
  }

  body.theme-r18 main.article-page #generation .formats-editor-item,
  body.theme-r18 main.article-page #generation .formats-editor-item:nth-child(2),
  body.theme-r18 main.article-page #generation .formats-editor-item:nth-child(4),
  body.theme-r18 main.article-page #generation .formats-editor-content {
    min-height: 460px;
  }
}
