:root {
  --ym-bg: #f4faf6;
  --ym-bg-soft: #e8f5ee;
  --ym-bg-card: #ffffff;
  --ym-surface: #ffffff;
  --ym-ink: #14352a;
  --ym-muted: #5a7368;
  --ym-line: rgba(20, 53, 42, 0.1);
  --ym-accent: #1f9d63;
  --ym-accent-dark: #167a4c;
  --ym-accent-2: #0d6b4a;
  --ym-mint: #b8e6ce;
  --ym-leaf: #2bb673;
  --ym-cta: #f5c518;
  --ym-cta-ink: #3a3208;
  --ym-banner-grad: linear-gradient(120deg, #0f6b4a 0%, #1a9a68 45%, #2ec27a 100%);
  --ym-title-gold: #ffe566;
  --ym-hero-grad: linear-gradient(160deg, #f7fcf9 0%, #e4f6ec 42%, #d4efe3 100%);
  --ym-radius: 18px;
  --ym-radius-lg: 22px;
  --ym-shadow: 0 16px 40px rgba(20, 53, 42, 0.08);
  --ym-font-display: "Noto Serif SC", "Songti SC", serif;
  --ym-font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ym-container: 1180px;
  --ym-header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ym-body {
  margin: 0;
  font-family: var(--ym-font-body);
  color: var(--ym-ink);
  background: var(--ym-bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.ym-container {
  width: min(100% - 32px, var(--ym-container));
  margin-inline: auto;
}

.ym-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ym-btn-primary {
  background: var(--ym-accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 157, 99, 0.32);
}
.ym-btn-primary:hover { transform: translateY(-2px); background: var(--ym-accent-dark); }
.ym-btn-cta {
  background: var(--ym-cta);
  color: var(--ym-cta-ink);
  box-shadow: 0 8px 22px rgba(245, 197, 24, 0.35);
  font-weight: 700;
}
.ym-btn-cta:hover { transform: translateY(-2px); filter: brightness(0.97); }
.ym-btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.ym-btn-block { width: 100%; margin-top: 16px; }

/* Header */
.ym-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ym-header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ym-ink);
  border-bottom: 1px solid var(--ym-line);
}
.ym-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ym-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 280px;
}
.ym-logo img { height: 36px; width: auto; flex-shrink: 0; }
.ym-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ym-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.ym-logo-brand {
  font-family: var(--ym-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ym-accent-2);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Banner：整图铺底（无默认底色），固定比例，文字叠左侧上方 */
.ym-banner-board.ym-banner-overlay {
  display: block;
  grid-template-columns: none;
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 2.2 / 1;
  height: auto;
  background: transparent;
  overflow: hidden;
}
.ym-banner-board.ym-banner-overlay::before {
  display: none;
}
.ym-banner-board.ym-banner-overlay .ym-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ym-banner-board.ym-banner-overlay .ym-banner-copy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 52%;
  max-width: 520px;
  min-height: 0;
  padding: 40px 24px 36px 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  pointer-events: none;
}
.ym-banner-board.ym-banner-overlay .ym-banner-copy > * {
  pointer-events: auto;
}
.ym-banner-en {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.ym-banner-board.ym-banner-overlay .ym-banner-title {
  margin: 0;
  color: #fff !important;
  font-family: var(--ym-font-display);
  font-weight: 800;
  line-height: 1.12;
}
.ym-banner-board.ym-banner-overlay .ym-banner-title-main {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.ym-banner-board.ym-banner-overlay .ym-banner-title-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.ym-banner-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  color: #00c853;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  text-shadow: none;
}
.ym-banner-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.ym-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  overflow: hidden;
}
.ym-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.ym-banner-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  /* 偏右裁切：尽量露出人物，裁掉图内自带的左侧文字 */
  object-position: 92% center;
  transform: scale(1.12);
  transform-origin: right center;
  display: block;
}
.ym-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.ym-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ym-banner-dot.is-active { background: #fff; transform: scale(1.2); }
.ym-banner-empty {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--ym-muted);
  text-align: center;
  background: #f3f6f4;
}
.ym-logo-text {
  font-family: var(--ym-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ym-accent-2);
  line-height: 1.15;
}
.ym-nav ul { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.ym-header-actions { display: flex; align-items: center; gap: 10px; }
.ym-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.ym-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ym-ink);
}

.ym-logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--ym-font-body);
  color: var(--ym-muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.ym-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--ym-muted);
  border-radius: 0;
  position: relative;
}
.ym-nav a:hover,
.ym-nav a.is-active {
  color: var(--ym-accent-2);
  background: transparent;
  font-weight: 600;
}
.ym-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--ym-accent);
}
.ym-nav-new {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #ff4d4f;
  color: #fff;
  font-size: 0.65rem;
  font-style: normal;
  vertical-align: super;
  line-height: 1.3;
}
.ym-search-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ym-muted);
  border-radius: 50%;
}
.ym-search-btn:hover { background: var(--ym-bg-soft); color: var(--ym-accent-2); }

/* ===== 顶部 Banner 排版：左主视觉 + 右今日精选 ===== */
.ym-top {
  background: #fff;
  padding: 20px 0 8px;
}
.ym-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}
.ym-banner-board {
  position: relative;
  min-height: 0;
  border-radius: var(--ym-radius-lg);
  overflow: hidden;
  background: transparent;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: 0 12px 36px rgba(0, 160, 70, 0.12);
}
.ym-banner-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 12% 90%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 70% 20%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.ym-banner-copy {
  position: relative;
  z-index: 2;
  padding: 36px 28px 32px 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ym-banner-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 0.82rem;
  margin-bottom: 18px;
}
.ym-banner-title {
  margin: 0;
  font-family: var(--ym-font-display);
  font-weight: 700;
  line-height: 1.2;
}
.ym-banner-title-main {
  display: block;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: var(--ym-title-gold);
  text-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.ym-banner-title-sub {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: #fff;
  font-weight: 700;
}
.ym-banner-lead {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,.9);
  max-width: 22em;
}
.ym-banner-icons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.ym-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.ym-banner-figure {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 12px 0 0;
}
.ym-banner-figure img {
  height: min(100%, 340px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}
.ym-banner-figure-placeholder {
  width: 70%;
  height: 86%;
  margin-bottom: 12px;
  border-radius: 18px 18px 0 0;
  background: rgba(255,255,255,.12);
  border: 1px dashed rgba(255,255,255,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: 0.85rem;
}
.ym-banner-figure-placeholder i { font-size: 2.4rem; opacity: .7; }

/* 今日精选侧栏 */
.ym-pick {
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius-lg);
  padding: 16px 16px 10px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  box-shadow: 0 4px 18px rgba(20, 53, 42, 0.04);
}
.ym-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}
.ym-pick-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ym-ink);
  font-family: var(--ym-font-body);
}
.ym-pick-refresh {
  color: var(--ym-accent);
  font-size: 0.86rem;
  font-weight: 600;
}
.ym-pick-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.ym-pick-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 6px;
  border-radius: 12px;
  transition: background .2s ease;
}
.ym-pick-item:hover { background: var(--ym-bg-soft); }
.ym-pick-item.is-hidden { display: none; }
.ym-pick-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ym-mint);
  flex-shrink: 0;
}
.ym-pick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ym-pick-thumb-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d8f0e4, #b8e6ce);
}
.ym-pick-meta h3 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ym-ink);
}
.ym-pick-meta time {
  color: var(--ym-muted);
  font-size: 0.78rem;
}

.ym-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: ymReveal .7s ease forwards;
}
@keyframes ymReveal {
  to { opacity: 1; transform: none; }
}

/* Sections */
.ym-section { padding: 48px 0; }
.ym-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.ym-section-head-center { justify-content: center; text-align: center; }
.ym-section-head h2,
.ym-keywords h2,
.ym-why h2,
.ym-feed-title,
.ym-page-title {
  margin: 0;
  font-family: var(--ym-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--ym-ink);
}
.ym-section-head h2 em,
.ym-feed-title em {
  font-style: normal;
  font-size: 0.72em;
  color: var(--ym-accent);
  font-family: var(--ym-font-body);
  font-weight: 500;
  margin-left: 8px;
}
.ym-feed-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.ym-feed-title span { color: #e74c3c; }

.ym-projects { background: #fff; color: var(--ym-ink); padding-top: 28px; }
.ym-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ym-project-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 22px 18px 20px;
  color: var(--ym-ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ym-project-card:hover,
.ym-project-card.is-hot {
  border-color: #e8b923;
  box-shadow: var(--ym-shadow);
}
.ym-project-card:hover { transform: translateY(-4px); }
.ym-badge {
  position: absolute;
  top: -1px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
  background: #f5a623;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}
.ym-project-card h3 {
  margin: 0 0 12px;
  font-family: var(--ym-font-display);
  font-size: 1.2rem;
  color: var(--ym-ink);
}
.ym-project-duration {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ym-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
.ym-project-desc {
  margin: 0 0 14px;
  color: var(--ym-muted);
  font-size: 0.9rem;
  min-height: 2.6em;
}
.ym-project-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ym-price-now {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ym-accent-2);
}
.ym-price-now small {
  margin-left: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ym-muted);
}
.ym-price-origin {
  text-decoration: line-through;
  color: #9aada3;
  font-size: 0.85rem;
}
.ym-price-vip {
  margin-top: 10px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff8e1;
  color: #c9a227;
  font-size: 0.85rem;
  font-weight: 600;
}

.ym-feed { background: var(--ym-bg); }
.ym-feed-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}
.ym-feed-item {
  background: var(--ym-surface);
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.ym-feed-item-media > a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: center;
}
.ym-feed-thumb {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ym-mint);
}
.ym-feed-thumb-lg {
  width: 160px;
  height: 100px;
}
.ym-feed-thumb-empty {
  display: block;
  background: linear-gradient(135deg, #d8f0e4, #b8e6ce);
}
.ym-feed-item h3 { margin: 0 0 6px; font-size: 1.02rem; }
.ym-feed-item p {
  margin: 0 0 8px;
  color: var(--ym-muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ym-meta { color: var(--ym-muted); font-size: 0.82rem; }

/* 列表/详情：左侧栏 + 主内容 */
.ym-layout-side {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.ym-layout-main { min-width: 0; }
.ym-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--ym-header-h) + 16px);
}
.ym-side-block {
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 16px 16px 18px;
}
.ym-side-title {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ym-ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ym-line);
}
.ym-cat-list { list-style: none; margin: 0; padding: 0; }
.ym-cat-list li + li { border-top: 1px solid var(--ym-line); }
.ym-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  color: var(--ym-ink);
  font-weight: 500;
  text-decoration: none;
}
.ym-cat-list a:hover,
.ym-cat-list a.is-active { color: var(--ym-accent); }
.ym-hot-list { list-style: none; margin: 0; padding: 0; }
.ym-hot-list li + li { margin-top: 10px; }
.ym-hot-list a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--ym-ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
}
.ym-hot-list a:hover { color: var(--ym-accent); }
.ym-hot-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--ym-mint);
  color: var(--ym-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
}
.ym-hot-list li:nth-child(-n+3) .ym-hot-rank {
  background: var(--ym-accent);
  color: #fff;
}
.ym-hot-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ym-side-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ym-side-city {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ym-line);
  background: var(--ym-bg-soft);
  color: var(--ym-ink);
  font-size: 0.85rem;
  text-decoration: none;
}
.ym-side-city:hover {
  border-color: var(--ym-accent);
  color: var(--ym-accent);
}
.ym-side-ad {
  display: block;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ym-line);
}
.ym-side-ad:first-of-type { margin-top: 0; }
.ym-side-ad img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.ym-side-projects { list-style: none; margin: 0; padding: 0; }
.ym-side-projects li + li { border-top: 1px solid var(--ym-line); }
.ym-side-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  color: var(--ym-ink);
  text-decoration: none;
}
.ym-side-project:hover { color: var(--ym-accent); }
.ym-side-project-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.ym-side-project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.ym-side-project-meta em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--ym-muted);
}
.ym-side-project-meta strong {
  font-size: 0.95rem;
  color: var(--ym-accent-2);
}
.ym-side-project-meta small {
  font-size: 0.72rem;
  font-weight: 500;
  margin-left: 2px;
}
.ym-sidebar-home .ym-btn-block { margin-top: 4px; }
.ym-feed-grid > .ym-sidebar {
  position: sticky;
  top: calc(var(--ym-header-h) + 16px);
}
.ym-side-cats {
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 18px 18px 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--ym-header-h) + 16px);
}

.ym-keywords { background: var(--ym-bg-soft); }
.ym-keywords h2 { margin-bottom: 20px; }
.ym-keyword-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.ym-kw {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ym-line);
  font-size: 0.88rem;
  color: var(--ym-ink);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
a.ym-kw:hover {
  border-color: var(--ym-accent);
  color: var(--ym-accent-2);
  background: #fff;
}
.ym-page-kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ym-accent);
  font-weight: 600;
}
.ym-empty {
  margin: 24px 0;
  color: var(--ym-muted);
  text-align: center;
}

.ym-why {
  background: linear-gradient(180deg, #eef9f3 0%, #dff3e9 100%);
  color: var(--ym-ink);
  text-align: center;
  padding: 28px 0 24px;
}
.ym-why h2 { margin-bottom: 0; }
.ym-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 14px;
}
.ym-stat {
  padding: 10px 8px;
  border-radius: var(--ym-radius);
  background: #fff;
  border: 1px solid var(--ym-line);
  box-shadow: 0 2px 10px rgba(20, 53, 42, 0.03);
}
.ym-stat strong {
  display: block;
  font-family: var(--ym-font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ym-accent);
}
.ym-stat span { color: var(--ym-muted); font-size: 0.8rem; line-height: 1.3; }
.ym-why-list {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.ym-why-list li {
  padding: 6px 0 6px 16px;
  position: relative;
  color: var(--ym-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.ym-why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ym-accent);
}

/* Inner pages */
.ym-page-hero {
  background: var(--ym-hero-grad);
  color: var(--ym-ink);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--ym-line);
}
.ym-page-hero p { margin: 12px 0 0; color: var(--ym-muted); max-width: 36em; }
.ym-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ym-list-card {
  background: var(--ym-surface);
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ym-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ym-shadow);
}
.ym-list-card .thumb {
  aspect-ratio: 16/10;
  background: var(--ym-mint);
  object-fit: cover;
  width: 100%;
}
.ym-list-card .body { padding: 18px 18px 20px; }
.ym-list-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.ym-article {
  background: var(--ym-surface);
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 28px 28px 36px;
  max-width: 800px;
  margin: -28px auto 48px;
  position: relative;
  box-shadow: var(--ym-shadow);
}
.ym-article.ym-article-panel {
  max-width: none;
  margin: 0;
  box-shadow: none;
}
.ym-article .content { font-size: 1.02rem; line-height: 1.85; color: #3a5248; }
.ym-article .content h2,
.ym-article .content h3 { font-family: var(--ym-font-display); color: var(--ym-ink); }
.ym-city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ym-city-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border-radius: var(--ym-radius);
  background: #fff;
  border: 1px solid var(--ym-line);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ym-city-card:hover {
  background: var(--ym-accent);
  border-color: var(--ym-accent);
  color: #fff;
}
.ym-book-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.ym-book-card {
  background: var(--ym-surface);
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 28px;
  box-shadow: var(--ym-shadow);
}
.ym-book-card h2 { margin-top: 0; font-family: var(--ym-font-display); }
.ym-faq-list .ym-faq-item {
  background: var(--ym-surface);
  border: 1px solid var(--ym-line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 10px;
}
.ym-faq-item a { color: inherit; text-decoration: none; display: block; }
.ym-faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.ym-faq-item p { margin: 0; color: var(--ym-muted); }
.ym-faq-item:hover {
  border-color: var(--ym-accent);
  box-shadow: var(--ym-shadow);
}
.ym-faq-search {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ym-faq-search input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ym-line);
  font: inherit;
}
.ym-faq-pager {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.ym-faq-pager a { color: var(--ym-accent); text-decoration: none; }

.ym-article-faq {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
  padding: 20px 22px 8px;
}
.ym-article-faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ym-line);
}
.ym-article-faq-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.ym-article-faq-head a {
  color: var(--ym-accent);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.ym-faq-acc {
  padding: 14px 0;
  border-bottom: 1px solid var(--ym-line);
}
.ym-faq-acc:last-child { border-bottom: 0; }
.ym-faq-acc-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ym-ink);
  text-decoration: none;
}
.ym-faq-acc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  border-radius: 6px;
  background: var(--ym-mint);
  color: var(--ym-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
}
.ym-faq-acc-a {
  margin: 10px 0 0 38px;
  color: #3a5248;
  font-size: 0.95rem;
  line-height: 1.7;
}
.ym-faq-acc-a p { margin: 0 0 8px; }
.ym-faq-acc-link {
  color: var(--ym-accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.ym-article-tags {
  margin-top: 28px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ym-line);
  border-radius: var(--ym-radius);
}
.ym-article-tags-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ym-ink);
  font-size: 0.95rem;
}
.ym-article-tags-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer — 深绿但不压暗整站 */
.ym-footer {
  background: #0f3d2e;
  color: rgba(232, 245, 238, 0.82);
  padding: 56px 0 28px;
}
.ym-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 28px;
  margin-bottom: 36px;
}
.ym-footer-name {
  font-family: var(--ym-font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.ym-footer-group { margin: 0 0 10px; color: var(--ym-mint); }
.ym-footer-desc { margin: 0 0 12px; font-size: 0.92rem; }
.ym-footer-tel {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.ym-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
}
.ym-city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ym-hero-has-banner .ym-hero-bg {
  background-image:
    linear-gradient(105deg, rgba(244, 250, 246, 0.94) 0%, rgba(232, 245, 238, 0.78) 42%, rgba(15, 61, 46, 0.35) 100%),
    var(--ym-banner);
  background-size: cover;
  background-position: center;
  animation: none;
  opacity: 1;
  transform: none;
}

.ym-featured-card a { display: block; }
.ym-featured-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ym-mint);
  border-radius: var(--ym-radius) var(--ym-radius) 0 0;
}
.ym-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ym-featured-card {
  padding: 0;
  overflow: hidden;
}
.ym-featured-body { padding: 18px 20px 20px; }

.ym-feed-item-media > a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
}
.ym-feed-thumb {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ym-mint);
}
.ym-feed-thumb-sm {
  width: 72px;
  height: 72px;
}
.ym-feed-item-compact.ym-feed-item-media > a {
  grid-template-columns: 72px 1fr;
}

/* 预约弹窗 */
body.ym-modal-open { overflow: hidden; }
.ym-modal[hidden] { display: none !important; }
.ym-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ym-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 46, 0.55);
}
.ym-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 61, 46, 0.25);
}
.ym-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  line-height: 1;
  color: var(--ym-muted);
  cursor: pointer;
}
.ym-modal-title {
  margin: 0 0 8px;
  font-family: var(--ym-font-display);
  font-size: 1.35rem;
  color: var(--ym-ink);
}
.ym-modal-desc {
  margin: 0 0 18px;
  color: var(--ym-muted);
  font-size: 0.92rem;
}
.ym-modal-img {
  width: min(100%, 240px);
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--ym-line);
}
.ym-modal-empty { color: var(--ym-muted); font-size: 0.92rem; }

.ym-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 0.82rem;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.ym-chip:hover {
  background: var(--ym-accent);
  color: #fff;
}

button.ym-float-cta {
  border: 0;
  font: inherit;
  cursor: pointer;
}
button.ym-btn { border: 0; cursor: pointer; font: inherit; }

.ym-footer-trust li { padding: 4px 0; font-size: 0.9rem; }
.ym-footer-qr img {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}
.ym-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.82rem;
  color: rgba(232, 245, 238, 0.5);
}
.ym-footer-bottom a.ym-footer-icp {
  color: rgba(232, 245, 238, 0.55);
  text-decoration: none;
}
.ym-footer-bottom a.ym-footer-icp:hover {
  color: #fff;
}
.ym-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ym-footer-bottom a.ym-footer-sitemap {
  color: rgba(232, 245, 238, 0.55);
  text-decoration: none;
}
.ym-footer-bottom a.ym-footer-sitemap:hover {
  color: #fff;
}
.ym-float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ym-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(31, 157, 99, 0.4);
  animation: ymPulse 2.4s ease-in-out infinite;
}
@keyframes ymPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.ym-pager { margin: 28px 0; text-align: center; }

@media (max-width: 1024px) {
  .ym-top-grid { grid-template-columns: 1fr; }
  .ym-banner-board.ym-banner-overlay { aspect-ratio: 2.2 / 1; }
  .ym-project-grid { grid-template-columns: repeat(2, 1fr); }
  .ym-feed-grid { grid-template-columns: 1fr; }
  .ym-layout-side { grid-template-columns: 1fr; }
  .ym-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ym-side-ads { grid-column: 1 / -1; }
  .ym-feed-grid > .ym-sidebar { position: static; display: flex; flex-direction: column; }
  .ym-list-grid { grid-template-columns: repeat(2, 1fr); }
  .ym-city-grid { grid-template-columns: repeat(3, 1fr); }
  .ym-footer-grid { grid-template-columns: 1fr 1fr; }
  .ym-stats { grid-template-columns: repeat(2, 1fr); }
  .ym-why-list { grid-template-columns: 1fr; max-width: 640px; }
  .ym-book-panel { grid-template-columns: 1fr; }
  .ym-side-cats { position: static; }
}
@media (max-width: 768px) {
  .ym-nav-toggle { display: flex; }
  .ym-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: var(--ym-header-h);
    background: #fff;
    border-bottom: 1px solid var(--ym-line);
    padding: 12px 16px 20px;
    box-shadow: var(--ym-shadow);
  }
  .ym-nav.is-open { display: block; }
  .ym-nav ul { flex-direction: column; }
  .ym-btn-book { display: none; }
  .ym-banner-board.ym-banner-overlay { aspect-ratio: 16 / 9; }
  .ym-banner-board.ym-banner-overlay .ym-banner-copy {
    width: 88%;
    max-width: 88%;
    padding: 24px 16px 24px 18px;
  }
  .ym-banner-board.ym-banner-overlay .ym-banner-title-main { font-size: clamp(2rem, 8vw, 2.6rem); }
  .ym-banner-board.ym-banner-overlay .ym-banner-title-sub { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .ym-project-grid,
  .ym-list-grid,
  .ym-city-grid { grid-template-columns: 1fr; }
  .ym-sidebar { grid-template-columns: 1fr; }
  .ym-feed-item-media > a { grid-template-columns: 100px 1fr; }
  .ym-feed-thumb-lg { width: 100px; height: 72px; }
  .ym-footer-grid { grid-template-columns: 1fr; }
}
