/* roulang page: index */
:root {
  --paper: #F4EFE8;
  --sand: #EBE4DA;
  --garnet: #8E2A33;
  --garnet-deep: #741F28;
  --ink: #241C1B;
  --clay: #C46A55;
  --text: #3A312E;
  --muted: #746860;
  --card: #FFFCF8;
  --line: rgba(36,28,27,.12);
  --shadow: 0 8px 24px rgba(36,28,27,.06);
  --r-card: 18px;
  --r-pill: 999px;
  --r-input: 12px;
  --ease: 180ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.scorebar {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.4;
}
.scorebar-inner {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 36px;
  overflow-x: auto;
  white-space: nowrap;
}
.scorebar b { color: #F3C7BF; font-weight: 700; margin-left: 6px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244,239,232,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1);
}
.header-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; min-width: 0; }
.logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-name { font-size: 16px; line-height: 1.25; letter-spacing: .02em; }
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-panel { display: none; }
.nav-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 20px;
  box-shadow: var(--shadow);
}
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 2px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.nav-links a[aria-current="page"] { color: var(--garnet); }
.lang {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid rgba(36,28,27,.18);
  border-radius: var(--r-pill);
  padding: 3px;
  background: #fffdf9;
}
.lang-btn {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
}
.lang-btn.is-on { background: var(--garnet); color: var(--paper); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  transition: background var(--ease), color var(--ease), transform var(--ease), border-color var(--ease);
}
.btn-primary { background: var(--garnet); color: var(--paper); }
.btn-primary:hover { background: var(--garnet-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--garnet); color: var(--garnet); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); }
.btn:focus-visible, .lang-btn:focus-visible, .nav-toggle:focus-visible, .faq-q:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.section { padding: 88px 0; background: var(--paper); }
.section-alt { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--garnet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.section-ink .kicker { color: #F3C7BF; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 68ch; }
.section-ink .lead { color: #E6D9D0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  min-height: 112px;
  transition: border-color var(--ease), transform var(--ease);
}
.metric:hover { border-color: var(--clay); }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric b {
  display: block;
  margin-top: 8px;
  color: var(--garnet);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  animation: rise .45s ease both;
}
.metric:nth-child(2) b { animation-delay: .06s; }
.metric:nth-child(3) b { animation-delay: .12s; }
.metric:nth-child(4) b { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.capsules { display: flex; gap: 10px; overflow-x: auto; margin-top: 22px; padding-bottom: 4px; }
.capsule {
  flex: 0 0 auto;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink);
}
.capsule b { color: var(--garnet); }
.matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  transition: border-color var(--ease), transform var(--ease);
}
.svc:hover { border-color: var(--clay); transform: translateY(-2px); }
.svc:nth-child(1) { grid-column: 1 / 6; grid-row: span 2; min-height: 100%; }
.svc:nth-child(2) { grid-column: 6 / 13; }
.svc:nth-child(3) { grid-column: 6 / 9; }
.svc:nth-child(4) { grid-column: 9 / 13; }
.svc:nth-child(5) { grid-column: 1 / 13; }
.svc p { color: var(--text); font-size: 15px; }
.text-link { color: var(--garnet); font-weight: 700; font-size: 14px; margin-top: auto; }
.text-link:hover { color: var(--garnet-deep); }
.scene-band { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.scene-item {
  flex: 1 0 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--ease);
}
.scene-item:hover { border-color: var(--clay); }
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--garnet);
  background: rgba(142,42,51,.08);
  border: 1px solid rgba(142,42,51,.16);
}
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
}
.compare-col.is-strong { border-color: rgba(142,42,51,.35); }
.bar-row { display: grid; grid-template-columns: 84px 1fr 42px; gap: 10px; align-items: center; margin-top: 12px; font-size: 14px; }
.track { height: 8px; background: rgba(36,28,27,.08); border-radius: var(--r-pill); overflow: hidden; }
.bar { display: block; height: 100%; background: var(--clay); border-radius: var(--r-pill); }
.is-strong .bar { background: var(--garnet); }
.night-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; }
.night-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: border-color var(--ease);
}
.night-card:hover { border-color: var(--clay); }
.night-card.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.line-art {
  height: 84px;
  margin: 18px 0;
  background:
    linear-gradient(var(--clay), var(--clay)) 0 18px / 100% 1px no-repeat,
    linear-gradient(var(--garnet), var(--garnet)) 0 42px / 70% 2px no-repeat,
    linear-gradient(rgba(36,28,27,.28), rgba(36,28,27,.28)) 0 66px / 100% 1px no-repeat;
}
.night-card p { margin-top: 8px; font-size: 15px; }
.timeline { margin-left: 8px; border-left: 1px solid var(--clay); }
.tl-item { position: relative; padding: 0 0 28px 28px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--garnet);
}
.tl-item strong { display: block; color: var(--ink); font-size: 18px; }
.tl-item p { margin-top: 4px; max-width: 62ch; }
.rhythm-list { display: grid; gap: 18px; }
.rhythm-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.scale {
  position: relative;
  height: 14px;
  margin-top: 8px;
  border-radius: var(--r-pill);
  background:
    repeating-linear-gradient(90deg, rgba(244,239,232,.35) 0 1px, transparent 1px 10%);
  overflow: hidden;
}
.scale i { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--garnet)); border-radius: var(--r-pill); }
.rhythm-note { margin-top: 6px; color: #E6D9D0; font-size: 14px; }
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: background var(--ease), border-color var(--ease);
}
.news-row:hover { background: rgba(255,252,248,.8); }
.news-time { color: var(--garnet); font-weight: 700; }
.news-main { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.news-main h3 { font-size: 17px; }
.news-num { color: var(--ink); font-weight: 700; }
.more-wrap { margin-top: 18px; }
.index-grid, .cat-grid, .assure-grid { display: grid; gap: 16px; }
.index-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: 1fr 1fr; }
.assure-grid { grid-template-columns: repeat(3, 1fr); }
.index-card, .cat-card, .assure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  transition: border-color var(--ease), transform var(--ease);
}
.index-card:hover, .cat-card:hover, .assure:hover { border-color: var(--clay); transform: translateY(-2px); }
.index-card p, .cat-card p, .assure p { font-size: 15px; }
.qa-list { display: grid; gap: 12px; }
.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.qa p { margin-top: 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q::after { content: "+"; color: var(--garnet); font-size: 22px; line-height: 1; }
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { padding: 0 0 16px; max-width: 70ch; }
.replay-list { display: grid; gap: 10px; }
.replay-item {
  display: grid;
  grid-template-columns: 1.2fr .6fr .8fr auto;
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color var(--ease);
}
.replay-item:hover { border-color: var(--clay); }
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(196,106,85,.18);
  outline: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-status { min-height: 1.5em; margin-top: 12px; color: var(--garnet); font-weight: 700; }
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-size: 18px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.site-footer a:hover { color: #F3C7BF; }
.copy { margin-top: 22px; color: #E6D9D0; font-size: 13px; }
@media (max-width: 1023px) {
  .index-grid { grid-template-columns: 1fr 1fr; }
  .assure-grid { grid-template-columns: 1fr 1fr; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; }
  .svc:nth-child(1), .svc:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-panel {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav-links { flex-direction: row; gap: 18px; }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--garnet);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease);
  }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .hero-grid, .compare, .night-grid, .cat-grid, .assure-grid, .index-grid, .booking, .form-row, .matrix { grid-template-columns: 1fr; }
  .night-card.big { grid-row: auto; min-height: 0; }
  .svc:nth-child(n) { grid-column: auto; }
  .news-row { grid-template-columns: 64px minmax(0, 1fr); }
  .news-num { grid-column: 2; }
  .replay-item { grid-template-columns: 1fr; }
  .logo-name { font-size: 14px; }
  .lang { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* roulang page: category2 */
:root {
 --paper: #F4EFE8;
 --sand: #EBE4DA;
 --garnet: #8E2A33;
 --garnet-deep: #741F28;
 --ink: #241C1B;
 --clay: #C46A55;
 --text: #3A312E;
 --muted: #746860;
 --card: #FFFCF8;
 --line: rgba(36,28,27,.12);
 --shadow: 0 8px 24px rgba(36,28,27,.06);
 --r-card: 18px;
 --r-pill: 999px;
 --r-input: 12px;
 --ease: 180ms ease;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 17px;
 line-height: 1.75;
 overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.25; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(244,239,232,.96);
 border-bottom: 1px solid var(--line);
}
.header-bar { min-height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; min-width: 0; }
.logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-name { font-size: 16px; line-height: 1.25; letter-spacing: .02em; }
.nav-toggle {
 margin-left: auto;
 width: 44px;
 height: 44px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: var(--card);
 display: inline-flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-panel { display: none; }
.nav-panel.is-open {
 display: flex;
 flex-direction: column;
 gap: 14px;
 position: absolute;
 left: 0;
 right: 0;
 top: 100%;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
 padding: 16px 20px 20px;
 box-shadow: var(--shadow);
}
.lang { display: inline-flex; align-items: center; gap: 2px; width: fit-content; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); }
.lang-btn { border: 0; background: transparent; border-radius: var(--r-pill); padding: 6px 10px; font-size: 13px; line-height: 1; color: var(--muted); }
.lang-btn.is-on { background: var(--garnet); color: var(--paper); }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a { position: relative; padding: 8px 2px; color: var(--ink); font-weight: 700; font-size: 15px; }
.nav-links a[aria-current="page"] { color: var(--garnet); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--r-pill);
 border: 1px solid transparent;
 font-weight: 700;
 font-size: 15px;
 line-height: 1.2;
 text-align: center;
 transition: background var(--ease), color var(--ease), transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn-primary { background: var(--garnet); color: var(--paper); }
.btn-primary:hover { background: var(--garnet-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--garnet); color: var(--garnet); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); }
.btn:focus-visible, .lang-btn:focus-visible, .nav-toggle:focus-visible, .faq-q:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--clay);
 outline-offset: 2px;
}
.section { padding: 88px 0; background: var(--paper); }
.section-alt { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.kicker { color: var(--garnet); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.section-ink .kicker { color: #F3C7BF; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 68ch; }
.section-ink .lead { color: #E6D9D0; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 18px; }
.cat-hero { padding-top: 56px; padding-bottom: 64px; }
.cat-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: stretch; }
.cat-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding-bottom: 8px; }
.summary-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 22px;
 display: flex;
 flex-direction: column;
 gap: 14px;
}
.summary-card strong { font-size: 18px; color: var(--ink); }
.sum-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.sum-row b { color: var(--garnet); font-variant-numeric: tabular-nums; }
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dir-card {
 display: flex;
 flex-direction: column;
 gap: 6px;
 min-height: 132px;
 padding: 18px 18px 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 transition: border-color var(--ease), transform var(--ease);
}
.dir-card:hover { border-color: var(--clay); transform: translateY(-1px); }
.dir-card span { color: var(--garnet); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dir-card p { color: var(--muted); font-size: 14px; }
.stack-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .9fr); gap: 16px; align-items: stretch; }
.scene-hero-card {
 position: relative;
 overflow: hidden;
 min-height: 460px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 24px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 transition: border-color var(--ease);
}
.scene-hero-card:hover { border-color: var(--clay); }
.line-deco { height: 72px; margin-top: 20px; background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(196,106,85,.7) 14px 15px, transparent 15px 28px); }
.metric-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.metric-pill {
 min-width: 112px;
 padding: 10px 12px;
 border-radius: 14px;
 background: var(--sand);
 border: 1px solid var(--line);
}
.metric-pill b { display: block; color: var(--garnet); font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.metric-pill span { color: var(--muted); font-size: 12px; }
.stack-side { display: grid; gap: 12px; position: relative; z-index: 1; }
.scene-mini {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 16px 16px 14px;
 display: flex;
 flex-direction: column;
 gap: 8px;
 transition: border-color var(--ease), transform var(--ease);
}
.scene-mini:hover { border-color: var(--clay); transform: translateY(-1px); }
.scene-mini p, .scene-hero-card p { color: var(--text); font-size: 15px; }
.badge {
 display: inline-flex;
 align-items: center;
 width: fit-content;
 border-radius: var(--r-pill);
 padding: 2px 10px;
 font-size: 12px;
 font-weight: 700;
 color: var(--garnet);
 background: rgba(142,42,51,.08);
 border: 1px solid rgba(142,42,51,.16);
}
.text-link { color: var(--garnet); font-weight: 700; font-size: 14px; margin-top: auto; }
.text-link:hover { color: var(--garnet-deep); }
.compare-groups { display: grid; gap: 18px; }
.compare-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 20px;
}
.compare-col.is-strong { border-color: rgba(142,42,51,.35); }
.pair-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.bar-row { display: grid; grid-template-columns: 72px 1fr 42px; gap: 10px; align-items: center; margin-top: 12px; font-size: 14px; }
.bar-track { height: 8px; background: #E7DDD2; border-radius: var(--r-pill); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); background: #B7A79C; border-radius: inherit; }
.is-strong .bar-fill { background: var(--garnet); }
.bar-row em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 13px; }
.axis-scroll { overflow-x: auto; padding-bottom: 4px; }
.axis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.axis-item {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 18px;
 min-height: 180px;
}
.axis-item i { display: block; color: var(--garnet); font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
.axis-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.assure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.assure-card { border-top: 2px solid var(--clay); padding-top: 16px; }
.assure-card p { margin-top: 8px; color: #E6D9D0; max-width: 46ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 16px 0;
 font-weight: 700;
 color: var(--ink);
 display: flex;
 justify-content: space-between;
 gap: 12px;
}
.faq-q i { font-style: normal; color: var(--garnet); }
.faq-a { display: none; padding: 0 0 16px; max-width: 68ch; }
.faq-item.is-open .faq-a { display: block; }
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.form-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 22px;
 display: grid;
 gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select {
 width: 100%;
 min-height: 46px;
 border-radius: var(--r-input);
 border: 1px solid var(--line);
 background: #fff;
 padding: 0 12px;
}
.form-note { margin: 0; color: var(--garnet); font-weight: 700; }
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand { font-weight: 700; font-size: 18px; color: var(--paper); margin: 0 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-links a { color: #E6D9D0; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.copy { margin: 28px 0 0; color: #C9B8B0; font-size: 14px; }
@media (min-width: 1024px) {
 .nav-toggle { display: none; }
 .nav-panel { display: flex; align-items: center; gap: 22px; margin-left: auto; }
 .nav-links { flex-direction: row; align-items: center; gap: 18px; order: 1; }
 .lang { order: 2; }
 .nav-panel > .btn { order: 3; }
 .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--garnet); }
 .stack-side { transform: translateX(-28px); }
}
@media (max-width: 1023px) {
 .section { padding: 64px 0; }
 .cat-split, .stack-layout, .compare-pair, .assure-grid, .form-wrap { grid-template-columns: 1fr; }
 .stack-side { transform: none; }
 .axis { min-width: 760px; }
}
@media (max-width: 767px) {
 .section { padding: 48px 0; }
 .cat-hero { padding-top: 36px; }
 .dir-grid { grid-template-columns: 1fr; }
 .logo-name { font-size: 14px; }
 .scene-hero-card { min-height: 0; }
}
@media (max-width: 520px) {
 .container { padding: 0 16px; }
 .bar-row { grid-template-columns: 60px 1fr 36px; }
 .sum-row { grid-template-columns: 52px minmax(0, 1fr); }
 .header-bar { min-height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* roulang page: category1 */
:root {
 --paper: #F4EFE8;
 --sand: #EBE4DA;
 --garnet: #8E2A33;
 --garnet-deep: #741F28;
 --ink: #241C1B;
 --clay: #C46A55;
 --text: #3A312E;
 --muted: #746860;
 --card: #FFFCF8;
 --line: rgba(36,28,27,.12);
 --shadow: 0 8px 24px rgba(36,28,27,.06);
 --r-card: 18px;
 --r-pill: 999px;
 --r-input: 12px;
 --ease: 180ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 17px;
 line-height: 1.75;
 overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
::selection { background: rgba(142,42,51,.18); }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(244,239,232,.96);
 border-bottom: 1px solid var(--line);
}
.header-bar {
 min-height: 64px;
 display: flex;
 align-items: center;
 gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; min-width: 0; }
.logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-name { font-size: 16px; line-height: 1.25; letter-spacing: .02em; }
.nav-toggle {
 margin-left: auto;
 width: 44px;
 height: 44px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: var(--card);
 display: inline-flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-panel { display: none; }
.nav-panel.is-open {
 display: flex;
 flex-direction: column;
 gap: 14px;
 position: absolute;
 left: 0;
 right: 0;
 top: 100%;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
 padding: 16px 20px 20px;
 box-shadow: var(--shadow);
}
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); width: fit-content; }
.lang-btn {
 border: 0;
 background: transparent;
 border-radius: var(--r-pill);
 padding: 6px 10px;
 font-size: 13px;
 line-height: 1;
 color: var(--muted);
}
.lang-btn.is-on { background: var(--garnet); color: var(--paper); }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a {
 position: relative;
 padding: 8px 2px;
 color: var(--ink);
 font-weight: 700;
 font-size: 15px;
}
.nav-links a::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 2px;
 width: 100%;
 height: 2px;
 background: var(--garnet);
 transform: scaleX(0);
 transform-origin: left center;
 transition: transform var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--garnet); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--r-pill);
 border: 1px solid transparent;
 font-weight: 700;
 font-size: 15px;
 line-height: 1.2;
 text-align: center;
 transition: background var(--ease), color var(--ease), transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn-primary { background: var(--garnet); color: var(--paper); }
.btn-primary:hover { background: var(--garnet-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--garnet); color: var(--garnet); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); }
.btn:focus-visible, .lang-btn:focus-visible, .nav-toggle:focus-visible, .faq-q:focus-visible, .chip:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--clay);
 outline-offset: 2px;
}
.section { padding: 88px 0; background: var(--paper); }
.section-alt { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-title { padding: 72px 0; }
main h1, main h2, main h3 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0; }
main h1 { font-size: 40px; letter-spacing: .01em; }
main h2 { font-size: 28px; }
main h3 { font-size: 18px; }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.kicker { margin: 0 0 10px; color: var(--garnet); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 68ch; }
.section-ink .lead { color: #E6D9D0; }
.score-line { display: flex; gap: 6px; margin-bottom: 16px; }
.score-line span { display: block; height: 3px; border-radius: var(--r-pill); }
.score-line span:nth-child(1) { width: 72px; background: var(--garnet); }
.score-line span:nth-child(2) { width: 36px; background: var(--clay); }
.score-line span:nth-child(3) { width: 54px; background: var(--ink); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--ink); font-weight: 700; }
.crumb a:hover { color: var(--garnet); }
.title-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 28px; align-items: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ask-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-top: 3px solid var(--garnet);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 22px;
}
.ask-q { color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.35; }
.ask-card p + p { margin-top: 8px; color: var(--text); }
.ask-card .btn { margin-top: 18px; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head .lead { margin-top: 8px; }
.chip-row {
 display: flex;
 gap: 10px;
 overflow-x: auto;
 padding-bottom: 6px;
 scrollbar-width: thin;
}
.chip {
 flex: 0 0 auto;
 border-radius: var(--r-pill);
 border: 1px solid var(--line);
 background: var(--card);
 color: var(--ink);
 min-height: 40px;
 padding: 0 16px;
 font-size: 14px;
 font-weight: 700;
 transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.chip:hover { border-color: var(--clay); transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip.is-on { background: var(--garnet); color: var(--paper); border-color: var(--garnet); }
.filter-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.filter-note b { color: var(--ink); font-weight: 700; }
.count { margin-top: 14px; font-variant-numeric: tabular-nums; color: var(--garnet); font-weight: 700; font-size: 14px; }
.heat-list { border-top: 1px solid var(--line); }
.heat-row {
 display: grid;
 grid-template-columns: 84px 72px minmax(0, 1fr) auto;
 gap: 14px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
 transition: background var(--ease), border-color var(--ease);
}
.heat-row:hover { background: rgba(255,252,248,.72); }
.heat-visual { width: 84px; height: 56px; }
.heat-visual svg { width: 84px; height: 56px; }
.heat-time {
 font-variant-numeric: tabular-nums;
 font-weight: 700;
 color: var(--garnet);
 font-size: 18px;
 letter-spacing: .02em;
}
.heat-row p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.heat-row h3 a:hover { color: var(--garnet); }
.badge {
 display: inline-flex;
 align-items: center;
 width: fit-content;
 border-radius: var(--r-pill);
 padding: 3px 10px;
 font-size: 12px;
 font-weight: 700;
 color: var(--garnet);
 background: rgba(142,42,51,.08);
 border: 1px solid rgba(142,42,51,.16);
 white-space: nowrap;
}
.prose-block p + p { margin-top: 12px; }
.duration {
 margin-top: 22px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.duration-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink); font-weight: 700; }
.track { margin-top: 10px; height: 8px; border-radius: var(--r-pill); background: var(--sand); overflow: hidden; }
.track > span { display: block; height: 100%; background: var(--garnet); border-radius: inherit; }
.track.clay > span { background: var(--clay); }
.track.ink > span { background: var(--ink); }
.rhythm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rhythm-item {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 18px 18px 16px;
 transition: border-color var(--ease);
}
.rhythm-item:hover { border-color: var(--clay); }
.rhythm-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rhythm-top strong { font-size: 18px; color: var(--ink); }
.rhythm-top em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--garnet); font-weight: 700; font-size: 22px; }
.rhythm-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.rel-list { border-top: 1px solid var(--line); }
.rel-row {
 display: grid;
 grid-template-columns: 52px minmax(0, 1fr) auto;
 gap: 12px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
 transition: background var(--ease);
}
.rel-row:hover { background: rgba(255,252,248,.8); }
.idx { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--garnet); font-size: 18px; }
.rel-row strong { display: block; color: var(--ink); font-size: 17px; }
.rel-row .desc { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.text-link { color: var(--garnet); font-weight: 700; font-size: 14px; white-space: nowrap; }
.text-link:hover { color: var(--garnet-deep); }
.faq-list { border-top: 1px solid var(--line); max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 16px 0;
 font-weight: 700;
 font-size: 17px;
 color: var(--ink);
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
}
.faq-q i {
 flex: 0 0 auto;
 width: 22px;
 height: 22px;
 border-radius: 50%;
 border: 1px solid var(--line);
 position: relative;
}
.faq-q i::before, .faq-q i::after {
 content: "";
 position: absolute;
 background: var(--garnet);
 left: 5px;
 right: 5px;
 top: 10px;
 height: 2px;
}
.faq-q i::after { transform: rotate(90deg); transition: transform var(--ease); }
.faq-item.is-open .faq-q i::after { transform: rotate(0deg); }
.faq-a { display: none; padding: 0 36px 16px 0; color: var(--text); }
.faq-item.is-open .faq-a { display: block; }
.form-card {
 max-width: 640px;
 background: var(--card);
 color: var(--text);
 border: 1px solid rgba(244,239,232,.18);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
 padding: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.form-card input, .form-card textarea {
 width: 100%;
 border: 1px solid var(--line);
 border-radius: var(--r-input);
 background: #fff;
 padding: 12px 14px;
 min-height: 46px;
 transition: border-color var(--ease), box-shadow var(--ease);
}
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input:hover, .form-card textarea:hover { border-color: var(--clay); }
.form-note { margin-top: 12px; color: var(--garnet); font-weight: 700; }
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-weight: 700; font-size: 18px; color: var(--paper); line-height: 1.3; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-links a { color: var(--paper); font-weight: 700; position: relative; }
.footer-links a:hover { color: #F3C7BF; }
.copy { margin: 28px 0 0; color: #E6D9D0; font-size: 13px; border-top: 1px solid rgba(244,239,232,.16); padding-top: 16px; }
@media (min-width: 1024px) {
 .nav-toggle { display: none; }
 .nav-panel, .nav-panel.is-open {
 display: flex;
 flex-direction: row;
 align-items: center;
 gap: 18px;
 position: static;
 margin-left: auto;
 background: transparent;
 border: 0;
 padding: 0;
 box-shadow: none;
 }
 .nav-links { flex-direction: row; align-items: center; gap: 18px; }
 .nav-panel .btn { margin-left: 4px; }
}
@media (max-width: 1023px) {
 .title-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 767px) {
 .section { padding: 52px 0; }
 .section-title { padding: 40px 0 48px; }
 main h1 { font-size: 32px; }
 main h2 { font-size: 24px; }
 .heat-row {
 grid-template-columns: 64px minmax(0, 1fr);
 gap: 10px 12px;
 }
 .heat-visual, .heat-visual svg { width: 64px; height: 44px; }
 .heat-time { grid-column: 2; font-size: 16px; }
 .heat-row .badge { grid-column: 2; }
 .rel-row { grid-template-columns: 40px minmax(0, 1fr); }
 .rel-row .text-link { grid-column: 2; }
 .hero-actions .btn, .ask-card .btn, .form-card .btn { width: 100%; }
 .footer-grid { display: grid; }
}
@media (max-width: 520px) {
 .logo-name { font-size: 14px; }
 .container { padding: 0 16px; }
 .ask-q { font-size: 20px; }
 .form-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 animation: none !important;
 transition: none !important;
 }
}
