@charset "UTF-8";

.page-xiamen-articles-v3 {
  --xm3-ink: #173b3a;
  --xm3-deep: #245a55;
  --xm3-glass: #5fae9d;
  --xm3-mint: #cde6d9;
  --xm3-foam: #eef8f2;
  --xm3-sand: #f5efdf;
  --xm3-coral: #f1785a;
  --xm3-coral-soft: #ffd4c5;
  --xm3-white: #fffdf7;
  --xm3-line: rgba(23, 59, 58, .16);
  --xm3-shadow: 0 20px 54px rgba(33, 78, 70, .13);
  margin: 0;
  padding-top: 0 !important;
  color: var(--xm3-ink);
  background: var(--xm3-foam);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-x: clip;
}

.page-xiamen-articles-v3 > .ct-shop-header {
  position: relative;
  top: 0;
  z-index: 80;
  background: rgba(255, 253, 247, .97);
  border-bottom-color: rgba(36, 90, 85, .12);
  box-shadow: none;
}

.page-xiamen-articles-v3 *,
.page-xiamen-articles-v3 *::before,
.page-xiamen-articles-v3 *::after { box-sizing: border-box; }
.page-xiamen-articles-v3 img { display: block; max-width: 100%; }
.page-xiamen-articles-v3 a { color: inherit; }
.page-xiamen-articles-v3 button { font: inherit; }
.xm3-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.xm3-reading-column { width: min(800px, calc(100% - 48px)); margin: 0 auto; }
.xm3-kicker { margin: 0 0 14px; color: var(--xm3-deep); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.xm3-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 34px; color: #456d68; font-size: 13px; }
.xm3-crumb a { text-decoration: none; }
.xm3-crumb a:hover { color: var(--xm3-coral); }

/* The public menu keeps no custom backdrop. Escape handling lives in xiamen.js. */
.page-xiamen-articles-v3 .ct-shop-panel::before,
.page-xiamen-articles-v3 .ct-shop-panel::after { pointer-events: none; }

.xm3-list-hero,
.xm3-article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 25%, rgba(255,255,255,.9) 0 8%, transparent 8.2%),
    radial-gradient(circle at 91% 78%, rgba(255,212,197,.72) 0 11%, transparent 11.2%),
    linear-gradient(145deg, #dff1e7 0%, #edf8f1 47%, #f6efdf 100%);
}
.xm3-list-hero::before,
.xm3-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: radial-gradient(rgba(36,90,85,.35) .8px, transparent .8px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.xm3-list-hero > *, .xm3-article-hero > * { position: relative; }
.xm3-list-hero { padding: 36px 0 78px; }
.xm3-hero-water { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(38px, 6vw, 84px); align-items: center; }
.xm3-hero-copy h1,
.xm3-article-title h1 { margin: 0; color: var(--xm3-ink); font-family: Georgia, "Songti SC", serif; font-size: clamp(51px, 5vw, 60px); line-height: 1.08; letter-spacing: -.045em; }
.xm3-hero-description { max-width: 530px; margin: 22px 0 0; color: #466e69; font-size: 18px; line-height: 1.9; }
.xm3-boundary { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--xm3-coral); color: #325c57; font-size: 14px; line-height: 1.75; }
.xm3-shore-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.xm3-shore-tabs a {
  padding: 10px 16px 9px;
  border: 1px solid rgba(36,90,85,.2);
  border-radius: 64% 36% 55% 45% / 48% 54% 46% 52%;
  background: rgba(255,253,247,.74);
  color: var(--xm3-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.xm3-shore-tabs a:nth-child(even) { border-radius: 39% 61% 44% 56% / 55% 42% 58% 45%; }
.xm3-shore-tabs a:hover, .xm3-shore-tabs a.is-active { transform: translateY(-2px); background: var(--xm3-coral-soft); border-color: var(--xm3-coral); }

.xm3-feature-island {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(36,90,85,.13);
  border-radius: 38% 8% 33% 10% / 12% 30% 9% 28%;
  background: var(--xm3-white);
  box-shadow: var(--xm3-shadow);
  overflow: hidden;
  transform: rotate(1deg);
}
.xm3-feature-island::after { content: ""; position: absolute; right: -14px; bottom: 28px; width: 94px; height: 30px; border: 2px solid rgba(95,174,157,.28); border-width: 2px 0; border-radius: 50%; transform: rotate(-8deg); pointer-events: none; }
.xm3-feature-island > a { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 360px; color: inherit; text-decoration: none; }
.xm3-feature-island figure { position: relative; margin: 0; min-height: 100%; overflow: hidden; }
.xm3-feature-island figure img { width: 100%; height: 100%; object-fit: cover; }
.xm3-feature-island figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, transparent 45%, rgba(95,174,157,.25)); }
.xm3-feature-island figcaption,
.xm3-story-island figcaption,
.xm3-article-hero figcaption,
.xm3-related figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 6px 9px; border-radius: 20px; background: rgba(23,59,58,.82); color: #fff; font-size: 11px; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
figure.is-caption-open figcaption, figure:hover figcaption { opacity: 1; transform: none; }
.xm3-feature-island > a > div { align-self: center; padding: 38px 34px; }
.xm3-feature-island h2 { margin: 15px 0; font-family: Georgia, "Songti SC", serif; font-size: 30px; line-height: 1.35; letter-spacing: -.02em; }
.xm3-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; color: #587b76; font-size: 12px; }
.xm3-meta span { color: var(--xm3-coral); font-weight: 900; }
.xm3-summary { margin: 0 0 22px; color: #54726e; font-size: 14px; line-height: 1.8; }
.xm3-feature-island strong, .xm3-story-island strong { color: var(--xm3-deep); font-size: 13px; }

.xm3-promo { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0; }
.xm3-promo picture { display: block; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 12px 36px rgba(23,59,58,.09); }
.xm3-promo img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; }

.xm3-tide-check { padding: 88px 0 72px; background: var(--xm3-sand); }
.xm3-tide-check header { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: end; }
.xm3-tide-check header h2,
.xm3-library-head h2,
.xm3-reading-cove h2,
.xm3-related h2,
.xm3-category-exits h2,
.xm3-reading-boundary h2,
.xm3-image-note h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(43px, 4vw, 47px); line-height: 1.14; letter-spacing: -.035em; }
.xm3-tide-check header > p:last-child { margin: 0; color: #56746f; font-size: 16px; line-height: 1.85; }
.xm3-pebble-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.xm3-pebble-grid > div { min-height: 230px; padding: 28px 24px; border-radius: 50% 44% 46% 54% / 44% 51% 49% 56%; background: rgba(255,253,247,.9); border: 1px solid rgba(36,90,85,.12); }
.xm3-pebble-grid > div:nth-child(2n) { transform: translateY(22px); background: #dfeee3; border-radius: 42% 58% 51% 49% / 55% 41% 59% 45%; }
.xm3-pebble-grid dt, .xm3-pebble-grid dd { margin: 0; }
.xm3-pebble-grid b { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--xm3-coral-soft); color: #9c402c; font-size: 12px; }
.xm3-pebble-grid h3 { margin: 18px 0 9px; font-size: 18px; }
.xm3-pebble-grid p { margin: 0; color: #5c7773; font-size: 14px; line-height: 1.75; }

.xm3-archipelago { padding: 105px 0; background: #e3f2eb; }
.xm3-library-head { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.xm3-library-head > div:first-child { max-width: 680px; }
.xm3-view-tools, .xm3-reading-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.xm3-view-tools button, .xm3-reading-tools button { border: 1px solid rgba(36,90,85,.2); border-radius: 999px; padding: 9px 13px; background: transparent; color: var(--xm3-deep); cursor: pointer; font-size: 12px; font-weight: 800; }
.xm3-view-tools button[aria-pressed="true"], .xm3-reading-tools button[aria-pressed="true"] { border-color: var(--xm3-deep); background: var(--xm3-deep); color: #fff; }
.xm3-island-field { display: grid; grid-template-columns: 1.35fr .85fr 1fr; gap: 42px 28px; align-items: start; margin-top: 58px; padding: 0; list-style: none; }
.xm3-story-island { min-width: 0; overflow: hidden; border: 1px solid rgba(36,90,85,.14); border-radius: 18% 8% 20% 7% / 8% 20% 7% 17%; background: var(--xm3-white); box-shadow: 0 16px 40px rgba(23,59,58,.08); }
.xm3-story-island:nth-child(3n + 2) { margin-top: 68px; border-radius: 7% 21% 8% 19% / 22% 8% 18% 7%; }
.xm3-story-island:nth-child(4n) { transform: translateX(18px); }
.xm3-story-island > a { display: block; color: inherit; text-decoration: none; }
.xm3-story-island figure { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--xm3-mint); }
.xm3-story-island img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.xm3-story-island:hover img { transform: scale(1.025); }
.xm3-story-island > a > div { padding: 24px; }
.xm3-story-island h3 { margin: 13px 0; font-family: Georgia, "Songti SC", serif; font-size: 22px; line-height: 1.45; }
.xm3-story-island:focus-visible { outline: 3px solid var(--xm3-coral); outline-offset: 5px; }
.xm3-island-field.is-calm { grid-template-columns: 1fr 1fr; max-width: 920px; margin-left: auto; margin-right: auto; gap: 22px; }
.xm3-island-field.is-calm .xm3-story-island { margin: 0; transform: none; border-radius: 24px; }
.xm3-island-field.is-summary-hidden .xm3-summary { display: none; }
.xm3-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 64px; }
.xm3-pager a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 50%; background: rgba(255,253,247,.75); color: var(--xm3-deep); text-decoration: none; font-size: 13px; font-weight: 800; }
.xm3-pager a.active, .xm3-pager a:hover { background: var(--xm3-coral); color: #fff; }

.xm3-reading-cove { padding: 100px 0; background: var(--xm3-white); }
.xm3-reading-cove .xm3-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.xm3-reading-cove ol { margin: 0; padding: 0; list-style: none; }
.xm3-reading-cove li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--xm3-line); color: #456762; line-height: 1.75; }
.xm3-reading-cove li b { color: var(--xm3-coral); font-family: Georgia, serif; font-size: 22px; }

/* Detail: a single reading channel with chapter islands above it. */
.xm3-progress { position: fixed; top: 0; left: 0; z-index: 120; width: 100%; height: 3px; pointer-events: none; }
.xm3-progress span { display: block; width: 0; height: 100%; background: var(--xm3-coral); }
.xm3-article-hero { padding: 36px 0 72px; }
.xm3-article-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 6vw, 84px); align-items: center; }
.xm3-article-title h1 { font-size: clamp(48px, 4.6vw, 58px); overflow-wrap: anywhere; }
.xm3-article-summary { margin: 22px 0; color: #4e706c; font-size: 17px; line-height: 1.9; }
.xm3-byline { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #5b7d78; font-size: 13px; }
.xm3-article-hero figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 12px solid rgba(255,253,247,.84); border-radius: 42% 13% 38% 17% / 19% 38% 16% 41%; background: var(--xm3-mint); box-shadow: var(--xm3-shadow); transform: rotate(1.5deg); }
.xm3-article-hero figure img { width: 100%; height: 100%; object-fit: cover; }

.xm3-reading-boundary { padding: 82px 0 54px; background: var(--xm3-white); }
.xm3-reading-boundary .xm3-reading-column { padding: 36px 42px; border: 1px solid rgba(36,90,85,.13); border-radius: 62% 8% 54% 10% / 16% 50% 12% 44%; background: var(--xm3-sand); }
.xm3-reading-boundary h2 { font-size: 38px; }
.xm3-reading-boundary p:last-child { margin: 22px 0 0; color: #506f6a; font-size: 15px; line-height: 1.9; }
.xm3-reading-water { padding: 38px 0 92px; background: var(--xm3-white); }
.xm3-reading-tools { justify-content: flex-end; margin-bottom: 28px; color: #5b7773; font-size: 12px; }
.xm3-chapter-strip { margin: 0 0 46px; border: 1px solid rgba(36,90,85,.15); border-radius: 28px 10px 30px 12px; background: #e6f3ec; }
.xm3-chapter-strip summary { padding: 18px 22px; color: var(--xm3-deep); cursor: pointer; font-size: 14px; font-weight: 900; }
.xm3-chapter-strip nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 20px 22px; }
.xm3-chapter-strip nav a { padding: 9px 12px; border-radius: 48% 52% 45% 55% / 52% 43% 57% 48%; background: var(--xm3-white); color: var(--xm3-deep); font-size: 12px; font-weight: 800; text-decoration: none; }
.xm3-prose { font-family: "Noto Serif SC", "Songti SC", Georgia, serif; color: #243f3c; font-size: 18px; line-height: 2; }
.xm3-reading-column.is-comfort { width: min(940px, calc(100% - 48px)); }
.xm3-reading-column.is-comfort .xm3-prose { font-size: 19px; }
.xm3-prose > *:first-child { margin-top: 0; }
.xm3-prose h2 { scroll-margin-top: 24px; margin: 2.2em 0 .8em; padding-top: .55em; border-top: 1px solid var(--xm3-line); color: var(--xm3-ink); font-family: Georgia, "Songti SC", serif; font-size: 34px; line-height: 1.35; letter-spacing: -.02em; }
.xm3-prose h3 { scroll-margin-top: 24px; margin: 1.8em 0 .7em; color: var(--xm3-deep); font-size: 24px; line-height: 1.45; }
.xm3-prose h4 { margin: 1.55em 0 .65em; color: var(--xm3-ink); font-size: 19px; line-height: 1.5; }
.xm3-prose p { margin: 1em 0; }
.xm3-prose a { color: var(--xm3-deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.xm3-prose ul, .xm3-prose ol { margin: 1.2em 0; padding-left: 1.5em; }
.xm3-prose li { margin: .45em 0; padding-left: .25em; }
.xm3-prose li > ul, .xm3-prose li > ol { margin: .55em 0; }
.xm3-prose strong { color: var(--xm3-ink); font-weight: 800; }
.xm3-prose em { color: var(--xm3-deep); }
.xm3-prose mark { padding: .08em .25em; background: var(--xm3-coral-soft); color: var(--xm3-ink); }
.xm3-prose code { padding: .15em .35em; border-radius: 5px; background: #e3f0e9; font-family: Consolas, monospace; font-size: .88em; }
.xm3-prose pre { max-width: 100%; padding: 18px; overflow-x: auto; border-radius: 14px; background: var(--xm3-ink); color: #f7fff9; font-size: 14px; line-height: 1.65; }
.xm3-prose pre code { padding: 0; background: transparent; color: inherit; }
.xm3-prose hr { margin: 2.2em 0; border: 0; border-top: 1px solid var(--xm3-line); }
.xm3-prose details { margin: 1.4em 0; padding: 14px 18px; border: 1px solid var(--xm3-line); border-radius: 14px; background: var(--xm3-foam); }
.xm3-prose summary { color: var(--xm3-deep); cursor: pointer; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; font-weight: 800; }
.xm3-prose blockquote { margin: 1.6em 0; padding: 22px 28px; border: 0; border-left: 5px solid var(--xm3-coral); border-radius: 0 28px 28px 0; background: var(--xm3-sand); color: #405f5a; }
.xm3-prose img, .xm3-prose figure img { width: auto; height: auto; margin: 28px auto 8px; border-radius: 38px 12px 34px 14px; }
.xm3-prose figure { margin: 30px 0; }
.xm3-prose figcaption { color: #63807c; font-size: 13px; line-height: 1.6; text-align: center; }
.xm3-table-scroll { width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid var(--xm3-line); border-radius: 16px; }
.xm3-prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.65; }
.xm3-prose th, .xm3-prose td { padding: 14px 16px; border: 1px solid var(--xm3-line); text-align: left; vertical-align: top; }
.xm3-prose th { background: #dceee5; color: var(--xm3-deep); }
.xm3-prose thead { background: #dceee5; }
.xm3-prose tbody { background: var(--xm3-white); }

.xm3-image-note { padding: 74px 0; background: var(--xm3-sand); }
.xm3-image-note .xm3-reading-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: end; }
.xm3-image-note p:last-child { margin: 0; color: #55736e; line-height: 1.85; }
.xm3-related { padding: 98px 0; background: #dff0e7; }
.xm3-related header { max-width: 700px; }
.xm3-related-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 26px; margin-top: 42px; padding: 0; list-style: none; }
.xm3-related-grid li { overflow: hidden; padding-bottom: 24px; border-radius: 35px 10px 32px 12px; background: var(--xm3-white); box-shadow: 0 14px 36px rgba(23,59,58,.08); }
.xm3-related-grid li:nth-child(2) { margin-top: 42px; border-radius: 12px 34px 10px 30px; }
.xm3-related-grid a { display: block; color: inherit; text-decoration: none; }
.xm3-related figure { position: relative; margin: 0 0 20px; aspect-ratio: 3 / 2; overflow: hidden; }
.xm3-related figure img { width: 100%; height: 100%; object-fit: cover; }
.xm3-related span, .xm3-related strong { display: block; margin-inline: 22px; }
.xm3-related span { color: var(--xm3-coral); font-size: 12px; font-weight: 900; }
.xm3-related strong { margin-top: 9px; font-family: Georgia, "Songti SC", serif; font-size: 19px; line-height: 1.5; }
.xm3-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 70px; padding-bottom: 70px; }
.xm3-neighbors a { display: block; padding: 24px; border: 1px solid var(--xm3-line); border-radius: 14px 36px 14px 34px; background: var(--xm3-white); text-decoration: none; }
.xm3-neighbors small { display: block; margin-bottom: 8px; color: var(--xm3-coral); font-weight: 900; }
.xm3-neighbors strong { line-height: 1.6; }
.xm3-category-exits { padding: 88px 0; background: var(--xm3-deep); color: #fff; }
.xm3-category-exits .xm3-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.xm3-category-exits .xm3-kicker { color: var(--xm3-coral-soft); }
.xm3-category-exits nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xm3-category-exits nav a { padding: 15px 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 28px 8px 26px 9px; text-decoration: none; font-size: 14px; font-weight: 800; }
.xm3-category-exits nav a.is-active, .xm3-category-exits nav a:hover { background: var(--xm3-coral); border-color: var(--xm3-coral); }

@media (max-width: 980px) {
  .xm3-hero-water, .xm3-article-hero-grid { grid-template-columns: 1fr; }
  .xm3-feature-island { width: min(760px, 100%); }
  .xm3-pebble-grid { grid-template-columns: 1fr 1fr; }
  .xm3-island-field { grid-template-columns: 1fr 1fr; }
  .xm3-story-island:nth-child(n) { margin-top: 0; transform: none; }
  .xm3-reading-cove .xm3-shell, .xm3-category-exits .xm3-shell { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .page-xiamen-articles-v3 { padding-top: 0 !important; overflow-x: hidden; }
  .page-xiamen-articles-v3 > .ct-shop-header { top: 0; }
  .xm3-shell, .xm3-reading-column { width: min(100% - 30px, 1180px); }
  .xm3-kicker { font-size: 10px; letter-spacing: .13em; }
  .xm3-crumb { margin-bottom: 22px; font-size: 12px; }
  .xm3-list-hero { padding: 20px 0 42px; }
  .xm3-article-hero { padding: 20px 0 38px; }
  .xm3-hero-water, .xm3-article-hero-grid { gap: 28px; }
  .xm3-hero-copy h1, .xm3-article-title h1 { font-size: clamp(36px, 10.3vw, 40px); line-height: 1.13; }
  .xm3-hero-description, .xm3-article-summary { margin-top: 14px; font-size: 15px; line-height: 1.75; }
  .xm3-boundary { margin-top: 13px; font-size: 12px; }
  .xm3-shore-tabs { gap: 7px; margin-top: 18px; }
  .xm3-shore-tabs a { padding: 8px 11px; font-size: 12px; }
  .xm3-feature-island { border-radius: 28px 8px 26px 9px; transform: none; }
  .xm3-feature-island > a { display: block; min-height: 0; }
  .xm3-feature-island figure { height: 190px; min-height: 0; }
  .xm3-feature-island > a > div { padding: 22px; }
  .xm3-feature-island h2 { margin: 10px 0; font-size: 23px; line-height: 1.35; }
  .xm3-feature-island .xm3-summary { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .xm3-promo { width: calc(100% - 30px); padding: 24px 0; }
  .xm3-promo picture { border-radius: 16px; }
  .xm3-promo img { width: 100%; aspect-ratio: 750 / 920; object-fit: contain; }
  .xm3-tide-check, .xm3-archipelago, .xm3-reading-cove, .xm3-related, .xm3-category-exits { padding: 62px 0; }
  .xm3-tide-check header, .xm3-image-note .xm3-reading-column { grid-template-columns: 1fr; gap: 20px; }
  .xm3-tide-check header h2, .xm3-library-head h2, .xm3-reading-cove h2, .xm3-related h2, .xm3-category-exits h2, .xm3-reading-boundary h2, .xm3-image-note h2 { font-size: clamp(29px, 8.4vw, 33px); line-height: 1.18; }
  .xm3-pebble-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .xm3-pebble-grid > div, .xm3-pebble-grid > div:nth-child(n) { min-height: 190px; margin: 0; padding: 20px 16px; transform: none; border-radius: 26px 8px 24px 9px; }
  .xm3-pebble-grid h3 { margin: 12px 0 7px; font-size: 15px; }
  .xm3-pebble-grid p { font-size: 12px; line-height: 1.65; }
  .xm3-library-head { display: block; }
  .xm3-view-tools { margin-top: 22px; }
  .xm3-island-field, .xm3-island-field.is-calm { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .xm3-story-island:nth-child(n) { border-radius: 26px 8px 24px 9px; }
  .xm3-story-island > a { display: grid; grid-template-columns: 112px 1fr; }
  .xm3-story-island figure { height: 100%; min-height: 164px; aspect-ratio: auto; }
  .xm3-story-island > a > div { padding: 17px 15px; }
  .xm3-story-island h3 { margin: 8px 0; font-size: 17px; line-height: 1.4; }
  .xm3-story-island .xm3-summary { display: -webkit-box; margin-bottom: 9px; overflow: hidden; font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .xm3-meta { gap: 7px; font-size: 10px; }
  .xm3-pager { margin-top: 36px; }
  .xm3-reading-cove .xm3-shell { gap: 24px; }
  .xm3-reading-cove li { padding: 15px 0; font-size: 14px; }
  .xm3-article-hero figure { max-height: 265px; border-width: 7px; border-radius: 28px 9px 26px 10px; transform: none; }
  .page-xiamen-detail-v3 .xm3-article-hero { padding: 12px 0 24px; }
  .page-xiamen-detail-v3 .xm3-promo-first { padding: 10px 0; }
  .xm3-reading-boundary { padding: 52px 0 24px; }
  .page-xiamen-detail-v3 .xm3-reading-boundary { padding: 30px 0 16px; }
  .xm3-reading-boundary .xm3-reading-column { padding: 25px 21px; border-radius: 28px 8px 26px 9px; }
  .xm3-reading-water { padding: 26px 0 64px; }
  .page-xiamen-detail-v3 .xm3-reading-water { padding-top: 16px; }
  .xm3-reading-tools { justify-content: flex-start; margin-bottom: 18px; }
  .xm3-chapter-strip { margin-bottom: 30px; border-radius: 20px 7px 19px 8px; }
  .xm3-chapter-strip:not([open]) nav { display: none; }
  .xm3-chapter-strip nav { display: grid; gap: 7px; padding: 0 14px 16px; }
  .xm3-prose { font-size: 16px; line-height: 1.9; }
  .xm3-reading-column.is-comfort .xm3-prose { font-size: 17px; }
  .xm3-prose h2 { font-size: 28px; }
  .xm3-prose h3 { font-size: 21px; }
  .xm3-prose blockquote { padding: 18px; }
  .xm3-image-note { padding: 58px 0; }
  .xm3-related-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .xm3-related-grid li:nth-child(n) { margin: 0; padding: 0; border-radius: 26px 8px 24px 9px; }
  .xm3-related-grid a { display: grid; grid-template-columns: 118px 1fr; }
  .xm3-related figure { grid-row: 1 / span 2; height: 145px; margin: 0 16px 0 0; }
  .xm3-related span { margin: 19px 12px 0 0; }
  .xm3-related strong { margin: 7px 14px 17px 0; font-size: 16px; }
  .xm3-neighbors { grid-template-columns: 1fr; gap: 12px; padding-top: 45px; padding-bottom: 45px; }
  .xm3-category-exits .xm3-shell { gap: 26px; }
  .xm3-category-exits nav { gap: 8px; }
  .xm3-category-exits nav a { padding: 12px; font-size: 12px; }
}

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