:root {
  color-scheme: light;
  --bg: #fff0f5;
  --bg-soft: #fffbf0;
  --panel: #ffffff;
  --panel-pink: #fff6fb;
  --line: rgba(209, 71, 127, 0.2);
  --ink: #221622;
  --muted: #69546a;
  --hot: #ff1493;
  --berry: #d1477f;
  --violet: #4b0082;
  --violet-soft: #8a2be2;
  --cyan: #08a9c9;
  --gold: #f2b84b;
  --shadow: 0 18px 45px rgba(75, 0, 130, 0.14);
  --shadow-hover: 0 24px 54px rgba(75, 0, 130, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1160px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background:
    linear-gradient(180deg, rgba(255, 240, 245, 0.95), rgba(255, 251, 240, 0.98) 38%, #fff),
    var(--bg);
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}

::selection {
  color: #fff;
  background: var(--hot);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 169, 201, 0.8);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--violet);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 240, 245, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 32px, var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--violet);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(209, 71, 127, 0.22);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.brand span {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  position: relative;
  overflow: hidden;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #49334c;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--violet-soft));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.nav-menu a:hover:not(.nav-cta) {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.72);
}

.nav-menu .nav-cta,
.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--hot));
  box-shadow: 0 12px 26px rgba(75, 0, 130, 0.26);
}

.nav-menu .icon {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease);
}

.nav-menu .nav-cta:hover,
.primary-action:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--violet));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(75, 0, 130, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-toggle .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  color: var(--violet);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.nav-toggle-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.72);
}

.nav-open .nav-toggle-icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.72);
}

.nav-open .nav-toggle-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 48px);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(34, 22, 34, 0.78), rgba(34, 22, 34, 0.38) 46%, rgba(255, 20, 147, 0.12)),
    linear-gradient(180deg, rgba(255, 240, 245, 0.08), rgba(255, 240, 245, 0.9));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 54px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--hot);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.hero .eyebrow {
  color: #fff8fc;
  text-shadow: 0 2px 12px rgba(75, 0, 130, 0.6);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffe5f3;
  text-shadow: 0 4px 0 rgba(75, 0, 130, 0.56), 0 12px 28px rgba(75, 0, 130, 0.48);
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  line-height: 1.9;
  text-shadow: 0 2px 16px rgba(34, 22, 34, 0.62);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.primary-action,
.secondary-action {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.primary-action::before,
.secondary-action::before,
.floating-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms var(--ease);
  pointer-events: none;
}

.primary-action > *,
.secondary-action > *,
.floating-detail > * {
  position: relative;
  z-index: 1;
}

.primary-action .icon,
.secondary-action .icon,
.floating-detail .icon {
  width: 18px;
  height: 18px;
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.secondary-action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 880px;
  margin: 0;
}

.hero-facts div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.quick-nav {
  width: min(100% - 32px, var(--max));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-nav a {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--violet);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(209, 71, 127, 0.08);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.quick-nav .icon {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease);
}

.section {
  padding: 78px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
}

.copy-block p {
  color: var(--muted);
}

h2 {
  max-width: 840px;
  margin-bottom: 18px;
  color: var(--berry);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--violet);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
}

.section-heading.compact {
  max-width: 760px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.meta-list li {
  padding: 8px 12px;
  border: 1px solid rgba(209, 71, 127, 0.24);
  border-radius: 8px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.media-panel,
.wide-shot,
.feature-shot,
.gallery-preview {
  margin: 0;
}

.media-panel,
.wide-shot,
.feature-shot {
  overflow: hidden;
  border: 1px solid rgba(209, 71, 127, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.media-panel img,
.wide-shot img,
.feature-shot img,
.gallery-preview img {
  width: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease), filter 220ms var(--ease);
}

.media-panel img {
  aspect-ratio: 16 / 9;
}

figcaption {
  padding: 10px 12px;
  color: #6f5971;
  font-size: 13px;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.92);
}

.tone-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 240, 245, 0.9)),
    var(--bg);
  border-top: 1px solid rgba(209, 71, 127, 0.12);
  border-bottom: 1px solid rgba(209, 71, 127, 0.12);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.wide-shot {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.content-grid,
.feature-grid,
.guide-grid {
  display: grid;
  gap: 16px;
}

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

.info-card,
.feature-grid article,
.guide-item,
.step-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(209, 71, 127, 0.08);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.info-card,
.feature-grid article,
.guide-item {
  padding: 20px;
}

.info-card p,
.feature-grid p,
.guide-item p,
.step-list p {
  margin: 0;
  color: var(--muted);
}

.route-section {
  background: var(--bg-soft);
}

.step-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step-list article {
  position: relative;
  padding: 18px 18px 18px 70px;
}

.step-list span {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--berry), var(--violet-soft));
  font-weight: 900;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.guide-section {
  background: #fff;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.feature-shot img {
  max-height: 620px;
}

.feature-section {
  background:
    linear-gradient(135deg, rgba(255, 240, 245, 0.92), rgba(255, 251, 240, 0.95)),
    var(--bg);
}

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

.feature-grid article {
  position: relative;
  overflow: hidden;
}

.feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--hot), var(--cyan), var(--gold));
  transition: height 200ms var(--ease), opacity 200ms var(--ease);
}

.gallery-section {
  background: var(--bg-soft);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(209, 71, 127, 0.18);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.gallery-preview img {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumb {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(209, 71, 127, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--bg-soft));
  box-shadow: 0 10px 24px rgba(209, 71, 127, 0.1);
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  transition: filter 180ms var(--ease);
}

.thumb-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  color: #fff;
  background: rgba(75, 0, 130, 0.78);
  box-shadow: 0 8px 18px rgba(75, 0, 130, 0.18);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.thumb-icon .icon {
  width: 15px;
  height: 15px;
}

.gallery-thumb.is-active {
  border-color: var(--hot);
  box-shadow: 0 18px 36px rgba(255, 20, 147, 0.22);
}

.gallery-thumb.is-active .thumb-icon {
  background: linear-gradient(135deg, var(--hot), var(--violet-soft));
}

.update-section {
  background: #fff;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: updates;
}

.update-list li {
  position: relative;
  min-height: 84px;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--panel-pink));
  color: var(--muted);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.update-list li::before {
  counter-increment: updates;
  content: counter(updates);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.update-list strong {
  color: var(--violet);
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 251, 240, 0.96), rgba(255, 240, 245, 0.94)),
    var(--bg);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  padding: 16px 52px 16px 18px;
  color: var(--violet);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--berry);
  line-height: 1;
}

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

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.friend-links {
  padding: 34px 0 32px;
  color: #fff;
  background: linear-gradient(100deg, var(--berry), var(--hot) 52%, var(--violet-soft));
}

.friend-links-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  text-align: center;
}

.friend-links h2 {
  max-width: none;
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(75, 0, 130, 0.28);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.friend-link-list a {
  min-width: 136px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px rgba(75, 0, 130, 0.12);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  backdrop-filter: blur(6px);
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.friend-link-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.26);
}

.floating-detail {
  overflow: hidden;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--hot));
  box-shadow: 0 16px 34px rgba(75, 0, 130, 0.3);
  font-weight: 900;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.floating-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(75, 0, 130, 0.36);
}

@media (hover: hover) {
  .brand:hover {
    color: var(--hot);
    transform: translateY(-1px);
  }

  .brand:hover img {
    transform: rotate(-2deg) scale(1.04);
    box-shadow: 0 12px 26px rgba(255, 20, 147, 0.3);
  }

  .nav-toggle:hover {
    border-color: rgba(255, 20, 147, 0.4);
    background: #fff;
    box-shadow: 0 12px 24px rgba(75, 0, 130, 0.16);
    transform: translateY(-2px);
  }

  .nav-toggle:hover .icon {
    transform: scale(1.08);
  }

  .nav-menu a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(209, 71, 127, 0.12);
  }

  .nav-menu a:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-menu a:hover .icon,
  .quick-nav a:hover .icon {
    transform: translateY(-1px) scale(1.08);
  }

  .primary-action:hover,
  .secondary-action:hover,
  .floating-detail:hover {
    box-shadow: var(--shadow-hover);
  }

  .primary-action:hover::before,
  .secondary-action:hover::before,
  .floating-detail:hover::before {
    transform: translateX(120%);
  }

  .primary-action:hover .icon,
  .floating-detail:hover .icon {
    transform: translateX(2px) scale(1.05);
  }

  .secondary-action:hover .icon {
    transform: rotate(-4deg) scale(1.06);
  }

  .quick-nav a:hover {
    color: var(--hot);
    border-color: rgba(255, 20, 147, 0.34);
    background: #fff;
    box-shadow: 0 18px 36px rgba(209, 71, 127, 0.16);
    transform: translateY(-4px);
  }

  .media-panel:hover,
  .wide-shot:hover,
  .feature-shot:hover,
  .gallery-preview:hover {
    border-color: rgba(255, 20, 147, 0.35);
    box-shadow: var(--shadow-hover);
  }

  .media-panel:hover,
  .wide-shot:hover,
  .feature-shot:hover,
  .gallery-preview:hover {
    transform: translateY(-3px);
  }

  .media-panel:hover img,
  .wide-shot:hover img,
  .feature-shot:hover img,
  .gallery-preview:hover img {
    transform: scale(1.025);
    filter: saturate(1.06) contrast(1.02);
  }

  .gallery-thumb:hover img {
    filter: saturate(1.08) contrast(1.03);
  }

  .gallery-thumb:hover {
    border-color: rgba(255, 20, 147, 0.42);
    box-shadow: 0 16px 32px rgba(209, 71, 127, 0.18);
    transform: translateY(-3px);
  }

  .gallery-thumb:hover .thumb-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--violet), var(--hot));
  }

  .info-card:hover,
  .feature-grid article:hover,
  .guide-item:hover,
  .step-list article:hover,
  .faq-list details:hover,
  .update-list li:hover {
    border-color: rgba(255, 20, 147, 0.34);
    background: #fff;
    box-shadow: 0 20px 42px rgba(209, 71, 127, 0.16);
    transform: translateY(-4px);
  }

  .step-list article:hover span,
  .update-list li:hover::before {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(138, 43, 226, 0.22);
  }

  .feature-grid article:hover::before {
    height: 7px;
  }

  .faq-list summary:hover {
    color: var(--hot);
    background: rgba(255, 240, 245, 0.72);
  }

  .friend-link-list a:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 16px 30px rgba(75, 0, 130, 0.18);
  }

  .site-footer a:hover {
    color: var(--hot);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--violet);
  font-weight: 900;
}

@media (max-width: 980px) {
  :root {
    --header-h: 66px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(209, 71, 127, 0.2);
    border-radius: 8px;
    background: rgba(255, 251, 240, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-menu a {
    background: rgba(255, 255, 255, 0.72);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-facts,
  .quick-nav,
  .content-grid,
  .guide-grid,
  .feature-grid,
  .update-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .two-column.reverse,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

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

  .wide-shot {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .nav {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    max-width: 11em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 78px);
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(34, 22, 34, 0.82), rgba(34, 22, 34, 0.52)),
      linear-gradient(180deg, rgba(255, 240, 245, 0.05), rgba(255, 240, 245, 0.92));
  }

  .hero-inner {
    width: min(100% - 24px, var(--max));
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 23px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .floating-detail {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .friend-links {
    padding: 28px 0 30px;
  }

  .friend-links-inner {
    width: min(100% - 24px, var(--max));
  }

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

  .friend-link-list a {
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
  }

  .quick-nav,
  .content-grid,
  .guide-grid,
  .feature-grid,
  .update-list {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 0;
  }

  .section-inner {
    width: min(100% - 24px, var(--max));
  }

  .media-panel,
  .wide-shot,
  .feature-shot,
  .gallery-preview {
    border-radius: 8px;
  }

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

  .thumb-icon {
    width: 24px;
    height: 24px;
    right: 6px;
    bottom: 6px;
  }

  .site-footer {
    width: min(100% - 24px, var(--max));
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
