/* roulang page: index */
:root {
  --plum: #5C2A45;
  --rose: #D7A3B3;
  --moon: #F3EEE8;
  --pine: #6E8F86;
  --pine-line: rgba(110, 143, 134, .3);
  --coral: #C85A45;
  --coral-deep: #A34534;
  --bg-0: #140F14;
  --bg-1: #241820;
  --panel: #2C2230;
  --panel-2: #241C2A;
  --ink: #F6F1EA;
  --muted: #CBBFC6;
  --shadow: 0 12px 32px rgba(20, 8, 16, .45);
  --radius: 4px;
  --btn-radius: 2px;
  --gap: 18px;
  --section-y: 72px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 163, 179, .07) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 30%, rgba(215, 163, 179, .05) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 76%, rgba(110, 143, 134, .05) 0 2px, transparent 3px),
    radial-gradient(ellipse at 88% 88%, rgba(92, 42, 69, .35), transparent 46%);
  background-size: 180px 180px, 240px 240px, 200px 200px, auto;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--moon); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--moon);
}
p { margin: 0 0 12px; color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { background: #120d12; border-bottom: 1px solid var(--pine-line); }
.info-bar {
  min-height: 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--pine-line);
}
.info-bar .domain { justify-self: start; letter-spacing: .04em; }
.info-bar .age { color: var(--moon); }
.info-bar .text-btn { justify-self: end; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.logo {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--moon);
  max-width: 340px;
}
.logo:hover { text-decoration: none; color: var(--rose); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; width: 44px; height: 40px; border: 1px solid var(--pine-line); border-radius: var(--btn-radius); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle-label span { display: block; width: 18px; height: 1px; background: var(--moon); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 8px 12px; color: var(--muted); border-radius: var(--btn-radius); }
.main-nav a:hover { color: var(--moon); text-decoration: underline; text-decoration-color: var(--rose); }
.main-nav a.active { color: var(--moon); background: var(--plum); text-decoration: none; }
.text-btn { color: var(--coral); background: transparent; border: 0; padding: 0; cursor: pointer; }
a.text-btn:hover { color: var(--moon); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--coral);
  background: var(--coral);
  color: var(--moon);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--coral-deep); border-color: var(--moon); text-decoration: none; color: var(--moon); }
.btn:active { background: #8d3b2d; }
.btn-line { background: transparent; color: var(--moon); border-color: var(--pine-line); }
.btn-line:hover { background: var(--plum); border-color: var(--moon); }
.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--pine-line);
  border-radius: var(--btn-radius);
  color: var(--rose);
  font-size: 12px;
  letter-spacing: .04em;
}
.section { padding: var(--section-y) 0; }
.section:nth-of-type(even) { background: rgba(36, 24, 32, .72); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head p { margin-bottom: 0; }
.frame { position: relative; background: var(--panel); border: 1px solid var(--pine-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.frame::before, .frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-color: rgba(110, 143, 134, .55);
  border-style: solid;
}
.frame::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.frame::after { right: 6px; bottom: 6px; border-width: 0 1px 1px 0; }
.board { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: stretch; }
.board-intro { grid-column: span 7; padding: 36px 32px; }
.board-intro h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.stat { padding: 22px 20px; }
.stat strong { display: block; font-family: "Songti SC", "STSong", serif; font-size: 40px; line-height: 1.1; color: var(--moon); font-weight: 600; }
.stat span { color: var(--muted); font-size: 14px; }
.stat-main { grid-column: span 5; }
.stat-a { grid-column: span 4; }
.stat-b { grid-column: span 4; }
.stat-c { grid-column: span 4; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip { padding: 8px 12px; background: #201822; border: 1px solid var(--pine-line); border-radius: var(--radius); color: var(--muted); font-size: 13px; }
.week-grid { display: grid; grid-template-columns: 1.25fr .9fr .75fr; gap: var(--gap); }
.card { padding: 20px 18px 18px; transition: border-color .2s ease; }
.card:hover { border-color: rgba(243, 238, 232, .72); }
.card h3 { font-size: 22px; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--rose); font-size: 13px; margin-bottom: 8px; }
.card p { min-height: 56px; }
.card .more { color: var(--coral); font-size: 14px; }
.week-grid .card:nth-child(2) { margin-top: 28px; }
.week-grid .card:nth-child(4) { margin-top: 36px; }
.matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.matrix article { padding: 24px 22px; }
.m1 { grid-column: span 7; }
.m2 { grid-column: span 5; }
.m3, .m4, .m5 { grid-column: span 4; }
.matrix h3 { font-size: 24px; }
.topic-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.topic { min-height: 180px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.topic.big { min-height: 280px; }
.t1 { grid-column: span 7; }
.t2 { grid-column: span 5; }
.t3, .t4, .t5 { grid-column: span 4; }
.topic a { color: var(--coral); }
.compare { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 28px; align-items: stretch; }
.compare .vline { background: var(--pine-line); }
.compare article { padding: 8px 8px 0; }
.compare h3 { font-size: 26px; }
.scene-row { display: grid; grid-template-columns: 1.2fr .9fr 1fr; border: 1px solid var(--pine-line); border-radius: var(--radius); overflow: hidden; }
.scene-row a { display: block; padding: 28px 24px; background: var(--panel); border-right: 1px solid var(--pine-line); min-height: 220px; }
.scene-row a:last-child { border-right: 0; }
.scene-row a:hover { text-decoration: none; border-color: var(--moon); background: #342838; }
.scene-row h3 { font-size: 24px; }
.timeline { margin: 0; padding: 0 0 0 8px; list-style: none; border-left: 1px solid rgba(110, 143, 134, .45); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(200, 90, 69, .2); }
.timeline time { color: var(--rose); font-size: 13px; }
.gates { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; border: 1px solid var(--pine-line); border-radius: var(--radius); overflow: hidden; }
.gates a { display: flex; flex-direction: column; justify-content: space-between; padding: 36px 32px; background: var(--panel); color: var(--ink); }
.gates a + a { border-left: 1px solid var(--pine-line); background: #261C28; }
.gates a:hover { text-decoration: none; background: #3a2834; }
.gates h3 { font-size: 32px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pine-line); }
.news-list li { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--pine-line); }
.news-list a { font-size: 18px; }
.news-list time { color: var(--muted); font-size: 14px; }
.more-line { margin-top: 18px; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wall article { padding: 16px; }
.wall h3 { font-size: 18px; }
.guard { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.guard article { padding: 22px 18px; }
.icon { width: 36px; height: 36px; margin-bottom: 12px; }
.device-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.device-grid article { padding: 28px 26px; }
.qa { display: grid; grid-template-columns: 1fr; gap: 12px; }
.qa article { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 18px 20px; background: var(--panel-2); border-left: 3px solid var(--plum); }
.qa h3 { margin: 0; font-size: 18px; }
.faq details { border-bottom: 1px solid var(--pine-line); background: transparent; }
.faq summary { cursor: pointer; padding: 16px 8px; font-size: 18px; color: var(--moon); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-family: "Songti SC", serif; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 8px 16px; }
.quotes { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: var(--gap); }
.quotes blockquote { margin: 0; padding: 24px 22px; background: var(--panel); border-radius: var(--radius); border: 1px solid var(--pine-line); border-left: 3px solid var(--coral); }
.quotes footer { color: var(--rose); font-size: 13px; }
.form-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 32px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields label, .full { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
.full { grid-column: 1 / -1; }
input, select { width: 100%; background: #1A141C; border: 1px solid var(--pine-line); border-radius: var(--btn-radius); min-height: 42px; padding: 8px 10px; }
input:hover, select:hover { border-color: var(--rose); }
.site-footer { background: #0d0a0e; border-top: 1px solid var(--pine-line); padding: 36px 0 28px; position: relative; z-index: 1; }
.foot { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.foot small { color: var(--muted); display: block; }
.foot nav { display: flex; gap: 16px; }
@media (max-width: 1024px) {
  .board-intro, .stat-main, .stat-a, .stat-b, .stat-c { grid-column: span 6; }
  .week-grid, .wall, .guard { grid-template-columns: 1fr 1fr; }
  .week-grid .card:nth-child(2), .week-grid .card:nth-child(4) { margin-top: 0; }
  .m1, .m2, .m3, .m4, .m5, .t1, .t2, .t3, .t4, .t5 { grid-column: span 6; }
  .scene-row, .device-grid, .form-panel, .quotes { grid-template-columns: 1fr 1fr; }
  .scene-row a:last-child { grid-column: 1 / -1; border-top: 1px solid var(--pine-line); }
  .qa article { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-y: 40px; }
  .info-bar { grid-template-columns: 1fr; justify-items: start; padding: 8px 0; }
  .info-bar .text-btn { justify-self: start; }
  .nav-toggle-label { display: flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #120d12; border-bottom: 1px solid var(--pine-line); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; z-index: 5; }
  .nav-bar { position: relative; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-toggle-label { outline: 2px solid var(--rose); }
  .board-intro, .stat-main, .stat-a, .stat-b, .stat-c,
  .m1, .m2, .m3, .m4, .m5, .t1, .t2, .t3, .t4, .t5 { grid-column: span 12; }
  .week-grid, .wall, .guard, .scene-row, .device-grid, .form-panel, .quotes, .gates, .compare, .fields { grid-template-columns: 1fr; }
  .compare .vline { height: 1px; width: 100%; }
  .gates a + a { border-left: 0; border-top: 1px solid var(--pine-line); }
  .scene-row a { border-right: 0; border-bottom: 1px solid var(--pine-line); }
  .news-list li { grid-template-columns: 1fr; gap: 4px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .logo { font-size: 16px; }
}
@media (max-width: 520px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .board-intro, .form-panel, .gates a { padding: 22px 16px; }
  .stat strong { font-size: 32px; }
  .btn { width: 100%; }
}

/* roulang page: category1 */
:root {
 --plum: #5C2A45;
 --rose: #D7A3B3;
 --moon: #F3EEE8;
 --pine: #6E8F86;
 --pine-line: rgba(110, 143, 134, .3);
 --coral: #C85A45;
 --coral-deep: #A34534;
 --bg-0: #140F14;
 --bg-1: #241820;
 --panel: #2C2230;
 --panel-2: #241C2A;
 --ink: #F6F1EA;
 --muted: #CBBFC6;
 --shadow: 0 12px 32px rgba(20, 8, 16, .45);
 --radius: 4px;
 --btn-radius: 2px;
 --gap: 18px;
 --section-y: 72px;
 --max: 1180px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
 min-height: 100vh;
}
body::before {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 0;
 background:
 radial-gradient(circle at 12% 18%, rgba(215, 163, 179, .07) 0 2px, transparent 3px),
 radial-gradient(circle at 78% 30%, rgba(215, 163, 179, .05) 0 3px, transparent 4px),
 radial-gradient(circle at 30% 76%, rgba(110, 143, 134, .05) 0 2px, transparent 3px),
 radial-gradient(ellipse at 88% 88%, rgba(92, 42, 69, .35), transparent 46%);
 background-size: 180px 180px, 240px 240px, 200px 200px, auto;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--moon); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--rose);
 outline-offset: 2px;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { background: #120d12; border-bottom: 1px solid var(--pine-line); }
.info-bar {
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 align-items: center;
 min-height: 36px;
 gap: 12px;
 font-size: 13px;
 color: var(--muted);
 border-bottom: 1px solid var(--pine-line);
}
.info-bar .domain { justify-self: start; letter-spacing: .04em; }
.info-bar .age { text-align: center; }
.info-bar .text-btn { justify-self: end; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; position: relative; }
.logo {
 font-family: "Songti SC", "STSong", "SimSun", serif;
 font-size: 20px;
 line-height: 1.3;
 color: var(--moon);
 max-width: 340px;
}
.logo:hover { text-decoration: none; color: var(--rose); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
 display: none;
 width: 44px;
 height: 40px;
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 align-items: center;
 justify-content: center;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
}
.nav-toggle-label span { display: block; width: 18px; height: 1px; background: var(--moon); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 8px 12px; color: var(--muted); border-radius: var(--btn-radius); }
.main-nav a:hover { color: var(--moon); text-decoration: underline; text-decoration-color: var(--rose); }
.main-nav a.active { color: var(--moon); background: var(--plum); text-decoration: none; }
.text-btn { color: var(--coral); background: transparent; border: 0; padding: 0; cursor: pointer; }
a.text-btn:hover { color: var(--moon); }
h1, h2, h3 { font-family: "Songti SC", "STSong", "SimSun", serif; line-height: 1.3; font-weight: 500; margin: 0 0 12px; }
h1 { font-size: 40px; color: var(--moon); }
h2 { font-size: 30px; color: var(--moon); }
h3 { font-size: 22px; color: var(--ink); }
p { margin: 0 0 12px; color: var(--muted); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 40px;
 padding: 8px 16px;
 border-radius: var(--btn-radius);
 border: 1px solid var(--coral);
 background: var(--coral);
 color: var(--moon);
 cursor: pointer;
 transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--coral-deep); border-color: var(--moon); text-decoration: none; color: var(--moon); }
.btn:active { background: #8d3b2d; }
.btn-line { background: transparent; color: var(--moon); border-color: var(--pine-line); }
.btn-line:hover { background: var(--plum); border-color: var(--moon); }
.tag {
 display: inline-block;
 padding: 2px 8px;
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 color: var(--rose);
 font-size: 12px;
 letter-spacing: .04em;
}
.section { padding: var(--section-y) 0; }
.section:nth-of-type(even) { background: rgba(36, 24, 32, .72); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head p { margin-bottom: 0; }
.panel {
 position: relative;
 background: var(--panel);
 border: 1px solid var(--pine-line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.panel::before, .panel::after {
 content: "";
 position: absolute;
 width: 14px;
 height: 14px;
 pointer-events: none;
 border-color: rgba(215, 163, 179, .45);
 border-style: solid;
}
.panel::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.panel::after { right: 6px; bottom: 6px; border-width: 0 1px 1px 0; }
.cat-head {
 display: grid;
 grid-template-columns: 1.4fr .8fr;
 gap: 28px;
 align-items: end;
}
.cat-copy p { font-size: 17px; max-width: 640px; }
.filter-board { padding: 18px 18px 8px; }
.filter-board h2 { font-size: 18px; margin-bottom: 14px; }
.filter-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.filter-line b { color: var(--rose); font-size: 13px; font-weight: 500; min-width: 42px; }
.chip {
 padding: 6px 10px;
 background: #201822;
 border: 1px solid var(--pine-line);
 border-radius: var(--radius);
 color: var(--muted);
 font-size: 13px;
}
.chip.on { color: var(--moon); border-color: var(--rose); background: var(--plum); }
.entry-grid {
 display: grid;
 grid-template-columns: 1.15fr .85fr;
 gap: 28px 22px;
}
.entry { padding: 22px 20px 18px; transition: border-color .2s ease; }
.entry:hover { border-color: rgba(243, 238, 232, .72); }
.entry:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8px 28px; align-items: end; }
.entry:nth-child(3) h3 { grid-column: 1; }
.entry:nth-child(3) .rows { grid-column: 1; }
.entry:nth-child(3) .more { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; }
.rows { display: grid; gap: 6px; margin: 8px 0 14px; }
.rows span { display: block; color: var(--muted); font-size: 14px; border-bottom: 1px solid rgba(110, 143, 134, .18); padding-bottom: 6px; }
.rows em { font-style: normal; color: var(--rose); margin-right: 8px; }
.more { color: var(--coral); font-size: 14px; }
.list-foot { margin-top: 22px; }
.guide-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 18px; }
.guide-main, .guide-side a { display: block; padding: 28px 24px; color: var(--ink); }
.guide-main:hover, .guide-side a:hover { text-decoration: none; border-color: rgba(243, 238, 232, .72); }
.guide-side { display: grid; gap: 18px; }
.guide-main .tag, .guide-side .tag { margin-bottom: 12px; }
.kicker { color: var(--rose); font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--pine-line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
 content: "";
 position: absolute;
 left: -5px;
 top: 8px;
 width: 9px;
 height: 9px;
 background: var(--coral);
 border-radius: 50%;
 box-shadow: 0 0 0 4px rgba(200, 90, 69, .2);
}
.timeline time { display: block; color: var(--rose); font-size: 13px; }
.timeline strong { display: block; color: var(--moon); font-size: 18px; font-family: "Songti SC", "STSong", "SimSun", serif; font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; }
.split .col { padding: 28px 26px; }
.split .rule { background: var(--pine-line); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.scene-row { display: grid; grid-template-columns: 1.15fr .9fr 1fr; border: 1px solid var(--pine-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.scene-row a { display: block; padding: 28px 24px; background: var(--panel); border-right: 1px solid var(--pine-line); min-height: 210px; color: var(--ink); position: relative; }
.scene-row a:last-child { border-right: 0; }
.scene-row a:hover { text-decoration: none; background: #342838; }
.scene-row h3 { font-size: 24px; }
.qa { display: grid; gap: 12px; }
.qa article { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 16px 18px; background: var(--panel-2); border: 1px solid var(--pine-line); border-radius: var(--radius); }
.qa h3 { font-size: 18px; margin: 0; color: var(--rose); }
.qa p { margin: 0; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pine-line); }
.news-list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--pine-line); }
.news-list time { color: var(--rose); font-size: 14px; }
.news-list a { font-size: 18px; }
.news-list span { color: var(--muted); font-size: 13px; }
.site-footer { background: #0d0a0e; border-top: 1px solid var(--pine-line); padding: 36px 0 28px; }
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 18px; }
.foot small { display: block; color: var(--muted); }
.foot nav { display: flex; gap: 18px; }
.site-footer .wrap > small { color: var(--muted); }
@media (max-width: 1024px) {
 .cat-head, .guide-grid, .split, .entry-grid { grid-template-columns: 1fr 1fr; }
 .split { grid-template-columns: 1fr; }
 .split .rule { height: 1px; width: 100%; }
 .entry:nth-child(3) { grid-column: auto; display: block; }
 .entry:nth-child(3) .more { justify-self: start; }
 .scene-row { grid-template-columns: 1fr 1fr; }
 .scene-row a:last-child { grid-column: 1 / -1; border-top: 1px solid var(--pine-line); }
 .qa article { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 768px) {
 :root { --section-y: 40px; }
 .wrap { width: min(var(--max), calc(100% - 28px)); }
 .info-bar { grid-template-columns: 1fr; justify-items: start; padding: 8px 0; }
 .info-bar .age, .info-bar .text-btn { justify-self: start; text-align: left; }
 .nav-toggle-label { display: flex; }
 .main-nav {
 display: none;
 position: absolute;
 left: 0;
 right: 0;
 top: 100%;
 flex-direction: column;
 align-items: stretch;
 background: #120d12;
 border-bottom: 1px solid var(--pine-line);
 padding: 8px 0 14px;
 z-index: 3;
 }
 .nav-toggle:checked ~ .main-nav { display: flex; }
 .main-nav a { padding: 10px 4px; }
 .cat-head, .guide-grid, .entry-grid, .scene-row, .news-list li, .foot { grid-template-columns: 1fr; display: grid; }
 .scene-row a, .scene-row a:last-child { border-right: 0; border-top: 1px solid var(--pine-line); min-height: 0; }
 .scene-row a:first-child { border-top: 0; }
 h1 { font-size: 32px; }
 h2 { font-size: 26px; }
 .foot nav { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
 h1 { font-size: 28px; }
 .logo { font-size: 16px; max-width: 210px; }
 .entry, .guide-main, .guide-side a, .split .col { padding: 18px 14px; }
}

/* roulang page: category2 */
:root {
 --plum: #5C2A45;
 --rose: #D7A3B3;
 --moon: #F3EEE8;
 --pine: #6E8F86;
 --pine-line: rgba(110, 143, 134, .3);
 --coral: #C85A45;
 --coral-deep: #A34534;
 --bg-0: #140F14;
 --bg-1: #241820;
 --panel: #2C2230;
 --panel-2: #241C2A;
 --ink: #F6F1EA;
 --muted: #CBBFC6;
 --shadow: 0 12px 32px rgba(20, 8, 16, .45);
 --radius: 4px;
 --btn-radius: 2px;
 --gap: 18px;
 --section-y: 72px;
 --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
 min-height: 100vh;
}
body::before {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 0;
 background:
  radial-gradient(circle at 12% 18%, rgba(215, 163, 179, .07) 0 2px, transparent 3px),
  radial-gradient(circle at 78% 30%, rgba(215, 163, 179, .05) 0 3px, transparent 4px),
  radial-gradient(circle at 30% 76%, rgba(110, 143, 134, .05) 0 2px, transparent 3px),
  radial-gradient(ellipse at 88% 88%, rgba(92, 42, 69, .35), transparent 46%);
 background-size: 180px 180px, 240px 240px, 200px 200px, auto;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--moon); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--rose);
 outline-offset: 2px;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { background: #120d12; border-bottom: 1px solid var(--pine-line); position: sticky; top: 0; z-index: 5; }
.info-bar {
 min-height: 36px;
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 align-items: center;
 gap: 12px;
 color: var(--muted);
 font-size: 13px;
}
.info-bar .domain { justify-self: start; letter-spacing: .04em; }
.info-bar .age { justify-self: center; }
.info-bar .text-btn { justify-self: end; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; position: relative; }
.logo {
 font-family: "Songti SC", "STSong", "SimSun", serif;
 font-size: 20px;
 line-height: 1.3;
 color: var(--moon);
 max-width: 340px;
}
.logo:hover { text-decoration: none; color: var(--rose); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
 display: none;
 width: 44px;
 height: 40px;
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 align-items: center;
 justify-content: center;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
}
.nav-toggle-label span { display: block; width: 18px; height: 1px; background: var(--moon); }
.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { padding: 8px 12px; color: var(--muted); border-radius: var(--btn-radius); }
.main-nav a:hover { color: var(--moon); text-decoration: underline; text-decoration-color: var(--rose); }
.main-nav a.active { color: var(--moon); background: var(--plum); text-decoration: none; }
.text-btn { color: var(--coral); background: transparent; border: 0; padding: 0; cursor: pointer; }
a.text-btn:hover { color: var(--moon); }
h1, h2, h3 {
 font-family: "Songti SC", "STSong", "SimSun", serif;
 line-height: 1.3;
 font-weight: 600;
 margin: 0 0 12px;
 color: var(--moon);
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
p { margin: 0 0 12px; color: var(--muted); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 40px;
 padding: 8px 16px;
 border-radius: var(--btn-radius);
 border: 1px solid var(--coral);
 background: var(--coral);
 color: var(--moon);
 cursor: pointer;
 transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--coral-deep); border-color: var(--moon); text-decoration: none; color: var(--moon); }
.btn:active { background: #8d3b2d; }
.btn-line { background: transparent; color: var(--moon); border-color: var(--pine-line); }
.btn-line:hover { background: var(--plum); border-color: var(--moon); }
.tag {
 display: inline-block;
 padding: 2px 8px;
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 color: var(--rose);
 font-size: 12px;
 letter-spacing: .04em;
 margin-bottom: 12px;
}
.section { padding: var(--section-y) 0; }
.section:nth-of-type(even) { background: rgba(36, 24, 32, .72); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head p { margin-bottom: 0; }
.hero-split {
 display: grid;
 grid-template-columns: 1.45fr .72fr;
 gap: 28px;
 align-items: stretch;
}
.lead { font-size: 18px; max-width: 38em; color: var(--ink); }
.mini-stats {
 display: flex;
 flex-direction: column;
 justify-content: center;
 gap: 0;
 background: var(--panel);
 border: 1px solid var(--pine-line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 position: relative;
}
.mini-stats::before, .mini-stats::after,
.lined::before, .lined::after {
 content: "";
 position: absolute;
 width: 16px;
 height: 16px;
 pointer-events: none;
}
.mini-stats::before, .lined::before { top: 6px; left: 6px; border-top: 1px solid rgba(215, 163, 179, .55); border-left: 1px solid rgba(215, 163, 179, .55); }
.mini-stats::after, .lined::after { right: 6px; bottom: 6px; border-right: 1px solid rgba(215, 163, 179, .55); border-bottom: 1px solid rgba(215, 163, 179, .55); }
.mini-stats div { padding: 18px 22px; border-bottom: 1px solid var(--pine-line); }
.mini-stats div:last-child { border-bottom: 0; }
.mini-stats strong {
 display: block;
 color: var(--moon);
 font-family: "Songti SC", "STSong", "SimSun", serif;
 font-size: 32px;
 line-height: 1.1;
 font-weight: 600;
}
.mini-stats span { color: var(--muted); font-size: 13px; }
.book { border-top: 1px solid var(--pine-line); }
.book-row {
 display: grid;
 grid-template-columns: 132px minmax(0, 1fr) 108px;
 gap: 16px;
 align-items: center;
 padding: 18px 8px;
 border-bottom: 1px solid var(--pine-line);
 background: transparent;
 transition: border-color .2s ease, background .2s ease;
}
.book-row:hover { border-color: rgba(243, 238, 232, .72); background: rgba(44, 34, 48, .55); }
.book-row time { color: var(--rose); font-size: 14px; }
.book-row h3 { font-size: 22px; margin-bottom: 4px; }
.book-row p { margin: 0; font-size: 14px; }
.book-row .q {
 justify-self: end;
 color: var(--moon);
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 padding: 4px 8px;
 font-size: 13px;
}
.row-links { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.row-links a, .more-line { color: var(--coral); font-size: 14px; }
.more-line { display: inline-block; margin-top: 18px; }
.word-line {
 display: flex;
 flex-wrap: wrap;
 gap: 10px 0;
 align-items: baseline;
 border-top: 1px solid var(--pine-line);
 border-bottom: 1px solid var(--pine-line);
}
.word-line a {
 font-family: "Songti SC", "STSong", "SimSun", serif;
 font-size: 28px;
 line-height: 1.3;
 padding: 18px 22px 18px 0;
 margin-right: 22px;
 border-right: 1px solid var(--pine-line);
 color: var(--moon);
}
.word-line a:last-child { border-right: 0; margin-right: 0; }
.word-line a:hover { color: var(--rose); text-decoration: underline; text-decoration-color: var(--rose); }
.note-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.note, .assure-item, .device-card, .faq-item, .form-panel {
 background: var(--panel);
 border: 1px solid var(--pine-line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 position: relative;
}
.note { padding: 22px 22px 16px; }
.note + .note { margin-top: 14px; }
.note .meta, .book-row .meta { color: var(--rose); font-size: 13px; margin-bottom: 6px; }
.note-side .note:hover, .note-main:hover, .assure-item:hover, .device-card:hover {
 border-color: rgba(243, 238, 232, .72);
}
.assure-row, .device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.assure-item, .device-card { padding: 26px 24px; }
.assure-item svg, .device-card svg { width: 36px; height: 36px; stroke: var(--pine); fill: none; stroke-width: 1.4; margin-bottom: 12px; }
.device-grid { position: relative; }
.device-card h3 { font-size: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0; }
.faq-item summary {
 cursor: pointer;
 list-style: none;
 padding: 14px 18px;
 color: var(--moon);
 font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--rose); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 18px 14px; margin: 0; }
.form-panel { padding: 28px 26px; background: var(--panel-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"] {
 width: 100%;
 background: #1a141c;
 border: 1px solid var(--pine-line);
 border-radius: var(--btn-radius);
 min-height: 40px;
 padding: 8px 12px;
}
input:hover { border-color: rgba(243, 238, 232, .45); }
input:focus { border-color: var(--rose); outline: none; }
.site-footer { background: #0d090d; border-top: 1px solid var(--pine-line); padding: 36px 0 22px; }
.foot { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 18px; }
.foot small { display: block; color: var(--muted); }
.foot nav { display: flex; gap: 18px; }
.site-footer .wrap > small { color: var(--muted); }
.sr {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}
@media (max-width: 1024px) {
 .hero-split, .note-layout, .assure-row, .device-grid { grid-template-columns: 1fr 1fr; }
 .logo { font-size: 18px; max-width: 240px; }
 .main-nav a { padding: 8px; font-size: 14px; }
 .word-line a { font-size: 22px; }
 h1 { font-size: 34px; }
}
@media (max-width: 768px) {
 :root { --section-y: 40px; }
 .info-bar { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 0; min-height: 0; }
 .info-bar .domain, .info-bar .age, .info-bar .text-btn { justify-self: center; }
 .nav-toggle-label { display: flex; }
 .main-nav {
  display: none;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  background: #120d12;
  border-bottom: 1px solid var(--pine-line);
  padding: 8px 0 14px;
  z-index: 6;
 }
 .nav-toggle:checked ~ .main-nav { display: flex; }
 .main-nav a { padding: 12px 4px; }
 .hero-split, .note-layout, .assure-row, .device-grid, .form-grid, .book-row { grid-template-columns: 1fr; }
 .book-row .q { justify-self: start; }
 .word-line a { border-right: 0; margin-right: 0; padding-right: 0; font-size: 22px; display: block; width: 100%; }
 .foot { flex-direction: column; }
 h1 { font-size: 30px; }
 h2 { font-size: 26px; }
}
@media (max-width: 520px) {
 .wrap { width: min(var(--max), calc(100% - 28px)); }
 h1 { font-size: 26px; }
 .lead { font-size: 16px; }
 .btn, .form-grid .btn { width: 100%; }
 .mini-stats strong { font-size: 28px; }
}
