/* roulang page: index */
:root {
  --primary: #D4652F;
  --primary-hover: #B85122;
  --ink: #1F4E4A;
  --accent: #C9A3B0;
  --paper: #F4EFE6;
  --paper-2: #EBE3D6;
  --rice: #FBF7F1;
  --char: #2C2420;
  --char-2: #3A312C;
  --text: #1C1614;
  --muted: #5C534C;
  --line: #E4D9CC;
  --card: 18px;
  --btn: 12px;
  --input: 10px;
  --shadow: 0 8px 24px rgba(44,36,32,.08);
  --shadow-2: 0 12px 28px rgba(44,36,32,.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 .6em; }
.container { max-width: 1120px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--char);
  color: var(--rice);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.chip-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--rice);
  color: var(--text);
  white-space: nowrap;
  font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:active { transform: translateY(1px); }
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--rice);
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--rice);
  padding: 0;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--char);
  position: relative;
  margin: 0 auto;
}
.menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn);
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: var(--rice); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--primary-hover);
  color: var(--rice);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(31,78,74,.08); color: var(--ink); }
.btn:disabled, .btn.is-disabled { filter: saturate(.45); transform: none; box-shadow: none; }
.btn:focus-visible, .chip:focus-visible, .menu-btn:focus-visible, summary:focus-visible, .text-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.offcanvas { background: var(--paper); color: var(--text); }
.offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas .chip { width: 100%; justify-content: center; margin-bottom: 8px; }
main { display: block; }
.band { padding: 72px 0; }
.band-paper { background: var(--paper); }
.band-soft { background: var(--paper-2); }
.band-rice { background: var(--rice); }
.sub { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.board { background: var(--char); color: var(--rice); padding: 72px 0; }
.board h1, .board .metric b { color: var(--rice); }
.board .sub, .board .hint { color: #D9CFC4; }
.board-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; align-items: center; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.metric {
  background: var(--char-2);
  border: 1px solid rgba(228,217,204,.18);
  border-radius: var(--card);
  padding: 16px 18px;
}
.metric span { display: block; color: var(--accent); font-size: 13px; }
.metric b { display: block; font-size: 28px; font-weight: 700; line-height: 1.2; }
.hint { margin-top: 12px; font-size: 12px; }
.ring-wrap { display: grid; place-items: center; }
.ring {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) calc(var(--p) * 1%), #4A403A 0);
  display: grid;
  place-items: center;
  position: relative;
}
.ring::before {
  content: "";
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: var(--char);
  position: absolute;
}
.ring-core { position: relative; text-align: center; }
.ring-core strong { display: block; font-size: 36px; font-weight: 700; }
.ring-core small { color: #D9CFC4; font-size: 13px; }
.matrix { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-areas: "main jp" "main kr" "sync sync"; gap: 14px; }
.matrix-card {
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: var(--card);
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
}
.matrix-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.m-main { grid-area: main; background: var(--char); color: var(--rice); border-color: var(--char); }
.m-main p, .m-main .tag { color: #E7DDD4; }
.m-jp { grid-area: jp; }
.m-kr { grid-area: kr; }
.m-sync { grid-area: sync; background: #F7F1EA; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 10px;
  width: max-content;
}
.m-main .tag { color: var(--accent); border-color: var(--accent); }
.go { font-size: 14px; font-weight: 700; color: var(--ink); }
.m-main .go { color: #F0C2AE; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col {
  background: var(--rice);
  border-radius: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
}
.compare-col h3 { margin-bottom: 14px; }
.bar-row { margin-bottom: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.bar { height: 8px; background: #E7DDD2; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.compare-col.on { background: var(--char); color: var(--rice); border-color: var(--char); }
.compare-col.on .bar-meta { color: #E7DDD4; }
.compare-col.on .bar { background: #4A403A; }
.compare-col.on .bar i { background: var(--primary); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.track::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--ink);
}
.node {
  position: relative;
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: var(--card);
  padding: 36px 16px 16px;
  box-shadow: var(--shadow);
}
.node i {
  position: absolute;
  top: 8px;
  left: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--rice);
  font-style: normal;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.node:last-child i { background: var(--primary); }
.node p { color: var(--muted); font-size: 14px; margin: 0; }
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.news-item time { color: var(--muted); font-size: 14px; }
.news-item h3 { font-size: 17px; margin: 0; }
.news-item:hover { background: rgba(255,255,255,.45); }
.read { color: var(--ink); font-weight: 700; font-size: 14px; }
.more-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.guarantee { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-item {
  background: var(--rice);
  border-radius: var(--card);
  padding: 20px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.g-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 16px;
}
.g-item p { margin: 0; font-size: 15px; }
.qa details, .faq details {
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  margin-bottom: 10px;
}
.qa details { border-left: 4px solid var(--ink); }
.faq details { background: transparent; }
summary {
  list-style: none;
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 500; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 12px; }
.form-panel {
  background: var(--rice);
  border-radius: var(--card);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  border: 1px solid var(--line);
}
.step-row { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.step {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px dashed var(--accent);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.step.on { background: var(--ink); color: var(--rice); border-style: solid; border-color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--input);
  padding: 10px 12px;
  outline: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31,78,74,.12); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.choice input { margin-right: 4px; accent-color: var(--primary); }
.choice label:has(input:checked) { background: var(--primary); color: var(--rice); border-color: var(--primary); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.form-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(31,78,74,.08); color: var(--ink); }
.entry-line { margin-top: 14px; color: var(--muted); font-size: 14px; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--rice);
  border-radius: var(--card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.rail-card:hover { box-shadow: var(--shadow-2); }
.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #3A312C, #6A5348 58%, #2C2420);
}
.poster b {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--rice);
  font-size: 32px;
  line-height: 1;
}
.cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: rgba(44,36,32,.8);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.rail-card .txt { padding: 14px 16px 16px; }
.rail-card h3 { font-size: 16px; }
.rail-card time { color: var(--muted); font-size: 13px; }
.points { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 14px; }
.point {
  border-radius: var(--card);
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--rice);
}
.point:nth-child(1) { background: var(--char); color: var(--rice); }
.point:nth-child(2) { background: #F7F1EA; }
.point:nth-child(3) { background: var(--paper); }
.point p { margin: 0; color: inherit; }
.point:nth-child(1) p { color: #E7DDD4; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day {
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 148px;
  padding: 12px;
}
.day strong { display: block; color: var(--ink); font-size: 14px; }
.day em { font-style: normal; display: block; margin-top: 8px; }
.day.hot { background: var(--char); color: var(--rice); border-color: var(--char); }
.day.hot strong { color: #F0C2AE; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  background: var(--rice);
  border-radius: var(--card);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--rice);
  font-weight: 700;
}
.a1 { background: var(--ink); }
.a2 { background: var(--primary); }
.a3 { background: #8E6C78; }
.review p { margin: 0; color: var(--muted); }
.read-list { border-top: 1px solid var(--line); }
.read-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.read-list a span { color: var(--ink); font-weight: 700; white-space: nowrap; }
.read-list a:hover { color: var(--ink); }
.back-row { margin-top: 16px; }
.site-footer { background: var(--char); color: #E7DDD4; padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 24px; }
.site-footer strong { color: var(--rice); display: block; margin-bottom: 6px; }
.site-footer a { display: block; padding: 4px 0; color: #E7DDD4; }
.site-footer a:hover { color: #fff; }
.foot-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(228,217,204,.2); font-size: 13px; color: #C9BFB6; }
@media (max-width: 1024px) {
  .band, .board { padding: 48px 0; }
  .points { grid-template-columns: 1fr 1fr; }
  .point:nth-child(3) { grid-column: 1 / -1; }
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .band, .board { padding: 36px 0; }
  .header-bar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand { order: 1; }
  .header-actions { order: 2; }
  .chip-nav { order: 3; flex: none; width: 100%; overflow-x: auto; padding-bottom: 8px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .board-grid, .compare, .form-grid, .reviews, .guarantee, .foot-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; grid-template-areas: "main" "jp" "kr" "sync"; }
  .track { grid-template-columns: 1fr 1fr; }
  .track::before { display: none; }
  .points { grid-template-columns: 1fr; }
  .point:nth-child(3) { grid-column: auto; }
  .week { display: flex; overflow-x: auto; }
  .day { flex: 0 0 148px; }
  .news-item { grid-template-columns: 72px 1fr; }
  .news-item .read { grid-column: 2; }
}
@media (max-width: 520px) {
  .brand-text strong { font-size: 13px; }
  .btn { padding: 9px 12px; font-size: 14px; }
  .metric b { font-size: 24px; }
  .ring { width: 168px; height: 168px; }
  .ring::before { width: 120px; height: 120px; }
  h1 { font-size: 26px; }
}

/* roulang page: category1 */
:root {
 --primary: #D4652F;
 --primary-hover: #B85122;
 --ink: #1F4E4A;
 --accent: #C9A3B0;
 --paper: #F4EFE6;
 --paper-2: #EBE3D6;
 --rice: #FBF7F1;
 --char: #2C2420;
 --char-2: #3A312C;
 --text: #1C1614;
 --muted: #5C534C;
 --line: #E4D9CC;
 --card: 18px;
 --btn: 12px;
 --input: 10px;
 --shadow: 0 8px 24px rgba(44,36,32,.08);
 --shadow-2: 0 12px 28px rgba(44,36,32,.14);
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.container { max-width: 1120px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 1030;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
}
.header-bar {
 display: flex;
 align-items: center;
 gap: 16px;
 min-height: 74px;
}
.brand {
 display: flex;
 align-items: center;
 gap: 10px;
 min-width: 0;
}
.brand-mark {
 width: 40px;
 height: 40px;
 border-radius: 12px;
 background: var(--char);
 color: var(--rice);
 display: grid;
 place-items: center;
 font-weight: 700;
 flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong {
 font-size: 15px;
 font-weight: 700;
 white-space: nowrap;
}
.brand-text em {
 font-style: normal;
 font-size: 12px;
 color: var(--muted);
}
.chip-nav {
 display: flex;
 align-items: center;
 gap: 8px;
 flex: 1;
 min-width: 0;
}
.chip {
 display: inline-flex;
 align-items: center;
 height: 36px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--rice);
 color: var(--text);
 white-space: nowrap;
 font-size: 14px;
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:active { transform: translateY(1px); }
.chip.active, .chip[aria-pressed="true"] {
 background: var(--primary);
 border-color: var(--primary);
 color: var(--rice);
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
 display: none;
 width: 40px;
 height: 40px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: var(--rice);
 padding: 0;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
 display: block;
 width: 16px;
 height: 2px;
 background: var(--char);
 position: relative;
 margin: 0 auto;
}
.menu-btn span::before, .menu-btn span::after {
 content: "";
 position: absolute;
 left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: var(--btn);
 padding: 10px 16px;
 font-weight: 700;
 border: 1px solid transparent;
 line-height: 1.2;
 transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
 --bs-btn-bg: #D4652F;
 --bs-btn-border-color: #D4652F;
 --bs-btn-color: #FBF7F1;
 --bs-btn-hover-bg: #B85122;
 --bs-btn-hover-border-color: #B85122;
 --bs-btn-hover-color: #FBF7F1;
 --bs-btn-active-bg: #B85122;
 --bs-btn-active-border-color: #B85122;
 --bs-btn-active-color: #FBF7F1;
 background: var(--primary);
 border-color: var(--primary);
 color: var(--rice);
}
.btn-primary:hover, .btn-primary:focus-visible {
 background: var(--primary-hover);
 border-color: var(--primary-hover);
 color: var(--rice);
 transform: translateY(-1px);
 box-shadow: var(--shadow-2);
}
.btn-ghost {
 background: transparent;
 color: var(--ink);
 border-color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
 background: rgba(31,78,74,.08);
 color: var(--ink);
}
.btn:disabled, .btn.is-disabled { filter: saturate(.45); transform: none; box-shadow: none; }
.btn:focus-visible, .chip:focus-visible, .menu-btn:focus-visible, summary:focus-visible, .text-link:focus-visible {
 outline: 2px solid var(--ink);
 outline-offset: 2px;
}
.offcanvas { background: var(--paper); color: var(--text); }
.offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas .chip { width: 100%; justify-content: center; margin-bottom: 8px; }
main { display: block; }
.block { padding: 72px 0; }
.block-rice { background: var(--rice); }
.block-sand { background: var(--paper-2); }
.section-head { margin-bottom: 22px; max-width: 760px; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 26px; margin: 0 0 8px; }
h2 em { font-style: normal; color: var(--ink); }
h3 { font-size: 18px; margin: 0 0 8px; }
.lead-note { margin: 0; color: var(--muted); font-size: 14px; }
.cat-head {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 28px;
}
.count-box {
 background: var(--char);
 color: var(--rice);
 border-radius: var(--card);
 padding: 16px 22px;
 min-width: 148px;
 box-shadow: var(--shadow);
}
.count-box span { display: block; font-size: 13px; color: #E7DDD4; }
.count-box b {
 display: block;
 font-size: 40px;
 line-height: 1.1;
 color: var(--primary);
 font-variant-numeric: tabular-nums;
}
.count-box small { color: #C9A3B0; }
.filter-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 background: var(--rice);
 border: 1px solid var(--line);
 border-radius: var(--card);
 padding: 14px;
 box-shadow: var(--shadow);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sort-row { display: flex; gap: 8px; flex: none; }
.entry-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 18px;
}
.entry {
 background: var(--rice);
 border: 1px solid var(--line);
 border-radius: var(--card);
 box-shadow: var(--shadow);
 overflow: hidden;
 transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.entry a { display: block; color: inherit; height: 100%; }
.entry-body { padding: 20px; }
.entry p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.entry-meta {
 display: flex;
 justify-content: space-between;
 align-items: center;
 color: var(--ink);
 font-size: 14px;
 font-weight: 700;
}
.entry-meta time { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.cover {
 position: relative;
 aspect-ratio: 16/9;
 background: var(--char);
}
.cover::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 right: 0;
 height: 4px;
 background: var(--primary);
}
.cover-b { background: var(--ink); }
.cover-c { background: var(--char-2); }
.cover-d { background: #3E2E28; }
.cover i {
 position: absolute;
 left: 16px;
 right: 28%;
 top: 28%;
 height: 10px;
 border-radius: 999px;
 background: rgba(244,239,230,.28);
}
.cover i::after {
 content: "";
 position: absolute;
 left: 0;
 top: 18px;
 width: 62%;
 height: 10px;
 border-radius: 999px;
 background: var(--accent);
}
.subbar {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 28px;
 padding: 0 12px;
 display: flex;
 align-items: center;
 background: rgba(44,36,32,.8);
 color: #fff;
 font-size: 12px;
 letter-spacing: .04em;
}
.more-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.text-link {
 color: var(--ink);
 font-weight: 700;
 border-bottom: 1px solid var(--accent);
 padding-bottom: 2px;
}
.text-link:hover { color: var(--primary); }
.std-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.std-item {
 display: grid;
 grid-template-columns: 88px 1fr;
 gap: 16px;
 align-items: center;
 background: var(--rice);
 border: 1px solid var(--line);
 border-radius: var(--card);
 padding: 20px;
 box-shadow: var(--shadow);
}
.std-item b {
 font-variant-numeric: tabular-nums;
 color: var(--primary);
 font-size: 22px;
}
.std-item p { margin: 0; }
.guide-list { border-top: 1px solid var(--line); max-width: 860px; }
.guide-list a {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
}
.guide-list a:hover { color: var(--ink); background: rgba(255,255,255,.4); }
.guide-list span { color: var(--primary); font-weight: 700; white-space: nowrap; }
.timeline { margin: 8px 0 0 8px; max-width: 720px; }
.tl-item {
 position: relative;
 padding: 0 0 26px 28px;
 border-left: 2px solid var(--ink);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
 content: "";
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background: var(--primary);
 position: absolute;
 left: -7px;
 top: 6px;
}
.tl-item h3 { margin-bottom: 4px; }
.tl-item p { margin: 0; color: var(--muted); }
.qa details {
 background: var(--rice);
 border: 1px solid var(--line);
 border-left: 4px solid var(--ink);
 border-radius: 14px;
 padding: 0 16px;
 margin-bottom: 10px;
}
.qa summary {
 list-style: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 padding: 14px 0;
 font-weight: 700;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
 content: "+";
 color: var(--primary);
 font-size: 22px;
 line-height: 1;
 flex: none;
}
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: 0 0 14px; color: var(--muted); }
.action-bar {
 background: var(--char);
 color: var(--rice);
 border-radius: var(--card);
 padding: 28px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
}
.action-bar p { margin: 6px 0 0; color: #E7DDD4; }
.action-bar h2 { color: var(--rice); }
.action-actions { display: flex; gap: 10px; flex: none; }
.action-bar .btn-ghost {
 color: var(--rice);
 border-color: var(--accent);
}
.action-bar .btn-ghost:hover, .action-bar .btn-ghost:focus-visible {
 background: rgba(201,163,176,.16);
 color: var(--rice);
}
.site-footer {
 background: var(--char);
 color: #E7DDD4;
 padding: 48px 0 28px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.4fr .8fr .8fr;
 gap: 28px;
}
.site-footer strong { display: block; color: var(--rice); margin-bottom: 8px; }
.site-footer a { display: block; color: #E7DDD4; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; }
.foot-note {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid rgba(228,217,204,.25);
 color: var(--accent);
 font-size: 14px;
}
@media (max-width: 1024px) {
 .block { padding: 48px 0; }
 .header-bar { flex-wrap: wrap; padding: 10px 0; }
 .chip-nav {
 order: 3;
 flex: 1 0 100%;
 overflow-x: auto;
 padding-bottom: 8px;
 }
 .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 768px) {
 .block { padding: 36px 0; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .cat-head, .filter-bar, .action-bar, .foot-grid { display: block; }
 .count-box { margin-top: 16px; display: inline-block; }
 .sort-row { margin-top: 12px; }
 .entry-grid { grid-template-columns: 1fr; }
 .std-item { grid-template-columns: 64px 1fr; }
 .action-actions { margin-top: 16px; }
}
@media (max-width: 520px) {
 .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
 .brand-text strong { font-size: 12px; }
 .header-actions .btn { padding: 8px 10px; font-size: 13px; }
 .action-actions { flex-direction: column; }
 .action-actions .btn { width: 100%; }
 .count-box b { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .entry, .btn, .chip { transition: none; }
}

/* 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}
