/* roulang page: index */
:root {
  --ivory: #FBF6EF;
  --ivory-deep: #F7EDE4;
  --peach: #F4C7B0;
  --peach-deep: #E89274;
  --blush: #F6D5D0;
  --blush-deep: #F0C2BA;
  --apricot: #F8E6D4;
  --apricot-deep: #F3D7BE;
  --cocoa: #3C2A24;
  --cocoa-deep: #2A1C18;
  --cocoa-soft: #4A332C;
  --plum: #8C5A52;
  --muted: #7A655C;
  --card: #FFF9F4;
  --line: rgba(60, 42, 36, .12);
  --shadow: 0 12px 32px rgba(90, 52, 36, .1);
  --shadow-hover: 0 18px 36px rgba(90, 52, 36, .16);
  --radius-card: 24px;
  --radius-btn: 14px;
  --radius-input: 12px;
  --radius-pill: 999px;
  --space: 20px;
  --grad: linear-gradient(145deg, #F8D2C2 0%, #E89274 100%);
  --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cocoa);
  background: linear-gradient(180deg, #FBF6EF 0%, #F8E3D6 42%, #FBF6EF 100%);
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #F0B79A; color: var(--cocoa-deep); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.section { padding: 76px 0; scroll-margin-top: 96px; }
.section-white { background: rgba(255, 250, 246, .78); }
.section-apricot { background: linear-gradient(180deg, #F8E6D4 0%, #FBEFE4 100%); }
.section-blush { background: linear-gradient(180deg, #FDE8E2 0%, #FBF3EE 100%); }
.section-cocoa { background: var(--cocoa-deep); color: var(--ivory); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head h2 { margin-bottom: 10px; }
.lead { color: var(--cocoa); }
.section-cocoa .lead { color: rgba(251, 246, 239, .84); }
h1 { font-size: clamp(1.9rem, 3.8vw, 3.15rem); line-height: 1.28; font-weight: 760; letter-spacing: .01em; }
h2 { font-size: clamp(1.38rem, 2.1vw, 1.9rem); line-height: 1.35; font-weight: 740; }
h3 { font-size: 1.14rem; line-height: 1.45; font-weight: 700; }
.sub { margin: 10px 0 14px; color: var(--muted); font-size: 1.05rem; }
p + p { margin-top: 0; }
.lead { margin-top: 0; }
.section-head .lead { margin-top: 4px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #FBF6EF;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto auto;
  transition: box-shadow .2s ease, grid-template-rows .2s ease;
}
.site-header.is-compact { box-shadow: 0 8px 24px rgba(90, 52, 36, .08); grid-template-rows: auto 0fr; }
.nav-top-inner, .nav-sub-inner { display: flex; align-items: center; gap: 14px; }
.nav-top-inner { min-height: 74px; justify-content: space-between; }
.nav-sub { min-height: 0; overflow: hidden; }
.nav-sub-inner { min-height: 52px; justify-content: flex-start; flex-wrap: wrap; padding-bottom: 8px; }
.site-header.is-compact .nav-sub-inner { min-height: 0; padding: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 18px; min-height: 44px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad); color: var(--cocoa-deep); font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(60, 42, 36, .06);
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-current {
  display: none; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: var(--radius-pill); background: var(--apricot); color: var(--cocoa); font-size: 14px;
}
.site-header.is-compact .nav-current { display: inline-flex; }
.nav-sub a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--radius-pill); color: var(--cocoa-soft); transition: background .2s ease, color .2s ease;
}
.nav-sub a:hover { background: rgba(232, 146, 116, .22); color: var(--cocoa-deep); }
.nav-sub a.is-active, .nav-sub a[aria-current="page"] { background: var(--grad); color: var(--cocoa-deep); font-weight: 700; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid rgba(60, 42, 36, .16); background: #fff;
  align-items: center; justify-content: center; position: relative;
}
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--cocoa); border-radius: 2px; position: relative;
}
.nav-toggle-lines::before { position: absolute; top: -6px; }
.nav-toggle-lines::after { position: absolute; top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
  border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--grad); color: var(--cocoa-deep); box-shadow: 0 8px 18px rgba(232, 146, 116, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(232, 146, 116, .38); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: rgba(60, 42, 36, .28); }
.btn-ghost:hover { border-color: var(--peach-deep); background: rgba(244, 199, 176, .28); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn:disabled, .is-disabled { opacity: .48; cursor: not-allowed; transform: none !important; box-shadow: none; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px;
  border-radius: var(--radius-pill); background: var(--grad); color: var(--cocoa-deep);
  font-size: 13px; font-weight: 720; line-height: 1.2;
}
.badge b { font-weight: 800; }
.badge-line { background: transparent; border: 1px solid rgba(60, 42, 36, .2); }
.section-cocoa .badge { color: var(--cocoa-deep); }

.coupon {
  display: grid; grid-template-columns: 8fr 4fr; background: var(--card);
  border-radius: var(--radius-card); box-shadow: var(--shadow); position: relative; overflow: hidden;
  border: 1px solid rgba(60, 42, 36, .06); transition: box-shadow .2s ease;
}
.coupon:hover { box-shadow: var(--shadow-hover); }
.coupon::before, .coupon::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: #F6E7DC; top: 46%; z-index: 2;
}
.coupon::before { left: -13px; }
.coupon::after { right: -13px; }
.coupon-main { padding: 32px 32px 28px; }
.metric-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.coupon-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coupon-stub {
  background: linear-gradient(180deg, #4A332C 0%, #2A1C18 100%);
  color: #FBF6EF; padding: 28px 22px; display: flex; flex-direction: column; gap: 12px;
  border-left: 1px dashed rgba(251, 246, 239, .28);
}
.stub-label { font-size: 14px; letter-spacing: .08em; color: #F4C7B0; }
.stub-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed rgba(251, 246, 239, .18); font-size: 15px;
}
.stub-row strong { font-size: 20px; font-weight: 780; }
.stub-row em { font-style: normal; color: #F4C7B0; font-size: 13px; }
.stub-note { font-size: 13px; line-height: 1.7; color: rgba(251, 246, 239, .78); margin-top: auto; }
.chip-row { display: grid; grid-template-columns: 1.4fr 1fr .78fr; gap: 14px; margin-top: 16px; }
.chip {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 92px; padding: 16px 18px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.chip span { color: var(--muted); font-size: 14px; }
.chip strong { font-size: 1.05rem; }

.entry-grid { display: grid; grid-template-columns: 1.45fr 1fr .82fr; gap: 18px; }
.entry-card, .matrix-main, .strip, .rail-item, .compare article, .zone3-item, .news-card, .guard article, .scene-main, .scene-mini, .quote, .zone-facts {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.entry-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: transform .2s ease, box-shadow .2s ease; }
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.entry-card p { color: var(--muted); }
.entry-no { font-size: 13px; color: var(--plum); font-weight: 700; }
.entry-card .btn { margin-top: auto; align-self: flex-start; }

.matrix { display: grid; gap: 16px; }
.matrix-main { padding: 28px; background: linear-gradient(160deg, #FFF9F4 0%, #F8D9C8 100%); }
.matrix-rows { display: grid; gap: 10px; margin-top: 16px; }
.matrix-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: rgba(255, 249, 244, .76); border: 1px dashed rgba(140, 90, 82, .28);
}
.matrix-strips { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.strip { padding: 20px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.strip:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.strip p { color: var(--muted); margin-top: 6px; }

.rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: #E0B09A; border-radius: 99px; }
.rail-item {
  flex: 1 0 280px; scroll-snap-align: start; padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 8px; min-height: 168px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rail-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rail-item p { color: var(--muted); }
.rail-time { font-weight: 800; font-size: 1.05rem; }

.compare, .zone3-wrap, .guard, .scenes, .convert { display: grid; gap: 18px; }
.compare { grid-template-columns: 7fr 5fr; }
.compare article, .guard article, .scene-main, .scene-mini { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.compare article:hover, .guard article:hover, .scene-main:hover, .scene-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.compare-a { background: linear-gradient(180deg, #FFF9F4, #FDE4D8); }
.compare-b { background: linear-gradient(180deg, #FFF9F4, #F8E6D4); }
.diff-list { display: grid; gap: 10px; margin-top: 14px; }
.diff-list li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.diff-list span { color: var(--muted); }

.zone3-wrap { grid-template-columns: 8fr 4fr; align-items: stretch; }
.zone3-list { display: grid; gap: 12px; }
.zone3-item {
  padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
}
.zone3-item p { color: var(--muted); }
.zone3-total {
  border-radius: var(--radius-card); background: var(--grad); color: var(--cocoa-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px;
  box-shadow: var(--shadow); min-height: 220px;
}
.zone3-total b { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; font-weight: 800; }
.zone3-total span { margin-top: 8px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px;
  background: rgba(244, 199, 176, .45);
}
.node {
  position: relative; background: #3C2A24; border-radius: 20px; padding: 22px 16px 18px; border: 1px solid rgba(244, 199, 176, .16);
}
.node-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--peach-deep);
  box-shadow: 0 0 0 4px rgba(232, 146, 116, .25); margin-bottom: 14px; position: relative; z-index: 1;
}
.node h3 { font-size: 1.02rem; margin-bottom: 6px; }
.node p { color: rgba(251, 246, 239, .78); font-size: 14px; }

.news-list { display: grid; gap: 14px; }
.news-card {
  padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); background: #FFF4EC; }
.news-card p { color: var(--muted); }
.news-card.is-feature { padding: 26px; background: linear-gradient(135deg, #FFF9F4, #F8D9C8); }
.more-wrap { margin-top: 18px; }
.more-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-btn); background: var(--cocoa); color: #FBF6EF; font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.more-link:hover { transform: translateY(-2px); background: var(--cocoa-soft); }

.guard { grid-template-columns: 7fr 5fr; }
.guard-stack { display: grid; gap: 18px; }
.guard h3 { margin: 8px 0; }
.guard p { color: var(--muted); }

.scenes { grid-template-columns: 7fr 5fr; }
.scene-main { background: linear-gradient(160deg, #FFF9F4 10%, #F6C7B4 100%); min-height: 280px; display: flex; flex-direction: column; gap: 10px; }
.scene-main .big { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.scene-side { display: grid; gap: 12px; }
.scene-mini { display: block; }
.scene-mini p, .scene-main p { color: var(--cocoa-soft); }

.quick-list { display: grid; gap: 12px; }
.quick-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
}
.q-no {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); font-weight: 800;
}
.quick-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.quick-item p { color: var(--muted); }

.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: rgba(255, 249, 244, .7); border: 1px solid var(--line); overflow: hidden; }
.faq-item[open] { background: #FDE8DF; }
.faq-item summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 18px;
  font-weight: 740; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 500; color: var(--plum); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 16px; color: var(--cocoa-soft); }

.quotes { display: grid; grid-template-columns: 1.15fr .95fr .8fr; gap: 14px; }
.quote {
  position: relative; display: block; padding: 22px 18px 16px; min-height: 180px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.quote::before, .quote::after {
  content: ""; position: absolute; width: 18px; height: 18px; background: #F7E4D8; border-radius: 50%; top: 28px;
}
.quote::before { left: -9px; }
.quote::after { right: -9px; }
.quote-text { font-size: 1.02rem; line-height: 1.7; }
.quote small { display: block; margin-top: 14px; color: var(--plum); }

.convert {
  grid-template-columns: 5fr 7fr; align-items: start;
  background: var(--card); border-radius: 28px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.zone-facts { margin-top: 16px; padding: 8px 16px; box-shadow: none; }
.zone-facts li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.zone-facts li:last-child { border-bottom: 0; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--radius-input);
  border: 1px solid rgba(60, 42, 36, .18); background: #fff; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8C5A52 50%), linear-gradient(135deg, #8C5A52 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #E0B09A; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(140, 90, 82, .15); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--plum); background: #FBF1EE; }
.hint { color: var(--muted); font-size: 13px; }
.form-msg { display: none; border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.form-msg.is-show { display: block; }
.form-msg.is-ok { background: #F8E6D4; color: var(--cocoa); border: 1px solid rgba(140, 90, 82, .2); }
.form-msg.is-err { background: #F6E4E0; color: var(--plum); border: 1px solid rgba(140, 90, 82, .35); }
.empty-state {
  border: 1px dashed rgba(140, 90, 82, .45); border-radius: var(--radius-card);
  padding: 28px; color: var(--muted); background: rgba(255, 255, 255, .45);
}

.site-footer { background: var(--cocoa-deep); color: #F6E7DF; padding-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 28px; }
.site-footer .logo { color: #FBF6EF; }
.site-footer .logo-mark { color: var(--cocoa-deep); }
.foot-label { font-weight: 760; margin-bottom: 10px; color: #F4C7B0; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(251, 246, 239, .86); }
.foot-links a:hover { color: #F4C7B0; }
.foot-brand p { color: rgba(251, 246, 239, .75); margin-top: 10px; max-width: 36em; }
.copy {
  width: min(1120px, calc(100% - 32px)); margin: 28px auto 0; padding: 16px 0 24px;
  border-top: 1px solid rgba(246, 231, 223, .15); color: rgba(246, 231, 223, .72); font-size: 14px;
}
.copy a { color: #F4C7B0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--plum); outline-offset: 2px;
}
@media (max-width: 1100px) {
  .entry-grid { grid-template-columns: 1.15fr .85fr; }
  .entry-narrow { grid-column: 1 / -1; }
  .coupon, .compare, .zone3-wrap, .guard, .scenes, .convert { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .chip-row { grid-template-columns: 1fr 1fr; }
  .chip-narrow { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .nav-toggle { display: inline-flex; }
  .site-header { grid-template-rows: auto !important; }
  .nav-sub { position: absolute; left: 0; right: 0; top: 100%; display: none; background: linear-gradient(180deg, #FBF6EF, #F6D9CC); box-shadow: 0 16px 28px rgba(90, 52, 36, .12); }
  .site-header.is-open .nav-sub { display: block; }
  .nav-sub-inner { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .nav-sub a { width: 100%; }
  .site-header.is-compact .nav-sub-inner { min-height: 0; padding: 8px 0 16px; }
  .coupon, .entry-grid, .compare, .zone3-wrap, .guard, .scenes, .convert, .matrix-strips, .chip-row, .foot-grid, .timeline, .quotes { grid-template-columns: 1fr; }
  .entry-narrow, .chip-narrow { grid-column: auto; }
  .coupon-stub { border-left: 0; border-top: 1px dashed rgba(251, 246, 239, .28); }
  .news-card, .news-card.is-feature { grid-template-columns: 1fr; }
  .matrix-row, .diff-list li { flex-direction: column; align-items: flex-start; }
  .convert { padding: 18px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 24px); }
  .logo-text { font-size: 15px; }
  .coupon-main { padding: 22px 18px; }
  .coupon-actions .btn, .entry-card .btn, .more-link { width: 100%; }
  h1 { font-size: 1.72rem; }
}
@media (max-width: 480px) {
  .nav-current { display: none !important; }
  .metric-row .badge { flex-basis: calc(50% - 8px); justify-content: center; }
  .stub-row { grid-template-columns: 48px 1fr auto; }
  .quote { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --ivory: #FBF6EF;
 --ivory-deep: #F7EDE4;
 --peach: #F4C7B0;
 --peach-deep: #E89274;
 --blush: #F6D5D0;
 --blush-deep: #F0C2BA;
 --apricot: #F8E6D4;
 --apricot-deep: #F3D7BE;
 --cocoa: #3C2A24;
 --cocoa-deep: #2A1C18;
 --cocoa-soft: #4A332C;
 --plum: #8C5A52;
 --muted: #7A655C;
 --card: #FFF9F4;
 --line: rgba(60, 42, 36, .12);
 --shadow: 0 12px 32px rgba(90, 52, 36, .1);
 --shadow-hover: 0 18px 36px rgba(90, 52, 36, .16);
 --radius-card: 24px;
 --radius-btn: 14px;
 --radius-input: 12px;
 --radius-pill: 999px;
 --space: 20px;
 --grad: linear-gradient(145deg, #F8D2C2 0%, #E89274 100%);
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.75;
 color: var(--cocoa);
 background: linear-gradient(180deg, #FBF6EF 0%, #F8E3D6 42%, #FBF6EF 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 760; }
h1 { font-size: 40px; margin-bottom: 10px; }
h2 { font-size: 30px; margin-bottom: 10px; }
h3 { font-size: 20px; margin-bottom: 6px; }
p { margin-bottom: 12px; }
.sr-only {
 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
 overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; scroll-margin-top: 96px; }
.section-white { background: rgba(255, 250, 246, .78); }
.section-apricot { background: linear-gradient(180deg, #F8E6D4 0%, #FBEFE4 100%); }
.section-blush { background: linear-gradient(180deg, #FDE8E2 0%, #FBF3EE 100%); }
.section-cocoa { background: var(--cocoa-deep); color: var(--ivory); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head h2 { margin-bottom: 10px; }
.lead { color: var(--muted); margin-bottom: 0; }
.section-cocoa .lead, .section-cocoa p { color: rgba(251, 246, 239, .84); }
.site-header {
 position: sticky; top: 0; z-index: 40;
 background: #FBF6EF;
 border-bottom: 1px solid var(--line);
 display: grid;
 grid-template-rows: auto auto;
 transition: box-shadow .2s ease, grid-template-rows .2s ease;
}
.site-header.is-compact { box-shadow: 0 8px 24px rgba(90, 52, 36, .08); grid-template-rows: auto 0fr; }
.nav-top-inner, .nav-sub-inner { display: flex; align-items: center; gap: 14px; }
.nav-top-inner { min-height: 74px; justify-content: space-between; }
.nav-sub { min-height: 0; overflow: hidden; }
.nav-sub-inner { min-height: 52px; justify-content: flex-start; flex-wrap: wrap; padding-bottom: 8px; }
.site-header.is-compact .nav-sub-inner { min-height: 0; padding: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 18px; min-height: 44px; }
.logo-mark {
 width: 42px; height: 42px; border-radius: 14px;
 display: grid; place-items: center; flex: 0 0 auto;
 background: var(--grad); color: var(--cocoa-deep); font-weight: 800;
 box-shadow: inset 0 0 0 1px rgba(60, 42, 36, .06);
}
.logo-text { line-height: 1.3; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-current {
 display: none; align-items: center; min-height: 36px; padding: 0 12px;
 border-radius: var(--radius-pill); background: var(--apricot); color: var(--cocoa); font-size: 14px;
}
.site-header.is-compact .nav-current { display: inline-flex; }
.nav-sub a {
 display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
 border-radius: var(--radius-pill); color: var(--cocoa-soft); transition: background .2s ease, color .2s ease;
}
.nav-sub a:hover { background: rgba(232, 146, 116, .22); color: var(--cocoa-deep); }
.nav-sub a.is-active, .nav-sub a[aria-current="page"] { background: var(--grad); color: var(--cocoa-deep); font-weight: 700; }
.nav-toggle {
 display: none; width: 44px; height: 44px; border-radius: 14px;
 border: 1px solid rgba(60, 42, 36, .16); background: #fff;
 align-items: center; justify-content: center; position: relative;
}
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
 content: ""; display: block; width: 18px; height: 2px; background: var(--cocoa); border-radius: 2px; position: relative;
}
.nav-toggle-lines::before { position: absolute; top: -6px; }
.nav-toggle-lines::after { position: absolute; top: 6px; }
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 6px;
 min-height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
 border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--grad); color: var(--cocoa-deep); box-shadow: 0 8px 18px rgba(232, 146, 116, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(232, 146, 116, .38); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: rgba(60, 42, 36, .28); }
.btn-ghost:hover { border-color: var(--peach-deep); background: rgba(244, 199, 176, .28); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn:disabled, .is-disabled { opacity: .48; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--peach-deep); outline-offset: 3px;
}
.badge {
 display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px;
 border-radius: var(--radius-pill); background: var(--grad); color: var(--cocoa-deep);
 font-size: 13px; font-weight: 720; line-height: 1.2;
}
.badge b { font-weight: 800; }
.badge-line { background: transparent; border: 1px solid rgba(60, 42, 36, .2); }
.section-cocoa .badge { color: var(--cocoa-deep); }
.ticket {
 position: relative;
 display: grid;
 grid-template-columns: minmax(0, 1fr) 168px;
 background: var(--card);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 border: 1px solid rgba(60, 42, 36, .08);
 overflow: hidden;
}
.ticket-main { padding: 32px 36px; }
.ticket-side {
 position: relative;
 display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
 gap: 4px; padding: 24px 22px;
 background: linear-gradient(180deg, #3C2A24 0%, #2A1C18 100%);
 color: var(--ivory);
}
.ticket-side::before {
 content: "";
 position: absolute; left: 0; top: 18px; bottom: 18px;
 border-left: 1px dashed rgba(244, 199, 176, .55);
}
.ticket-side span { color: #F4C7B0; font-size: 13px; }
.ticket-side strong { font-size: 42px; line-height: 1; font-weight: 800; }
.ticket-side em { font-style: normal; color: rgba(251, 246, 239, .78); font-size: 14px; }
.ticket::before, .ticket::after {
 content: "";
 position: absolute; width: 26px; height: 26px; border-radius: 50%;
 background: #FDE8E2; top: 50%; transform: translateY(-50%); z-index: 1;
}
.ticket::before { left: -13px; }
.ticket::after { right: 155px; }
.filter-panel {
 display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.filter-bar {
 display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; max-width: 100%;
}
.filter-btn {
 flex: 0 0 auto; min-height: 44px; padding: 0 16px;
 border-radius: var(--radius-pill); border: 1px solid rgba(60, 42, 36, .16);
 background: #fff; color: var(--cocoa-soft); font-weight: 700;
 transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.filter-btn:hover { border-color: var(--peach-deep); transform: translateY(-2px); }
.filter-btn.is-on { background: var(--grad); border-color: transparent; color: var(--cocoa-deep); }
.shown-note { margin: 0; color: var(--muted); white-space: nowrap; }
.shown-note b { color: var(--cocoa); font-size: 22px; }
.entry-list { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: stretch; }
.entry-card:nth-child(1), .entry-card:nth-child(4) { grid-column: 1 / -1; }
.entry-card {
 display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center;
 padding: 22px; background: var(--card); border: 1px solid var(--line);
 border-radius: var(--radius-card); box-shadow: var(--shadow);
 transition: transform .2s ease, box-shadow .2s ease;
}
.entry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.entry-card[hidden] { display: none; }
.entry-code {
 width: 92px; height: 92px; border-radius: 20px;
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 background: var(--grad); color: var(--cocoa-deep);
}
.entry-code b { font-size: 26px; line-height: 1; }
.entry-code span { font-size: 12px; }
.entry-body { min-width: 0; }
.entry-body a { display: inline-block; }
.entry-body a:hover { color: var(--plum); }
.clamp {
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
 overflow: hidden; color: var(--muted); margin: 0;
}
.entry-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.more-row { display: flex; justify-content: flex-end; margin-top: 18px; }
.empty-state {
 display: none; margin-top: 16px; padding: 28px; border-radius: var(--radius-card);
 background: var(--card); border: 1px dashed rgba(140, 90, 82, .45); color: var(--plum);
}
.empty-state.is-show { display: block; }
.count-row { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; }
.count-pill {
 min-height: 108px; padding: 18px 20px; border-radius: var(--radius-card);
 background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
 display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.count-pill span { color: var(--muted); font-size: 14px; }
.count-pill strong { font-size: 34px; line-height: 1.1; }
.count-pill:first-child { background: var(--grad); }
.count-pill:first-child span, .count-pill:first-child strong { color: var(--cocoa-deep); }
.path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.path-item {
 display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px;
 position: relative; padding-bottom: 18px;
}
.path-item:not(:last-child)::before {
 content: ""; position: absolute; left: 35px; top: 58px; bottom: 0;
 border-left: 1px dashed rgba(140, 90, 82, .45);
}
.path-index {
 width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
 background: var(--grad); color: var(--cocoa-deep); font-weight: 800; font-size: 20px;
 box-shadow: var(--shadow);
}
.path-card {
 background: var(--card); border-radius: var(--radius-card); border: 1px solid var(--line);
 padding: 18px 20px; box-shadow: var(--shadow);
}
.path-card p { color: var(--muted); margin-bottom: 8px; }
.scene-layout { display: grid; grid-template-columns: 1.55fr .75fr; gap: 16px; align-items: stretch; }
.scene-main, .scene-side {
 border-radius: var(--radius-card); padding: 28px;
}
.scene-main { background: rgba(255, 249, 244, .08); border: 1px solid rgba(251, 246, 239, .14); }
.scene-side { background: var(--grad); color: var(--cocoa-deep); }
.scene-side p, .scene-side h2 { color: var(--cocoa-deep); }
.scene-side h2 { font-size: 24px; }
.diff-row {
 display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center;
 padding: 12px 0; border-bottom: 1px dashed rgba(251, 246, 239, .2);
}
.scene-side .diff-row { border-bottom-color: rgba(60, 42, 36, .16); }
.diff-row strong { font-size: 18px; }
.scene-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.scene-links a {
 min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px;
 border-radius: var(--radius-pill); background: rgba(251, 246, 239, .12); color: var(--ivory);
}
.scene-links a:hover { background: rgba(251, 246, 239, .22); }
.qa { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-q {
 width: 100%; text-align: left; min-height: 58px; padding: 14px 4px;
 background: transparent; border: 0; display: flex; justify-content: space-between; gap: 12px;
 font-weight: 760; font-size: 18px;
}
.qa-q span { color: var(--plum); font-weight: 500; }
.qa-a { display: none; padding: 0 4px 16px; color: var(--cocoa-soft); background: transparent; }
.qa-item.is-open .qa-a { display: block; background: linear-gradient(180deg, #FDE8E2 0%, rgba(253, 232, 226, 0) 100%); border-radius: 12px; padding: 12px 14px 14px; }
.action-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
.form-card {
 background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
 border: 1px solid var(--line); padding: 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
 width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-input);
 border: 1px solid rgba(60, 42, 36, .18); background: #fff;
 transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--peach-deep); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(140, 90, 82, .15); }
.form-note { min-height: 1.2em; margin: 0; font-size: 13px; color: var(--muted); }
.form-note.is-error, .form-result.is-error { color: var(--plum); }
.form-result { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; }
.form-result.is-ok { color: var(--cocoa-deep); background: var(--apricot); border-radius: 12px; padding: 10px 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.site-footer { background: var(--cocoa-deep); color: var(--ivory); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 28px; }
.site-footer .logo { color: var(--ivory); }
.foot-brand p { color: rgba(251, 246, 239, .8); margin-bottom: 0; }
.foot-label { color: #F4C7B0; font-weight: 700; margin: 0 0 10px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; color: rgba(251, 246, 239, .88); }
.foot-links a:hover { color: #fff; }
.copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid rgba(251, 246, 239, .12); color: rgba(251, 246, 239, .72); }
.copy a { color: #F4C7B0; }
@media (max-width: 1100px) {
 .entry-list, .count-row, .scene-layout, .action-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
 .entry-card:nth-child(1), .entry-card:nth-child(4) { grid-column: auto; }
 .action-grid { grid-template-columns: 1fr; }
 .foot-grid { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 1024px) {
 h1 { font-size: 34px; }
 h2 { font-size: 26px; }
 .ticket-main { padding: 26px; }
 .container { width: min(1120px, calc(100% - 28px)); }
}
@media (max-width: 768px) {
 .nav-toggle { display: inline-flex; }
 .site-header, .site-header.is-compact { grid-template-rows: auto auto; box-shadow: none; }
 .nav-current { display: none !important; }
 .nav-sub { display: none; background: linear-gradient(180deg, #FBF6EF 0%, #F8E3D6 100%); }
 .site-header.is-open .nav-sub { display: block; }
 .site-header.is-open { box-shadow: 0 10px 24px rgba(90, 52, 36, .1); }
 .nav-sub-inner { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
 .nav-sub a { width: 100%; }
 .section { padding: 56px 0; }
 .ticket, .entry-list, .count-row, .scene-layout, .foot-grid { grid-template-columns: 1fr; }
 .ticket::after { display: none; }
 .ticket-side { min-height: 112px; }
 .entry-card { grid-template-columns: 72px minmax(0, 1fr); }
 .entry-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
 .filter-panel { flex-direction: column; align-items: stretch; }
 .shown-note { white-space: normal; }
 .logo { font-size: 16px; }
 .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
 .nav-tools .badge { display: none; }
 .btn-small { padding: 0 10px; }
 .ticket-main { padding: 22px 18px 18px; }
 h1 { font-size: 30px; }
 .entry-card { grid-template-columns: 1fr; }
 .entry-code { width: 72px; height: 72px; }
 .path-item { grid-template-columns: 56px minmax(0, 1fr); }
 .path-index { width: 56px; height: 56px; }
 .path-item:not(:last-child)::before { left: 27px; }
}
@media (max-width: 480px) {
 .container { width: min(1120px, calc(100% - 20px)); }
 .logo-text { font-size: 14px; max-width: 42vw; }
 .nav-top-inner { min-height: 64px; gap: 8px; }
 .section { padding: 48px 0; }
 .form-card, .scene-main, .scene-side { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
