/* 红豆短剧 | 全站通用样式 | 按组件分组，避免页面内重复样式 */
:root {
  --ink: #302b2c;
  --muted: #756b70;
  --rose: #ad465c;
  --pink: #f7e8e6;
  --paper: #fbf8f3;
  --line: #e6dcd5;
  --cream: #efe2d5;
  --serif: Georgia,"Noto Serif SC","Songti SC",serif;
  --sans: system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
}

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

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

a:hover {
  color: var(--rose);
}

.wrap {
  width: min(1240px,calc(100% - 72px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: white;
  padding: 10px;
}

.skip:focus {
  left: 10px;
}

.topline {
  background: #322b2f;
  color: #e5d6d7;
  letter-spacing: .16em;
  font: 10px var(--sans);
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}

.navline {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 24px/1.12 var(--sans);
  letter-spacing: .07em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--rose);
  color: white;
  border-radius: 50% 50% 45% 45%;
  height: 46px;
  width: 46px;
  font: 600 25px var(--serif);
}

.brand-light {
  font-weight: 400;
}

.brand small {
  display: block;
  font: 9px/1.5 var(--sans);
  letter-spacing: .21em;
  color: var(--rose);
  margin-top: 3px;
}

.navigation {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.navigation a:hover,.navigation a:focus-visible {
  color: var(--rose);
}

.nav-cta {
  border: 1px solid #ae7180;
  padding: 10px 19px;
  font-size: 12px;
  color: var(--rose);
  border-radius: 3px;
}

.nav-cta span {
  margin-left: 17px;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 590px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: 76px 8% 58px 2%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.eyebrow,.section-tag {
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--rose);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #b85b6e;
  border-radius: 50%;
  margin-right: 7px;
}

.hero-kicker {
  margin: 45px 0 6px;
  color: #b16d77;
  letter-spacing: .28em;
  font-size: 13px;
}

.hero h1 {
  font: 500 clamp(48px,5.2vw,76px)/1.22 var(--serif);
  letter-spacing: .025em;
  margin: 0;
}

.hero h1 em,.section h2 em,.simple-page h1 em,.newsletter h2 em {
  font-style: normal;
  color: var(--rose);
}

.hero-desc {
  max-width: 450px;
  color: #635b5e;
  line-height: 2.1;
  font-size: 14px;
  margin: 27px 0 29px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn-primary {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  background: var(--rose);
  color: white;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 3px;
}

.btn-primary:hover {
  background: #82374a;
  color: white;
}

.btn-text,.inline-link {
  font-size: 13px;
  color: var(--rose);
  font-weight: 700;
}

.hero-stat {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 46px;
  color: #867e7e;
  font-size: 11px;
}

.hero-stat strong {
  font: 600 28px var(--serif);
  color: #3f3034;
}

.hero-stat i {
  height: 22px;
  width: 1px;
  background: #d9cbca;
  margin-inline: 8px;
}

.hero-art {
  position: relative;
  min-height: 590px;
  padding: 26px 0 26px 36px;
}

.hero-image {
  height: 100%;
  overflow: hidden;
  background: #e5c2c4;
}

.hero-photo {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.hero-label {
  position: absolute;
  top: 35px;
  right: 16px;
  writing-mode: vertical-rl;
  font-size: 10px;
  color: white;
  font-weight: 700;
  letter-spacing: .14em;
  text-shadow: 0 1px 8px #0008;
}

.hero-label span {
  margin-top: 18px;
}

.hero-overlay {
  position: absolute;
  bottom: 52px;
  left: 0;
  background: #fffdf9ee;
  backdrop-filter: blur(12px);
  padding: 21px 26px;
  width: min(350px,80%);
  box-shadow: 0 14px 42px #49363816;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-overlay span {
  font-size: 11px;
  color: #896b6d;
}

.hero-overlay strong {
  font: 500 26px var(--serif);
}

.corner-disc {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 93px;
  height: 93px;
  background: #be6471;
  color: white;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.2;
  font: 700 11px var(--sans);
  letter-spacing: .08em;
  transform: rotate(-13deg);
}

.ticker {
  background: #f0e1df;
  border-bottom: 1px solid #e6d4d2;
}

.ticker .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  color: #9b5a68;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
}

.ticker span {
  opacity: .45;
}

.section {
  padding-top: 88px;
  padding-bottom: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 34px;
}

.section h2,.section-head h2 {
  font: 500 clamp(29px,3.2vw,43px)/1.3 var(--serif);
  letter-spacing: .03em;
  margin: 12px 0;
}

.section-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px 23px;
}

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

.card-link {
  display: block;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 5/6.4;
  overflow: hidden;
  background: #ecd6d2;
  border-radius: 3px;
}

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

.story-card:hover .poster {
  transform: scale(1.045);
}

.poster-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 33px;
  height: 33px;
  background: #fbf8f2e8;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9b4557;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  color: var(--rose);
  font-size: 10px;
  letter-spacing: .11em;
}

.story-meta span:last-child {
  color: #999091;
}

.story-card h3 {
  font: 600 19px/1.4 var(--serif);
  margin: 8px 0;
}

.story-card p {
  margin: 0;
  color: #7c7276;
  font-size: 12px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-panel {
  background: #663e48;
  margin-top: 72px;
  color: white;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  gap: 65px;
  align-items: center;
}

.feature-copy {
  padding: 65px 0;
}

.feature-copy .section-tag {
  color: #f1b8bc;
}

.feature-copy h2 {
  font: 500 clamp(35px,4vw,54px)/1.42 var(--serif);
  margin: 26px 0;
}

.feature-copy p {
  max-width: 410px;
  color: #ead8d8;
  line-height: 2.1;
  font-size: 13px;
}

.btn-light {
  display: inline-block;
  margin-top: 22px;
  background: #fff9f2;
  color: #8a3e54;
  padding: 11px 19px;
  font-size: 12px;
  font-weight: 700;
}

.feature-visual {
  height: 100%;
  min-height: 400px;
  position: relative;
}

.feature-photo {
  height: 100%;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.feature-sticker {
  position: absolute;
  right: -25px;
  bottom: 24px;
  border-radius: 50%;
  background: #e8abb2;
  color: #683a48;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  text-align: center;
  font: 800 14px/1.2 var(--sans);
  transform: rotate(14deg);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.genre-card {
  min-height: 220px;
  background: #f0e8e1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .2s;
}

.genre-card:nth-child(2),.genre-card:nth-child(5) {
  background: #f4e5e8;
}

.genre-card:nth-child(3),.genre-card:nth-child(6) {
  background: #eee9e0;
}

.genre-card:hover {
  background: #ead4d7;
}

.genre-card>span {
  font-size: 10px;
  letter-spacing: .2em;
  color: #b26b74;
}

.genre-card h3 {
  font: 600 30px var(--serif);
  margin: 28px 0 0;
}

.genre-card strong {
  font-size: 12px;
  color: #ad5367;
}

.genre-card p {
  font-size: 12px;
  color: #75666a;
  line-height: 1.8;
  margin: auto 0 0;
  max-width: 300px;
}

.last-section {
  padding-bottom: 80px;
}

.newsletter {
  background: #f1e5df;
  text-align: center;
  margin-bottom: 85px;
  padding: 50px 7%;
}

.newsletter span {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--rose);
}

.newsletter h2 {
  font: 500 29px/1.5 var(--serif);
}

.newsletter p {
  max-width: 710px;
  margin: 0 auto 18px;
  color: #74676a;
  font-size: 13px;
  line-height: 2;
}

.newsletter a {
  font-weight: 700;
  color: var(--rose);
  font-size: 12px;
}

.footer {
  background: #302b2f;
  color: #e8dfe0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 65px 0 42px;
}

.footer-brand {
  font: 600 23px var(--serif);
}

.footer-brand span {
  display: block;
  font: 10px var(--sans);
  letter-spacing: .18em;
  margin-top: 9px;
}

.footer p {
  color: #bdb1b5;
  font-size: 12px;
  line-height: 2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 18px 26px;
  font-size: 12px;
}

.legal {
  border-top: 1px solid #544d51;
  padding: 18px 0 23px;
  color: #ad9fa4;
  font-size: 11px;
}

.breadcrumbs {
  padding: 26px 0 34px;
  color: #8b7c80;
  font-size: 11px;
}

.breadcrumbs span {
  color: #b05565;
}

.article-head {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 38px;
}

.article-head h1 {
  font: 500 clamp(38px,5vw,66px)/1.2 var(--serif);
  margin: 19px 0;
}

.article-deck {
  max-width: 690px;
  color: #6c6165;
  font-size: 16px;
  line-height: 1.9;
}

.article-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.article-chips span {
  border: 1px solid #dccbc8;
  color: #a15a67;
  padding: 5px 12px;
  font-size: 11px;
}

.article-index {
  font-size: 12px;
  color: #ad7581;
  letter-spacing: .15em;
  text-align: right;
}

.article-index b {
  display: block;
  font: 500 78px/1.1 var(--serif);
  color: #ae5468;
}

.article-index small {
  font-size: 12px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 65px;
  padding-top: 44px;
}

.article-figure {
  margin: 0;
}

.article-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 3px;
}

.article-figure figcaption {
  font-size: 11px;
  color: #a18d90;
  text-align: right;
  padding-top: 9px;
}

.story-intro {
  background: #f3e7e3;
  border-left: 3px solid #b55e73;
  padding: 25px 30px;
  margin: 40px 0;
}

.story-intro span {
  font-size: 10px;
  color: #b15b6b;
  letter-spacing: .16em;
}

.story-intro p {
  font: 500 21px/1.8 var(--serif);
  margin: 12px 0 0;
}

.article-body h2 {
  font: 600 26px/1.5 var(--serif);
  margin: 48px 0 16px;
}

.article-body>p {
  font-size: 15px;
  color: #554a4e;
  line-height: 2.25;
  margin: 0 0 19px;
  letter-spacing: .025em;
}

.article-end {
  margin: 48px 0;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: #ad7b82;
  letter-spacing: .16em;
  font-size: 10px;
  text-align: center;
}

.aside-sticky {
  position: sticky;
  top: 25px;
  border: 1px solid var(--line);
  padding: 25px;
  background: #f9f3ed;
}

.article-aside h2 {
  font: 600 23px var(--serif);
  margin: 12px 0;
}

.article-aside p {
  font-size: 13px;
  color: #706468;
}

.article-aside dl {
  border-top: 1px solid var(--line);
  margin: 25px 0;
}

.article-aside dt {
  font-size: 10px;
  color: #9e888f;
  padding-top: 15px;
}

.article-aside dd {
  margin: 2px 0 9px;
  font-size: 13px;
}

.aside-link {
  font-size: 12px;
  color: var(--rose);
  font-weight: 700;
}

.related {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.story-grid.three {
  grid-template-columns: repeat(3,1fr);
}

.simple-page {
  padding-bottom: 90px;
}

.simple-page h1 {
  font: 500 clamp(42px,5vw,68px)/1.25 var(--serif);
  margin: 15px 0;
}

.simple-page .lead {
  max-width: 800px;
  line-height: 2;
  color: #77696d;
  margin: 18px 0 44px;
}

.all-story-list {
  margin-top: 60px;
}

.all-story-list h2,.topic-article h2 {
  font: 600 28px var(--serif);
}

.all-story-list ul {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 28px;
}

.all-story-list li {
  border-bottom: 1px solid var(--line);
}

.all-story-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
}

.all-story-list li span {
  color: #a85b69;
  width: 70px;
  font-size: 11px;
}

.all-story-list li strong {
  font-weight: 500;
  flex: 1;
}

.all-story-list li small {
  color: var(--rose);
}

.topic-article {
  max-width: 800px;
  padding: 35px 0 10px;
}

.topic-article p {
  font-size: 14px;
  color: #675d61;
  line-height: 2;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.about-columns section {
  border-top: 2px solid #b96b7b;
  padding-top: 18px;
}

.about-columns h2 {
  font: 600 24px var(--serif);
}

.about-columns p {
  font-size: 14px;
  color: #685b60;
  line-height: 2;
}

@media (max-width:1050px) {
  .wrap {
    width: min(100% - 44px,1240px);
  }

  .story-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .article-layout {
    gap: 30px;
    grid-template-columns: minmax(0,1fr) 235px;
  }

  .hero-copy {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 53px;
  }
}

@media (max-width:750px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .top-right {
    display: none;
  }

  .navline {
    min-height: 78px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    height: 38px;
    width: 38px;
    font-size: 20px;
  }

  .navigation {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    font-size: 12px;
  }

  .nav-cta {
    font-size: 11px;
    padding: 7px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 45px 0 36px;
  }

  .hero-kicker {
    margin-top: 25px;
  }

  .hero h1 {
    font-size: clamp(43px,10vw,63px);
  }

  .hero-desc {
    margin: 20px 0;
  }

  .hero-stat {
    padding-top: 30px;
  }

  .hero-art {
    min-height: 420px;
    height: 450px;
    padding: 0 0 18px 22px;
  }

  .hero-overlay {
    bottom: 36px;
  }

  .corner-disc {
    left: 0;
  }

  .ticker .wrap {
    justify-content: center;
  }

  .section {
    padding-top: 60px;
  }

  .section-head {
    display: block;
  }

  .section-head .inline-link {
    display: inline-block;
    margin-top: 15px;
  }

  .section h2 {
    font-size: 32px;
  }

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

  .story-card h3 {
    font-size: 17px;
  }

  .feature-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-copy {
    padding: 52px 0 30px;
  }

  .feature-copy h2 {
    font-size: 37px;
  }

  .feature-visual {
    height: 320px;
    min-height: 320px;
  }

  .feature-photo {
    max-height: 320px;
  }

  .feature-sticker {
    right: 0;
  }

  .genre-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .genre-card {
    min-height: 200px;
    padding: 17px;
  }

  .genre-card h3 {
    font-size: 23px;
  }

  .newsletter {
    margin-bottom: 50px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .article-head {
    align-items: start;
  }

  .article-index {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    order: -1;
  }

  .aside-sticky {
    position: static;
  }

  .article-photo {
    height: 410px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .story-grid.three {
    grid-template-columns: repeat(2,1fr);
  }

  .all-story-list ul {
    grid-template-columns: 1fr;
  }

  .about-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width:390px) {
  .story-grid {
    gap: 23px 10px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn-primary {
    gap: 12px;
    padding: 10px 14px;
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .genre-card {
    min-height: 170px;
  }

  .story-grid.three {
    grid-template-columns: 1fr;
  }

  .story-meta {
    letter-spacing: 0;
  }

  .nav-cta {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .poster {
    transition: none;
  }
}

/* 可访问性：仅隐藏视觉展示，不隐藏屏幕阅读器文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
