/* ============================================================
   喵盒社区官网 · 样式表（miaoheshequ-single.css）
   粉色主题配色见下方 :root 的 --mh-* 变量，整体换色只需调整这些变量
   ============================================================ */

/* 喵盒社区官网 · 独立视觉系统（不与同目录项目共用） */
:root {
  --mh-ink: #2d2438;
  --mh-ink-soft: #7a7088;
  --mh-paper: #fff8fb;
  --mh-blush: #ffe4ef;
  --mh-rose: #c4b5fd;
  --mh-coral: #ff6b9d;
  --mh-coral-deep: #e84d86;
  --mh-sky: #ff8fb8;
  --mh-sky-deep: #e84d86;
  --mh-box: #ffe4ef;
  --mh-mist: #fff0f6;
  --mh-line: rgba(45, 36, 56, 0.08);
  --mh-shadow: 0 18px 50px rgba(255, 107, 157, 0.14);
  --mh-radius: 28px;
  --mh-font-display: "M PLUS Rounded 1c", "Noto Sans SC", sans-serif;
  --mh-font-ui: "M PLUS Rounded 1c", "Noto Sans SC", sans-serif;
  --mh-font-body: "Noto Sans SC", system-ui, sans-serif;
  --mh-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mh-ink);
  font-family: var(--mh-font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #fff5f9 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8f2 0%, transparent 50%),
    linear-gradient(180deg, #fff8fb 0%, var(--mh-paper) 40%, #fff0f6 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.mh-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.mh-skip:focus {
  left: 1rem;
  top: 1rem;
}

.mh-shell {
  width: min(100% - 2rem, var(--mh-max));
  margin-inline: auto;
}

/* Topbar —— 统一为粉色系毛玻璃 */
.mh-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(255, 240, 246, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.mh-topbar.is-scrolled {
  border-bottom-color: var(--mh-line);
  background: rgba(255, 240, 246, 0.92);
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.08);
}

.mh-topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.mh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.mh-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(255, 107, 157, 0.18));
}

.mh-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mh-brand__text strong {
  font-family: var(--mh-font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.mh-brand__text em {
  font-family: var(--mh-font-ui);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--mh-ink-soft);
  text-transform: uppercase;
}

.mh-nav {
  display: none;
  gap: 1.35rem;
}

.mh-nav a {
  font-size: 0.95rem;
  color: var(--mh-ink-soft);
  position: relative;
}

.mh-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--mh-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.mh-nav a:hover,
.mh-nav a:focus-visible {
  color: var(--mh-ink);
}

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

.mh-menu {
  width: 44px;
  height: 44px;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mh-menu span {
  width: 18px;
  height: 2px;
  background: var(--mh-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mh-menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mh-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mh-menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端抽屉 —— 统一为粉色系 */
.mh-drawer {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 70;
  background: rgba(255, 240, 246, 0.96);
  border-bottom: 1px solid var(--mh-line);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem 1.5rem;
}

.mh-drawer[hidden] {
  display: none;
}

.mh-drawer nav {
  display: grid;
  gap: 0.85rem;
}

.mh-drawer a {
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--mh-line);
}

.mh-drawer .mh-btn {
  margin-top: 0.5rem;
  border-bottom: 0;
  text-align: center;
}

/* Buttons */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 16px;
  font-family: var(--mh-font-ui);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mh-btn--compact {
  display: none;
  min-height: 42px;
  padding: 0.55rem 1rem;
  background: var(--mh-coral);
  color: #fff;
}

/* 导航「软件大全」绿色呼吸灯按钮（复用 .mh-btn--compact 布局，仅换色 + 呼吸光） */
.mh-btn--green {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  animation: mh-green-breathe 2.4s ease-in-out infinite;
}

.mh-btn--green:hover,
.mh-btn--green:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px 6px rgba(52, 211, 153, 0.7);
}

.mh-btn--primary {
  background: linear-gradient(135deg, var(--mh-coral) 0%, var(--mh-coral-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 107, 157, 0.28);
}

.mh-btn--primary:hover,
.mh-btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 107, 157, 0.36);
}

.mh-btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--mh-ink);
}

.mh-btn--ghost:hover,
.mh-btn--ghost:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.mh-btn--xl {
  min-height: 56px;
  padding-inline: 1.8rem;
  font-size: 1.05rem;
}

/* Hero */
.mh-hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.mh-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
  animation: mh-float 9s ease-in-out infinite;
}

.mh-orb--a {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 182, 212, 0.55), transparent 70%);
}

.mh-orb--b {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 18%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.45), transparent 70%);
  animation-delay: -3s;
}

.mh-orb--c {
  width: 280px;
  height: 280px;
  left: 38%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(255, 182, 212, 0.28), transparent 70%);
  animation-delay: -5s;
}

.mh-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

.mh-hero__layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.mh-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--mh-font-ui);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--mh-ink);
  line-height: 1.1;
}

.mh-hero h1 {
  margin: 0;
  font-family: var(--mh-font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--mh-ink);
}

.mh-hero__lead {
  margin: 1.1rem 0 0;
  color: var(--mh-ink-soft);
  font-size: 1.02rem;
  max-width: 34rem;
}

.mh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.mh-hero__meta {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  max-width: 26rem;
}

.mh-hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--mh-sky);
  background: rgba(255, 255, 255, 0.45);
}

.mh-hero__meta span {
  font-size: 0.78rem;
  color: var(--mh-ink-soft);
}

.mh-hero__meta strong {
  font-family: var(--mh-font-ui);
  font-size: 1rem;
}

.mh-hero__stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.mh-hero__glow {
  position: absolute;
  width: 70%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 182, 212, 0.35) 45%, transparent 70%);
  z-index: 0;
  animation: mh-pulse 5.5s ease-in-out infinite;
}

.mh-hero__char {
  position: absolute;
  right: -4%;
  bottom: -2%;
  z-index: 1;
  width: min(58%, 250px);
  opacity: 0.92;
  filter: drop-shadow(0 18px 28px rgba(232, 77, 134, 0.25));
  animation:
    mh-rise 1.1s ease-out both,
    mh-bob 5.2s ease-in-out 1.1s infinite;
}

/* Trust */
.mh-trust {
  padding: 0.5rem 0 2rem;
}

.mh-trust__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.mh-trust__item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--mh-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.mh-trust__item strong {
  display: block;
  font-family: var(--mh-font-ui);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.mh-trust__item span {
  color: var(--mh-ink-soft);
  font-size: 0.9rem;
}

/* Sections */
.mh-section {
  padding: 4.2rem 0;
}

/* 界面预览区 —— 统一为粉色系渐变 */
.mh-section--soft {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 251, 0.9) 0%,
    rgba(255, 228, 239, 0.5) 100%
  );
}

.mh-section__head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.mh-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--mh-font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mh-sky-deep);
}

.mh-section__head h2,
.mh-download__copy h2 {
  margin: 0;
  font-family: var(--mh-font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.3;
}

.mh-section__head p,
.mh-download__copy > p {
  margin: 0.75rem 0 0;
  color: var(--mh-ink-soft);
}

.mh-feature-grid {
  display: grid;
  gap: 1rem;
}

.mh-feature {
  padding: 1.35rem 1.25rem;
  border-radius: var(--mh-radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mh-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mh-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--mh-shadow);
}

.mh-feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mh-blush), var(--mh-mist));
  color: var(--mh-coral-deep);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.mh-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.mh-feature p {
  margin: 0;
  color: var(--mh-ink-soft);
  font-size: 0.96rem;
}

/* Gallery */
.mh-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mh-phone {
  margin: 0;
  scroll-snap-align: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.78;
}

.mh-phone.is-active,
.mh-phone:hover {
  opacity: 1;
  transform: translateY(-8px);
}

.mh-phone img {
  width: 100%;
  border-radius: 28px;
  border: 6px solid #2d2438;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.18);
  background: #030712;
}

.mh-phone figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--mh-font-ui);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Download */
.mh-download {
  padding: 1rem 0 4rem;
}

.mh-download__panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: calc(var(--mh-radius) + 8px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 182, 212, 0.75) 55%, rgba(196, 181, 253, 0.8));
  border: 1px solid rgba(255, 107, 157, 0.12);
  box-shadow: var(--mh-shadow);
  overflow: hidden;
  position: relative;
}

.mh-specs {
  margin: 1.4rem 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.mh-specs div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.mh-specs dt {
  color: var(--mh-ink-soft);
  font-size: 0.9rem;
}

.mh-specs dd {
  margin: 0;
  font-weight: 600;
}

.mh-download__note {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: var(--mh-ink-soft);
}

.mh-download__visual {
  display: none;
  place-items: center;
}

.mh-download__visual img {
  width: min(100%, 280px);
  filter: drop-shadow(0 18px 30px rgba(255, 107, 157, 0.2));
  animation: mh-bob 5.2s ease-in-out infinite;
}

/* Steps */
.mh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.mh-steps li {
  padding: 1.3rem 1.2rem;
  border-radius: var(--mh-radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mh-line);
}

.mh-steps__num {
  display: inline-block;
  font-family: var(--mh-font-ui);
  font-weight: 800;
  color: var(--mh-coral);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.mh-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.mh-steps p {
  margin: 0;
  color: var(--mh-ink-soft);
}

/* FAQ —— 统一为带粉温的白色 */
.mh-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.mh-faq details {
  border-radius: 18px;
  border: 1px solid var(--mh-line);
  background: rgba(255, 248, 251, 0.8);
  padding: 0.2rem 1rem 0.2rem;
}

.mh-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  position: relative;
  padding-right: 1.8rem;
}

.mh-faq summary::-webkit-details-marker {
  display: none;
}

.mh-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mh-font-ui);
  font-size: 1.3rem;
  color: var(--mh-coral);
}

.mh-faq details[open] summary::after {
  content: "–";
}

.mh-faq details p {
  margin: 0 0 1rem;
  color: var(--mh-ink-soft);
}

/* Footer */
.mh-footer {
  padding: 2.5rem 0 6rem;
  border-top: 1px solid var(--mh-line);
  background: rgba(255, 255, 255, 0.45);
}

.mh-footer__grid {
  display: grid;
  gap: 1.2rem;
}

.mh-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mh-footer__brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.mh-footer__brand strong {
  display: block;
  font-family: var(--mh-font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.mh-footer__brand span {
  font-family: var(--mh-font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--mh-ink-soft);
  text-transform: uppercase;
}

.mh-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.mh-footer__links a {
  color: var(--mh-ink-soft);
}

.mh-footer__links a:hover {
  color: var(--mh-coral);
}

.mh-footer__legal {
  margin: 0;
  color: var(--mh-ink-soft);
  font-size: 0.86rem;
}

/* Float CTA */
.mh-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mh-coral), var(--mh-coral-deep));
  color: #fff;
  font-family: var(--mh-font-ui);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 14px 30px rgba(255, 107, 157, 0.35);
  animation: mh-pulse 3.2s ease-in-out infinite;
}

.mh-float:hover {
  transform: scale(1.05);
}

/* 悬浮按钮组（移动端右下角）：下载在上、大全贴底 */
.mh-float--top {
  bottom: calc(1rem + 58px + 0.65rem);
}

/* 悬浮「大全」绿色呼吸按钮（贴底） */
.mh-float--apps {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.42);
  animation: mh-green-breathe 2.4s ease-in-out infinite;
}

.mh-float--apps:hover {
  transform: scale(1.05);
}

/* Reveal */
.mh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mh-reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes mh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes mh-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes mh-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}

@keyframes mh-green-breathe {
  0%, 100% {
    box-shadow: 0 0 6px 1px rgba(52, 211, 153, 0.4);
  }
  50% {
    box-shadow: 0 0 22px 8px rgba(52, 211, 153, 0.85);
  }
}

@keyframes mh-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 0.92; transform: none; }
}

@media (min-width: 768px) {
  .mh-nav {
    display: flex;
  }

  .mh-menu {
    display: none;
  }

  .mh-btn--compact {
    display: inline-flex;
  }

  .mh-hero {
    padding-top: 3.5rem;
    padding-bottom: 1.25rem;
    min-height: min(72vh, 680px);
  }

  .mh-trust {
    padding-top: 0;
  }

  .mh-hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
  }

  .mh-hero__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .mh-hero__meta li {
    padding-inline: 0.6rem;
  }

  .mh-trust__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .mh-download__panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2.4rem;
  }

  .mh-download__visual {
    display: grid;
  }

  .mh-gallery {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    overflow: visible;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    padding-bottom: 0;
  }

  .mh-phone img {
    border-width: 5px;
  }

  .mh-footer {
    padding-bottom: 3rem;
  }

  .mh-float {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mh-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mh-hero__stage {
    min-height: 520px;
  }

  .mh-hero__char {
    width: min(62%, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mh-orb,
  .mh-hero__char,
  .mh-hero__glow,
  .mh-float,
  .mh-float--apps,
  .mh-download__visual img,
  .mh-btn--green {
    animation: none !important;
  }
  .mh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ============================================================
   用户评价轮播（Reviews Carousel）
   ============================================================ */

.mh-carousel {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.mh-carousel__track {
  position: relative;
  min-height: 220px;
}

.mh-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 1.6rem 1.4rem;
  border-radius: var(--mh-radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mh-line);
  box-shadow: var(--mh-shadow);
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mh-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mh-carousel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.mh-carousel__meta strong {
  font-family: var(--mh-font-ui);
  font-size: 1.05rem;
  color: var(--mh-ink);
}

.mh-carousel__meta time {
  font-size: 0.82rem;
  color: var(--mh-ink-soft);
  font-family: var(--mh-font-ui);
}

.mh-carousel__slide p {
  margin: 0;
  color: var(--mh-ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.mh-carousel__slide p strong {
  color: var(--mh-coral-deep);
  font-weight: 600;
}

.mh-carousel__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.mh-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mh-line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--mh-ink);
  font-size: 1.4rem;
  font-family: var(--mh-font-ui);
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mh-carousel__btn:hover,
.mh-carousel__btn:focus-visible {
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.18);
  outline: none;
}

.mh-carousel__dots {
  display: flex;
  gap: 0.45rem;
}

.mh-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--mh-blush);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mh-carousel__dot.is-active {
  background: var(--mh-coral);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .mh-carousel__slide {
    padding: 2rem 2.2rem;
  }
}