@font-face {
  font-family: system-ui-local;
  src: local("Arial")
}

:root {
  --green: #244e37;
  --forest: #132d23;
  --deep: #101f1a;
  --gold: #ffca24;
  --text: #19251e;
  --muted: #6a796e;
  --cream: #f7f8f3;
  --line: #e6ece6
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text)
}

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

button {
  font: inherit;
  cursor: pointer
}

img {
  max-width: 100%
}

.container {
  width: min(1240px, calc(100% - 44px));
  margin: auto
}

.header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #edf0e9
}

.headin {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap
}

.brand img {
  width: 41px;
  height: 41px;
  object-fit: contain;
  background: var(--green);
  border-radius: 12px;
  padding: 5px
}

.topnav {
  display: flex;
  gap: 24px;
  margin: auto;
  color: #4c5c51;
  font-size: 15px
}

.topnav a:hover,
.topnav a.active {
  color: #1d7143;
  font-weight: 800
}

.btn {
  border-radius: 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform .2s, background .2s, box-shadow .2s
}

.btn:hover {
  transform: translateY(-3px)
}

.btn-gold {
  background: var(--gold);
  color: #15251a
}

.btn-dark {
  background: var(--forest);
  color: white
}

.btn-ghost {
  background: white;
  color: var(--forest);
  border-color: #dce4da
}

.catbtn {
  white-space: nowrap;
  border: 1px solid #dde8df;
  background: white;
  border-radius: 12px;
  padding: 12px 17px;
  color: #254b35;
  font-weight: 700
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px
}

.menu-toggle {
  display: none
}

.hero {
  padding: 0 10px;
  background: radial-gradient(circle at 73% 16%, #496a43 0%, transparent 40%), linear-gradient(120deg, #173828 2%, #264b32 62%, #142c26);
  color: white;
  overflow: hidden
}

.hero-main {
  min-height: 550px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 35px;
  align-items: center;
  padding: 60px 0 65px
}

.eyebrow {
  letter-spacing: 3px;
  font-weight: 800;
  color: #ffd35a;
  font-size: 13px
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.19;
  letter-spacing: -1.3px;
  margin: 21px 0 21px
}

.hero h1 em {
  color: #ffd033;
  font-style: normal
}

.hero p {
  font-size: 17px;
  line-height: 2;
  color: #dde8df;
  max-width: 580px
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 27px
}

.chips span {
  background: #ffffff13;
  border: 1px solid #ffffff24;
  padding: 9px 12px;
  border-radius: 99px;
  font-size: 12px;
  color: #e1eadd
}

.hero-art {
  height: 455px;
  position: relative;
  isolation: isolate
}

.hero-art:before {
  content: "";
  position: absolute;
  inset: 9% 8%;
  border-radius: 50%;
  background: #ffc8231b;
  filter: blur(28px)
}

.hero-art img {
  position: absolute;
  width: 30%;
  height: 76%;
  object-fit: cover;
  border: 5px solid #ffffff18;
  border-radius: 19px;
  box-shadow: 0 24px 45px #08180b77
}

.hero-art img:nth-child(1) {
  left: 5%;
  top: 15%;
  transform: rotate(-9deg)
}

.hero-art img:nth-child(2) {
  left: 34%;
  top: 1%;
  z-index: 3;
  transform: rotate(-2deg)
}

.hero-art img:nth-child(3) {
  right: 5%;
  top: 15%;
  transform: rotate(9deg)
}

.hero-art .hero-tag {
  position: absolute;
  right: 0;
  bottom: 4%;
  background: var(--gold);
  color: #243224;
  border-radius: 15px;
  padding: 14px 20px;
  font-weight: 800;
  z-index: 5;
  box-shadow: 0 13px 30px #0002
}

.section {
  padding: 78px 0
}

.section.soft {
  background: #fff
}

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

.kicker {
  color: #b88c16;
  font-weight: 850;
  letter-spacing: 2px;
  font-size: 12px
}

.section h2 {
  font-size: clamp(27px, 3vw, 38px);
  margin: 9px 0 9px
}

.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  max-width: 780px
}

.more {
  color: #286746;
  font-weight: 800;
  white-space: nowrap
}

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

.poster {
  min-width: 0
}

.poster-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 15px;
  background: #dae3d6
}

.poster-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s
}

.poster:hover .poster-image img {
  transform: scale(1.065)
}

.poster-image:after {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(transparent, #0619108a);
  pointer-events: none
}

.pill {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  background: #192e20cc;
  color: white;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px
}

.episodes {
  position: absolute;
  right: 8px;
  top: 9px;
  z-index: 2;
  background: #ffc929;
  color: #1b2c1e;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850
}

.playicon {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -35%) scale(.75);
  border-radius: 50%;
  background: #ffd034ea;
  color: #263421;
  display: grid;
  place-items: center;
  font-size: 21px;
  opacity: 0;
  transition: .25s
}

.poster:hover .playicon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1)
}

.poster h3 {
  font-size: 15px;
  line-height: 1.45;
  margin: 11px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.poster p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

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

.topic {
  background: #f6f9f3;
  border: 1px solid #e6ece4;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: .25s
}

.topic:hover {
  background: #fff6d8;
  transform: translateY(-4px)
}

.topic strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px
}

.topic small {
  color: #718075;
  line-height: 1.7
}

.topic b {
  font-size: 24px;
  color: #3b7a55
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px
}

.rank {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  padding: 11px;
  border-radius: 14px
}

.rank .number {
  font-size: 24px;
  color: #b3bcb2;
  font-weight: 900;
  width: 30px;
  text-align: center
}

.rank:nth-child(-n+3) .number {
  color: #eeb621
}

.rank img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px
}

.rank h3 {
  font-size: 16px;
  margin: 0 0 7px
}

.rank p {
  font-size: 12px;
  color: var(--muted);
  margin: 0
}

.rank .arrow {
  margin-left: auto;
  color: #598565
}

.download-section {
  background: #163c2b;
  color: white;
  overflow: hidden
}

.download-shell {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: center
}

.download-shell h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3
}

.download-shell p {
  color: #d2e2d4;
  line-height: 1.9
}

.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px
}

.phone {
  width: 220px;
  height: 360px;
  border: 8px solid #24352d;
  border-radius: 35px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 25px 65px #0004;
  transform: rotate(7deg)
}

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

.qr-card {
  width: 160px;
  border-radius: 20px;
  padding: 13px;
  background: white;
  color: #234329;
  text-align: center;
  box-shadow: 0 20px 45px #0002
}

.qr-card img {
  width: 100%;
  display: block
}

.qr-card strong {
  font-size: 13px
}

.download-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.download-actions .btn {
  min-height: 51px
}

.download-note {
  font-size: 12px !important;
  margin-top: 16px
}

.qr-wrap {
  position: relative;
  display: inline-flex
}

.qr-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 17px);
  transform: translate(-50%, 8px);
  width: 172px;
  background: white;
  color: #173a27;
  padding: 12px;
  border-radius: 15px;
  box-shadow: 0 18px 45px #0004;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s;
  z-index: 99;
  text-align: center;
  font-weight: 700;
  font-size: 12px
}

.qr-pop img {
  display: block;
  width: 100%;
  aspect-ratio: 1
}

.qr-wrap:hover .qr-pop,
.qr-wrap:focus-within .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0)
}

.qr-wrap.qr-down .qr-pop {
  bottom: auto;
  top: calc(100% + 15px);
  transform: translate(-50%, -8px)
}

.qr-wrap.qr-down:hover .qr-pop,
.qr-wrap.qr-down:focus-within .qr-pop {
  transform: translate(-50%, 0)
}

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

.review {
  border-radius: 17px;
  background: white;
  border: 1px solid var(--line);
  padding: 24px
}

.review .who {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px
}

.avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover
}

.review .who strong {
  font-size: 15px
}

.review .who small {
  display: block;
  color: #95a395;
  font-size: 12px;
  margin-top: 4px
}

.stars {
  color: #ecb21c;
  letter-spacing: 2px
}

.review p {
  color: #57675a;
  font-size: 14px;
  line-height: 1.85
}

.barrage {
  overflow: hidden;
  margin-bottom: 27px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent)
}

.barrage-track {
  display: flex;
  gap: 13px;
  width: max-content;
  animation: marquee 35s linear infinite
}

.barrage-track span {
  border: 1px solid #dfeadb;
  background: white;
  border-radius: 99px;
  padding: 12px 20px;
  color: #4c6655;
  white-space: nowrap;
  font-size: 13px
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

.faq {
  max-width: 900px;
  margin: auto
}

.faq details {
  background: white;
  border: 1px solid #e4ebe1;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 22px
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.faq summary:after {
  content: '+';
  font-size: 23px;
  color: #397952
}

.faq details[open] summary:after {
  content: '−'
}

.faq p {
  color: #627166;
  line-height: 1.9;
  font-size: 14px;
  margin: 0;
  padding-bottom: 18px
}

.footer {
  padding: 58px 0 24px;
  background: #0f251b;
  color: #d5e6d8
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px
}

.footer-brand {
  max-width: 450px
}

.footer-brand p {
  line-height: 1.9;
  color: #a5b9a8;
  font-size: 14px
}

.footlinks {
  display: flex;
  gap: 70px
}

.footlinks h3 {
  font-size: 15px
}

.footlinks a {
  display: block;
  margin: 12px 0;
  color: #b2c5b5;
  font-size: 13px
}

.copyright {
  border-top: 1px solid #294135;
  padding-top: 22px;
  margin-top: 43px;
  color: #90a695;
  font-size: 12px
}

.shade {
  position: fixed;
  inset: 0;
  background: #07160db8;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: .25s
}

.shade.on {
  opacity: 1;
  visibility: visible
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(375px, 88vw);
  overflow: auto;
  background: white;
  z-index: 80;
  padding: 28px;
  transform: translateX(101%);
  transition: transform .32s cubic-bezier(.22, .8, .24, 1);
  box-shadow: -20px 0 60px #102d2228
}

.drawer.open {
  transform: translateX(0)
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px
}

.drawer-head strong {
  font-size: 21px
}

.close {
  border: 0;
  background: #f0f5ee;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  font-size: 24px
}

.drawer-link {
  padding: 17px 15px;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
  margin-bottom: 7px;
  font-weight: 700;
  color: #47634d
}

.drawer-link:hover,
.drawer-link.selected {
  background: #e9f4df;
  color: #22643e
}

.subhero {
  background: linear-gradient(110deg, #153a29, #305b37);
  color: white;
  padding: 66px 0
}

.subhero h1 {
  font-size: clamp(33px, 4vw, 52px);
  margin: 15px 0
}

.subhero p {
  color: #d8e8d9;
  line-height: 1.9;
  font-size: 16px;
  max-width: 700px
}

.subhero .breadcrumbs {
  font-size: 13px;
  color: #c1d7c8
}

.subintro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.subintro p {
  color: #647568;
  line-height: 2
}

.subintro img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 20px
}

.empty {
  text-align: center;
  padding: 50px;
  color: #667
}

.reveal {
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: transform, opacity
}

.reveal:not(.in-view) {
  opacity: .15;
  transform: translateY(36px)
}

.reveal[data-fx="left"]:not(.in-view) {
  transform: translateX(-45px)
}

.reveal[data-fx="right"]:not(.in-view) {
  transform: translateX(45px)
}

.reveal[data-fx="zoom"]:not(.in-view) {
  transform: scale(.94)
}

.reveal[data-fx="tilt"]:not(.in-view) {
  transform: translateY(25px) rotate(-1.5deg)
}

@media(max-width:1050px) {
  .posters {
    grid-template-columns: repeat(4, 1fr)
  }

  .topnav {
    gap: 13px
  }

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

  .hero-art {
    height: 370px
  }

  .footlinks {
    gap: 30px
  }
}

@media(max-width:760px) {
  .container {
    width: calc(100% - 30px)
  }

  .header {
    height: 65px
  }

  .brand {
    font-size: 18px
  }

  .brand img {
    width: 36px;
    height: 36px
  }

  .topnav {
    display: none
  }

  .catbtn {
    padding: 9px 12px;
    font-size: 13px
  }

  .head-actions {
    margin-left: auto;
    gap: 8px
  }

  .head-actions .qr-wrap>.btn {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px
  }

  .hero-main {
    display: block;
    padding: 48px 0 36px
  }

  .hero h1 {
    font-size: 36px
  }

  .hero p {
    font-size: 14px
  }

  .hero-art {
    height: 300px;
    margin-top: 23px
  }

  .hero-art img {
    width: 31%;
    height: 90%
  }

  .hero-art img:nth-child(2) {
    left: 35%;
    top: 0
  }

  .hero-art .hero-tag {
    bottom: 0;
    font-size: 12px;
    padding: 10px
  }

  .section {
    padding: 55px 0
  }

  .section-head {
    align-items: start
  }

  .section h2 {
    font-size: 27px
  }

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

  .poster-image {
    border-radius: 10px
  }

  .poster h3 {
    font-size: 13px
  }

  .poster p {
    font-size: 11px
  }

  .pill,
  .episodes {
    font-size: 9px;
    padding: 4px
  }

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

  .topic {
    padding: 18px
  }

  .topic strong {
    font-size: 16px
  }

  .rank-grid {
    grid-template-columns: 1fr
  }

  .download-shell {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .download-visual {
    padding-top: 14px
  }

  .phone {
    width: 165px;
    height: 250px
  }

  .qr-card {
    width: 132px
  }

  .reviews {
    grid-template-columns: 1fr
  }

  .footer-main {
    display: block
  }

  .footlinks {
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 30px
  }

  .subintro {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .subintro img {
    height: 250px
  }

  .subhero {
    padding: 46px 0
  }
}

@media(max-width:390px) {
  .brand {
    font-size: 16px
  }

  .catbtn {
    padding: 8px
  }

  .posters {
    grid-template-columns: repeat(2, 1fr)
  }

  .head-actions .btn {
    font-size: 11px
  }

  .topic {
    padding: 13px
  }

  .topics {
    grid-template-columns: 1fr 1fr
  }
}

@media(hover:none) {
  .playicon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(.75)
  }

  .qr-pop {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }

  .reveal:not(.in-view) {
    opacity: 1;
    transform: none
  }
}

/* 黄豆短剧 · 视觉升级 */
.topnav {
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  padding: 4px 0
}

.topnav::-webkit-scrollbar {
  display: none
}

.topnav a {
  flex: none;
  padding: 10px 12px;
  border-radius: 99px;
  white-space: nowrap;
  font-size: 15px;
  transition: background .25s, transform .25s, color .25s
}

.topnav a:hover {
  background: #ffebaa;
  color: #16472b;
  transform: translateY(-2px)
}

.headin {
  gap: 15px
}

.brand {
  white-space: nowrap;
  flex: none
}

.episodes {
  border-radius: 100px;
  padding: 6px 11px;
  background: linear-gradient(125deg, #ffe691, #ffc032);
  color: #25452f;
  letter-spacing: .4px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid #ffefb3;
  box-shadow: 0 3px 12px #19190026;
  backdrop-filter: blur(6px);
  transform: translateZ(0)
}

.episodes:before {
  content: '✦';
  font-size: 9px;
  margin-right: 4px;
  color: #4e7935
}

.poster-image {
  isolation: isolate;
  box-shadow: 0 8px 24px #193a2214;
  transition: box-shadow .35s, transform .35s
}

.poster:hover .poster-image {
  box-shadow: 0 15px 30px #142c2140;
  transform: translateY(-5px)
}

.poster .playicon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffe789, #ffc12c);
  border: 2px solid #fff9d3;
  box-shadow: 0 0 0 10px #ffffff30, 0 16px 40px #101e1680;
  display: grid;
  place-items: center;
  color: #1c4f30;
  transform: translate(-50%, -38%) scale(.6) rotate(-12deg);
  transition: opacity .3s, transform .38s cubic-bezier(.2, 1.4, .25, 1);
  pointer-events: none
}

.poster:hover .playicon {
  transform: translate(-50%, -50%) scale(1) rotate(0)
}

.poster .playicon svg {
  width: 27px;
  height: 27px;
  /* margin-left: 4px; */
  filter: drop-shadow(0 1px 1px #fff7)
}

.poster .playicon:after {
  content: '';
  position: absolute;
  inset: -13px;
  border: 1px solid #fff9b6a0;
  border-radius: 50%;
  animation: beanPulse 2.3s ease-in-out infinite
}

@keyframes beanPulse {
  50% {
    transform: scale(1.1);
    opacity: .3
  }
}

.qr-pop {
  width: 190px;
  padding: 14px;
  border-radius: 18px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  filter: drop-shadow(0 12px 22px #0002)
}

.qr-pop img {
  display: block !important;
  flex: none;
  width: 150px !important;
  height: 150px !important;
  min-width: 150px;
  min-height: 150px;
  max-width: 100%;
  aspect-ratio: 1/1 !important;
  object-fit: contain !important;
  object-position: center;
  image-rendering: auto;
  border: 0;
  border-radius: 6px
}

.qr-card {
  width: 178px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.qr-card img {
  width: 148px !important;
  height: 148px !important;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1/1 !important;
  object-fit: contain !important;
  flex: none;
  image-rendering: auto
}

.qr-card strong {
  text-align: center;
  line-height: 1.5
}

.qr-wrap {
  vertical-align: middle
}

.bean-spark {
  position: absolute;
  top: 0;
  right: 5%;
  font-size: 54px;
  color: #ffcc36;
  opacity: .22;
  animation: beanSpark 6s ease-in-out infinite
}

.download-shell {
  position: relative
}

.download-shell>.bean-spark {
  pointer-events: none
}

@keyframes beanSpark {
  50% {
    transform: translateY(-18px) rotate(40deg)
  }
}

.section h2::first-letter {
  letter-spacing: -.6px
}

.bean-zone {
  background: linear-gradient(150deg, #f8fbf2, #fff8df)
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.mood {
  position: relative;
  min-height: 225px;
  border: 1px solid #e7e5d7;
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
  transition: transform .4s, box-shadow .4s;
  color: #213e2b
}

.mood:hover {
  transform: translateY(-9px) rotate(-.5deg);
  box-shadow: 0 20px 36px #123a1f22
}

.mood-love {
  background: linear-gradient(145deg, #fff2d8, #ffe5df)
}

.mood-fire {
  background: linear-gradient(145deg, #fff4cc, #e7efcf)
}

.mood-fun {
  background: linear-gradient(145deg, #e4f3df, #d8f0e7)
}

.mood .bean-emoji {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 85px;
  color: #ecad18;
  opacity: .28;
  transform: rotate(12deg)
}

.mood small {
  font-weight: 800;
  color: #517154;
  letter-spacing: 2px
}

.mood h3 {
  font-size: 25px;
  margin: 22px 0 12px
}

.mood p {
  font-size: 14px;
  color: #5f755e;
  max-width: 230px;
  line-height: 1.8
}

.mood b {
  display: inline-block;
  margin-top: 12px;
  color: #23643d
}

.rank-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 80px;
  background: radial-gradient(ellipse at 85% 25%, #466b3a, #153e2c 55%, #0e2c20);
  color: white
}

.rank-hero-tag {
  color: #ffd14e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px
}

.rank-hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.12;
  margin: 23px 0
}

.rank-hero h1 em {
  font-style: normal;
  color: #ffca39
}

.rank-hero p {
  font-size: 16px;
  line-height: 2;
  color: #d8e7d9;
  max-width: 660px
}

.rank-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 23px
}

.rank-highlights span {
  border: 1px solid #ffffff30;
  background: #ffffff12;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 13px
}

.rank-hero-bean {
  position: absolute;
  right: 5%;
  top: -60px;
  font-weight: 1000;
  font-size: 360px;
  opacity: .055;
  color: #ffdb58;
  transform: rotate(-15deg);
  pointer-events: none
}

.rank-stage {
  background: #f8faf5
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.rank-show {
  position: relative;
  display: flex;
  gap: 19px;
  min-width: 0;
  background: white;
  border: 1px solid #e2eadc;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 7px 22px #193b2110;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s
}

.rank-show:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 40px #173b2226
}

.rank-cover {
  flex: none;
  position: relative;
  overflow: hidden;
  width: 108px;
  aspect-ratio: 3/4;
  border-radius: 13px;
  background: #d8e2d4
}

.rank-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s
}

.rank-show:hover img {
  transform: scale(1.08)
}

.rank-position {
  position: absolute;
  top: 8px;
  left: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #f9cd37;
  color: #264329;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 3px 10px #0002
}

.rank-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center
}

.rank-genre {
  font-size: 11px;
  color: #508260;
  font-weight: 800
}

.rank-info h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 9px 0
}

.rank-info p {
  font-size: 12px;
  line-height: 1.75;
  color: #647366;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.rank-cta {
  font-size: 12px;
  font-weight: 850;
  color: #267044
}

.rank-cta span {
  padding-left: 3px
}

.rank-watermark {
  position: absolute;
  right: 12px;
  bottom: -16px;
  color: #e9f1e4;
  font-size: 85px;
  font-weight: 1000;
  pointer-events: none
}

.podium-grid .rank-show {
  display: block;
  padding: 17px
}

.podium-grid .rank-cover {
  width: 100%;
  aspect-ratio: 3/3.3;
  border-radius: 15px
}

.podium-grid .rank-cover img {
  object-position: center 25%
}

.podium-grid .rank-info {
  padding: 14px 6px 7px
}

.podium-grid .rank-info h3 {
  font-size: 22px
}

.podium-grid .rank-genre {
  color: #aa7e13
}

.podium-grid .rank-watermark {
  font-size: 110px;
  opacity: .65
}

.podium-grid .rank-show:first-child {
  border-color: #e9c958;
  background: linear-gradient(180deg, #fff8e4, #fff)
}

.rank-more-heading {
  margin-top: 64px
}

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

@media(max-width:1200px) {
  .topnav a {
    padding: 9px 7px;
    font-size: 12px
  }

  .headin {
    gap: 8px
  }

  .rank-show {
    gap: 12px
  }
}

@media(max-width:960px) {
  .topnav {
    max-width: calc(100vw - 350px)
  }

  .topnav a {
    padding: 10px 12px
  }

  .podium-grid .rank-info h3 {
    font-size: 17px
  }

  .podium-grid {
    gap: 10px
  }

  .rank-list {
    gap: 10px
  }
}

@media(max-width:760px) {
  .topnav {
    display: flex;
    order: 3;
    width: 100%;
    max-width: none;
    overflow: auto
  }

  .header {
    height: auto;
    min-height: 65px
  }

  .headin {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 7px
  }

  .head-actions {
    margin-left: auto
  }

  .topnav a {
    font-size: 12px;
    padding: 7px 11px
  }

  .mood-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .mood {
    min-height: 180px;
    padding: 22px
  }

  .mood h3 {
    margin: 13px 0 6px
  }

  .podium-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .podium-grid .rank-show {
    padding: 8px;
    border-radius: 14px
  }

  .podium-grid .rank-cover {
    border-radius: 10px;
    aspect-ratio: 3/4
  }

  .podium-grid .rank-info {
    padding: 8px 2px
  }

  .podium-grid .rank-info h3 {
    font-size: 12px;
    margin: 6px 0
  }

  .podium-grid .rank-info p {
    display: none
  }

  .podium-grid .rank-genre {
    font-size: 9px
  }

  .podium-grid .rank-watermark {
    display: none
  }

  .rank-position {
    font-size: 9px;
    padding: 4px
  }

  .rank-list {
    grid-template-columns: 1fr
  }

  .rank-hero {
    padding: 65px 0
  }

  .rank-hero-bean {
    font-size: 220px
  }

  .rank-cover {
    width: 93px
  }

  .qr-card {
    width: 142px;
    padding: 8px
  }

  .qr-card img {
    width: 120px !important;
    height: 120px !important
  }

  .poster .playicon {
    width: 50px;
    height: 50px
  }

  .poster .playicon svg {
    width: 22px;
    height: 22px
  }
}

@media(hover:none) {
  .poster .playicon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(.7)
  }
}

@media(prefers-reduced-motion:reduce) {

  .bean-spark,
  .poster .playicon:after {
    animation: none
  }
}

/* 首页封面：交互式手风琴 */
.hero-art.hero-accordion {
  display: flex;
  align-items: stretch;
  gap: 9px;
  height: 420px;
  min-width: 0;
  position: relative;
  padding: 10px 0 22px;
  isolation: isolate;
  overflow: visible
}

.hero-art.hero-accordion::before {
  inset: 4% 0;
  pointer-events: none
}

.hero-accordion .hero-panel {
  appearance: none;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  flex: 1 1 0;
  min-width: 0;
  border: 2px solid #f1d48140;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #142c22;
  box-shadow: 0 16px 30px #0c251947;
  transition: flex-grow .55s cubic-bezier(.2, .8, .2, 1), transform .35s ease, box-shadow .35s ease, border-color .3s;
  transform: none;
  touch-action: manipulation
}

.hero-accordion .hero-panel.is-active {
  flex-grow: 3.6;
  border-color: #ffd35b;
  transform: translateY(-7px);
  box-shadow: 0 27px 48px #05170c80;
  z-index: 2
}

.hero-accordion .hero-panel:focus-visible {
  outline: 3px solid #ffce3d;
  outline-offset: 3px
}

.hero-accordion .hero-panel>img,
.hero-art.hero-accordion .hero-panel>img,
.hero-art.hero-accordion .hero-panel:nth-child(2)>img {
  display: block;
  position: absolute;
  inset: 0;
  left: 0;
  right: auto;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  box-shadow: none;
  transform: none;
  transition: filter .4s ease, transform .6s ease
}

.hero-accordion .hero-panel:not(.is-active)>img {
  filter: brightness(.65) saturate(.82)
}

.hero-accordion .hero-panel.is-active>img {
  transform: scale(1.035)
}

.hero-accordion .hero-panel-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 54px 15px 18px;
  color: #fff;
  background: linear-gradient(transparent, #07170eea);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none
}

.hero-accordion .hero-panel.is-active .hero-panel-caption {
  opacity: 1;
  transform: translateY(0)
}

.hero-accordion .hero-panel-caption small {
  font-size: 11px;
  color: #ffdc75;
  font-weight: 700
}

.hero-accordion .hero-panel-caption strong {
  font-size: clamp(13px, 1.5vw, 19px);
  line-height: 1.35;
  overflow-wrap: anywhere
}

.hero-accordion .hero-accordion-label {
  position: absolute;
  z-index: 4;
  right: 8px;
  top: -9px;
  padding: 8px 13px;
  border-radius: 100px;
  background: #ffc52d;
  color: #26452b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 5px 15px #0003;
  pointer-events: none
}

@media(max-width:1050px) {
  .hero-art.hero-accordion {
    height: 365px;
    gap: 6px
  }
}

@media(max-width:760px) {
  .hero-art.hero-accordion {
    height: 300px;
    margin-top: 27px;
    padding-bottom: 13px;
    gap: 5px
  }

  .hero-accordion .hero-panel {
    border-radius: 13px;
    border-width: 1px
  }

  .hero-accordion .hero-panel.is-active {
    flex-grow: 4;
    transform: translateY(-4px)
  }

  .hero-accordion .hero-panel-caption {
    padding: 40px 9px 12px
  }

  .hero-accordion .hero-panel-caption strong {
    font-size: 12px
  }

  .hero-accordion .hero-accordion-label {
    font-size: 10px
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-accordion .hero-panel,
  .hero-accordion .hero-panel>img,
  .hero-accordion .hero-panel-caption {
    transition: none !important
  }
}


/* V4 移动端横向溢出修复：约束子项而非仅掩盖全页横向滚动 */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip
}

.container,
.headin,
.hero-main,
.hero-art,
.download-shell,
.download-visual,
.section-head,
.footer-main {
  min-width: 0;
  max-width: 100%
}

.hero-main>*,
.download-shell>*,
.subintro>*,
.footer-main>* {
  min-width: 0
}

img,
video,
svg,
iframe {
  max-width: 100%
}

.topnav {
  min-width: 0
}

.hero-art.hero-accordion {
  max-width: 100%;
  min-width: 0
}

.hero-art.hero-accordion .hero-panel {
  min-width: 0;
  max-width: 100%
}

.hero-art.hero-accordion .hero-panel>img {
  max-width: none;
  width: 100%
}

@media(max-width:760px) {
  .header {
    max-width: 100%;
    overflow: visible
  }

  .headin {
    gap: 8px;
    min-width: 0;
    max-width: 100%;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 7px;
    max-width: calc(100% - 152px);
    font-size: clamp(14px, 4.2vw, 18px);
    white-space: nowrap
  }

  .brand img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px
  }

  .head-actions {
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px
  }

  .head-actions .qr-wrap>.btn {
    padding-inline: 9px
  }

  .catbtn {
    padding-inline: 10px
  }

  .topnav {
    order: 3;
    flex: 0 0 100%;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap
  }

  .topnav::-webkit-scrollbar {
    display: none
  }

  .topnav a {
    flex: 0 0 auto;
    white-space: nowrap
  }

  .hero,
  .download-section,
  .rank-hero {
    max-width: 100%;
    overflow-x: clip
  }

  .hero-main {
    width: 100%;
    min-width: 0
  }

  .hero-art.hero-accordion {
    width: 100%;
    overflow: hidden;
    gap: 4px;
    padding-left: 1px;
    padding-right: 1px
  }

  .hero-accordion .hero-panel.is-active {
    transform: none
  }

  .hero-accordion .hero-accordion-label {
    top: 2px;
    right: 3px;
    max-width: calc(100% - 6px)
  }

  .section-head {
    flex-wrap: wrap
  }

  .download-visual {
    width: 100%;
    max-width: 100%;
    gap: 12px;
    min-width: 0
  }

  .download-visual .phone {
    flex: 0 1 160px;
    min-width: 0;
    max-width: 48%;
    transform: rotate(3deg)
  }

  .download-visual .qr-card {
    flex: 0 1 142px;
    min-width: 0;
    max-width: 48%
  }

  .qr-card img {
    max-width: 100% !important;
    min-width: 0 !important;
    width: min(120px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 !important
  }

  .topics,
  .posters,
  .reviews,
  .mood-grid,
  .podium-grid,
  .rank-grid,
  .rank-list {
    max-width: 100%;
    min-width: 0
  }

  .topic,
  .poster,
  .rank-show,
  .review,
  .mood {
    min-width: 0;
    max-width: 100%
  }

  .footlinks {
    min-width: 0;
    max-width: 100%;
    gap: 18px
  }

  .reveal[data-fx=left]:not(.in-view),
  .reveal[data-fx=right]:not(.in-view) {
    transform: translateY(24px)
  }
}

@media(max-width:390px) {
  .container {
    width: calc(100% - 24px)
  }

  .brand {
    max-width: calc(100% - 140px)
  }

  .brand img {
    width: 30px;
    height: 30px;
    flex-basis: 30px
  }

  .head-actions .qr-wrap>.btn {
    padding-inline: 7px;
    font-size: 11px
  }

  .catbtn {
    padding-inline: 8px;
    font-size: 12px
  }

  .hero-art.hero-accordion {
    height: 250px;
    gap: 3px
  }

  .hero-accordion .hero-panel-caption {
    padding: 30px 6px 10px
  }

  .download-visual .phone {
    max-width: 47%
  }

  .download-visual .qr-card {
    max-width: 47%;
    padding: 8px
  }

  .section-head .more {
    white-space: normal
  }
}