/* roulang page: index */
:root {
  --night: #241816;
  --berry: #7A3E55;
  --berry-deep: #70394E;
  --ivory: #F4EFE8;
  --card: #FFFBF7;
  --ink: #2C241F;
  --muted: #6F625A;
  --line: #E6DDD3;
  --copper: #8C5A3C;
  --silver: #C5C1B7;
  --amber: #C8893A;
  --moss: #3E7A62;
  --ochre: #8A4B32;
  --band: #EFE6DC;
  --blush: #F7EEE9;
  --radius-tool: 8px;
  --radius-row: 12px;
  --shadow: 0 8px 24px rgba(36, 24, 22, .08);
  --pad: 72px;
  --max: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; max-width: var(--max); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: var(--night);
  color: var(--ivory);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(244, 239, 232, .08);
}
.toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  color: var(--ivory);
  line-height: 1.25;
}
.logo strong { font-size: 15px; font-weight: 700; display: block; }
.logo span { font-size: 13px; color: #E6DDD3; }
.tool-nav { display: flex; align-items: stretch; gap: 4px; flex: 1; }
.tool-link {
  display: flex;
  align-items: center;
  border-left: 3px solid transparent;
  padding: 8px 12px;
  color: #F4EFE8;
  border-radius: 0 var(--radius-tool) var(--radius-tool) 0;
  transition: background .2s ease, border-color .2s ease;
}
.tool-link:hover, .tool-link:focus-visible, .tool-link.is-active {
  border-left-color: var(--berry);
  background: rgba(255, 251, 247, .06);
}
.tool-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E6DDD3;
  font-size: 13px;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  display: block;
}
.icon-btn, .menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tool);
  border: 1px solid rgba(244, 239, 232, .2);
  background: transparent;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.icon-btn:hover, .menu-toggle:hover { border-color: var(--berry); }
.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-tool);
  background: var(--berry);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.bell-wrap { position: relative; }
.bell-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  z-index: 40;
}
.bell-panel strong { display: block; font-size: 18px; }
.bell-panel span { color: var(--muted); font-size: 13px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-tool);
  border: 1px solid var(--berry);
  background: var(--berry);
  color: #FFFBF7;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--berry-deep); border-color: var(--berry-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--berry); }
.btn-ghost:hover { background: rgba(122, 62, 85, .08); color: var(--berry-deep); }
.btn-light { background: transparent; color: var(--ivory); border-color: rgba(244, 239, 232, .35); }
.btn-light:hover { background: rgba(255, 251, 247, .08); color: #fff; border-color: var(--berry); }
.menu-toggle { display: none; }
.off-canvas { background: var(--night); color: var(--ivory); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(244, 239, 232, .08);
}
.drawer-nav { display: flex; flex-direction: column; padding: 8px 0 20px; }
.drawer-nav a {
  border-left: 3px solid transparent;
  padding: 12px 16px;
  color: var(--ivory);
}
.drawer-nav a.is-active, .drawer-nav a:hover { border-left-color: var(--berry); background: rgba(255, 251, 247, .05); }
.block { padding: var(--pad) 0; }
.block-card { background: #FFFBF7; }
.block-band { background: var(--band); }
.block-dark { background: var(--night); color: var(--ivory); }
.block-blush { background: var(--blush); }
.section-title {
  font-size: 28px;
  border-left: 3px solid var(--berry);
  padding-left: 10px;
  margin-bottom: 12px;
}
.block-dark .section-title { border-left-color: var(--amber); }
.section-desc { color: var(--muted); margin-bottom: 22px; }
.block-dark .section-desc { color: #E6DDD3; }
.h1-mark {
  display: inline-block;
  width: 8px;
  height: .85em;
  background: var(--berry);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -2px;
}
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, .75fr);
  gap: 16px;
  align-items: stretch;
}
.bento-main, .mini, .panel, .func, .scene-card, .rank-card, .rank-top, .rank-row, .news-item, .check-item, .qa-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  box-shadow: var(--shadow);
}
.bento-main { padding: 28px 28px 22px; }
.bento-main h1 { font-size: 34px; margin-bottom: 8px; }
.sub { color: var(--berry); font-weight: 700; margin-bottom: 10px; }
.lead { margin-bottom: 18px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.metric { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-tool); padding: 10px 12px; }
.metric b { display: block; font-size: 26px; line-height: 1.2; color: var(--night); }
.metric span { color: var(--muted); font-size: 13px; }
.bento-side { display: grid; gap: 16px; }
.mini { padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.mini h2 { font-size: 18px; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 14px; }
.cta-bar {
  margin-top: 16px;
  background: var(--night);
  color: var(--ivory);
  border-radius: var(--radius-row);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-bar .note { color: #E6DDD3; font-size: 14px; }
.entry-row, .rank-row, .news-item, .assure-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.entry-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.entry-row:hover { transform: translateY(-1px); border-color: var(--berry); }
.entry-row h3, .rank-card h3, .rank-top h3, .rank-row h3, .news-item h3 { font-size: 18px; margin-bottom: 4px; }
.entry-row p, .rank-card p, .rank-top p, .rank-row p, .news-item p, .func p, .scene-card p, .check-item p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.func { padding: 18px 16px 16px; height: 100%; }
.func h3 { font-size: 18px; margin: 10px 0 6px; }
.func-ico {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-tool);
  background: rgba(122, 62, 85, .1);
  color: var(--berry);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.scene-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.scene-card {
  min-width: min(320px, 86vw);
  flex: 1;
  padding: 0;
  scroll-snap-align: start;
  overflow: hidden;
  color: inherit;
  transition: transform .2s ease;
}
.scene-card:hover { transform: translateY(-1px); }
.solid-bar {
  background: var(--berry);
  color: #FFFBF7;
  min-height: 72px;
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
  font-weight: 700;
}
.scene-card div, .rank-card, .rank-top .copy, .rank-row .copy { padding: 14px 16px 16px; }
.scene-card h3 { font-size: 18px; margin-bottom: 6px; }
.compare {
  display: grid;
  grid-template-columns: 112px 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.compare div { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare div:nth-child(3n) { border-right: 0; }
.compare .label { background: var(--ivory); font-weight: 700; color: var(--muted); }
.compare .head { background: var(--night); color: var(--ivory); font-weight: 700; }
.compare .head.good { background: var(--berry); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding-top: 8px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 18px;
  right: -18px;
  top: 26px;
  height: 2px;
  background: rgba(244, 239, 232, .2);
}
.timeline li:last-child::before { display: none; }
.node-title { margin: 10px 0 6px; font-size: 18px; }
.medal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--card);
  color: var(--ink);
  flex: 0 0 auto;
}
.medal.m1 { border-color: var(--amber); color: #8A5A16; }
.medal.m2 { border-color: var(--silver); color: #5C5852; }
.medal.m3 { border-color: var(--copper); color: var(--copper); }
.block-dark .medal { background: transparent; }
.rank-top { display: grid; grid-template-columns: auto minmax(0, 1fr) 220px; gap: 8px; align-items: center; padding: 8px; margin-bottom: 12px; }
.rank-top .copy, .rank-card .copy, .rank-row .copy { padding: 12px; }
.sub-bar {
  background: var(--berry);
  color: #FFFBF7;
  border-radius: var(--radius-tool);
  min-height: 88px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-weight: 700;
}
.rank-card { height: 100%; padding: 16px; }
.rank-row { padding: 12px 14px; margin-top: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-tool);
  padding: 2px 8px;
  background: rgba(62, 122, 98, .12);
  color: var(--moss);
  font-size: 13px;
  font-weight: 700;
}
.tag.warn { background: rgba(138, 75, 50, .12); color: var(--ochre); }
.rank-status, .news-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); font-size: 13px; }
.more-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.news-item { padding: 14px 16px; margin-bottom: 10px; }
.news-item:hover { border-color: var(--berry); }
.assure-list { display: grid; gap: 10px; }
.assure-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  padding: 14px 16px;
  grid-template-columns: auto minmax(0, 1fr);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--moss); margin-top: 8px; }
.dot.warn { background: var(--ochre); }
.device-panel { padding: 18px; height: 100%; }
.device-panel h3 { font-size: 18px; margin-bottom: 8px; }
.device-panel ol { margin: 0; padding-left: 18px; color: var(--muted); }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-item { padding: 16px; }
.qa-item h3 { font-size: 17px; margin-bottom: 6px; }
.faq-acc { margin: 0; list-style: none; }
.faq-acc .accordion-item { margin-bottom: 10px; border: 0; background: transparent; }
.faq-acc .accordion-title {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius-tool);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 16px;
  line-height: 1.5;
}
.faq-acc .accordion-title:hover, .faq-acc .accordion-title:focus { background: var(--card); color: var(--ink); border-left-color: var(--berry); }
.faq-acc .accordion-item.is-active .accordion-title { border-left-color: var(--berry); background: var(--card); color: var(--ink); }
.faq-acc .accordion-title::before { color: var(--berry); }
.faq-acc .accordion-content { background: transparent; border: 0; color: var(--ink); padding: 8px 4px 12px 14px; }
.check-item { padding: 16px; height: 100%; }
.check-item h3 { font-size: 18px; margin-bottom: 6px; }
.demand {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 20px;
  align-items: start;
}
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tool);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
}
.field input:focus, .field select:focus { border-color: var(--berry); box-shadow: none; }
.form-err { color: var(--ochre); min-height: 1.5em; font-size: 14px; }
.success-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  border-radius: var(--radius-row);
  padding: 28px 18px;
  font-size: 22px;
  font-weight: 700;
}
.anchor-rail, .article-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.anchor-rail a, .article-links a {
  border-left: 3px solid var(--berry);
  background: var(--card);
  border-radius: 0 var(--radius-tool) var(--radius-tool) 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
}
.anchor-rail a:hover, .article-links a:hover { background: var(--blush); }
.site-footer { background: var(--night); color: #E6DDD3; padding: 48px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.2fr; gap: 22px; }
.site-footer h2 { color: #FFFBF7; font-size: 16px; margin-bottom: 10px; border: 0; padding: 0; }
.site-footer a { display: block; padding: 4px 0; color: #E6DDD3; }
.site-footer a:hover { color: #fff; }
.foot-logo strong, .foot-logo span { display: block; color: #FFFBF7; }
.foot-logo span { color: #E6DDD3; font-size: 14px; }
.copyright { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(244, 239, 232, .12); font-size: 13px; color: #C5C1B7; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr; }
  .rank-top { grid-template-columns: auto minmax(0, 1fr); }
  .sub-bar { grid-column: 1 / -1; min-height: 64px; }
  .demand, .qa-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  :root { --pad: 40px; }
  .menu-toggle { display: inline-flex; }
  .logo { min-width: 0; max-width: 46vw; }
  .logo strong { font-size: 13px; }
  .logo span { font-size: 12px; }
  .bento-main { padding: 18px; }
  .bento-main h1, .section-title { font-size: 24px; }
  .metrics, .timeline, .compare, .foot-grid { grid-template-columns: 1fr; }
  .compare div { border-right: 0; }
  .timeline li::before { display: none; }
  .entry-row, .rank-row, .news-item { grid-template-columns: auto minmax(0, 1fr); }
  .rank-status, .news-side { align-items: flex-start; grid-column: 2; }
  .status em { display: none; }
  .btn-continue { padding: 0 10px; }
}

/* roulang page: category1 */
:root {
  --night: #241816;
  --berry: #7A3E55;
  --berry-deep: #70394E;
  --ivory: #F4EFE8;
  --card: #FFFBF7;
  --ink: #2C241F;
  --muted: #6F625A;
  --line: #E6DDD3;
  --copper: #8C5A3C;
  --silver: #C5C1B7;
  --amber: #C8893A;
  --moss: #3E7A62;
  --ochre: #8A4B32;
  --band: #EFE6DC;
  --blush: #F7EEE9;
  --radius-tool: 8px;
  --radius-row: 12px;
  --shadow: 0 8px 24px rgba(36, 24, 22, .08);
  --pad: 72px;
  --max: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.6rem; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; color: var(--ink); margin: 0 0 0.4rem; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: var(--night);
  color: var(--ivory);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(244, 239, 232, .08);
}
.toolbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  color: var(--ivory);
  line-height: 1.25;
}
.logo strong { font-size: 15px; font-weight: 700; display: block; }
.logo span { font-size: 13px; color: #E6DDD3; }
.tool-nav { display: flex; align-items: stretch; gap: 4px; flex: 1; }
.tool-link {
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-height: 64px;
  color: #E6DDD3;
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tool-link.is-active, .tool-link:hover {
  border-left-color: var(--berry);
  color: #fff;
  background: rgba(255, 251, 247, .05);
}
.tool-side { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E6DDD3;
  font-size: 13px;
  font-style: normal;
}
.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(62, 122, 98, .18);
}
.icon-btn, .menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tool);
  border: 1px solid rgba(244, 239, 232, .2);
  background: transparent;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover, .menu-toggle:hover { border-color: var(--berry); }
.menu-toggle { display: none; flex-direction: column; gap: 3px; }
.menu-toggle span { display: block; width: 16px; height: 2px; background: var(--ivory); }
.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-tool);
  background: var(--berry);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.notice { position: relative; }
.notice-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 46px;
  width: 220px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  z-index: 40;
}
.notice-panel strong { display: block; font-size: 14px; }
.notice-panel span { color: var(--muted); font-size: 13px; }
.notice:hover .notice-panel, .notice:focus-within .notice-panel { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-tool);
  border: 1px solid var(--berry);
  background: var(--berry);
  color: #FFFBF7;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--berry-deep); border-color: var(--berry-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--berry); }
.btn-ghost:hover { background: rgba(122, 62, 85, .08); color: var(--berry-deep); }
.btn-light { background: transparent; color: var(--ivory); border-color: rgba(244, 239, 232, .35); }
.btn-light:hover { background: rgba(255, 251, 247, .08); color: #fff; border-color: var(--berry); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.off-canvas { background: var(--night); color: var(--ivory); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(244, 239, 232, .08);
}
.drawer-nav { display: flex; flex-direction: column; padding: 8px 0 20px; }
.drawer-nav a {
  border-left: 3px solid transparent;
  padding: 12px 16px;
  color: var(--ivory);
  font-weight: 700;
}
.drawer-nav a.is-active, .drawer-nav a:hover { border-left-color: var(--berry); background: rgba(255, 251, 247, .05); }
.block { padding: var(--pad) 0; }
.block-band { background: var(--band); }
.block-sheet { background: var(--card); }
.block-blush { background: var(--blush); }
.block-night { background: var(--night); color: var(--ivory); }
.block-night h2, .block-night h3 { color: #fff; }
.section-title {
  font-size: 28px;
  border-left: 3px solid var(--berry);
  padding-left: 10px;
  margin-bottom: 12px;
}
.block-night .section-title { border-left-color: var(--amber); }
.section-desc { color: var(--muted); margin-bottom: 22px; max-width: var(--max); }
.block-night .section-desc { color: #E6DDD3; }
.cat-head { padding: 40px 0 36px; }
.cat-head h1 {
  font-size: 34px;
  line-height: 1.35;
  border-left: 3px solid var(--berry);
  padding-left: 12px;
  margin-bottom: 10px;
}
.lead { max-width: var(--max); color: var(--ink); margin-bottom: 0; }
.filter-card, .rank-line, .rule-bar, .count-card, .scene-card, .check-row, .def-list, .action-line {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  box-shadow: var(--shadow);
}
.filter-card { padding: 16px 16px 8px; }
.filter-card legend {
  font-weight: 700;
  font-size: 14px;
  padding: 0 6px;
  color: var(--berry);
}
.filter-card label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.cat-select {
  display: block;
  width: 100%;
  height: 40px;
  margin: 6px 0 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tool);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F625A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") right 10px center no-repeat;
  color: var(--ink);
  box-shadow: none;
  appearance: none;
}
.cat-select:hover { border-color: var(--berry); }
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  transition: transform .2s ease, border-color .2s ease;
}
.rank-line:hover { transform: translateY(-1px); border-color: var(--berry); }
.rank-line.is-first { background: #FFF7F1; border-color: #E7C9A4; }
.medal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--card);
}
.medal span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.medal.m1 { border-color: var(--amber); color: var(--amber); }
.medal.m2 { border-color: var(--silver); color: #6b655e; }
.medal.m3 { border-color: var(--copper); color: var(--copper); }
.medal.mn { border-color: var(--line); color: var(--muted); }
.rank-line h3 { font-size: 18px; margin: 0 0 4px; }
.rank-line p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
.subbar { height: 8px; width: min(180px, 100%); border-radius: var(--radius-tool); margin-top: 8px; background: var(--berry); }
.subbar.partial { background: var(--ochre); }
.subbar.none { background: var(--silver); }
.rank-state { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.rank-state time { color: var(--muted); font-size: 13px; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-tool);
  padding: 2px 8px;
  background: rgba(62, 122, 98, .12);
  color: var(--moss);
  font-size: 13px;
  font-weight: 700;
}
.tag.warn { background: rgba(138, 75, 50, .12); color: var(--ochre); }
.tag.mute { background: rgba(197, 193, 183, .35); color: var(--muted); }
.empty-note {
  margin-top: 12px;
  color: var(--ochre);
  background: rgba(138, 75, 50, .08);
  border-radius: var(--radius-tool);
  padding: 10px 12px;
}
.rule-bar { padding: 18px 20px; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.rule-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  color: var(--copper);
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--blush);
}
.rule-mark span { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--amber); display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.3; color: var(--ink); }
.count-strip { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 12px; }
.count-card { padding: 18px 18px 16px; }
.count-card b { display: block; font-size: 40px; line-height: 1.1; color: var(--berry); font-weight: 700; }
.count-card span { color: var(--muted); font-size: 14px; }
.count-card.wide { background: var(--night); border-color: var(--night); }
.count-card.wide b, .count-card.wide span, .count-card.wide h2 { color: #fff; }
.count-card.wide span { color: #E6DDD3; }
.scene-card { height: 100%; overflow: hidden; color: inherit; transition: transform .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.scene-card:hover { transform: translateY(-1px); border-color: var(--berry); }
.scene-bar { height: 10px; background: var(--berry); }
.scene-card.short .scene-bar { background: var(--amber); width: 46%; }
.scene-card div.copy { padding: 16px 18px 18px; }
.scene-card h3 { font-size: 20px; margin-bottom: 6px; }
.scene-card p { color: var(--muted); font-size: 14px; }
.scene-card .go { margin-top: 8px; color: var(--berry); font-weight: 700; }
.check-list { display: grid; gap: 10px; }
.check-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}
.check-row h3 { font-size: 16px; margin: 0; }
.check-row p { margin: 0; color: var(--muted); font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--moss); display: inline-block; }
.dot.warn { background: var(--ochre); }
.def-list { padding: 8px 18px; }
.def-list dt {
  font-weight: 700;
  padding: 14px 0 4px 10px;
  border-left: 3px solid var(--berry);
  margin-top: 4px;
}
.def-list dd { margin: 0 0 12px; color: var(--muted); max-width: var(--max); }
.action-line {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.action-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { background: var(--night); color: #E6DDD3; padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.2fr; gap: 28px; }
.foot-logo strong, .foot-logo span { display: block; }
.foot-logo strong { color: #fff; font-size: 18px; }
.foot-logo span { color: #E6DDD3; font-size: 14px; }
.site-footer h2 { color: #fff; font-size: 16px; border-left: 3px solid var(--amber); padding-left: 8px; margin-bottom: 10px; }
.site-footer a { display: block; padding: 4px 0; color: #E6DDD3; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #E6DDD3; font-size: 14px; }
.copyright { border-top: 1px solid rgba(244, 239, 232, .12); margin: 28px 0 0; padding-top: 16px; font-size: 13px; color: #C5C1B7; }
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  .count-strip { grid-template-columns: 1fr 1fr; }
  .count-card.wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .cat-head h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .rank-line, .check-row, .rule-bar { grid-template-columns: 56px minmax(0, 1fr); }
  .rank-state, .check-row .tag { grid-column: 2; align-items: flex-start; text-align: left; }
  .scene-card.short .scene-bar { width: 100%; }
}
@media screen and (max-width: 39.99875em) {
  .menu-toggle { display: inline-flex !important; }
  .logo { min-width: 0; }
  .status-pill em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 520px) {
  .container { width: min(1120px, calc(100% - 20px)); }
  .toolbar { min-height: 58px; gap: 6px; }
  .logo strong { font-size: 13px; }
  .logo span { font-size: 12px; }
  .btn { padding: 0 10px; min-height: 36px; }
  .count-strip, .foot-grid, .action-line { grid-template-columns: 1fr; display: grid; }
  .action-line { align-items: stretch; }
  .action-btns .btn { flex: 1; }
  .cat-head h1 { font-size: 24px; }
  .count-card b { font-size: 32px; }
}
