:root {
  --paper: #fafaf9;
  --surface: #ffffff;
  --ink: #030d26;
  --ink-soft: #051945;
  --brand-blue: #1064ee;
  --line: #0d244b;
  --muted: #61708a;
  --border: #d9dde5;
  --shadow: rgba(20, 34, 58, 0.12);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(16, 100, 238, 0.025), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(16, 100, 238, 0.045), transparent 24%),
    var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(13, 36, 75, 0.22);
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  width: 188px;
}

.brand img,
footer img {
  mix-blend-mode: multiply;
}

.site-header nav {
  display: flex;
  gap: 38px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-header nav a {
  position: relative;
  padding: 12px 0;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--brand-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  color: white;
  background: var(--ink-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(56px, 9vw, 136px);
  align-items: end;
  width: min(1160px, calc(100% - 48px));
  min-height: 700px;
  margin: 0 auto;
  padding: 108px 0 110px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 660px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.primary-action {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding: 16px 24px;
  border-radius: 999px;
  color: white;
  background: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.05em;
  box-shadow: 0 14px 32px rgba(5, 25, 69, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(5, 25, 69, 0.24);
}

.primary-action span {
  color: #9ec2ff;
  font-size: 18px;
}

.hero-index {
  position: relative;
  padding: 0 0 16px 34px;
  border-left: 1px solid var(--line);
}

.hero-index::before {
  position: absolute;
  top: 0;
  left: -4px;
  width: 7px;
  height: 104px;
  background: var(--brand-blue);
  content: "";
}

.index-number {
  font-family: var(--serif);
  font-size: 148px;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.hero-index > p {
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 15px;
}

.index-rule {
  width: 100%;
  height: 1px;
  background: rgba(13, 36, 75, 0.22);
}

.hero-index dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.hero-index dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hero-index dt {
  font-family: "DIN Alternate", var(--sans);
  font-size: 30px;
  font-weight: 700;
}

.hero-index dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-section {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 132px 58px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.method-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 56px 0 42px;
}

.filter-bar button {
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.filter-bar button span {
  margin-left: 8px;
  font-family: "DIN Alternate", var(--sans);
  font-size: 12px;
}

.filter-bar button:hover,
.filter-bar button:focus-visible,
.filter-bar button.active {
  color: white;
  border-color: var(--ink-soft);
  background: var(--ink-soft);
}

.evidence-track {
  position: absolute;
  top: 104px;
  bottom: 136px;
  left: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--brand-blue) 0 92px,
    rgba(13, 36, 75, 0.28) 92px 100%
  );
}

.evidence-track span {
  position: sticky;
  top: 130px;
  display: block;
  width: max-content;
  padding: 8px 5px;
  color: var(--brand-blue);
  background: var(--paper);
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

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

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

.poster-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  cursor: zoom-in;
  box-shadow:
    0 16px 40px var(--shadow),
    0 0 0 1px rgba(13, 36, 75, 0.08);
}

.poster-button img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.poster-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 13, 38, 0.68), transparent 32%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.view-hint {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  color: white;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.poster-button:hover img,
.poster-button:focus-visible img {
  transform: scale(1.025);
}

.poster-button:hover::after,
.poster-button:focus-visible::after,
.poster-button:hover .view-hint,
.poster-button:focus-visible .view-hint {
  opacity: 1;
}

.poster-button:hover .view-hint,
.poster-button:focus-visible .view-hint {
  transform: translateY(0);
}

.card-copy {
  padding: 23px 4px 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.card-meta span:last-child {
  font-family: "DIN Alternate", var(--sans);
}

.card-copy h3 {
  margin: 13px 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.method-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 54px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 102px 0;
  border-top: 1px solid rgba(13, 36, 75, 0.22);
}

.method-section > div {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}

.method-section > div > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
}

footer img {
  width: 150px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

footer a {
  justify-self: end;
  color: var(--ink-soft);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 42px 88px;
  background: rgba(3, 13, 38, 0.92);
  backdrop-filter: blur(16px);
  animation: lightbox-in 180ms ease both;
}

.lightbox figure {
  display: grid;
  grid-template-columns: minmax(0, auto) 260px;
  align-items: end;
  max-width: min(100%, 1050px);
  max-height: calc(100vh - 84px);
  margin: 0;
}

.lightbox figure > img {
  width: auto;
  max-width: 100%;
  height: min(82vh, 930px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.lightbox figcaption {
  display: grid;
  gap: 10px;
  padding: 28px 0 16px 28px;
  color: white;
}

.lightbox figcaption span {
  color: #9ec2ff;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.lightbox figcaption strong {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.4;
}

.lightbox figcaption small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "DIN Alternate", var(--sans);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  background: transparent;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-nav.previous {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 250px;
    gap: 58px;
    min-height: 640px;
  }

  .index-number {
    font-size: 116px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-section > div {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lightbox figure {
    grid-template-columns: minmax(0, auto) 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1240px);
    height: 74px;
  }

  .brand {
    width: 142px;
  }

  .site-header nav {
    display: none;
  }

  .header-action {
    padding: 9px 15px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 68px;
    width: min(100% - 36px, 1160px);
    min-height: auto;
    padding: 82px 0 84px;
  }

  .hero h1 {
    font-size: clamp(46px, 13.3vw, 64px);
    line-height: 1.2;
    letter-spacing: -0.06em;
  }

  .hero-description {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.8;
  }

  .primary-action {
    margin-top: 34px;
  }

  .hero-index {
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-index::before {
    top: -4px;
    left: 0;
    width: 96px;
    height: 7px;
  }

  .index-number {
    font-size: 108px;
  }

  .case-section {
    width: min(100% - 28px, 1240px);
    padding: 78px 0 96px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .method-section h2 {
    font-size: 42px;
  }

  .section-heading > p {
    margin-top: 24px;
    text-align: left;
  }

  .filter-bar {
    margin: 38px 0 30px;
  }

  .filter-bar button {
    flex: 1 1 auto;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .evidence-track {
    display: none;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .card-copy {
    padding-top: 20px;
  }

  .card-copy h3 {
    font-size: 26px;
  }

  .method-section {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100% - 36px, 1160px);
    padding: 74px 0;
  }

  footer {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1240px);
    padding: 34px 0 42px;
  }

  footer img {
    width: 132px;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .lightbox {
    padding: 62px 18px 22px;
  }

  .lightbox figure {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .lightbox figure > img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .lightbox figcaption {
    padding: 18px 6px 8px;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-close {
    top: 16px;
    right: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


[hidden] { display: none !important; }

/* v03：去掉介绍区后，让访客进入页面直接看到案例。 */
.case-section {
  padding-top: clamp(56px, 6vw, 78px);
}

@media (max-width: 720px) {
  .case-section {
    padding-top: 42px;
  }
}


/* v05：页头使用紧凑横版 Logo，消除正方形白底占位。 */
.brand {
  display: flex;
  align-items: center;
  height: 92px;
}

.brand img {
  width: 188px;
  height: auto;
  max-height: 84px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .brand {
    height: 74px;
  }

  .brand img {
    width: 142px;
    max-height: 70px;
  }
}


/* v07：同一内容归组为单一卡片，卡片内支持左右滑动。 */
.visible-count {
  margin: -24px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.visible-count strong {
  color: var(--ink-soft);
  font-family: "DIN Alternate", var(--sans);
}

.case-card {
  content-visibility: auto;
  contain-intrinsic-size: 520px 760px;
}

.poster-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 16px 40px var(--shadow),
    0 0 0 1px rgba(13, 36, 75, 0.08);
}

.poster-strip {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.poster-strip::-webkit-scrollbar {
  display: none;
}

.poster-slide.poster-button {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 0;
  box-shadow: none;
}

.carousel-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: white;
  background: rgba(3, 13, 38, 0.56);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.poster-carousel:hover .carousel-control,
.carousel-control:focus-visible {
  opacity: 1;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(3, 13, 38, 0.82);
}

.carousel-control.previous {
  left: 12px;
}

.carousel-control.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 1px 4px rgba(3, 13, 38, 0.45);
  cursor: pointer;
  pointer-events: auto;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 999px;
  background: white;
}

.slide-count {
  display: inline-flex;
  margin-top: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(16, 100, 238, 0.22);
  border-radius: 999px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .visible-count {
    margin-top: -16px;
    line-height: 1.7;
  }

  .carousel-control {
    display: none;
  }
}

/* v09：恢复原先规整海报视图；卡片与轮播严格固定为 3:4，完整显示原图。 */
.case-card {
  contain-intrinsic-size: 360px 620px;
}

.poster-carousel {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.poster-strip {
  width: 100%;
  height: 100%;
}

.poster-slide.poster-button {
  min-width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
}

.poster-slide.poster-button img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

.poster-slide.poster-button:hover img,
.poster-slide.poster-button:focus-visible img {
  transform: none;
}

/* v10：手机端重排。桌面端与案例数据不变。 */
@media (max-width: 720px) {
  body {
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
  }

  .site-header {
    width: calc(100% - 24px);
    height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    background: var(--paper);
    backdrop-filter: none;
  }

  .brand {
    width: 124px;
    height: 64px;
  }

  .brand img {
    width: 124px;
    max-height: 58px;
  }

  .header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 44px;
    padding: 8px 13px;
  }

  .case-section {
    width: calc(100% - 24px);
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .section-heading h2,
  .method-section h2 {
    font-size: clamp(34px, 10vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .section-heading > p {
    display: none;
  }

  .filter-bar {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 22px 0 14px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-bar button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 15px;
    scroll-snap-align: start;
  }

  .visible-count {
    margin: 0 0 22px;
    font-size: 12px;
    line-height: 1.6;
  }

  .case-grid {
    gap: 40px;
  }

  .poster-carousel {
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(20, 34, 58, 0.12);
  }

  .poster-strip {
    -webkit-overflow-scrolling: touch;
  }

  .poster-slide.poster-button {
    scroll-snap-stop: always;
  }

  .carousel-dots {
    bottom: 0;
    align-items: center;
    height: 44px;
    gap: 0;
  }

  .carousel-dot,
  .carousel-dot.active {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .carousel-dot::after {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 4px rgba(3, 13, 38, 0.55);
    content: "";
  }

  .carousel-dot.active::after {
    width: 18px;
    border-radius: 999px;
    background: white;
  }

  .card-copy {
    padding: 16px 2px 0;
  }

  .card-copy h3 {
    margin: 10px 0 7px;
    font-size: 22px;
    line-height: 1.38;
    letter-spacing: -0.02em;
    text-wrap: pretty;
  }

  .card-copy p {
    font-size: 13px;
    line-height: 1.6;
  }

  .slide-count {
    margin-top: 10px;
  }

  .method-section {
    width: calc(100% - 24px);
    padding: 56px 0;
  }

  footer {
    width: calc(100% - 24px);
    padding-bottom: max(34px, env(safe-area-inset-bottom));
  }

  .lightbox {
    padding: max(60px, calc(52px + env(safe-area-inset-top))) 12px max(12px, env(safe-area-inset-bottom));
    background: rgba(3, 13, 38, 0.96);
    backdrop-filter: none;
  }

  .lightbox figure {
    max-height: calc(100dvh - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .lightbox figure > img {
    border-radius: 8px;
  }

  .lightbox figcaption {
    gap: 8px;
    padding: 16px 4px 8px;
  }

  .lightbox figcaption strong {
    font-size: 20px;
  }

  .lightbox-close {
    top: max(8px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
  }
}

@media (max-width: 360px) {
  .site-header,
  .case-section,
  .method-section,
  footer {
    width: calc(100% - 20px);
  }

  .brand,
  .brand img {
    width: 116px;
  }

  .header-action {
    min-width: 72px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .card-copy h3 {
    font-size: 21px;
  }
}

/* v11：多图案例持续显示滑动引导，并允许首尾循环。 */
@media (max-width: 720px) {
  .poster-carousel.has-multiple .carousel-control.next {
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 68px;
    height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(3, 27, 75, 0.86);
    box-shadow: 0 3px 8px rgba(3, 13, 38, 0.24);
    opacity: 1;
    animation: swipe-cue-nudge 1.8s cubic-bezier(0.22, 1, 0.36, 1) 3;
  }

  .poster-carousel.has-multiple .carousel-control.next::before {
    content: "继续";
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .poster-carousel.has-multiple .carousel-control.next:active {
    background: rgba(3, 27, 75, 0.98);
  }

  .case-card:has(.poster-carousel.has-multiple) .slide-count {
    min-height: 32px;
    padding: 7px 11px;
    border-color: rgba(16, 100, 238, 0.28);
    color: var(--ink-soft);
    background: rgba(16, 100, 238, 0.07);
    font-size: 12px;
    letter-spacing: 0;
  }
}

@keyframes swipe-cue-nudge {
  0%, 64%, 100% {
    transform: translate(0, -50%);
  }
  76% {
    transform: translate(5px, -50%);
  }
  88% {
    transform: translate(0, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-carousel.has-multiple .carousel-control.next {
    animation: none;
  }
}



/* v15: 代表性指数 */
.sort-note {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft, #5b6472);
}
.rep-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed rgba(16, 100, 238, 0.16);
  font-size: 12px;
}
.rep-stars {
  color: #f5a623;
  letter-spacing: 0.12em;
  font-size: 13px;
  line-height: 1;
}
.rep-score {
  color: var(--ink-soft, #5b6472);
  font-weight: 600;
}
