/* roulang page: index */
:root {
  --coral: #C45C48;
  --lagoon: #1F8A86;
  --gold: #C8922A;
  --paper: #F7F1E6;
  --ink: #2A2118;
  --mute: #6B5C4E;
  --line: #E4D3BC;
  --cream: #FFFDF8;
  --foam: #FFF8F2;
  --sand: #F3E2C4;
  --deep-a: #3E2A45;
  --deep-b: #1F3F3D;
  --radius-card: 28px;
  --radius-inner: 20px;
  --shadow: 0 10px 30px rgba(42, 33, 24, .08);
  --shadow-lift: 0 16px 36px rgba(196, 92, 72, .16);
  --header-h: 72px;
  --space-section: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lagoon); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--lagoon); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
}
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, .serif {
  font-family: "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: 48px; color: var(--ink); }
h2 { font-size: 30px; color: var(--ink); }
h3 { font-size: 19px; line-height: 1.4; font-weight: 650; }
p { margin-top: 0; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--foam);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 12px; color: var(--foam); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFDF8;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(42, 33, 24, .06);
}
.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #d96b54, var(--coral) 55%, #8d3b32);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(200, 146, 42, .7);
  flex: none;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.desk-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desk-nav a {
  color: var(--lagoon);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.desk-nav a:hover { text-decoration: underline; background: rgba(31, 138, 134, .08); }
.desk-nav a.is-active {
  color: var(--coral);
  background: var(--sand);
  text-decoration: none;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  min-width: 230px;
}
.search-box:focus-within { box-shadow: 0 0 0 2px var(--lagoon); }
.search-box input {
  border: 0;
  background: transparent;
  width: 128px;
  min-width: 0;
  outline: none;
  padding: 6px 0;
}
.search-box input::placeholder { color: var(--mute); }
.search-box button, .search-go {
  border: 0;
  background: var(--lagoon);
  color: var(--foam);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1.4;
}
.search-box button:hover, .search-go:hover { filter: brightness(1.08); }
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}
.menu-btn:hover { background: var(--sand); }
.nav-drawer {
  display: none;
  background: #FFFDF8;
  border-top: 1px solid var(--line);
  padding: 8px 0 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--lagoon);
  text-decoration: none;
}
.nav-drawer a.is-active { color: var(--coral); }
.nav-drawer .search-box { margin-top: 16px; width: 100%; }
.nav-drawer .btn { margin-top: 14px; width: 100%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:visited { text-decoration: none; }
.btn-primary {
  background: linear-gradient(90deg, #C45C48, #C8922A);
  color: #FFF8F2;
  box-shadow: 0 8px 18px rgba(196, 92, 72, .18);
}
.btn-primary:visited { color: #FFF8F2; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: var(--shadow-lift); text-decoration: none; }
.btn-primary:active { transform: translateY(1px); filter: brightness(.98); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-ghost:visited { color: var(--ink); }
.btn-ghost:hover { background: #F3E2C4; text-decoration: none; }
.btn-ghost:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.section { padding: var(--space-section) 0; position: relative; }
.band { background: var(--paper); }
.band-cream { background: #FFFDF8; }
.band-sand { background: #F3EADF; }
.band-dark {
  background: linear-gradient(135deg, #3E2A45 0%, #2A3A40 48%, #1F3F3D 100%);
  color: var(--paper);
}
.band-dark h2, .band-dark p, .band-dark li { color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p, .lead { color: var(--mute); margin-top: 12px; }
.band-dark .section-head p, .band-dark .lead { color: rgba(247, 241, 230, .86); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 10px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.rune {
  height: 10px;
  margin: 14px 0 0;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent) center/100% 1px no-repeat,
    radial-gradient(circle, var(--gold) 1.2px, transparent 1.4px) center/14px 10px repeat-x;
}
.hero {
  padding: 48px 0 36px;
  background:
    radial-gradient(circle at 88% 18%, rgba(196, 92, 72, .16), transparent 28%),
    linear-gradient(180deg, #FFFDF8 0%, #F7F1E6 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 36px;
  align-items: center;
}
.hero h1 { max-width: 16em; }
.subline { margin-top: 12px; font-size: 18px; color: var(--ink); }
.hero-copy { margin-top: 14px; color: var(--mute); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-stats, .metric-list, .mini-stats, .plain-list { list-style: none; padding: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat, .badge, .shield, .mini-stats li, .metric-list li {
  border-radius: 999px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 12px 8px 10px;
  display: flex;
  flex-direction: column;
  min-width: 132px;
}
.stat b { font-size: 14px; line-height: 1.3; }
.stat span, .stat em { font-style: normal; color: var(--mute); font-size: 12px; line-height: 1.4; }
.demo-frame {
  background: linear-gradient(160deg, rgba(196, 92, 72, .2), rgba(31, 138, 134, .18) 42%, rgba(200, 146, 42, .2));
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow-lift);
}
.demo-inner {
  background: #FFFDF8;
  border-radius: 20px;
  border: 1px solid var(--gold);
  padding: 16px;
  position: relative;
}
.demo-inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(200, 146, 42, .45);
  border-radius: 16px;
  pointer-events: none;
}
.demo-search {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  background: #fff;
  margin-bottom: 14px;
  position: relative;
}
.demo-search b { font-weight: 500; color: var(--mute); font-size: 14px; }
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.cover {
  aspect-ratio: 16/9;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 248, 242, .45), transparent 36%),
    radial-gradient(circle at 82% 72%, rgba(200, 146, 42, .7), transparent 42%),
    linear-gradient(135deg, #C45C48, #3E2A45 58%, #1F3F3D);
}
.cover.b {
  background:
    radial-gradient(circle at 70% 24%, rgba(247, 241, 230, .4), transparent 34%),
    linear-gradient(160deg, #1F8A86, #1F3F3D 46%, #C8922A);
}
.cover.c { background: linear-gradient(135deg, #8d3b32, #C8922A 70%, #F7F1E6); }
.cover.d { background: linear-gradient(200deg, #3E2A45, #1F8A86 60%, #E4D3BC); }
.cover .pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 248, 242, .16) 12px 13px);
}
.shield {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(247, 241, 230, .94);
  color: var(--coral);
  border: 1px solid var(--gold);
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px 7px;
  clip-path: polygon(8% 0, 92% 0, 100% 18%, 100% 72%, 50% 100%, 0 72%, 0 18%);
  border-radius: 0;
}
.demo-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--mute); }
.caption { margin-top: 10px; font-size: 12px; color: var(--mute); text-align: right; }
.metric-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.metric-label {
  flex: none;
  color: var(--coral);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 18px;
}
.metric-list { display: flex; flex-wrap: wrap; gap: 8px; }
.metric-list li, .badge, .mini-stats li {
  border: 1px solid var(--lagoon);
  color: var(--ink);
  background: rgba(31, 138, 134, .06);
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.4;
}
.badge.gold, .shield.gold { border-color: var(--gold); }
.metric-note { margin-top: 16px; color: var(--mute); }
.func-grid, .news-grid, .price-layout, .topic-layout, .case-grid, .quote-grid {
  display: grid;
  gap: 18px;
}
.func-grid { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); }
.func-side, .price-side { display: flex; flex-direction: column; gap: 18px; }
.card, .price-card, .case-card, .review-card, .news-feature, .entry-card, .acc, .scene-card, .step, .path-item, .thumb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.card, .scene-card, .step, .case-card, .news-feature, .entry-card, .price-card { padding: 22px; }
.card:hover, .scene-card:hover, .case-card:hover, .news-feature:hover, .entry-card:hover, .price-card:hover, .review-card:hover, .thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card p, .scene-card p, .step p, .case-card p, .path-item p, .review-card p, .news-item p, .entry-card p, .price-card p { color: var(--mute); margin-top: 8px; }
.card.big { min-height: 100%; background:
  linear-gradient(#fff, #fff) padding-box,
  linear-gradient(135deg, rgba(196, 92, 72, .45), rgba(200, 146, 42, .7)) border-box;
  border: 1px solid transparent;
}
.chip-row, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 13px;
}
.steps-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { border-radius: 20px; position: relative; padding-top: 18px; }
.num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  color: var(--foam);
  font-size: 13px;
  margin-bottom: 10px;
}
.scene-grid { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 16px; }
.scene-card h3 { font-size: 20px; }
.scene-card:nth-child(1) { background: linear-gradient(180deg, #fff, #FFF6EA); }
.scene-card:nth-child(2) { background: linear-gradient(180deg, #fff, #F3F7F4); }
.scene-card:nth-child(3) { background: linear-gradient(180deg, #fff, #F8EFEA); }
.compare { display: flex; flex-direction: column; gap: 14px; }
.compare-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.compare-name, .compare-body {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px 18px;
}
.compare-name { background: #3E2A45; color: var(--paper); display: flex; align-items: center; }
.compare-body strong { color: var(--coral); }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); gap: 16px; }
.thumb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thumb { padding: 10px; border-radius: 20px; }
.thumb .cover { border-radius: 14px; }
.thumb span { display: block; margin-top: 8px; font-size: 13px; color: var(--mute); }
.path-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.path-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 22px; align-items: start; }
.case-grid { grid-template-columns: 1fr 1fr; }
.case-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.price-layout { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr); align-items: stretch; }
.price-card.main {
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 146, 42, .2), transparent 36%),
    #fff;
  min-height: 100%;
}
.price { font-family: "Songti SC", "Noto Serif SC", serif; font-size: 40px; color: var(--coral); line-height: 1; margin: 8px 0; }
.price small { font-size: 14px; color: var(--mute); margin-left: 6px; font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.benefit { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.benefit li { list-style: none; padding-left: 16px; position: relative; color: var(--ink); }
.benefit { padding: 0; }
.benefit li::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 999px; position: absolute; left: 0; top: .65em; }
.consult {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed var(--gold);
  background: rgba(255, 253, 248, .7);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; margin-top: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mute); }
.field input, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--lagoon); box-shadow: 0 0 0 2px rgba(31, 138, 134, .25); }
.form-note { margin-top: 10px; color: var(--lagoon); }
.review-wall { columns: 3; column-gap: 14px; }
.review-card { break-inside: avoid; margin: 0 0 14px; padding: 16px 18px; border-radius: 22px; }
.review-card:nth-child(3n) { padding-bottom: 28px; }
.review-card:nth-child(2n) { background: #FFFDF8; }
.review-card q { quotes: "「" "」"; }
.who { margin-top: 10px; font-size: 13px; color: var(--coral); }
.quote-grid { grid-template-columns: 1.2fr .8fr; }
.quote-grid blockquote {
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(247, 241, 230, .08);
  border: 1px solid rgba(200, 146, 42, .45);
}
.quote-grid p { font-size: 18px; line-height: 1.7; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini-stats li { background: transparent; color: var(--paper); }
.news-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr); }
.news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.news-item a { color: var(--ink); text-decoration: none; }
.news-item a:hover { color: var(--lagoon); text-decoration: underline; }
.news-item time { color: var(--coral); font-size: 13px; }
.news-feature .cover { border-radius: 16px; margin-bottom: 12px; }
.topic-layout { grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr); }
.entry-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.entry-card:hover { text-decoration: none; color: inherit; }
.entry-card h3 { color: var(--ink); }
.side-links { display: flex; flex-direction: column; gap: 10px; }
.side-links a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.side-links a:hover { color: var(--lagoon); border-color: var(--lagoon); }
.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(200, 146, 42, .45);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 248, 242, .04);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acc { padding: 8px 22px; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  border-radius: 12px;
}
.acc-item.open .acc-btn { color: var(--coral); }
.acc-item.open { box-shadow: inset 3px 0 0 var(--lagoon); }
.mark { color: var(--gold); font-size: 20px; line-height: 1; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.acc-item.open .acc-panel { max-height: 220px; }
.acc-panel p { color: var(--mute); padding-bottom: 16px; }
.site-footer {
  background: #2A2118;
  color: #F7F1E6;
  padding: 42px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.1fr; gap: 22px; }
.site-footer a { color: #F3E2C4; }
.site-footer a:visited { color: #F3E2C4; }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 6px 0; }
.foot-brand { font-family: "Songti SC", "Noto Serif SC", serif; font-size: 22px; color: #fff; }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(228, 211, 188, .25); color: rgba(247, 241, 230, .78); font-size: 13px; }
@media (max-width: 1023px) {
  .desk-nav, .desk-search, .desk-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .func-grid, .scene-grid, .demo-stage, .case-grid, .price-layout, .news-grid, .topic-layout, .quote-grid, .compare-row, .form-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .review-wall { columns: 2; }
  .entry-card { grid-template-columns: 1fr; }
  .metric-bar { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 36px; }
}
@media (max-width: 767px) {
  :root { --space-section: 40px; }
  .container { width: min(1120px, calc(100% - 32px)); }
  .header-bar { min-height: 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero { padding-top: 28px; }
  .steps-4, .thumb-grid, .demo-cards { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .review-wall { columns: 1; }
  .price { font-size: 34px; }
}
@media (max-width: 520px) {
  .steps-4, .thumb-grid, .demo-cards, .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn, .form-grid .btn { width: 100%; }
  .logo-text { font-size: 14px; }
}

/* roulang page: category1 */
:root {
  --coral: #C45C48;
  --lagoon: #1F8A86;
  --gold: #C8922A;
  --paper: #F7F1E6;
  --ink: #2A2118;
  --mute: #6B5C4E;
  --line: #E4D3BC;
  --cream: #FFFDF8;
  --foam: #FFF8F2;
  --sand: #F3E2C4;
  --deep-a: #3E2A45;
  --deep-b: #1F3F3D;
  --radius-card: 28px;
  --radius-inner: 20px;
  --shadow: 0 10px 30px rgba(42, 33, 24, .08);
  --shadow-lift: 0 16px 36px rgba(196, 92, 72, .16);
  --header-h: 72px;
  --space-section: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lagoon); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--lagoon); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
}
h1, h2, .logo-text, .foot-brand {
  font-family: "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -0.03em;
  font-weight: 600;
}
h1 { font-size: 48px; line-height: 1.2; margin: 8px 0 0; color: var(--ink); }
h2 { font-size: 30px; line-height: 1.3; margin: 0; color: var(--ink); }
h3 { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; }
p { margin: 0; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFDF8;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(42, 33, 24, .06);
}
.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #d96b54, var(--coral) 55%, #8d3b32);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(200, 146, 42, .7);
  flex: none;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { font-size: 16px; line-height: 1.25; }
.desk-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desk-nav a {
  color: var(--lagoon);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.desk-nav a:hover { text-decoration: underline; background: rgba(31, 138, 134, .08); }
.desk-nav a.is-active { color: var(--coral); background: var(--sand); text-decoration: none; }
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  min-width: 210px;
}
.search-box:focus-within { box-shadow: 0 0 0 2px var(--lagoon); }
.search-box input {
  border: 0;
  background: transparent;
  width: 118px;
  min-width: 0;
  outline: none;
  padding: 6px 0;
}
.search-box input::placeholder { color: var(--mute); }
.search-box button, .search-go {
  border: 0;
  background: var(--lagoon);
  color: var(--foam);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1.4;
}
.search-box button:hover, .search-go:hover { filter: brightness(1.08); }
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}
.menu-btn:hover { background: var(--sand); }
.nav-drawer {
  display: none;
  background: #FFFDF8;
  border-top: 1px solid var(--line);
  padding: 8px 0 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--lagoon);
  text-decoration: none;
}
.nav-drawer a.is-active { color: var(--coral); }
.nav-drawer .search-box { margin-top: 16px; width: 100%; }
.nav-drawer .btn { margin-top: 14px; width: 100%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:visited { text-decoration: none; }
.btn-primary {
  background: linear-gradient(90deg, #C45C48, #C8922A);
  color: #FFF8F2;
  box-shadow: 0 8px 18px rgba(196, 92, 72, .18);
}
.btn-primary:visited { color: #FFF8F2; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: var(--shadow-lift); text-decoration: none; }
.btn-primary:active { transform: translateY(1px); filter: brightness(.98); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-ghost:visited { color: var(--ink); }
.btn-ghost:hover { background: #F3E2C4; text-decoration: none; }
.btn-ghost:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.section { padding: var(--space-section) 0; position: relative; }
.section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--gold), transparent 80%);
}
.band-sand { background: linear-gradient(180deg, #fffdf8 0%, #f3e2c4 100%); }
.band-deep {
  background: linear-gradient(135deg, var(--deep-a), var(--deep-b));
  color: var(--paper);
}
.band-deep h2, .band-deep .section-title { color: var(--paper); }
.page-head {
  padding: 28px 0 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(196, 92, 72, .14), transparent 26%),
    linear-gradient(180deg, #FFFDF8 0%, #F7F1E6 100%);
}
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.crumb { color: var(--mute); font-size: 14px; margin: 0; }
.crumb a { color: var(--lagoon); }
.head-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.badge, .shield, .pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--ink);
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
}
.badge b { color: var(--coral); font-weight: 600; }
.badge small { color: var(--mute); margin-left: 6px; }
.filter-sec { padding: 8px 0 20px; }
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 160px; flex: 0 0 auto; }
.filter-field span, .tag-label { font-size: 13px; color: var(--mute); }
.filter-field input, .filter-field select {
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0 14px;
  outline: none;
}
.filter-field input:focus, .filter-field select:focus { box-shadow: 0 0 0 2px var(--lagoon); }
.tag-group { display: flex; flex-direction: column; gap: 6px; min-width: max-content; }
.tag-row { display: flex; gap: 8px; }
.tag {
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  transition: background .2s ease, transform .2s ease;
}
.tag:hover { background: var(--sand); }
.tag.is-on { background: linear-gradient(90deg, var(--coral), var(--gold)); color: var(--foam); border-color: transparent; }
.catalog-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px 24px;
  align-items: start;
  padding-bottom: 36px;
}
#list { grid-column: 1; grid-row: 1; min-width: 0; }
#side { grid-column: 2; grid-row: 1 / span 2; }
#guide { grid-column: 1; grid-row: 2; min-width: 0; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #3e2a45;
}
.cover::before, .cover::after {
  content: "";
  position: absolute;
  inset: 0;
}
.cover::before {
  background:
    repeating-linear-gradient(115deg, transparent 0 14px, rgba(200, 146, 42, .35) 14px 15px),
    radial-gradient(circle at 20% 80%, rgba(255, 248, 242, .18), transparent 32%);
}
.cover::after {
  inset: 10px;
  border: 1px solid rgba(200, 146, 42, .75);
  border-radius: 16px;
}
.c1 { background: linear-gradient(135deg, #c45c48, #3e2a45 70%); }
.c2 { background: linear-gradient(160deg, #1f8a86, #1f3f3d 68%); }
.c3 { background: linear-gradient(135deg, #c8922a, #8d3b32); }
.c4 { background: linear-gradient(145deg, #3e2a45, #c45c48 80%); }
.c5 { background: linear-gradient(120deg, #1f3f3d, #c8922a); }
.c6 { background: linear-gradient(180deg, #d96b54, #1f8a86); }
.c7 { background: linear-gradient(135deg, #6b5c4e, #c45c48 75%); }
.c8 { background: linear-gradient(150deg, #1f8a86, #3e2a45); }
.c9 { background: linear-gradient(135deg, #c8922a, #1f3f3d); }
.c10 { background: linear-gradient(160deg, #8d3b32, #1f8a86); }
.shield {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  background: linear-gradient(180deg, #3e2a45, #1f3f3d);
  color: var(--paper);
  border-color: var(--gold);
  border-radius: 12px 12px 16px 16px;
  padding: 4px 10px 8px;
  box-shadow: inset 0 0 0 1px rgba(200, 146, 42, .8);
}
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 18px; }
.card-body h3 a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body h3 a:hover { color: var(--lagoon); }
.card-body p { color: var(--mute); margin-top: 8px; }
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
  margin-top: 10px !important;
  color: var(--mute);
  font-size: 13px;
  white-space: nowrap;
}
.meta span { position: relative; }
.meta span + span::before { content: "·"; margin-right: 8px; color: var(--gold); }
.guide-card, .side-card, .more-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.rhythm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rhythm-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rhythm-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--foam);
  background: linear-gradient(90deg, var(--coral), var(--gold));
  font-size: 14px;
}
.side-card { background: linear-gradient(180deg, #fffdf8, #f7f1e6); position: sticky; top: 88px; }
.side-links { list-style: none; margin: 16px 0 0; padding: 0; }
.side-links li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 14px 0; color: var(--lagoon); }
.side-links a:hover { color: var(--coral); }
.side-note { margin-top: 8px; color: var(--mute); font-size: 14px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 14px; }
.legend-item {
  flex: 1 1 240px;
  background: rgba(255, 253, 248, .08);
  border: 1px solid rgba(200, 146, 42, .7);
  border-radius: var(--radius-inner);
  padding: 18px 18px 16px;
}
.legend-item strong {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--gold);
  padding: 4px 12px;
  color: var(--sand);
  margin-bottom: 10px;
}
.legend-item p { color: rgba(247, 241, 230, .88); }
.more-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.closing {
  padding: 28px 0 64px;
}
.closing-bar {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.closing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-note { display: none; margin-top: 14px; color: var(--mute); }
.empty-note.show { display: block; }
.site-footer {
  background: linear-gradient(135deg, #3E2A45, #1F3F3D);
  color: #F7F1E6;
  padding: 48px 0 28px;
}
.site-footer a { color: #F3E2C4; }
.site-footer a:visited { color: #F3E2C4; }
.site-footer a:hover { color: #fff8f2; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr; gap: 28px; }
.foot-brand { font-size: 20px; margin: 0; color: #F7F1E6; }
.site-footer h3 { color: #C8922A; font-size: 16px; margin-bottom: 10px; font-family: "Songti SC", "Noto Serif SC", serif; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer p { color: rgba(247, 241, 230, .88); }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(228, 211, 188, .35);
  color: rgba(247, 241, 230, .8);
  font-size: 14px;
}
@media (max-width: 1180px) {
  .logo-text { font-size: 14px; }
  .desk-nav a { padding: 8px; font-size: 14px; }
  .search-box { min-width: 168px; }
  .search-box input { width: 84px; }
}
@media (max-width: 1023px) {
  .desk-nav, .header-bar > .search-box, .header-bar > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .catalog-wrap { grid-template-columns: 1fr; }
  #list, #side, #guide { grid-column: 1; grid-row: auto; }
  .side-card { position: static; }
  .span-8, .span-7, .span-5, .span-4 { grid-column: span 6; }
}
@media (max-width: 768px) {
  :root { --space-section: 40px; }
  .container { width: min(1120px, calc(100% - 32px)); }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .head-row, .more-card, .closing-bar { flex-direction: column; align-items: flex-start; }
  .head-badges { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .span-8, .span-7, .span-5, .span-4 { grid-column: span 12; }
  .filter-bar { border-radius: 20px; }
}
