/* roulang page: index */
:root {
  --ink: #2C5F86;
  --ink-hover: #234E6E;
  --steel: #7FA4C4;
  --bg: #F6F7F9;
  --paper: #F3F0E8;
  --card: #FFFFFF;
  --text: #1E2832;
  --muted: #5C6B78;
  --note: #D7E6F2;
  --line: #D5DEE6;
  --radius: 10px;
  --radius-btn: 8px;
  --shadow: 0 8px 24px rgba(44, 95, 134, 0.08);
  --shadow-hover: 0 12px 28px rgba(44, 95, 134, 0.12);
  --wrap: 1140px;
  --pad: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--text); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 38px; font-weight: 700; line-height: 1.35; color: var(--text); }
h2 { font-size: 28px; font-weight: 700; line-height: 1.35; color: var(--text); }
h3 { font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--text); }
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}
.sec { padding: var(--pad) 0; }
.sec-plain { background: var(--bg); }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--card); }
.chap {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.sec-lead {
  max-width: 68ch;
  margin: 12px 0 28px;
  color: var(--text);
}
.note-card, .metric, .zone-card, .matrix-card, .scene-panel, .news-item, .pick-card, .assure-item, .qa-card, .term-card, .catalog-card, .form-card, .side-card {
  background: var(--card);
  border-radius: var(--radius);
  border-left: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 24px;
}
.note-card, .metric, .zone-card, .matrix-card, .pick-card, .news-item, .assure-item, .qa-card {
  transition: box-shadow .2s ease;
}
.note-card:hover, .metric:hover, .zone-card:hover, .matrix-card:hover, .pick-card:hover, .news-item:hover, .assure-item:hover, .qa-card:hover {
  box-shadow: var(--shadow-hover);
}
.btn-ink, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid var(--ink);
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: var(--ink-hover); color: #fff; box-shadow: 0 8px 18px rgba(44, 95, 134, 0.18); }
.btn-ink:active { background: #1b3e58; }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover, .btn-line:focus { background: var(--paper); color: var(--ink); }
.btn-line:active { background: #e7e1d4; }
.btn-ink.compact, .btn-line.compact { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.tag-day { border-color: var(--ink); }
.tag-kr { color: #3e627f; }
.badge-18 {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  background: var(--note);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.badge-count, .count-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.count-wrap strong {
  margin-left: 6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--ink);
}
.site-nav {
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: var(--text);
  --bs-navbar-hover-color: var(--ink);
  --bs-navbar-active-color: var(--ink);
  --bs-navbar-brand-color: var(--ink);
  --bs-navbar-toggler-border-color: var(--steel);
  background: transparent !important;
  padding: 0;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 12px 0;
}
.logo {
  flex: 0 1 auto;
  max-width: 100%;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}
.logo:hover { color: var(--ink-hover); }
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  margin-left: auto;
}
.site-nav .navbar-nav { gap: 4px; }
.site-nav .nav-link {
  color: var(--text);
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 8px 12px;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--ink); background: var(--paper); }
.site-nav .nav-link.active { color: var(--ink); background: var(--paper); }
.tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.menu-btn {
  width: 44px;
  height: 40px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu-btn:hover, .menu-btn:focus { background: var(--paper); }
.board-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.board-copy {
  border-left: 3px solid var(--ink);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.board-copy p { margin-top: 12px; }
.metric strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.zone-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.zone-card h3 { margin-bottom: 8px; }
.anchor-list, .clean-list { list-style: none; margin: 16px 0 0; padding: 0; }
.anchor-list li, .clean-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.anchor-list li:last-child, .clean-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.anchor-list a { font-weight: 700; }
.zone-foot { display: flex; gap: 8px; margin-top: 16px; }
.matrix {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  grid-template-areas:
    "main stack"
    "bar bar";
  gap: 18px;
}
.matrix-main { grid-area: main; }
.matrix-stack { grid-area: stack; display: flex; flex-direction: column; gap: 18px; }
.matrix-bar { grid-area: bar; }
.matrix-card p, .zone-card p, .qa-card p, .pick-card p, .news-item p, .catalog-item p { margin-top: 8px; color: var(--text); }
.mini-list { margin: 14px 0 0; padding-left: 18px; }
.mini-list li { margin: 6px 0; }
.paper-tabs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-bottom: 0; }
.paper-tabs .nav-link {
  border: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  background: var(--paper);
  color: var(--text);
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  padding: 10px 16px;
}
.paper-tabs .nav-link:hover { background: #fff; color: var(--ink); }
.paper-tabs .nav-link.active {
  background: #fff;
  color: var(--ink);
  border-color: var(--steel) var(--steel) #fff;
}
.scene-panel { border-radius: 0 var(--radius) var(--radius) var(--radius); margin-top: -1px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus h3 { margin-bottom: 8px; }
.row-label { display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
.versus s { color: var(--muted); text-decoration-thickness: 1px; }
.timeline { position: relative; margin: 8px 0 0 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--ink);
}
.tl-item { position: relative; margin: 0 0 18px 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
}
.tl-time { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.7fr); gap: 18px; align-items: start; }
.news-col, .pick-col, .catalog-list { display: flex; flex-direction: column; gap: 16px; }
.news-meta, .pick-meta, .catalog-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.news-item h3, .pick-card h3, .catalog-item h3 { margin: 8px 0; }
.side-card h3 { margin-bottom: 8px; }
.side-note { padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-note:last-child { border-bottom: 0; padding-bottom: 0; }
.side-note strong { display: block; color: var(--ink); }
.pick-card { display: grid; grid-template-columns: 8px 1fr; gap: 16px; padding: 0; overflow: hidden; border-left: 0; }
.pick-card .bar { background: var(--ink); }
.pick-card.kr .bar { background: var(--steel); }
.pick-body { padding: 24px 24px 24px 0; }
.assure-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.assure-item svg { display: block; margin-bottom: 12px; }
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qa-card h3 { font-size: 18px; }
.term-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--steel); }
.term-table div { padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.term-table div:nth-child(2n) { border-right: 0; }
.term-table .th { background: var(--paper); color: var(--ink); font-weight: 700; }
.accordion { --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--ink); --bs-accordion-btn-color: var(--text); }
.accordion-item {
  border: 0;
  border-left: 3px solid var(--ink);
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-button {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
  padding: 20px 24px;
  box-shadow: none;
}
.accordion-button:not(.collapsed) { color: var(--ink); background: #fff; box-shadow: none; }
.accordion-button:hover { background: #f8fafc; }
.accordion-button::after { filter: none; }
.accordion-body { padding: 0 24px 20px; color: var(--text); }
.catalog-card { padding: 0; overflow: hidden; }
.catalog-head, .catalog-item, .catalog-more { padding: 20px 24px; }
.catalog-head { border-bottom: 1px solid var(--line); }
.catalog-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; border-top: 1px solid var(--line); border-left: 0; border-radius: 0; box-shadow: none; padding: 18px 24px; }
.catalog-item:hover { background: #f8fafc; }
.catalog-more { border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-weight: 700; }
.field, select.field, textarea.field {
  width: 100%;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.field { min-height: 120px; resize: vertical; }
.field:hover { border-color: var(--ink); }
.field:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 95, 134, 0.12); }
.receipt {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--steel);
  background: var(--paper);
  border-radius: var(--radius-btn);
  color: var(--muted);
}
.receipt.is-on { color: var(--text); border-left-color: var(--ink); }
.site-foot { background: #fff; border-top: 1px solid var(--ink); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot-brand { margin-bottom: 8px; }
.foot-age { color: var(--muted); max-width: 42ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: flex-start; justify-content: flex-end; }
.foot-links a { font-weight: 700; }
.foot-links a:hover { color: var(--ink-hover); }
.foot-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 1199.98px) {
  .board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board-copy { grid-column: 1 / -1; margin-bottom: 4px; }
}
@media (max-width: 991.98px) {
  .nav-row { flex-wrap: wrap; }
  .nav-cluster { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .navbar-collapse { flex-basis: 100%; }
  .site-nav .navbar-nav { padding: 8px 0 4px; }
  .news-grid, .qa-grid, .assure-row { grid-template-columns: 1fr 1fr; }
  .assure-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .board-grid, .versus, .term-table, .qa-grid, .news-grid, .form-grid { grid-template-columns: 1fr 1fr; }
  .board-copy, .field-full { grid-column: 1 / -1; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .matrix, .zone-split, .versus, .news-grid, .qa-grid, .term-table, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-areas: "main" "stack" "bar"; }
  .term-table div { border-right: 0; }
  .foot-links { justify-content: flex-start; }
  .catalog-item { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 575.98px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .sec { padding: 48px 0; }
  h2 { font-size: 24px; }
  .logo { font-size: 18px; }
  .tools { width: 100%; }
  .assure-row, .board-grid { grid-template-columns: 1fr 1fr; }
  .metric, .note-card, .zone-card, .matrix-card, .scene-panel, .form-card { padding: 24px; }
  .paper-tabs .nav-link { border-radius: var(--radius-btn); }
  .scene-panel { border-radius: var(--radius); margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --ink: #2C5F86;
  --ink-hover: #234E6E;
  --steel: #7FA4C4;
  --bg: #F6F7F9;
  --paper: #F3F0E8;
  --card: #FFFFFF;
  --text: #1E2832;
  --muted: #5C6B78;
  --note: #D7E6F2;
  --line: #D5DEE6;
  --radius: 10px;
  --radius-btn: 8px;
  --shadow: 0 8px 24px rgba(44, 95, 134, 0.08);
  --shadow-hover: 0 12px 28px rgba(44, 95, 134, 0.12);
  --wrap: 1140px;
  --pad: 80px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--text); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
::selection { background: var(--note); color: var(--text); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
}
h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 18px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 0;
}
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}
.section { padding: var(--pad) 0; }
.section.paper { background: var(--paper); }
.section.plain { background: var(--bg); }
.idx {
  margin: 0 0 6px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.sec-lead {
  max-width: 68ch;
  margin: 0 0 28px;
  color: var(--text);
}
.note-card, .entry, .std-card, .rel-card, .bound-col, .filter-bar, .more-bar {
  background: var(--card);
  border-radius: var(--radius);
  border-left: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 24px;
}
.entry, .std-card, .rel-card {
  transition: box-shadow .2s ease;
}
.entry:hover, .std-card:hover, .rel-card:hover {
  box-shadow: var(--shadow-hover);
}
.btn-ink, .btn-line, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid var(--ink);
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: var(--ink-hover); color: #fff; box-shadow: 0 8px 18px rgba(44, 95, 134, 0.18); }
.btn-ink:active { background: #1b3e58; }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover, .btn-line:focus { background: var(--paper); color: var(--ink); }
.btn-line:active { background: #e7e1d4; }
.btn-ink.compact, .btn-line.compact { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-ink:focus-visible, .btn-line:focus-visible, .chip:focus-visible, .menu-btn:focus-visible, .nav-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.tag-day { border-color: var(--ink); background: var(--note); }
.badge-18 {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  background: var(--note);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.badge-count, .count-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.count-wrap strong {
  margin-left: 6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.site-head {
  background: #fff;
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-nav {
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: var(--text);
  --bs-navbar-hover-color: var(--ink);
  --bs-navbar-active-color: var(--ink);
  --bs-navbar-brand-color: var(--ink);
  --bs-navbar-toggler-border-color: var(--steel);
  background: transparent !important;
  padding: 0;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 12px 0;
}
.logo {
  flex: 0 1 auto;
  max-width: 100%;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}
.logo:hover { color: var(--ink-hover); }
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  margin-left: auto;
}
.site-nav .navbar-nav { gap: 4px; }
.site-nav .nav-link {
  color: var(--text);
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 8px 12px;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--ink); background: var(--paper); }
.site-nav .nav-link.active { color: var(--ink); background: var(--paper); }
.tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.menu-btn {
  width: 44px;
  height: 40px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu-btn:hover, .menu-btn:focus { background: var(--paper); }
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { font-weight: 700; }
.crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--steel);
  font-weight: 400;
}
.cat-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: end;
}
.scope {
  margin: 0;
  max-width: 46em;
  color: var(--text);
}
.head-side {
  background: #fff;
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.head-side p { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.head-badges, .entry-meta, .rel-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-label { min-width: 72px; color: var(--ink); font-size: 13px; font-weight: 700; }
.chip {
  min-height: 38px;
  padding: 6px 14px;
  background: #fff;
  color: var(--text);
  border-color: var(--steel);
  font-size: 14px;
}
.chip:hover, .chip:focus { background: var(--paper); color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on:hover, .chip.is-on:focus { background: var(--ink-hover); color: #fff; }
.list-col { display: flex; flex-direction: column; gap: 16px; }
.entry { padding: 28px; }
.entry.is-out, .entry.is-extra { display: none !important; }
.entry h3 { margin: 12px 0 8px; }
.entry h3 a { color: var(--text); }
.entry h3 a:hover { color: var(--ink); }
.entry p { margin: 0 0 14px; color: var(--text); }
.swatch {
  height: 8px;
  width: 72px;
  border-radius: 4px;
  background: var(--note);
  box-shadow: inset 0 0 0 1px var(--steel);
}
.entry time, .rel-meta time { color: var(--muted); font-size: 13px; }
.text-link { font-weight: 700; }
.empty-hint {
  margin: 0;
  padding: 28px;
  border-left: 3px solid var(--steel);
  background: #fff;
  border-radius: var(--radius);
  color: var(--muted);
}
.more-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.more-bar p { margin: 0; color: var(--muted); }
.std-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.std-card { min-height: 180px; }
.std-no {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.std-card p { margin: 8px 0 0; color: var(--text); }
.bound {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.bound-col h2 { font-size: 24px; }
.bound-col ul { margin: 12px 0 0; padding-left: 18px; }
.bound-col li { margin: 6px 0; }
.bound-side { background: var(--paper); }
.bound-side p { margin: 0 0 16px; }
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rel-card h3 { margin: 12px 0 8px; font-size: 18px; }
.rel-card p { margin: 0 0 14px; }
.faq-acc .accordion-item {
  background: #fff;
  border: 0;
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-acc .accordion-button {
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  box-shadow: none;
  padding: 20px 24px;
}
.faq-acc .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.faq-acc .accordion-button:focus {
  box-shadow: none;
  outline: 2px solid var(--steel);
  outline-offset: -2px;
}
.faq-acc .accordion-button::after { filter: none; }
.faq-acc .accordion-body {
  padding: 0 24px 20px;
  color: var(--text);
}
.site-foot {
  background: #fff;
  border-top: 2px solid var(--ink);
  padding: 36px 0 20px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.foot-age { color: var(--muted); margin: 8px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.foot-links a { font-weight: 700; }
.foot-copy {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1199.98px) {
  .cat-top { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .nav-row { flex-wrap: wrap; align-items: flex-start; }
  .nav-cluster { flex-wrap: wrap; width: 100%; margin-left: 0; }
  .site-nav .navbar-collapse { flex-basis: 100%; }
  .std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .bound { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}
@media (max-width: 767.98px) {
  :root { --pad: 56px; }
  .section { padding: 56px 0; }
  .rel-grid, .std-grid { grid-template-columns: 1fr; }
  .more-bar { flex-direction: column; align-items: flex-start; }
  .foot-grid { flex-direction: column; }
}
@media (max-width: 575.98px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .entry, .filter-bar, .more-bar, .std-card, .rel-card, .bound-col { padding: 20px; }
  .logo { font-size: 18px; }
  .tools { width: 100%; }
  .btn-ink.compact { width: auto; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
