/* roulang page: index */
:root {
  --ink: #2C2430;
  --terra: #C4622D;
  --terra-deep: #A34E22;
  --ivory: #F6F1E8;
  --sand: #EFE8DC;
  --deep: #1E1A22;
  --lime: #C6D36B;
  --text: #1C1917;
  --muted: #5C564E;
  --line: #D9D0C3;
  --paper: #FBF7F1;
  --serif: "Songti SC", "Noto Serif SC", STSong, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --radius: 6px;
  --radius-btn: 4px;
  --radius-badge: 2px;
  --shadow: 0 8px 24px rgba(44, 36, 48, 0.08);
  --shadow-hover: 0 12px 28px rgba(44, 36, 48, 0.12);
  --gap: 20px;
  --header-h: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:active { color: var(--terra-deep); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
::selection { background: var(--terra); color: var(--ivory); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  overflow-wrap: break-word;
}
h1 { font-size: 46px; letter-spacing: 0.01em; }
h2 { font-size: 32px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 12px; max-width: 68em; }
p:last-child { margin-bottom: 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-deep { background: var(--deep); color: var(--ivory); }
.section-deep h2, .section-deep h3 { color: var(--ivory); }
.section-deep .lead { color: #D9D0C3; }
.section-tight { padding: 32px 0; }
.lead { color: var(--muted); margin-bottom: 28px; max-width: 46em; }
.section-head { margin-bottom: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--ink);
  color: var(--ivory);
  border-top: 3px solid var(--terra);
  box-shadow: var(--shadow);
}
.toolbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  text-decoration: none;
  min-width: 0;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ivory); text-decoration: none; }
.logo-mark {
  width: 16px;
  height: 18px;
  display: inline-grid;
  grid-template-columns: 2px 6px 2px;
  align-items: stretch;
  flex: 0 0 auto;
}
.logo-mark i { display: block; height: 18px; background: var(--lime); }
.logo-mark i + i { background: var(--terra); }
.logo-text { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; line-height: 1; }
.logo-short { display: none; }
.nav-main { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.nav-main a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 14px;
  padding: 16px 0 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-main a:hover { color: var(--terra); text-decoration: underline; }
.nav-main a.is-active { border-bottom-color: var(--terra); color: var(--ivory); }
.tool-right { margin-left: auto; display: flex; align-items: center; gap: 12px; position: relative; flex: 0 0 auto; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--ivory); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; flex: 0 0 auto; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(246, 241, 232, 0.28);
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.icon-btn:hover { border-color: var(--terra); color: var(--terra); }
.icon-btn:active { transform: translateY(1px); }
.bell-ico {
  width: 12px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 6px 6px 3px 3px;
  position: relative;
}
.bell-ico::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -4px;
  width: 4px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: currentColor;
}
.bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--terra);
  color: var(--ivory);
  font-size: 11px;
  line-height: 16px;
  font-family: var(--mono);
}
.menu-btn {
  display: none;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(246, 241, 232, 0.28);
  border-radius: var(--radius-btn);
  color: var(--ivory);
  font-size: 14px;
}
.menu-btn:hover { border-color: var(--terra); color: var(--terra); }
.menu-btn:active { transform: translateY(1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terra); color: var(--ivory); }
.btn-primary:hover { background: var(--terra-deep); color: var(--ivory); }
.btn-primary:active { background: var(--terra-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--terra); border-color: var(--terra); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(246, 241, 232, 0.55); }
.btn-ghost-light:hover { color: var(--lime); border-color: var(--lime); }
.btn:disabled, .btn.is-disabled { opacity: 0.45; cursor: not-allowed; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 13px; }

.notice {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 60;
}
.notice[hidden] { display: none !important; }
.notice h3 { font-size: 16px; margin-bottom: 8px; }
.notice ul { list-style: none; margin: 0; padding: 0; }
.notice li { border-top: 1px solid var(--line); }
.notice a {
  display: grid;
  grid-template-columns: 4px 64px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.notice a:hover { color: var(--terra); }
.notice time { font-family: var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.bar { width: 4px; align-self: stretch; background: var(--terra); border-radius: 2px; }
.bar.z2 { background: var(--ink); }

.drawer {
  display: none;
  position: fixed;
  z-index: 45;
  inset: var(--header-h) 0 0 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 24px 40px;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}
.drawer.is-open { display: flex; }
.drawer-brand { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.drawer a {
  color: var(--ivory);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 208, 195, 0.22);
  font-size: 18px;
}
.drawer a:hover { color: var(--terra); }
.drawer a.is-active { box-shadow: inset 0 -2px 0 var(--terra); }
body.lock { overflow: hidden; }

.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.78fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.sub { font-size: 18px; color: var(--ink); margin: 8px 0 16px; max-width: 28em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.scoreboard { display: grid; gap: 16px; }
.slot {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slot-h { display: flex; align-items: center; gap: 8px; }
.slot-h strong { font-family: var(--serif); font-size: 22px; }
.slot-h time { margin-left: auto; font-family: var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.slot p { color: var(--muted); font-size: 14px; }
.slot .btn { align-self: flex-start; }

.matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--terra); color: var(--text); text-decoration: none; }
.cell:active { transform: translateY(0); }
.cell-a { grid-column: span 7; }
.cell-b { grid-column: span 5; }
.cell-c { grid-column: span 4; }
.cell-d { grid-column: span 8; }
.cell p { color: var(--muted); font-size: 15px; }
.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-badge);
  background: var(--ink);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 22px;
}
.badge-terra { background: var(--terra); }
.badge-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.compare { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 18px; }
.compare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--line);
}
.compare-head, .compare-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-head span:first-child, .compare-row .val:first-child { text-align: right; }
.compare-head span:last-child, .compare-row .val:last-child { text-align: left; }
.compare-head { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.key { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.12em; background: var(--paper); z-index: 1; padding: 4px 0; }
.val { font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat {
  padding: 8px 0 0;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lime);
  line-height: 1.1;
}
.stat span { display: block; margin-top: 8px; color: #D9D0C3; font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 22px 0 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 64px;
  right: 10px;
  height: 1px;
  background: var(--line);
}
.lane {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--terra);
  display: block;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 15px; }

.scenes { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: var(--gap); }
.scene {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 220px;
}
.scene:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.scene p { color: var(--muted); }

.wall {
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 0.97fr;
  gap: var(--gap);
  align-items: start;
}
.clip {
  display: block;
  color: var(--text);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.clip:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); text-decoration: none; }
.clip:active { transform: translateY(0); }
.clip-wide { grid-column: span 2; }
.frame {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(196, 98, 45, 0.16) 12px, rgba(196, 98, 45, 0.16) 13px),
    #E7DFD2;
}
.clip-wide .frame { aspect-ratio: 16 / 9; }
.ratio-34 .frame { aspect-ratio: 3 / 4; }
.ratio-11 .frame { aspect-ratio: 1 / 1; }
.frame-no {
  position: absolute;
  left: 14px;
  top: 8px;
  font-family: var(--serif);
  font-size: 42px;
  letter-spacing: 0.06em;
  color: rgba(44, 36, 48, 0.2);
}
.frame-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-badge);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
}
.clip-body { padding: 14px 14px 16px; }
.clip-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.clip-body p { color: var(--muted); font-size: 14px; }

.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a {
  display: grid;
  grid-template-columns: 92px 4px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
}
.news a:hover { color: var(--terra); }
.news time { font-family: var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.news a:hover time { color: var(--terra); }

.order-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius);
}
.order-bar h3 { margin: 0 0 4px; font-size: 26px; }
.order-bar p { margin: 0; color: var(--muted); }

.mark-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mark-row span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-badge);
  background: var(--paper);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}
.acc-btn:hover { color: var(--terra); }
.acc-ico { width: 16px; height: 16px; position: relative; flex: 0 0 auto; }
.acc-ico::before, .acc-ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
}
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico::after { display: none; }
.acc-panel { padding: 0 0 16px; color: var(--muted); }
.acc-panel[hidden] { display: none !important; }
.acc-panel p { max-width: 48em; }

.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.assure li {
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 92px;
}
.assure { margin: 0; padding: 0; }
.assure strong { display: block; font-family: var(--serif); margin-bottom: 6px; }
.assure span { color: var(--muted); font-size: 14px; }

.resume-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--deep);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.resume-main { display: flex; align-items: center; gap: 12px; }
.resume-main strong { font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.resume-main p { margin: 0; color: #D9D0C3; }
.resume-copy { display: flex; flex-direction: column; gap: 2px; }

.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 36px; align-items: start; }
.point-list { list-style: none; margin: 16px 0 0; padding: 0; }
.point-list li {
  padding: 10px 0 10px 12px;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--terra);
}
.point-list li:nth-child(even) { border-left-color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--ivory);
  padding: 0 12px;
  color: var(--text);
}
textarea { height: auto; min-height: 120px; padding: 12px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #B7AA9A; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--terra); border-color: var(--terra); }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--terra) 50%), linear-gradient(135deg, var(--terra) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot p { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { background: var(--deep); color: var(--ivory); padding: 48px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: var(--ivory); font-size: 16px; }
.site-footer p, .site-footer li { color: #D9D0C3; font-size: 14px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--terra); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 208, 195, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #D9D0C3;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .nav-main { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .tool-right .btn-primary { display: none; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .cell-a, .cell-b { grid-column: span 6; }
  .cell-c { grid-column: span 5; }
  .cell-d { grid-column: span 7; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scene:last-child { grid-column: span 2; }
  .wall { grid-template-columns: 1fr 1fr; }
  .clip-wide { grid-column: span 2; }
  .contact-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 38px; }
}
@media (max-width: 720px) {
  .logo-full { display: none; }
  .logo-short { display: inline; }
  .status-label { display: none; }
  .section { padding: 36px 0; }
  .hero { padding: 28px 0 36px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .matrix, .stats, .steps, .scenes, .wall, .assure, .contact-grid, .foot-grid, .form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cell, .cell-a, .cell-b, .cell-c, .cell-d, .clip, .clip-wide, .scene, .scene:last-child { grid-column: auto; }
  .compare::before { display: none; }
  .compare-head, .compare-row { grid-template-columns: 1fr; gap: 4px; }
  .compare-head span, .compare-row .val, .key { text-align: left; }
  .step { padding: 0 0 22px 16px; border-left: 1px solid var(--line); }
  .step::after { display: none; }
  .order-bar, .resume-bar, .legal { flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 40px; letter-spacing: 0.08em; }
  .notice { position: fixed; top: calc(var(--header-h) + 8px); right: 16px; left: 16px; width: auto; }
  .news a { grid-template-columns: 72px 4px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .hero-actions, .form-foot { width: 100%; }
  .hero-actions .btn, .slot .btn, .order-bar .btn, .resume-bar .btn { width: 100%; }
  .toolbar { gap: 10px; }
  .logo-text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --ink: #2C2430;
 --terra: #C4622D;
 --terra-deep: #A34E22;
 --ivory: #F6F1E8;
 --sand: #EFE8DC;
 --deep: #1E1A22;
 --lime: #C6D36B;
 --text: #1C1917;
 --muted: #5C564E;
 --line: #D9D0C3;
 --paper: #FBF7F1;
 --serif: "Songti SC", "Noto Serif SC", STSong, serif;
 --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
 --radius: 6px;
 --radius-btn: 4px;
 --radius-badge: 2px;
 --shadow: 0 8px 24px rgba(44, 36, 48, 0.08);
 --shadow-hover: 0 12px 28px rgba(44, 36, 48, 0.12);
 --gap: 20px;
 --header-h: 56px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--ivory);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:active { color: var(--terra-deep); }
h1, h2, h3 {
 font-family: var(--serif);
 font-weight: 700;
 line-height: 1.25;
 color: var(--ink);
 margin: 0 0 12px;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-deep { background: var(--deep); color: var(--ivory); }
.section-deep h2, .section-deep h3 { color: var(--ivory); }
.section-deep .lead { color: #D9D0C3; }
.section-tight { padding: 32px 0; }
.lead { color: var(--muted); margin-bottom: 28px; max-width: 46em; }
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 height: var(--header-h);
 background: var(--ink);
 color: var(--ivory);
 border-top: 3px solid var(--terra);
 box-shadow: var(--shadow);
}
.toolbar {
 height: var(--header-h);
 display: flex;
 align-items: center;
 gap: 18px;
}
.logo {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--ivory);
 text-decoration: none;
 min-width: 0;
 flex: 0 0 auto;
}
.logo:hover { color: var(--ivory); text-decoration: none; }
.logo-mark {
 width: 16px;
 height: 18px;
 display: inline-grid;
 grid-template-columns: 2px 8px 2px;
 align-items: stretch;
 flex: 0 0 auto;
}
.logo-mark i { display: block; height: 18px; }
.logo-mark i:first-child { grid-column: 1; background: var(--lime); }
.logo-mark i:last-child { grid-column: 3; background: var(--terra); }
.logo-text, .logo-short { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; line-height: 1; }
.logo-short { display: none; }
.nav-main { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.nav-main a {
 color: var(--ivory);
 text-decoration: none;
 font-size: 14px;
 padding: 16px 0 14px;
 border-bottom: 2px solid transparent;
 white-space: nowrap;
}
.nav-main a:hover { color: var(--terra); text-decoration: underline; }
.nav-main a.is-active { border-bottom-color: var(--terra); color: var(--ivory); }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--ivory); font-size: 13px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: block; }
.icon-btn {
 width: 36px;
 height: 36px;
 border-radius: var(--radius-btn);
 border: 1px solid rgba(246, 241, 232, 0.28);
 color: var(--ivory);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 position: relative;
}
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.icon-btn:hover { border-color: var(--terra); color: var(--terra); }
.icon-btn:active { transform: translateY(1px); }
.bubble {
 position: absolute;
 top: -4px;
 right: -4px;
 min-width: 16px;
 height: 16px;
 padding: 0 4px;
 border-radius: 8px;
 background: var(--terra);
 color: var(--ivory);
 font-size: 10px;
 line-height: 16px;
 text-align: center;
 font-family: var(--mono);
}
.menu-btn {
 display: none;
 height: 36px;
 padding: 0 12px;
 border: 1px solid rgba(246, 241, 232, 0.28);
 border-radius: var(--radius-btn);
 color: var(--ivory);
 font-size: 14px;
}
.menu-btn:hover { border-color: var(--terra); color: var(--terra); }
.menu-btn:active { transform: translateY(1px); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 40px;
 padding: 0 16px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 font-size: 14px;
 font-weight: 700;
 line-height: 1;
 text-decoration: none;
 transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terra); color: var(--ivory); }
.btn-primary:hover { background: var(--terra-deep); color: var(--ivory); }
.btn-primary:active { background: var(--terra-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--terra); border-color: var(--terra); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(246, 241, 232, 0.55); }
.btn-ghost-light:hover { color: var(--lime); border-color: var(--lime); }
.btn:disabled, .btn.is-disabled { opacity: 0.45; cursor: not-allowed; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.notice {
 display: none;
 position: fixed;
 z-index: 60;
 top: 64px;
 right: 20px;
 width: 320px;
 max-width: calc(100vw - 24px);
 background: var(--paper);
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow-hover);
 padding: 8px 14px 12px;
}
.notice.is-open { display: block; }
.notice h2 { font-size: 16px; margin: 8px 0; }
.notice a {
 display: grid;
 grid-template-columns: 4px 72px 1fr;
 gap: 8px;
 align-items: center;
 padding: 8px 0;
 color: var(--ink);
 text-decoration: none;
 font-size: 13px;
 border-top: 1px solid var(--line);
}
.notice a:hover { color: var(--terra); }
.notice i {
 width: 4px;
 height: 18px;
 background: var(--terra);
 display: block;
}
.notice time { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.drawer {
 display: none;
 position: fixed;
 z-index: 45;
 inset: var(--header-h) 0 0 0;
 background: var(--ink);
 color: var(--ivory);
 padding: 28px 24px 40px;
 flex-direction: column;
 gap: 6px;
 overflow: auto;
}
.drawer.is-open { display: flex; }
.drawer-brand { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.drawer a {
 color: var(--ivory);
 text-decoration: none;
 padding: 14px 0;
 border-bottom: 1px solid rgba(217, 208, 195, 0.22);
 font-size: 18px;
}
.drawer a:hover { color: var(--terra); }
.drawer a.is-active { box-shadow: inset 0 -2px 0 var(--terra); }
body.lock { overflow: hidden; }
.badge {
 display: inline-flex;
 align-self: flex-start;
 align-items: center;
 min-height: 22px;
 padding: 0 8px;
 border-radius: var(--radius-badge);
 background: var(--ink);
 color: var(--ivory);
 font-size: 12px;
 letter-spacing: 0.06em;
 line-height: 1;
}
.badge-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.badge-terra { background: var(--terra); color: var(--ivory); }
.cat-head {
 background: var(--ivory);
 border-top: 3px solid var(--terra);
 padding: 28px 0 22px;
}
.cat-head h1 { margin-bottom: 8px; }
.subline { margin: 0; color: var(--muted); font-size: 15px; max-width: 68em; }
.filter-line { display: flex; align-items: center; gap: 18px; }
.filter-line h2 { font-size: 20px; margin: 0; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
 min-height: 36px;
 padding: 0 14px;
 border-radius: var(--radius);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 font-size: 14px;
 transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip:active { transform: translateY(1px); }
.chip.is-on { border-color: var(--terra); color: var(--terra); box-shadow: inset 0 0 0 1px var(--terra); }
.catalog-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.62fr) minmax(240px, 0.9fr);
 gap: var(--gap);
 align-items: start;
}
.row {
 display: grid;
 grid-template-columns: 168px minmax(0, 1fr);
 gap: 14px;
 padding: 14px;
 margin-bottom: 12px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-left: 4px solid var(--terra);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.row:hover { border-color: var(--terra); box-shadow: var(--shadow-hover); }
.row[hidden] { display: none; }
.thumb {
 position: relative;
 aspect-ratio: 16 / 9;
 background: var(--deep);
 border-radius: var(--radius);
 overflow: hidden;
}
.thumb::before, .thumb::after {
 content: "";
 position: absolute;
 left: 12px;
 right: 12px;
 height: 1px;
 background: rgba(246, 241, 232, 0.38);
}
.thumb::before { top: 34%; }
.thumb::after { top: 66%; background: var(--terra); }
.thumb span {
 position: absolute;
 left: 12px;
 bottom: 8px;
 color: var(--lime);
 font-family: var(--mono);
 font-size: 12px;
 letter-spacing: 0.08em;
}
.row-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.row-body h3 { font-size: 18px; margin: 0; }
.row-body h3 a { color: var(--ink); text-decoration: none; }
.row-body h3 a:hover { color: var(--terra); text-decoration: underline; }
.row-body p { margin: 0; color: var(--muted); font-size: 14px; max-width: 68em; }
.row-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-meta time, .mono { font-family: var(--mono); color: var(--muted); font-size: 13px; letter-spacing: 0.03em; }
.more-row { display: flex; justify-content: flex-start; padding-top: 6px; }
.side {
 position: sticky;
 top: 76px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 16px 8px;
}
.side-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.side-top h2 { font-size: 22px; margin: 0; }
.side-count { font-family: var(--mono); color: var(--terra); font-size: 20px; font-weight: 700; }
.side a {
 display: grid;
 grid-template-columns: 4px 1fr;
 gap: 10px;
 padding: 12px 0;
 border-top: 1px solid var(--line);
 color: var(--ink);
 text-decoration: none;
}
.side a:hover { color: var(--terra); }
.side a i { width: 4px; background: var(--terra); display: block; }
.side strong { display: block; font-weight: 700; font-size: 15px; }
.side em { display: block; font-style: normal; color: var(--muted); font-size: 12px; font-family: var(--mono); }
.read-grid { display: grid; grid-template-columns: 40fr 35fr 25fr; gap: var(--gap); }
.read-card {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 18px 16px;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.read-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.lane {
 font-family: var(--mono);
 color: var(--terra);
 font-size: 13px;
 letter-spacing: 0.08em;
 display: block;
 margin-bottom: 8px;
}
.read-card p { margin: 0; color: var(--muted); font-size: 14px; }
.rel-list { border-top: 1px solid var(--line); }
.rel-list a {
 display: grid;
 grid-template-columns: 92px minmax(0, 1fr) auto;
 gap: 12px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
 text-decoration: none;
}
.rel-list a:hover { color: var(--terra); }
.rel-list time { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.rel-list b { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.rel-go { color: var(--terra); font-size: 13px; white-space: nowrap; }
.scale {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 position: relative;
 margin-top: 12px;
}
.scale::before {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 top: 22px;
 height: 1px;
 background: rgba(217, 208, 195, 0.45);
}
.scale article { position: relative; padding: 48px 18px 0 0; }
.scale article::before {
 content: "";
 position: absolute;
 top: 16px;
 left: 0;
 width: 12px;
 height: 12px;
 border: 2px solid var(--terra);
 border-radius: 50%;
 background: var(--deep);
}
.scale .mono { color: var(--lime); display: block; margin-bottom: 6px; }
.scale h3 { font-size: 22px; color: var(--ivory); margin-bottom: 6px; }
.scale p { margin: 0; color: #D9D0C3; max-width: 16em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
 width: 100%;
 min-height: 56px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 text-align: left;
 font-family: var(--serif);
 font-size: 18px;
 font-weight: 700;
 color: var(--ink);
 padding: 8px 0;
}
.faq-q:hover { color: var(--terra); }
.faq-ico { width: 16px; height: 16px; position: relative; flex: 0 0 auto; }
.faq-ico::before, .faq-ico::after {
 content: "";
 position: absolute;
 background: currentColor;
}
.faq-ico::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq-ico::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq-item.is-open .faq-ico::after { display: none; }
.faq-panel { display: none; padding: 0 0 16px; color: var(--muted); max-width: 68em; }
.faq-item.is-open .faq-panel { display: block; }
.back-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 padding: 22px 24px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.back-bar h2 { margin-bottom: 6px; }
.back-bar p { margin: 0; color: var(--muted); }
.site-footer { background: var(--ink); color: var(--ivory); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h3 { color: var(--ivory); font-size: 16px; }
.site-footer p, .site-footer li { color: #D9D0C3; font-size: 14px; }
.site-footer a { color: #D9D0C3; }
.site-footer a:hover { color: var(--terra); }
.site-footer li { margin: 8px 0; }
.legal {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid rgba(217, 208, 195, 0.25);
 display: flex;
 justify-content: space-between;
 gap: 12px;
 color: #D9D0C3;
 font-size: 13px;
}
@media (max-width: 1100px) {
 .section { padding: 48px 0; }
 .nav-main { display: none; }
 .menu-btn { display: inline-flex; align-items: center; }
 .catalog-grid { grid-template-columns: 1fr; }
 .side { position: static; }
}
@media (max-width: 1024px) {
 .read-grid { grid-template-columns: 1fr 1fr; }
 .read-card:last-child { grid-column: 1 / -1; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .filter-line { flex-direction: column; align-items: flex-start; }
 .scale { grid-template-columns: 1fr; gap: 8px; }
 .scale::before { display: none; }
 .rel-list a { grid-template-columns: 72px minmax(0, 1fr); }
 .rel-go { display: none; }
 .back-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
 .section { padding: 36px 0; }
 .logo-text { display: none; }
 .logo-short { display: inline; }
 .status-label { display: none; }
 h1 { font-size: 32px; }
 h2 { font-size: 24px; }
 .row { grid-template-columns: 1fr; }
 .read-grid, .foot-grid { grid-template-columns: 1fr; }
 .legal { flex-direction: column; }
}
@media (max-width: 520px) {
 .container { width: min(1120px, calc(100% - 24px)); }
 .toolbar { gap: 8px; }
 .btn-enter { padding: 0 8px; }
 .cat-head { padding: 22px 0 16px; }
 h1 { font-size: 28px; }
 .notice { right: 12px; left: 12px; width: auto; }
}
