/* roulang page: index */
:root {
  --bg: #F6F0E8;
  --ink: #2A1822;
  --muted: #6D5360;
  --card: #FFFCF8;
  --deep: #3A2433;
  --plum: #7A2E5A;
  --coral: #E28B6A;
  --gold: #F3C15B;
  --pine: #2F6B58;
  --line: #C4493A;
  --cream: #EFE4D8;
  --radius: 1.6rem;
  --shadow: 0 14px 36px rgba(42, 24, 34, .08);
  --space: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { max-width: 68em; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
.page-home .container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.page-home .info-bar {
  background: var(--deep);
  color: var(--bg);
  min-height: 44px;
}
.page-home .info-track {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: .875rem;
}
.page-home .info-tip { opacity: .88; }
.page-home .info-action {
  margin-left: auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 .9rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.page-home .info-action:hover { filter: brightness(1.06); }
.page-home .nav-bar {
  background: var(--card);
  border-bottom: 1px solid rgba(42, 24, 34, .08);
  position: sticky;
  top: 0;
  z-index: 40;
}
.page-home .nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.page-home .logo { display: flex; align-items: center; gap: .7rem; min-height: 44px; max-width: calc(100% - 3.5rem); }
.page-home .logo-mark {
  width: 2.4rem; height: 2.4rem; border-radius: .8rem; flex: none;
  display: grid; place-items: center; color: var(--card); font-weight: 800;
  background: linear-gradient(135deg, var(--plum), var(--coral));
}
.page-home .logo-text { display: flex; flex-direction: column; font-weight: 800; color: var(--plum); letter-spacing: .01em; }
.page-home .logo-text small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.page-home .nav-toggle {
  display: none; min-width: 44px; min-height: 44px; border-radius: .8rem;
  border: 1.5px solid var(--ink); background: transparent; padding: 0 .8rem; cursor: pointer;
}
.page-home .nav-links { display: flex; align-items: center; gap: .4rem 1.1rem; }
.page-home .nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .15rem; color: var(--ink); }
.page-home .nav-links a:hover { color: var(--plum); }
.page-home .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); color: var(--plum); font-weight: 700; }
.page-home .block { padding: 4.4rem 0; }
.page-home .block-alt { background: var(--cream); }
.page-home .hero-wrap { padding: 1.25rem 0 0; }
.page-home .hero-panel {
  position: relative;
  overflow: hidden;
  color: #FFFCF8;
  background: linear-gradient(135deg, #7A2E5A 0%, #A24B62 48%, #E28B6A 100%);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  padding: 2.4rem 1.4rem 1.6rem;
}
.page-home .hero-panel .lead { color: rgba(255,252,248,.94); max-width: 46rem; }
.page-home .kicker { color: #F3C15B; font-weight: 700; font-size: .92rem; }
.page-home .stamp {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: var(--line); color: #fff; font-weight: 800;
  border-radius: 999px; padding: .45rem .85rem; transform: rotate(8deg);
  box-shadow: 0 8px 18px rgba(42,24,34,.18);
}
.page-home h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 16em; }
.page-home h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.page-home .lead { margin: .8rem 0 0; color: var(--muted); }
.page-home .hero-panel h1, .page-home .hero-panel .kicker { color: #FFFCF8; }
.page-home .pill, .page-home .idx {
  display: inline-flex; align-items: center; min-height: 1.8rem;
  border-radius: 999px; padding: .1rem .7rem; font-weight: 750; font-size: .82rem;
}
.page-home .pill { background: var(--gold); color: var(--ink); }
.page-home .pill-line { background: transparent; border: 1px solid rgba(42,24,34,.2); }
.page-home .pill-pine { background: var(--pine); color: #F6F0E8; }
.page-home .idx { background: rgba(255,252,248,.9); color: var(--ink); }
.page-home .stat-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.page-home .stat {
  background: var(--gold); color: var(--ink); border-radius: 999px;
  min-height: 44px; padding: .35rem 1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 800;
}
.page-home .stat b { font-size: 1.05rem; }
.page-home .attrbar {
  margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: 999px; overflow: hidden; background: rgba(255,252,248,.16);
}
.page-home .attrbar span { min-height: 46px; display: flex; flex-direction: column; justify-content: center; padding: .25rem .8rem; font-size: .85rem; }
.page-home .attrbar em { font-style: normal; opacity: .75; font-size: .75rem; }
.page-home .on-card .attrbar { background: var(--cream); color: var(--ink); }
.page-home .btn {
  min-height: 44px; padding: 0 1.2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-weight: 750; transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.page-home .btn-primary { border: 0; color: #FFFCF8; background: linear-gradient(135deg, #7A2E5A, #E28B6A); }
.page-home .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.page-home .btn-primary:active { transform: translateY(0); }
.page-home .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.page-home .btn-ghost:hover { background: #F6E4EE; }
.page-home .hero-panel .btn-ghost { color: #FFFCF8; border-color: #FFFCF8; }
.page-home .hero-panel .btn-ghost:hover { background: #F6E4EE; color: var(--ink); }
.page-home .btn:disabled { filter: grayscale(.4); opacity: .55; pointer-events: none; }
.page-home .section-head { margin-bottom: 1.3rem; }
.page-home .scroll-row { display: flex; gap: 1.25rem; overflow-x: auto; padding: .3rem .1rem 1rem; scroll-snap-type: x mandatory; }
.page-home .guide-card, .page-home .soft-card, .page-home .channel-card, .page-home .scene-card, .page-home .qa, .page-home .faq-item, .page-home .entry-row, .page-home .news-item {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(42,24,34,.05);
}
.page-home .guide-card { flex: 0 0 18rem; scroll-snap-align: start; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease; }
.page-home .guide-card:hover, .page-home .channel-card:hover, .page-home .news-item:hover, .page-home .entry-row:hover { transform: translateY(-2px); }
.page-home .swatch { height: 7.2rem; }
.page-home .s1 { background: linear-gradient(135deg, #7A2E5A, #E28B6A); }
.page-home .s2 { background: linear-gradient(160deg, #3A2433, #C4493A); }
.page-home .s3 { background: linear-gradient(135deg, #2F6B58, #E28B6A); }
.page-home .s4 { background: linear-gradient(135deg, #7A2E5A, #F3C15B); }
.page-home .s5 { background: linear-gradient(160deg, #C4493A, #F3C15B); }
.page-home .s6 { background: linear-gradient(135deg, #3A2433, #E28B6A); }
.page-home .guide-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.page-home .guide-top { display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.page-home .badge-pair { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.page-home .guide-card h3, .page-home .soft-card h3, .page-home .channel-card h3, .page-home .scene-card h3 { font-size: 1.12rem; }
.page-home .guide-card p, .page-home .soft-card p, .page-home .channel-card p, .page-home .scene-card p, .page-home .qa p { margin: 0; color: var(--muted); font-size: .95rem; }
.page-home .bento { display: grid; grid-template-columns: 1.45fr .9fr; grid-template-areas: "big a" "big b" "wide wide"; gap: 1.25rem; }
.page-home .bento-big { grid-area: big; background: linear-gradient(160deg, #3A2433, #7A2E5A); color: #FFFCF8; }
.page-home .bento-a { grid-area: a; }
.page-home .bento-b { grid-area: b; }
.page-home .bento-wide { grid-area: wide; background: var(--deep); color: #FFFCF8; }
.page-home .soft-card { padding: 1.35rem; }
.page-home .bento-big p, .page-home .bento-wide p { color: rgba(255,252,248,.86); }
.page-home .channel-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.page-home .channel-card { padding: 1.5rem; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.page-home .channel-card.dark { background: linear-gradient(145deg, #7A2E5A, #E28B6A); color: #FFFCF8; }
.page-home .channel-card.dark p { color: rgba(255,252,248,.9); }
.page-home .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.page-home .compare article { border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.page-home .compare-a { background: var(--card); }
.page-home .compare-b { background: var(--deep); color: #FFFCF8; }
.page-home .compare ul { margin: .8rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.page-home .compare li { display: flex; justify-content: space-between; gap: .8rem; align-items: center; min-height: 44px; border-top: 1px solid rgba(42,24,34,.08); }
.page-home .compare-b li { border-top-color: rgba(255,252,248,.14); }
.page-home .diff-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.page-home .entry-list { display: grid; gap: .85rem; }
.page-home .entry-row { display: grid; grid-template-columns: 8.2rem 1.4fr 7.2rem 4.6rem 4.6rem; gap: .6rem; align-items: center; padding: .9rem 1rem; min-height: 72px; }
.page-home .timeline { margin-left: .4rem; border-left: 2px solid var(--coral); display: grid; gap: 1.1rem; }
.page-home .tl-item { position: relative; padding: .2rem 0 .2rem 1.3rem; }
.page-home .tl-item::before {
  content: ""; position: absolute; left: -.42rem; top: .55rem; width: .72rem; height: .72rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--bg);
}
.page-home .block-alt .tl-item::before { box-shadow: 0 0 0 4px var(--cream); }
.page-home .tl-item strong { display: block; }
.page-home .news-list { display: grid; gap: .75rem; }
.page-home .news-item { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: center; padding: .95rem 1.1rem; min-height: 72px; }
.page-home .news-item time { font-weight: 800; color: var(--plum); }
.page-home .more-link { margin-top: 1rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--plum); font-weight: 800; border-bottom: 2px solid var(--coral); }
.page-home .tag-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.page-home .tag { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--card); border: 1px solid rgba(122,46,90,.25); box-shadow: var(--shadow); }
.page-home .tag:hover { background: #F6E4EE; }
.page-home .assure { display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 1.25rem; }
.page-home .assure article { background: var(--card); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); border-top: 4px solid var(--pine); }
.page-home .assure article:nth-child(2) { border-top-color: var(--line); }
.page-home .assure article:nth-child(3) { border-top-color: var(--coral); }
.page-home .scene-grid { display: grid; grid-template-columns: 1.25fr .85fr .95fr; gap: 1.25rem; }
.page-home .scene-card { padding: 1.3rem; }
.page-home .qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.page-home .qa { padding: 1.15rem 1.2rem; }
.page-home .qa h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.page-home .faq-list { display: grid; gap: .75rem; }
.page-home .faq-item { padding: 0 1.1rem; }
.page-home .faq-item summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 750; list-style: none; }
.page-home .faq-item summary::-webkit-details-marker { display: none; }
.page-home .faq-item summary::after { content: "+"; margin-left: auto; color: var(--plum); font-size: 1.3rem; }
.page-home .faq-item[open] summary::after { content: "–"; }
.page-home .faq-item p { margin: 0 0 1rem; color: var(--muted); }
.page-home .faq-item a { color: var(--plum); border-bottom: 1px solid var(--coral); }
.page-home .rhythm {
  background: linear-gradient(135deg, #3A2433, #7A2E5A 60%, #E28B6A);
  color: #FFFCF8; border-radius: 1.75rem; padding: 1.6rem; box-shadow: var(--shadow);
}
.page-home .rhythm p { color: rgba(255,252,248,.9); }
.page-home .form-card { background: var(--card); border-radius: 1.75rem; padding: 1.5rem; box-shadow: var(--shadow); }
.page-home .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.page-home label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; }
.page-home input, .page-home textarea {
  width: 100%; min-height: 44px; border-radius: .9rem; border: 1px solid rgba(42,24,34,.16);
  background: #fff; padding: .65rem .8rem;
}
.page-home textarea { min-height: 7rem; resize: vertical; }
.page-home input:focus, .page-home textarea:focus { border-color: var(--plum); outline: 2px solid rgba(122,46,90,.25); }
.page-home .full { grid-column: 1 / -1; }
.page-home .form-ok { background: rgba(47,107,88,.12); border: 1px solid var(--pine); color: var(--pine); border-radius: 1rem; padding: .9rem 1rem; font-weight: 700; }
.page-home .form-err { background: rgba(196,73,58,.1); border: 1px solid var(--line); color: var(--line); border-radius: 1rem; padding: .8rem 1rem; }
.page-home .helper-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.page-home .helper-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--plum); font-weight: 750; }
.page-home .site-footer { background: var(--deep); color: #F6F0E8; padding: 2.8rem 0 2rem; }
.page-home .foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .9fr; gap: 1.5rem; }
.page-home .site-footer a { min-height: 36px; display: inline-flex; align-items: center; }
.page-home .site-footer a:hover { color: var(--gold); }
.page-home .foot-title { font-weight: 800; color: #fff; margin-bottom: .4rem; }
.page-home .copy { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(246,240,232,.16); font-size: .92rem; }
@media (max-width: 1023px) {
  .page-home .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .page-home .nav-bar { position: sticky; }
  .page-home .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--card);
    padding: .4rem 1rem 1rem; box-shadow: var(--shadow); border-bottom: 1px solid rgba(42,24,34,.08);
  }
  .page-home .nav-links.is-open { display: flex; }
  .page-home .bento, .page-home .channel-grid, .page-home .compare, .page-home .assure, .page-home .scene-grid, .page-home .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-home .bento { grid-template-areas: "big big" "a b" "wide wide"; }
  .page-home .entry-row { grid-template-columns: 1fr 1fr 1fr; }
  .page-home .entry-row strong { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .page-home .qa-grid, .page-home .form-grid, .page-home .channel-grid, .page-home .compare, .page-home .assure, .page-home .scene-grid, .page-home .foot-grid, .page-home .bento { grid-template-columns: 1fr; }
  .page-home .bento { grid-template-areas: "big" "a" "b" "wide"; }
  .page-home .attrbar { grid-template-columns: 1fr; border-radius: 1rem; }
  .page-home .news-item { grid-template-columns: 4.4rem 1fr; }
}
@media (max-width: 520px) {
  .page-home .block { padding: 2.6rem 0; }
  .page-home .hero-panel { padding: 2.6rem 1rem 1.2rem; }
  .page-home .stamp { right: .6rem; top: .7rem; }
  .page-home .entry-row { grid-template-columns: 1fr; }
  .page-home .logo-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-home .btn, .page-home .guide-card, .page-home .channel-card { transition: none; }
}

/* roulang page: category1 */
:root {
 --bg: #F6F0E8;
 --ink: #2A1822;
 --muted: #6D5360;
 --card: #FFFCF8;
 --deep: #3A2433;
 --plum: #7A2E5A;
 --coral: #E28B6A;
 --gold: #F3C15B;
 --pine: #2F6B58;
 --line: #C4493A;
 --cream: #EFE4D8;
 --radius: 1.6rem;
 --shadow: 0 14px 36px rgba(42, 24, 34, .08);
 --space: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 2.4vw, 2.35rem); line-height: 1.25; font-weight: 800; letter-spacing: .01em; }
h2 { font-size: clamp(1.28rem, 1.8vw, 1.6rem); line-height: 1.25; font-weight: 800; }
h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 750; }
p { max-width: 68em; }
.page-home .container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; }
.info-bar { background: var(--deep); color: #F6F0E8; height: 36px; }
.info-row {
 height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
 font-size: .82rem; white-space: nowrap; overflow-x: auto;
}
.info-domain { letter-spacing: .02em; }
.info-tip { color: rgba(246,240,232,.88); }
.info-action { color: var(--gold); min-height: 36px; display: inline-flex; align-items: center; font-weight: 750; }
.info-action:hover { color: #ffe3a3; }
.page-home .nav-bar {
 background: var(--card);
 border-bottom: 1px solid rgba(42, 24, 34, .08);
 position: static;
}
.page-home .nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.page-home .logo { display: flex; align-items: center; gap: .7rem; min-height: 44px; max-width: calc(100% - 3.5rem); }
.page-home .logo-mark {
 width: 2.4rem; height: 2.4rem; border-radius: .8rem; flex: none;
 display: grid; place-items: center; color: var(--card); font-weight: 800;
 background: linear-gradient(135deg, var(--plum), var(--coral));
}
.page-home .logo-text { display: flex; flex-direction: column; font-weight: 800; color: var(--plum); letter-spacing: .01em; line-height: 1.2; }
.page-home .logo-text small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.page-home .nav-toggle {
 display: none; min-width: 44px; min-height: 44px; border-radius: .8rem;
 border: 1.5px solid var(--ink); background: transparent; padding: 0 .8rem; cursor: pointer;
}
.page-home .nav-toggle:hover { background: #F6E4EE; }
.page-home .nav-toggle:focus-visible, .page-home .btn:focus-visible, .page-home .chip:focus-visible, .faq-item summary:focus-visible, .info-action:focus-visible, .page-home .nav-links a:focus-visible {
 outline: 2px solid var(--line); outline-offset: 2px;
}
.page-home .nav-links { display: flex; align-items: center; gap: .4rem 1.1rem; }
.page-home .nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .15rem; color: var(--ink); }
.page-home .nav-links a:hover { color: var(--plum); }
.page-home .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); color: var(--plum); font-weight: 700; }
.page-home .lead { margin: .55rem 0 0; color: var(--muted); max-width: 40rem; }
.page-home .pill, .page-home .idx {
 display: inline-flex; align-items: center; justify-content: center; min-height: 1.8rem;
 border-radius: 999px; padding: .1rem .7rem; font-weight: 750; font-size: .82rem;
}
.page-home .pill { background: var(--gold); color: var(--ink); }
.page-home .pill-line { background: transparent; border: 1px solid rgba(42,24,34,.2); }
.page-home .pill-pine { background: var(--pine); color: #F6F0E8; }
.page-home .idx { background: transparent; border: 1px solid rgba(122,46,90,.35); color: var(--plum); }
.page-home .btn {
 min-height: 44px; padding: 0 1.2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
 cursor: pointer; font-weight: 750; border: 0; transition: transform .18s ease, filter .18s ease, background .18s ease, color .18s ease;
}
.page-home .btn-primary { color: #FFFCF8; background: linear-gradient(135deg, #7A2E5A, #E28B6A); }
.page-home .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.page-home .btn-primary:active { transform: translateY(0); }
.page-home .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.page-home .btn-ghost:hover { background: #F6E4EE; }
.page-home .btn:disabled, .page-home .btn.is-done { filter: grayscale(.4); opacity: .55; pointer-events: none; }
.page-home .section-head { margin-bottom: 1.15rem; }
.page-home .section-head p { color: var(--muted); margin-top: .35rem; }
.sec { padding: 2.4rem 0; }
.sec-tint { background: #F3E7DC; }
.sec-plain { background: transparent; }
.cat-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: end; }
.crumb { display: flex; gap: .4rem; color: var(--muted); font-size: .88rem; margin-bottom: .55rem; }
.crumb a:hover { color: var(--plum); }
.filter-card {
 background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
 border: 1px solid rgba(42,24,34,.05); padding: 1rem 1rem .9rem;
}
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-row + .filter-row { margin-top: .55rem; }
.filter-label { font-size: .82rem; color: var(--muted); min-width: 3.2rem; font-weight: 700; }
.chip {
 min-height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1.5px solid rgba(42,24,34,.18);
 background: transparent; cursor: pointer; font-weight: 700;
}
.chip:hover { background: #F6E4EE; }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.card-grid { align-items: stretch; }
.guide-card, .soft-card, .faq-item, .news-item {
 background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(42,24,34,.05);
}
.guide-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover, .news-item:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(42, 24, 34, .12); }
.swatch { height: 92px; }
.swatch-a { background: linear-gradient(135deg, #7A2E5A, #E28B6A); }
.swatch-b { background: linear-gradient(135deg, #3A2433, #C4493A 70%, #E28B6A); }
.swatch-c { background: linear-gradient(160deg, #2F6B58, #E28B6A); }
.swatch-d { background: linear-gradient(135deg, #7A2E5A, #F3C15B); }
.guide-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.badge-pair { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.guide-card h3 a:hover { color: var(--plum); }
.guide-card p, .soft-card p, .news-item p { color: var(--muted); font-size: .95rem; }
.attrbar {
 display: grid; grid-template-columns: repeat(3, 1fr); background: var(--cream); color: var(--ink);
 border-radius: .95rem; overflow: hidden; margin-top: auto;
}
.attrbar span { padding: .45rem .25rem; text-align: center; font-weight: 750; font-size: .84rem; display: flex; flex-direction: column; line-height: 1.35; }
.attrbar em { font-style: normal; color: var(--muted); font-weight: 600; font-size: .72rem; }
.attrbar span + span { box-shadow: inset 1px 0 0 rgba(42,24,34,.08); }
.rhythm-bar {
 display: grid; grid-template-columns: 1fr 72px 1fr; gap: .8rem; align-items: center;
 background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.2rem;
}
.rhythm-line { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--plum), var(--coral)); }
.rhythm-bar p { color: var(--muted); margin-top: .35rem; }
.sort-strip {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
 background: var(--deep); color: #F6F0E8; border-radius: var(--radius); padding: 1.15rem;
}
.sort-strip p { color: rgba(246,240,232,.86); margin-top: .45rem; font-size: .92rem; }
.news-list { display: grid; gap: .75rem; }
.news-item { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; align-items: center; padding: .85rem 1rem; min-height: 72px; }
.news-item time { color: var(--plum); font-weight: 800; }
.news-item a { font-weight: 750; }
.news-item a:hover { color: var(--plum); }
.note-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.35rem; border-left: 6px solid var(--pine); }
.note-card p + p { margin-top: .45rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-item { padding: 0 1.1rem; }
.faq-item summary {
 cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
 font-weight: 750; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--plum); font-size: 1.25rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 1rem; }
.extend-foot { margin-top: 1.15rem; }
.site-footer { background: var(--deep); color: #F6F0E8; padding: 2.6rem 0 1.2rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr .9fr; gap: 1.5rem; }
.foot-title { font-weight: 800; margin-bottom: .55rem; color: #fff; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #ffe3a3; }
.site-footer p { color: rgba(246,240,232,.82); }
.copy { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(246,240,232,.15); font-size: .92rem; color: rgba(246,240,232,.8); }
@media (max-width: 1024px) {
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .sort-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .cat-head { grid-template-columns: 1fr; }
 .rhythm-bar { grid-template-columns: 1fr; }
 .rhythm-line { width: 72px; }
 .news-item { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 639px) {
 .page-home .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .page-home .nav-links {
 display: none; position: absolute; left: 0; right: 0; top: 100%;
 background: var(--card); flex-direction: column; align-items: stretch;
 padding: .4rem 1rem .9rem; border-bottom: 1px solid rgba(42,24,34,.08); box-shadow: var(--shadow);
 }
 .page-home .nav-links.is-open { display: flex; }
 .page-home .nav-links a { width: 100%; }
 .sec { padding: 1.7rem 0; }
}
@media (max-width: 520px) {
 .info-tip { max-width: 46vw; }
 .card-top { flex-direction: column; }
 .badge-pair { justify-content: flex-start; }
 .attrbar span { font-size: .78rem; }
 .foot-grid { grid-template-columns: 1fr; }
 .page-home .btn { width: 100%; }
}

/* roulang page: category2 */
:root {
 --bg: #F6F0E8;
 --ink: #2A1822;
 --muted: #6D5360;
 --card: #FFFCF8;
 --deep: #3A2433;
 --plum: #7A2E5A;
 --coral: #E28B6A;
 --gold: #F3C15B;
 --pine: #2F6B58;
 --line: #C4493A;
 --cream: #EFE4D8;
 --radius: 1.6rem;
 --shadow: 0 14px 36px rgba(42, 24, 34, .08);
 --space: 1.25rem;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page-home {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
body.page-home a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }
.page-home .container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.page-home .site-header { position: sticky; top: 0; z-index: 50; }
.page-home .info-bar { background: var(--deep); color: #F6F0E8; }
.page-home .info-row {
 min-height: 36px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: .75rem;
 overflow-x: auto;
 white-space: nowrap;
 font-size: .82rem;
}
.page-home .info-row::-webkit-scrollbar { height: 0; }
.page-home .info-domain { font-weight: 700; letter-spacing: .01em; }
.page-home .info-tip { flex: 1; text-align: center; color: rgba(246, 240, 232, .88); }
.page-home .info-action {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 .8rem;
 border-radius: 999px;
 background: var(--gold);
 color: var(--ink);
 font-weight: 750;
}
.page-home .info-action:hover { filter: brightness(1.06); }
.page-home .nav-bar {
 background: var(--card);
 border-bottom: 1px solid rgba(42, 24, 34, .08);
 position: relative;
}
.page-home .nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.page-home .logo { display: flex; align-items: center; gap: .7rem; min-height: 44px; max-width: calc(100% - 3.5rem); }
.page-home .logo-mark {
 width: 2.4rem; height: 2.4rem; border-radius: .8rem; flex: none;
 display: grid; place-items: center; color: var(--card); font-weight: 800;
 background: linear-gradient(135deg, var(--plum), var(--coral));
}
.page-home .logo-text { display: flex; flex-direction: column; font-weight: 800; color: var(--plum); letter-spacing: .01em; line-height: 1.25; }
.page-home .logo-text small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.page-home .nav-toggle {
 display: none; min-width: 44px; min-height: 44px; border-radius: .8rem;
 border: 1.5px solid var(--ink); background: transparent; padding: 0 .8rem; cursor: pointer;
}
.page-home .nav-toggle:hover { background: #F6E4EE; }
.page-home .nav-links { display: flex; align-items: center; gap: .4rem 1.1rem; }
.page-home .nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .15rem; color: var(--ink); }
.page-home .nav-links a:hover { color: var(--plum); }
.page-home .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); color: var(--plum); font-weight: 700; }
.page-home h1, .page-home h2, .page-home h3 { line-height: 1.25; margin: 0; font-weight: 800; }
.page-home h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18em; }
.page-home h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.page-home h3 { font-size: 1.12rem; }
.page-home p { max-width: 68ch; }
.page-home .lead { margin: .8rem 0 0; color: var(--muted); }
.page-home .pill, .page-home .idx {
 display: inline-flex; align-items: center; justify-content: center; min-height: 1.8rem;
 border-radius: 999px; padding: .1rem .7rem; font-weight: 750; font-size: .82rem;
}
.page-home .pill { background: var(--gold); color: var(--ink); }
.page-home .pill-line { background: transparent; border: 1px solid rgba(42, 24, 34, .2); }
.page-home .pill-pine { background: var(--pine); color: #F6F0E8; }
.page-home .idx { background: var(--deep); color: var(--gold); min-width: 4.4rem; }
.page-home .btn {
 min-height: 44px; padding: 0 1.2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
 cursor: pointer; font-weight: 750; border: 0; transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.page-home .btn-primary { color: #FFFCF8; background: linear-gradient(135deg, #7A2E5A, #E28B6A); }
.page-home .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.page-home .btn-primary:active { transform: translateY(0); filter: brightness(.98); }
.page-home .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.page-home .btn-ghost:hover { background: #F6E4EE; }
.page-home .btn:disabled { filter: grayscale(.4); opacity: .55; pointer-events: none; }
.page-home .btn:focus-visible, .page-home a:focus-visible, .page-home button:focus-visible, .page-home summary:focus-visible {
 outline: 2px solid var(--line); outline-offset: 3px;
}
.page-home .block-sec { padding: 2.8rem 0; }
.page-home .band-cream { background: var(--cream); }
.page-home .band-deep { background: var(--deep); color: #FFFCF8; }
.page-home .band-deep .lead, .page-home .band-deep p { color: rgba(255, 252, 248, .88); }
.page-home .section-head { margin-bottom: 1.25rem; }
.page-home .badge-row, .page-home .badge-pair { display: flex; flex-wrap: wrap; gap: .45rem; }
.page-home .badge-row { margin-bottom: .9rem; }
.page-home .cat-head { padding-top: 1.6rem; }
.page-home .date-flag { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0 .8rem; }
.page-home .date-flag .count { color: var(--muted); font-size: .92rem; }
.page-home .entry-stack { display: grid; gap: 1rem; }
.page-home .wide-card, .page-home .soft-card, .page-home .faq-item, .page-home .news-line {
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border: 1px solid rgba(42, 24, 34, .05);
}
.page-home .wide-card { padding: 1.15rem 1.2rem 1rem; display: flex; flex-direction: column; gap: .7rem; transition: transform .18s ease, box-shadow .18s ease; }
.page-home .wide-card:hover, .page-home .news-line:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(42, 24, 34, .12); }
.page-home .wide-top { display: flex; justify-content: space-between; gap: .7rem; align-items: flex-start; }
.page-home .wide-card p, .page-home .soft-card p, .page-home .faq-item p { margin: 0; color: var(--muted); }
.page-home .wide-card h3 a:hover { color: var(--plum); }
.page-home .attrbar {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 background: var(--cream);
 color: var(--ink);
 border-radius: 999px;
 overflow: hidden;
 text-align: center;
 font-size: .82rem;
 font-weight: 750;
}
.page-home .attrbar span { padding: .45rem .35rem; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.page-home .attrbar span + span { box-shadow: inset 1px 0 0 rgba(42, 24, 34, .08); }
.page-home .clarity-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: start; }
.page-home .soft-card { padding: 1.35rem; }
.page-home .stat-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.page-home .ratio { display: flex; height: .85rem; border-radius: 999px; overflow: hidden; background: var(--cream); }
.page-home .ratio i { display: block; height: 100%; }
.page-home .seg-hd { width: 55%; background: var(--plum); }
.page-home .seg-uhd { width: 32%; background: var(--coral); }
.page-home .seg-sd { width: 13%; background: var(--line); }
.page-home .legend { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; margin: .8rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.page-home .legend b { color: var(--ink); }
.page-home .dot { width: .65rem; height: .65rem; border-radius: 50%; display: inline-block; margin-right: .35rem; }
.page-home .rule-ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.page-home .rule-ol li { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; align-items: start; }
.page-home .rule-no {
 width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--gold); color: var(--ink);
 display: grid; place-items: center; font-weight: 800;
}
.page-home .rule-ol strong { display: block; font-size: 1.05rem; }
.page-home .news-list { display: grid; gap: .75rem; }
.page-home .news-line {
 display: grid; grid-template-columns: 6.6rem 1fr; gap: .8rem; align-items: center;
 min-height: 68px; padding: .55rem 1rem; transition: transform .18s ease, box-shadow .18s ease;
}
.page-home .news-line time { color: var(--plum); font-weight: 800; }
.page-home .diff-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.15rem; }
.page-home .diff-grid .soft-card h3 { margin-bottom: .55rem; }
.page-home .mark-line { width: 3rem; height: .28rem; border-radius: 999px; margin-bottom: .8rem; background: linear-gradient(135deg, var(--plum), var(--coral)); }
.page-home .faq-list { display: grid; gap: .75rem; }
.page-home .faq-item { padding: 0 1.1rem; }
.page-home .faq-item summary {
 min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
 cursor: pointer; font-weight: 750; list-style: none;
}
.page-home .faq-item summary::-webkit-details-marker { display: none; }
.page-home .faq-item summary::after { content: "+"; color: var(--plum); font-size: 1.3rem; line-height: 1; }
.page-home .faq-item[open] summary::after { content: "–"; }
.page-home .faq-item p { padding-bottom: .95rem; }
.page-home .more-row { margin: 1.15rem 0 0; }
.page-home .site-footer { background: var(--deep); color: #F6F0E8; padding: 2.6rem 0 1.2rem; }
.page-home .foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.05fr .85fr; gap: 1.4rem; }
.page-home .foot-title { font-weight: 800; color: #FFFCF8; margin-bottom: .55rem; }
.page-home .site-footer p, .page-home .site-footer a { color: rgba(246, 240, 232, .88); }
.page-home .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.page-home .site-footer a:hover { color: var(--gold); }
.page-home .copy { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgba(246, 240, 232, .16); font-size: .9rem; color: rgba(246, 240, 232, .72); }
@media (max-width: 1023px) {
 .page-home .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .page-home .nav-links {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--card); padding: .4rem .8rem .8rem;
  border-bottom: 1px solid rgba(42, 24, 34, .08); box-shadow: var(--shadow);
 }
 .page-home .nav-links.is-open { display: flex; }
 .page-home .nav-links a { min-height: 48px; }
 .page-home .clarity-grid, .page-home .diff-grid, .page-home .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
 .page-home .info-tip { display: none; }
 .page-home .clarity-grid, .page-home .diff-grid, .page-home .foot-grid, .page-home .news-line { grid-template-columns: 1fr; }
 .page-home .attrbar { grid-template-columns: 1fr; border-radius: 1rem; }
 .page-home .attrbar span + span { box-shadow: inset 0 1px 0 rgba(42, 24, 34, .08); }
 .page-home .block-sec { padding: 2.1rem 0; }
 .page-home h1 { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) {
 .page-home .wide-card, .page-home .news-line, .page-home .btn { transition: none; }
}
