/* roulang page: index */
:root {
  --bg: #F3EBE3;
  --bg-alt: #E7D9EC;
  --card: #FFF9F4;
  --ink: #2C2230;
  --muted: #6E6272;
  --primary: #6E3A78;
  --primary-deep: #4E2758;
  --accent: #D46A8A;
  --chip: #F3D5A5;
  --line: #E4D5DF;
  --ok: #3E6B58;
  --shadow: 0 8px 22px rgba(78,39,88,.08);
  --radius: 12px;
  --space: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(-18deg, transparent, transparent 22px, rgba(110,58,120,.035) 22px, rgba(110,58,120,.035) 23px);
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--primary); text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F3EBE3;
  border-bottom: 1px solid var(--line);
}
.header-wrap { padding: 10px 0 12px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; color: var(--primary-deep); }
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 14px 14px 14px 6px;
  background: var(--primary);
  box-shadow: inset -8px -6px 0 rgba(212,106,138,.55);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.brand-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.menu-btn:hover { border-color: var(--primary); color: var(--primary); }
.menu-btn:active { background: var(--bg-alt); }
.nav-drawer { display: none; padding: 8px 0 6px; }
.site-header.is-open .nav-drawer { display: block; }
.main-nav { display: flex; flex-direction: column; gap: 2px; }
.main-nav a {
  color: var(--ink);
  font-weight: 650;
  font-weight: 600;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.main-nav a:hover { color: var(--primary); text-decoration: underline; }
.main-nav a.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.chip-bar { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding: 8px 0 2px; scrollbar-width: none; }
.chip-bar::-webkit-scrollbar { height: 0; }
.entry-chip, .topic-chip, .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.entry-chip {
  padding: 8px 12px;
  background: var(--chip);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
}
.entry-chip:hover { background: var(--accent); color: var(--ink); text-decoration: none; }
.entry-chip:active { background: #c45a7a; }
.block { padding: 48px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
.block-alt { background: rgba(231,217,236,.55); }
.block-soft { background: rgba(255,249,244,.66); }
.block-head { max-width: 760px; margin-bottom: 22px; }
.block-head h2 { font-size: 22px; line-height: 1.35; font-weight: 700; }
.lead { margin-top: 8px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.desc { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.8; }
h1 { font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--ink); }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.hero-copy .desc { color: var(--ink); }
.metric-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 108px;
}
.metric-lg { grid-column: 1 / -1; background: #fff9f4; }
.metric-k { font-size: 13px; color: var(--muted); }
.metric-num { display: block; margin-top: 4px; font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--primary); }
.metric-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.topic-row { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; margin-top: 18px; padding-bottom: 4px; scrollbar-width: none; }
.topic-row::-webkit-scrollbar { height: 0; }
.topic-chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
}
.topic-chip:hover { border-color: var(--accent); background: #fde7ee; }
.topic-chip.is-on { background: var(--bg-alt); border-color: var(--primary); color: var(--primary-deep); }
.petals { display: flex; gap: 8px; margin-top: 16px; }
.petal { width: 42px; height: 58px; border: 1px solid var(--line); border-radius: 24px 24px 24px 8px; }
.petal-a { background: var(--bg-alt); transform: rotate(-16deg); }
.petal-b { background: #f6d5e0; transform: rotate(8deg); }
.petal-c { background: var(--chip); transform: rotate(20deg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: #3d1c46; transform: translateY(0); }
.btn-line { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-line:hover { background: var(--bg-alt); color: var(--primary-deep); transform: translateY(-1px); }
.btn-line:active { background: #ddcbe4; }
.hero-actions { margin-top: 18px; }
.matrix { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #c9a9d2; transform: translateY(-1px); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--primary); text-decoration: underline; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.kicker { font-size: 12px; color: var(--primary); font-weight: 700; }
.plain-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list a { color: var(--ink); font-weight: 650; font-weight: 600; }
.plain-list a:hover { color: var(--primary); }
.meta { font-size: 12px; color: var(--muted); line-height: 1.6; white-space: nowrap; }
.compare { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; }
.bar { display: block; height: 10px; background: #f6efe9; border-radius: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--primary); border-radius: 6px; }
.bar-fill.alt { background: var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}
.mile { display: flex; flex-direction: column; gap: 18px; }
.mile li { position: relative; padding-left: 28px; }
.mile li::before { content: ""; position: absolute; left: 6px; top: 0; bottom: -18px; width: 2px; background: var(--line); }
.mile li:last-child::before { bottom: auto; height: 16px; }
.mile li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--card);
}
.mile h3 { font-size: 18px; }
.mile p { margin-top: 4px; color: var(--muted); }
.hot-grid { column-count: 1; column-gap: 14px; }
.hot-card { break-inside: avoid; margin-bottom: 14px; }
.hot-top { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: none;
}
.badge { height: 22px; padding: 0 8px; background: var(--chip); color: var(--ink); font-weight: 700; }
.badge-hot { background: var(--accent); color: #fff; }
.badge-node { background: #f7e7cf; color: var(--primary-deep); }
.hot-card .meta, .thread-main .meta, .rank-top .meta { white-space: normal; }
.scene-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.scene-card h3 { font-size: 18px; }
.vtime { margin-left: 8px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.vtime li { position: relative; padding-left: 18px; }
.vtime li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -6px;
  top: 10px;
}
.vtime a { color: var(--ink); font-weight: 700; }
.vtime a:hover { color: var(--primary); }
.issue { display: block; font-size: 12px; color: var(--primary); }
.thread-item {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 12px;
}
.color-bar { border-radius: 6px; background: var(--primary); }
.color-bar.june { background: var(--accent); }
.color-bar.ding { background: var(--primary); }
.color-bar.ting { background: #8d5c99; }
.color-bar.jiu { background: var(--ok); }
.thread-item h3 { font-size: 18px; }
.thread-item h3 a, .rank-top h3 a, .rank-list a { color: var(--ink); font-weight: 700; }
.thread-item p, .rank-top p { margin-top: 6px; color: var(--muted); }
.more-row { margin-top: 8px; }
.rank-wrap { max-width: 460px; margin-left: auto; }
.rank-top { margin-bottom: 12px; }
.rank-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rank-no { font-weight: 700; color: var(--primary); }
.heat { font-style: normal; font-size: 12px; color: var(--muted); }
.talk-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.talk { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; }
.floor {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.entry-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.assure-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.assure-row h3 { font-size: 16px; }
.assure-row p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.qa { border-bottom: 1px solid var(--line); }
.qa-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 0;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.qa-btn:hover { color: var(--primary); }
.qa-btn span { color: var(--accent); font-weight: 700; }
.qa-panel { padding: 0 0 14px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-card { padding: 18px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(110,58,120,.2); }
.is-invalid { border-color: var(--accent); }
.field-error { min-height: 1.2em; font-size: 12px; color: var(--accent); margin-top: 4px; }
.form-ok {
  display: none;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #c9ddd2;
  background: #e7f0ea;
  color: var(--ok);
}
.form-ok.is-show { display: block; }
.site-footer { background: var(--primary-deep); color: #F3EBE3; padding: 36px 0 42px; }
.site-footer a { color: #F3EBE3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { font-size: 18px; font-weight: 700; line-height: 1.4; }
.footer-line { margin-top: 8px; color: #f6e7ef; max-width: 640px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.copy { margin-top: 18px; font-size: 12px; color: #e7d5ea; }
@media (min-width: 640px) {
  .scene-grid { grid-template-columns: 1.15fr .85fr; }
  .scene-grid .wide { grid-column: 1 / -1; }
  .assure-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .container { width: min(1160px, calc(100% - 48px)); }
  .menu-btn { display: none; }
  .header-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav" "chips chips";
    align-items: center;
    column-gap: 28px;
    row-gap: 4px;
  }
  .header-row, .nav-drawer { display: contents; }
  .brand { grid-area: brand; }
  .main-nav { grid-area: nav; flex-direction: row; justify-content: flex-end; gap: 22px; }
  .chip-bar { grid-area: chips; padding-top: 0; padding-bottom: 6px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
  .metric-board { grid-template-columns: 1.35fr 1fr; }
  .metric-lg { grid-column: auto; grid-row: span 2; }
  .matrix { grid-template-columns: 1.35fr .9fr; }
  .matrix-wide { grid-row: span 2; }
  .matrix-list { grid-column: 1 / -1; }
  .compare { grid-template-columns: 1.1fr .9fr; }
  .hot-grid { column-count: 2; }
  .talk-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .entry-panel { grid-template-columns: 1.4fr auto; }
}
@media (min-width: 1024px) {
  .block { padding: 80px 0; }
  h1 { font-size: 38px; }
  .block-head h2 { font-size: 26px; }
  body { font-size: 17px; }
  .mile { flex-direction: row; gap: 0; }
  .mile li { flex: 1; padding: 28px 16px 0 0; }
  .mile li::before { left: 0; right: 16px; top: 8px; bottom: auto; width: auto; height: 2px; }
  .mile li:last-child::before { height: 2px; width: 18px; }
  .mile li::after { top: 2px; left: 0; }
  .scene-grid { grid-template-columns: 1.25fr .8fr 1fr .9fr; }
  .scene-grid .wide { grid-column: auto; }
  .assure-row { grid-template-columns: repeat(4, 1fr); }
  .vtime { max-width: 820px; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 15px; }
  .metric-num { font-size: 28px; }
  .bar-row { grid-template-columns: 64px 1fr; }
  .bar-row .meta { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F3EBE3;
  --bg-alt: #E7D9EC;
  --card: #FFF9F4;
  --ink: #2C2230;
  --muted: #6E6272;
  --primary: #6E3A78;
  --primary-deep: #4E2758;
  --accent: #D46A8A;
  --chip: #F3D5A5;
  --line: #E4D5DF;
  --ok: #3E6B58;
  --shadow: 0 8px 22px rgba(78,39,88,.08);
  --radius: 12px;
  --space: 16px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(-18deg, transparent, transparent 22px, rgba(110,58,120,.035) 22px, rgba(110,58,120,.035) 23px);
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F3EBE3;
  border-bottom: 1px solid var(--line);
}
.header-wrap { padding: 10px 0 12px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; flex: 1; }
.brand:hover { text-decoration: none; color: var(--primary-deep); }
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 14px 14px 14px 6px;
  background: var(--primary);
  box-shadow: inset -8px -6px 0 rgba(212,106,138,.55);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.brand-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.menu-btn:hover { border-color: var(--primary); color: var(--primary); }
.menu-btn:active { background: var(--bg-alt); }
.nav-drawer { display: none; width: 100%; padding: 8px 0 6px; }
.site-header.is-open .nav-drawer { display: block; }
.main-nav { display: flex; flex-direction: column; gap: 2px; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.main-nav a:hover { color: var(--primary); text-decoration: underline; }
.main-nav a.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.chip-bar { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding: 8px 0 2px; scrollbar-width: none; }
.chip-bar::-webkit-scrollbar { height: 0; }
.entry-chip, .topic-chip, .badge, .sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.entry-chip {
  padding: 8px 12px;
  background: var(--chip);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
}
.entry-chip:hover { background: var(--accent); color: var(--ink); text-decoration: none; }
.entry-chip:active { background: #c45a7a; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-rose { background: #f8e4ea; }
.section h2 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; }
.lead { margin: 10px 0 0; color: var(--ink); font-size: 16px; line-height: 1.8; }
.subline { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--primary); }
.page-head h1 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 700; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta-line span, .tag {
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  color: var(--ink);
}
.filter-bar { display: flex; flex-direction: column; gap: 14px; }
.topic-row, .sort-row { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.topic-row::-webkit-scrollbar, .sort-row::-webkit-scrollbar { height: 0; }
.topic-chip, .sort-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  min-height: 36px;
}
.topic-chip:hover, .sort-btn:hover { border-color: var(--accent); background: #fde7ee; }
.topic-chip.is-on, .sort-btn.is-on { background: var(--bg-alt); border-color: var(--primary); color: var(--primary-deep); }
.plaza-wrap { display: block; }
.thread-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.thread-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: border-color .18s ease, transform .18s ease;
}
.thread-card[hidden] { display: none !important; }
.thread-card:hover { border-color: #c9a9d2; transform: translateY(-1px); }
.issue {
  background: var(--bg-alt);
  border-radius: var(--radius);
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
}
.issue-no { font-size: 22px; font-weight: 700; line-height: 1; }
.issue-label { font-size: 12px; color: var(--muted); }
.thread-body { min-width: 0; border-left: 3px solid var(--primary); padding-left: 12px; }
.thread-body h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.45; }
.thread-body h3 a, .pin-copy h3 a, .side-list a, .related-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.thread-body h3 a:hover, .pin-copy h3 a:hover, .side-list a:hover, .related-list a:hover { color: var(--primary); text-decoration: underline; }
.thread-body p, .pin-copy p, .side-list p, .step p, .qa-a p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { height: 22px; padding: 0 8px; background: var(--chip); color: var(--ink); font-weight: 700; }
.badge-hot { background: var(--accent); color: #fff; }
.badge-node { background: #f7e7cf; color: var(--ink); }
.badge-column { background: var(--bg-alt); color: var(--primary-deep); border: 1px solid #d7c0df; }
.meta { font-size: 12px; color: var(--muted); line-height: 1.6; }
.more-row { margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: #3d1c46; transform: translateY(0); }
.btn-line { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-line:hover { background: var(--bg-alt); color: var(--primary-deep); transform: translateY(-1px); }
.btn-line:active { background: #ddcbe4; }
.pin-wide {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pin-side {
  background: var(--bg-alt);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.pin-side strong { font-size: 18px; line-height: 1.4; }
.pin-copy { padding: 18px 16px 20px; }
.pin-copy h3 { margin: 10px 0 0; font-size: 20px; line-height: 1.4; }
.petal {
  width: 72px;
  height: 72px;
  border-radius: 70% 30% 60% 40%;
  background: var(--primary);
  box-shadow: inset -16px -10px 0 rgba(212,106,138,.7);
  transform: rotate(-18deg);
}
.side-col { margin-top: 28px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.side-list { list-style: none; margin: 12px 0 0; padding: 0; }
.side-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { display: block; }
.path-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.path-steps a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 100%;
}
.path-steps a:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-1px); }
.step-no { display: block; font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .08em; }
.path-steps h3 { margin: 6px 0 0; font-size: 18px; }
.qa-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.qa-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 16px;
}
.qa-q { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa-q::-webkit-details-marker { display: none; }
.qa-q::after { content: "展开"; font-size: 12px; font-weight: 600; color: var(--primary); flex: none; }
.qa-item[open] .qa-q::after { content: "收起"; }
.qa-a { padding-bottom: 14px; }
.related-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
}
.related-list a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); text-decoration: none; }
.home-back { margin-top: 16px; }
.site-footer { background: var(--primary-deep); color: var(--bg); padding: 48px 0; }
.footer-brand { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.footer-line { margin: 8px 0 0; color: #F3EBE3; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.site-footer a { color: var(--chip); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.copy { margin: 18px 0 0; font-size: 12px; color: #E7D9EC; }
@media (min-width: 768px) {
  .container { width: min(1160px, calc(100% - 48px)); }
  .brand-name { font-size: 16px; }
  .section { padding: 72px 0; }
  .page-head h1 { font-size: 36px; }
  .section h2 { font-size: 24px; }
  .pin-wide { grid-template-columns: 220px minmax(0, 1fr); }
  .path-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .path-steps li { border-top: 3px solid var(--primary); padding-top: 0; }
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav-drawer { display: flex; width: auto; flex: 1; align-items: center; justify-content: flex-end; gap: 22px; padding: 0; }
  .header-row { flex-wrap: nowrap; }
  .main-nav { flex-direction: row; align-items: center; gap: 18px; }
  .main-nav a { padding: 8px 2px; }
  .chip-bar { padding: 0; max-width: 280px; }
  .section { padding: 84px 0; }
  .page-head h1 { font-size: 40px; }
  .section h2 { font-size: 26px; }
  .plaza-band { padding-top: 36px; padding-bottom: 20px; }
  .plaza-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
  .side-col { margin-top: 0; position: sticky; top: 92px; }
}
@media (max-width: 520px) {
  .thread-card { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; }
  .issue-no { font-size: 18px; }
  .page-head h1 { font-size: 28px; }
  .related-list a { align-items: flex-start; flex-direction: column; }
}
