/* roulang page: index */
:root {
  --bg: #F4F7FB;
  --card: #FFFFFF;
  --ink: #1A2740;
  --muted: #5C6B80;
  --primary: #3E6EA8;
  --primary-d: #2C5282;
  --line: #E3EAF3;
  --plum: #7A4E5A;
  --shadow: 0 8px 24px rgba(26,39,64,.06);
  --shadow-h: 0 12px 28px rgba(26,39,64,.12);
  --radius: 12px;
  --btn-radius: 8px;
  --side: 220px;
  --side-narrow: 76px;
  --top: 56px;
  --max: 1120px;
  --pad: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sider {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--side);
  height: 100vh;
  background: var(--card);
  border-right: 1px solid var(--line);
  z-index: 40;
  overflow: auto;
  padding: 28px 16px 32px;
}
.brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  margin-bottom: 28px;
  padding: 0 8px;
}
.brand-mark {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
}
.brand-full {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.brand-short { display: none; font-weight: 700; color: var(--ink); font-size: 13px; text-align: center; }
.side-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  border-left: 3px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-link:hover { background: #F4F7FB; color: var(--primary-d); }
.nav-link.is-active {
  background: #EAF1F8;
  color: var(--primary-d);
  border-left-color: var(--primary);
  font-weight: 650;
}
.nav-short { display: none; width: 100%; text-align: center; font-size: 12px; }
.content { margin-left: var(--side); min-height: 100vh; }
.topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top);
  background: var(--card);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.topbar-brand { color: var(--ink); font-weight: 700; font-size: 15px; }
.menu-btn {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-d);
}
.menu-btn:hover { background: #F4F7FB; }
.drawer-mask {
  display: none;
  position: fixed;
  inset: var(--top) 0 0 0;
  background: rgba(26,39,64,.28);
  z-index: 45;
}
.drawer {
  display: none;
  position: fixed;
  top: var(--top);
  right: 0;
  width: min(320px, 100%);
  height: calc(100vh - var(--top));
  background: #fff;
  z-index: 46;
  padding: 18px;
  box-shadow: var(--shadow-h);
  transform: translateX(100%);
  transition: transform .2s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer-mask.is-open { display: block; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--pad) 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--plum);
  border-bottom: 1px solid var(--plum);
  padding-bottom: 2px;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.sec-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.lede { margin: 0 0 28px; color: var(--muted); max-width: 760px; }
.board {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.board h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 750;
  color: var(--ink);
}
.hero-copy { margin: 0 0 22px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { background: var(--primary-d); border-color: var(--primary-d); transform: translateY(-1px); box-shadow: var(--shadow-h); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--primary); }
.btn-ghost:hover { background: #EAF1F8; color: var(--primary-d); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}
.stat-num { font-size: 32px; line-height: 1.1; color: var(--primary); font-weight: 750; }
.stat-label { margin-top: 6px; color: var(--muted); font-size: 14px; }
.matrix { display: grid; grid-template-columns: 1.7fr .9fr; gap: 20px; }
.matrix-main, .mini, .scene, .edit-main, .side-item, .panel, .night, .q-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.matrix-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 32px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.matrix-main:hover { transform: translateY(-1px); box-shadow: var(--shadow-h); color: var(--ink); }
.matrix-main h3, .mini h3, .scene h3, .edit-main h3, .side-item h3 { margin: 8px 0; font-size: 22px; line-height: 1.4; }
.matrix-side { display: flex; flex-direction: column; gap: 20px; }
.mini { padding: 24px; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.mini:hover, .scene:hover, .side-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-h); color: var(--ink); }
.mini p, .scene p, .matrix-main p, .edit-main p, .side-item p, .v-body p, .point p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--plum);
  border-bottom: 1px solid var(--plum);
  padding-bottom: 1px;
}
.cmp-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp th { background: #F7FAFD; color: var(--ink); font-size: 16px; font-weight: 700; }
.cmp td { color: var(--muted); width: 50%; }
.cmp tr:last-child td { border-bottom: 0; }
.rail { display: flex; gap: 18px; position: relative; padding-top: 8px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--line); }
.rail-item { position: relative; flex: 1; padding-top: 36px; min-width: 0; }
.rail-dot {
  position: absolute;
  top: 11px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
}
.rail-item.is-now .rail-dot { background: var(--plum); border-color: var(--plum); }
.rail-date { font-size: 13px; color: var(--plum); }
.rail-item strong { display: block; margin: 4px 0; font-size: 16px; }
.rail-item p { margin: 0; color: var(--muted); font-size: 14px; }
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-row {
  display: grid;
  grid-template-columns: 88px 1fr 52px;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.news-row:hover { background: #F8FBFE; }
.news-date { color: var(--plum); font-size: 14px; }
.news-title { display: block; color: var(--ink); font-weight: 650; }
.news-row:hover .news-title { color: var(--primary-d); }
.news-sum { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.news-idx { text-align: right; color: var(--primary); font-weight: 700; }
.more-row { padding: 16px 24px 20px; }
.scenes { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 20px; }
.scene { padding: 28px 26px; color: var(--ink); }
.vline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.v-item { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.v-item:last-child { border-bottom: 0; }
.v-date { color: var(--plum); font-size: 14px; padding-top: 2px; }
.v-body h3 { margin: 0 0 4px; font-size: 18px; }
.guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.guard svg { display: block; margin-bottom: 12px; }
.guard h3 { margin: 0 0 8px; font-size: 18px; }
.guard p { margin: 0; color: var(--muted); font-size: 14px; }
.night { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; padding: 32px; }
.night-points { display: flex; flex-direction: column; gap: 14px; }
.point { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point strong { display: block; margin-bottom: 4px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-item { padding: 24px 26px; }
.q-q { margin: 0 0 8px; font-size: 18px; }
.q-a { margin: 0; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.pill:hover { border-color: var(--primary); color: var(--primary-d); background: #F4F7FB; transform: translateY(-1px); }
.edit { display: grid; grid-template-columns: 1.45fr .9fr; gap: 20px; }
.edit-main { padding: 32px; color: var(--ink); }
.edit-side { display: flex; flex-direction: column; gap: 12px; }
.side-item { padding: 18px 20px; color: var(--ink); }
.side-item h3 { font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { background: #fff; border: 1px solid var(--line); border-top: 0; }
.faq-item:first-child { border-top: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.faq-item:last-child { border-radius: 0 0 12px 12px; }
.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q:hover { background: #F8FBFE; }
.faq-q .mark { color: var(--plum); font-weight: 500; }
.faq-a { display: none; margin: 0; padding: 0 22px 18px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.step { padding: 28px 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-no { color: var(--plum); font-size: 13px; border-bottom: 1px solid var(--plum); display: inline-block; margin-bottom: 8px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.panel { padding: 32px; max-width: 760px; }
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; color: var(--ink); }
.field input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}
.field input:hover { border-color: #C9D6E6; }
.field input:focus { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 1px; }
.form-msg { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #F3F7FC; border: 1px solid var(--primary); color: var(--primary-d); }
.form-msg.err { background: #FBF7F8; border: 1px solid var(--plum); color: var(--plum); }
.footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 48px; }
.foot-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot-name { color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.age { color: var(--plum); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--primary-d); }
@media (max-width: 1199px) and (min-width: 992px) {
  .sider { width: var(--side-narrow); padding: 18px 8px; }
  .content { margin-left: var(--side-narrow); }
  .brand { justify-content: center; padding: 0; }
  .brand-full, .nav-text, .brand-mark { display: none; }
  .brand-short, .nav-short { display: block; }
  .nav-link { justify-content: center; padding: 10px 4px; border-left-width: 3px; }
}
@media (max-width: 991px) {
  .sider { display: none; }
  .content { margin-left: 0; padding-top: var(--top); }
  .topbar, .drawer { display: flex; }
  .drawer { display: block; }
  .board, .matrix, .scenes, .night, .edit, .qgrid, .guards, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .board h1 { font-size: 32px; }
  .matrix-main { min-height: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 52px 0; }
  .board, .panel, .night, .matrix-main { padding: 22px; }
  .board h1 { font-size: 28px; }
  .sec-title { font-size: 22px; }
  .stats, .news-row, .v-item { grid-template-columns: 1fr; }
  .news-idx, .news-date { text-align: left; }
  .btn, .btn-ghost, .menu-btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .topbar .menu-btn { width: auto; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp td { border-bottom: 1px solid var(--line); }
  .cmp td::before { content: attr(data-h); display: block; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
  .rail { flex-direction: column; gap: 0; }
  .rail::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .rail-item { padding: 0 0 22px 28px; }
  .rail-dot { top: 4px; left: 0; }
  .foot-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --bg: #F4F7FB;
 --card: #FFFFFF;
 --ink: #1A2740;
 --muted: #5C6B80;
 --primary: #3E6EA8;
 --primary-d: #2C5282;
 --line: #E3EAF3;
 --plum: #7A4E5A;
 --shadow: 0 8px 24px rgba(26,39,64,.06);
 --shadow-h: 0 12px 28px rgba(26,39,64,.12);
 --radius: 12px;
 --btn-radius: 8px;
 --side: 220px;
 --side-narrow: 76px;
 --top: 56px;
 --max: 1120px;
 --pad: 88px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sidebar {
 position: fixed;
 top: 0;
 left: 0;
 width: var(--side);
 height: 100vh;
 background: #fff;
 border-right: 1px solid var(--line);
 padding: 24px 16px;
 z-index: 40;
 overflow: auto;
}
.brand {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 color: var(--ink);
 margin-bottom: 28px;
 padding: 0 8px;
}
.brand-mark {
 flex: 0 0 36px;
 width: 36px;
 height: 36px;
 border-radius: 8px;
 background: var(--primary);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 700;
 font-size: 16px;
}
.brand-full {
 font-size: 16px;
 font-weight: 700;
 line-height: 1.45;
 color: var(--ink);
}
.brand-short { display: none; font-weight: 700; color: var(--ink); font-size: 13px; text-align: center; }
.side-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-link {
 display: flex;
 align-items: center;
 min-height: 44px;
 padding: 8px 12px;
 border-radius: 8px;
 color: var(--ink);
 border-left: 3px solid transparent;
 transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-link:hover { background: #F4F7FB; color: var(--primary-d); }
.nav-link.is-active {
 background: #EAF1F8;
 color: var(--primary-d);
 border-left-color: var(--primary);
 font-weight: 650;
}
.nav-short { display: none; width: 100%; text-align: center; font-size: 12px; }
.topbar {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 height: var(--top);
 background: var(--card);
 border-bottom: 1px solid var(--line);
 z-index: 50;
 align-items: center;
 justify-content: space-between;
 padding: 0 16px;
}
.topbar-brand { color: var(--ink); font-weight: 700; font-size: 15px; }
.menu-btn {
 height: 36px;
 padding: 0 12px;
 border-radius: var(--btn-radius);
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-d);
}
.menu-btn:hover { background: #F4F7FB; }
.drawer-mask {
 display: none;
 position: fixed;
 inset: var(--top) 0 0 0;
 background: rgba(26,39,64,.28);
 z-index: 45;
}
.drawer {
 display: none;
 position: fixed;
 top: var(--top);
 right: 0;
 width: min(320px, 100%);
 height: calc(100vh - var(--top));
 background: #fff;
 z-index: 46;
 padding: 18px;
 box-shadow: var(--shadow-h);
 transform: translateX(100%);
 transition: transform .2s ease;
 overflow: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-mask.is-open { display: block; }
.drawer .brand { margin-bottom: 18px; }
.main-wrap { margin-left: var(--side); min-height: 100vh; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; }
.section { padding: var(--pad) 0; }
.sec-title {
 margin: 0 0 12px;
 font-size: 28px;
 line-height: 1.35;
 font-weight: 700;
 color: var(--ink);
 text-align: left;
}
.lead { margin: 0; color: var(--muted); font-size: 16px; }
.tag {
 display: inline-block;
 font-size: 12px;
 line-height: 1.4;
 color: var(--plum);
 border-bottom: 1px solid var(--plum);
 padding-bottom: 1px;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--btn-radius);
 border: 1px solid var(--primary);
 background: var(--primary);
 color: #fff;
 transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { background: var(--primary-d); border-color: var(--primary-d); transform: translateY(-1px); box-shadow: var(--shadow-h); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--primary); }
.btn-ghost:hover { background: #EAF1F8; color: var(--primary-d); }
.cat-head {
 background: #fff;
 border-bottom: 1px solid var(--line);
 padding: 72px 0 56px;
}
.cat-head h1 {
 margin: 10px 0 12px;
 font-size: 36px;
 line-height: 1.3;
 font-weight: 700;
 color: var(--ink);
}
.filter-sec { padding: 28px 0 8px; }
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 18px 32px;
 padding: 18px 22px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
.filter-label {
 font-size: 13px;
 color: var(--plum);
 margin-right: 8px;
 border-bottom: 1px solid var(--plum);
 line-height: 1.4;
}
.filter-opt {
 background: transparent;
 border: 0;
 color: var(--muted);
 min-height: 36px;
 padding: 0 10px;
 border-radius: 0;
 border-bottom: 2px solid transparent;
}
.filter-opt:hover { color: var(--primary-d); }
.filter-opt.is-on {
 color: var(--primary-d);
 border-bottom-color: var(--primary);
 font-weight: 650;
}
.list-sec { padding: 28px 0 72px; }
.entry-list { display: flex; flex-direction: column; gap: 12px; }
.entry {
 display: grid;
 grid-template-columns: 108px minmax(0, 1fr) auto;
 gap: 18px;
 align-items: center;
 padding: 22px 26px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 color: var(--ink);
 transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-1px); box-shadow: var(--shadow-h); }
.entry-date { color: var(--plum); font-size: 13px; font-variant-numeric: tabular-nums; }
.entry h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.45; font-weight: 700; }
.entry h2 a { color: var(--ink); }
.entry:hover h2 a { color: var(--primary-d); }
.entry p { margin: 0; color: var(--muted); font-size: 14px; }
.entry-no { color: var(--primary); font-weight: 700; font-size: 14px; min-width: 36px; text-align: right; }
.empty-note {
 display: none;
 margin: 12px 0 0;
 padding: 18px 22px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 color: var(--muted);
}
.empty-note.is-show { display: block; }
.edit-sec { padding: 0 0 88px; }
.edit-main {
 display: grid;
 grid-template-columns: 1.4fr .8fr;
 gap: 28px;
 padding: 32px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 color: var(--ink);
}
.edit-main h2 { margin: 8px 0 10px; font-size: 26px; line-height: 1.4; }
.edit-main p { margin: 0 0 18px; color: var(--muted); }
.edit-side {
 border-left: 1px solid var(--line);
 padding-left: 28px;
}
.edit-side strong { display: block; margin-bottom: 8px; font-size: 15px; }
.edit-side ul { margin: 0; padding: 0; list-style: none; }
.edit-side li {
 padding: 10px 0;
 border-bottom: 1px solid var(--line);
 color: var(--muted);
 font-size: 14px;
}
.edit-side li:last-child { border-bottom: 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmp {
 width: 100%;
 border-collapse: collapse;
 background: var(--bg);
 border-radius: var(--radius);
 overflow: hidden;
}
.cmp th, .cmp td {
 text-align: left;
 vertical-align: top;
 padding: 22px 24px;
 border: 1px solid var(--line);
}
.cmp th {
 background: #fff;
 color: var(--ink);
 font-size: 18px;
 font-weight: 700;
}
.cmp td { background: #fff; color: var(--muted); }
.cmp td strong { display: block; color: var(--ink); margin-bottom: 6px; }
.time-sec .time-row {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 0;
 margin-top: 22px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
}
.time-item {
 padding: 28px 26px 30px;
 border-right: 1px solid var(--line);
}
.time-item:last-child { border-right: 0; }
.time-ico {
 width: 36px;
 height: 36px;
 border-radius: 8px;
 border: 1px solid var(--line);
 display: grid;
 place-items: center;
 color: var(--primary);
 margin-bottom: 12px;
}
.time-item .idx { color: var(--plum); font-size: 13px; }
.time-item h3 { margin: 6px 0 8px; font-size: 18px; }
.time-item p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { background: #fff; border-bottom: 1px solid var(--line); }
.faq-item summary {
 list-style: none;
 cursor: pointer;
 padding: 18px 8px;
 font-weight: 700;
 color: var(--ink);
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-weight: 500; font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--primary-d); }
.faq-item p { margin: 0; padding: 0 8px 18px; color: var(--muted); }
.more-sec { padding: 36px 0 96px; }
.more-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
 padding: 22px 26px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.more-bar p { margin: 6px 0 0; color: var(--muted); }
.footer {
 background: #fff;
 border-top: 1px solid var(--line);
 padding: 28px 0;
}
.foot-row {
 display: flex;
 justify-content: space-between;
 gap: 18px;
 align-items: flex-start;
}
.foot-name { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.age { color: var(--plum); font-size: 13px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--primary-d); }
.footer .wrap > div:last-child { text-align: right; color: var(--muted); font-size: 14px; }
@media (max-width: 1199px) and (min-width: 992px) {
 .sidebar { width: var(--side-narrow); padding: 16px 8px; }
 .main-wrap { margin-left: var(--side-narrow); }
 .brand { justify-content: center; padding: 0; }
 .brand-full, .nav-text { display: none; }
 .brand-short, .nav-short { display: block; }
 .nav-link { justify-content: center; padding: 8px 4px; border-left-width: 0; border-bottom: 3px solid transparent; }
 .nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
}
@media (max-width: 991px) {
 .sidebar { display: none; }
 .topbar { display: flex; }
 .drawer { display: block; }
 .main-wrap { margin-left: 0; padding-top: var(--top); }
 .cat-head { padding: 40px 0 32px; }
 .cat-head h1 { font-size: 30px; }
 .edit-main { grid-template-columns: 1fr; }
 .edit-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
 .time-sec .time-row { grid-template-columns: 1fr; }
 .time-item { border-right: 0; border-bottom: 1px solid var(--line); }
 .time-item:last-child { border-bottom: 0; }
 .section { padding: 64px 0; }
}
@media (max-width: 640px) {
 .wrap { padding: 0 16px; }
 .cat-head h1, .sec-title { font-size: 24px; }
 .entry { grid-template-columns: 1fr; gap: 6px; }
 .entry-no { text-align: left; }
 .cmp thead { display: none; }
 .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
 .cmp td { border-top: 0; }
 .cmp tr td:first-child { border-top: 1px solid var(--line); }
 .more-bar { flex-direction: column; align-items: stretch; }
 .btn, .more-bar .btn { width: 100%; }
 .foot-row { flex-direction: column; }
 .footer .wrap > div:last-child { text-align: left; }
 .filter-bar { padding: 14px; }
}
