/* roulang page: index */
:root {
  --ink: #24181C;
  --paper: #F6F0E8;
  --panel: #FFF9F3;
  --primary: #B23A6A;
  --primary-deep: #6E2348;
  --sand: #D7B48A;
  --teal: #1F7A72;
  --ember: #E07A3D;
  --line: #E4D5C8;
  --fog: #EFE6DC;
  --muted: #6E534C;
  --shadow: 0 8px 20px rgba(180, 140, 110, 0.28);
  --r-panel: 18px;
  --r-input: 12px;
  --r-pill: 999px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.aux { font-size: 13px; line-height: 1.6; color: var(--muted); }
.h1 {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 700;
  display: inline-block;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 8px;
}
.h2 { font-size: 30px; line-height: 1.35; font-weight: 700; }
.h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.lead { margin-top: 12px; max-width: 820px; }
.block { padding: 72px 0; }
.block-fog { background: var(--fog); }
.block-head { margin-bottom: 22px; text-align: left; }
.tick { font-size: 13px; letter-spacing: 0; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.tick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31, 122, 114, 0.15); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; display: block; border-top: 1px dashed var(--sand); }
.head-row {
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.logo:hover { color: var(--primary-deep); text-decoration: none; }
.logo-pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--primary); transform: rotate(-45deg); box-shadow: inset 0 0 0 3px var(--panel); }
.mainnav { display: flex; justify-content: center; gap: 4px; }
.mainnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink);
  text-decoration: none;
}
.mainnav a:hover { background: var(--fog); text-decoration: none; }
.mainnav a:active { background: var(--sand); }
.mainnav a.is-current { background: var(--sand); color: var(--ink); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }
.nav-toggle, .loc-chip, .btn, .store-btn, .acc-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
}
.nav-toggle {
  display: none;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--sand); }
.nav-toggle:active { background: var(--fog); }
.loc { position: relative; }
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.loc-chip:hover { border-color: var(--sand); }
.loc-chip:active { transform: translateY(0); }
.loc-action { color: var(--primary-deep); font-size: 13px; }
.pin { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31, 122, 114, 0.15); flex: none; }
.loc-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 380px;
  max-height: 420px;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 50;
}
.loc-panel h2 { font-size: 16px; margin-bottom: 8px; }
.store-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--ink);
}
.store-btn:hover { background: var(--fog); }
.store-btn:active { background: var(--sand); }
.store-btn strong { display: block; font-size: 15px; }
.store-btn small { display: block; color: var(--muted); font-size: 13px; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-style: normal; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: block; }
.status.is-full i { background: transparent; box-shadow: inset 0 0 0 2px var(--teal); }
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: rgba(224, 122, 61, 0.16);
  color: #8A3E12;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #581c3a; }
.btn-line { background: transparent; color: var(--primary-deep); border-color: var(--primary); }
.btn-line:hover { background: rgba(178, 58, 106, 0.08); transform: translateY(-1px); }
.btn-line:active { transform: translateY(0); background: var(--sand); }
.btn-text { background: transparent; color: var(--primary-deep); padding-left: 0; padding-right: 0; min-height: 36px; }
.btn-text:hover { text-decoration: underline; }
.btn-text:active { color: var(--primary); }
.board-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.claim { margin-top: 14px; font-weight: 700; }
.board-copy p { margin-top: 14px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric, .card, .clause, .qa-item, .col-item, .cate-card, .matrix-main, .side-card, .track-card, .mile, .news-item, .sub-panel, .note-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}
.metric { padding: 16px; }
.metric strong { display: block; font-size: 32px; line-height: 1.2; color: var(--primary-deep); margin: 6px 0; }
.minimap {
  grid-column: 1 / -1;
  border: 1px dashed var(--sand);
  border-radius: var(--r-panel);
  padding: 16px;
  background-color: var(--panel);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mini-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mini-zones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mini-zones a {
  display: block;
  min-height: 72px;
  padding: 8px;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: rgba(255, 249, 243, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.mini-zones a:hover { border-color: var(--primary); color: var(--primary-deep); }
.mini-zones a:active { background: var(--sand); }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(148px, auto); gap: 14px; }
.zone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--sand);
  border-radius: var(--r-panel);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  position: relative;
}
.zone:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--primary); }
.zone:active { transform: translateY(0); }
.zone-lg { grid-row: span 2; background-image: linear-gradient(180deg, rgba(215, 180, 138, 0.2), transparent 42%), linear-gradient(var(--panel), var(--panel)); }
.zone .coord { font-size: 13px; color: var(--teal); }
.matrix { display: grid; grid-template-columns: 1.4fr 0.72fr; gap: 16px; align-items: start; }
.matrix-main { padding: 20px; }
.matrix-main .ph { margin: 14px 0; }
.side-col { display: grid; gap: 12px; }
.side-card { padding: 14px 16px; }
.ph {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  background-color: var(--fog);
  background-image: repeating-linear-gradient(90deg, transparent, transparent 26px, rgba(215, 180, 138, 0.55) 27px), repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(215, 180, 138, 0.4) 27px);
}
.ph span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: var(--primary-deep); }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.track-card { padding: 16px; min-height: 180px; }
.track-card .when { color: var(--primary); font-weight: 700; font-size: 13px; }
.cmp { display: grid; gap: 18px; }
.cmp-row { padding-bottom: 8px; }
.cmp-pair { display: grid; gap: 10px; margin-top: 8px; }
.cmp-line { display: grid; grid-template-columns: 112px 1fr 48px; gap: 10px; align-items: center; }
.bar { height: 12px; border-radius: var(--r-pill); background: var(--fog); border: 1px solid var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); border-radius: var(--r-pill); }
.bar.soft span { background: var(--sand); }
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.path::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 4%;
  right: 4%;
  border-top: 1px dashed var(--sand);
}
.mile { padding: 16px 14px; position: relative; }
.mile .node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--panel), 0 0 0 5px var(--sand);
  margin-bottom: 10px;
}
.timeline { display: grid; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 8px 16px;
  padding: 16px 18px;
  position: relative;
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--sand);
}
.news-item time { font-size: 13px; color: var(--muted); }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--primary-deep); }
.tagline { display: flex; gap: 8px; align-items: center; }
.clauses { display: grid; gap: 12px; }
.clause { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 16px 18px; align-items: start; }
.clause b { color: var(--primary-deep); }
.cate-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; padding: 18px; align-items: center; }
.qa-list { display: grid; gap: 12px; }
.qa-item { padding: 16px 18px; }
.qa-item dt { font-weight: 700; }
.qa-item dd { margin-top: 6px; }
.acc { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.acc-btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.acc-btn:hover { background: var(--fog); }
.acc-btn:active { background: rgba(215, 180, 138, 0.35); }
.acc-btn::after { content: "展开"; font-size: 13px; font-weight: 400; color: var(--primary-deep); }
.acc-btn[aria-expanded="true"]::after { content: "收起"; }
.acc-panel { padding: 0 18px 16px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.col-item { padding: 16px 18px; }
.sub-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.sub-panel { padding: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select {
  height: 46px;
  border-radius: var(--r-input);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
}
.field input:hover, .field select:hover { border-color: var(--sand); }
.field input.is-error, .field select.is-error { border-color: var(--ember); }
.form-msg { min-height: 1.6em; margin-top: 10px; font-size: 15px; }
.form-msg.is-ok { color: var(--teal); }
.form-msg.is-error { color: var(--ember); }
.note-strip {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 18px; }
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 28px; }
.foot-brand { font-size: 20px; font-weight: 700; color: var(--paper); text-decoration: none; }
.foot-brand:hover { color: var(--sand); text-decoration: none; }
.foot-links { display: grid; gap: 6px; }
.foot-links a:hover { color: var(--sand); }
.fine { margin-top: 26px; padding-top: 12px; border-top: 1px solid rgba(215, 180, 138, 0.35); color: var(--sand); font-size: 13px; }
@media (max-width: 1200px) {
  .mini-zones { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .board-grid, .matrix, .cate-card, .sub-wrap, .news-item, .note-strip, .foot-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .zone-lg { grid-row: auto; }
  .path { grid-template-columns: 1fr 1fr; }
  .path::before { display: none; }
  .clause { grid-template-columns: 1fr; }
  .mini-zones { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .block { padding: 40px 0; }
  .h1 { font-size: 32px; }
  .h2 { font-size: 24px; }
  .head-row {
    height: auto;
    min-height: 72px;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle" "loc loc" "nav nav";
    padding: 10px 0;
  }
  .logo { grid-area: logo; }
  .nav-toggle { display: inline-flex; grid-area: toggle; }
  .loc { grid-area: loc; }
  .loc-chip { width: 100%; justify-content: flex-start; }
  .mainnav { grid-area: nav; display: none; flex-direction: column; align-items: stretch; }
  .mainnav.is-open { display: flex; padding-bottom: 8px; }
  .bento, .cols, .form-grid, .metrics, .path, .mini-zones { grid-template-columns: 1fr; }
  .loc-panel { position: static; width: 100%; margin-top: 8px; }
  .note-strip .btn { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .h1 { font-size: 28px; }
  .metric strong { font-size: 28px; }
  .cmp-line { grid-template-columns: 1fr; gap: 4px; }
  .logo { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .zone { transition: none; }
}

/* roulang page: category1 */
:root {
 --ink: #24181C;
 --paper: #F6F0E8;
 --panel: #FFF9F3;
 --primary: #B23A6A;
 --primary-deep: #6E2348;
 --sand: #D7B48A;
 --teal: #1F7A72;
 --ember: #E07A3D;
 --line: #E4D5C8;
 --fog: #EFE6DC;
 --muted: #6E534C;
 --shadow: 0 8px 20px rgba(180, 140, 110, 0.28);
 --r-panel: 18px;
 --r-input: 12px;
 --r-pill: 999px;
 --max: 1160px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--ink);
 background: var(--paper);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 17px;
 line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 12px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 42px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
h2 { margin: 0; font-size: 30px; line-height: 1.35; font-weight: 700; }
h3 { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 700; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.lead { margin: 12px 0 0; max-width: 820px; }
.h1-rule { width: 72px; height: 4px; margin: 14px 0 0; background: var(--primary); border: 0; border-radius: var(--r-pill); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: var(--panel);
 border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; display: block; border-top: 1px dashed var(--sand); }
.head-row {
 min-height: 72px;
 display: grid;
 grid-template-columns: auto 1fr auto;
 align-items: center;
 gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.logo:hover { color: var(--primary-deep); text-decoration: none; }
.logo-pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--primary); transform: rotate(-45deg); box-shadow: inset 0 0 0 3px var(--panel); flex: 0 0 auto; }
.mainnav { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.mainnav a {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 8px 12px;
 border-radius: var(--r-pill);
 color: var(--ink);
 text-decoration: none;
}
.mainnav a:hover { background: var(--fog); text-decoration: none; }
.mainnav a:active { background: var(--sand); }
.mainnav a.is-current { background: var(--sand); color: var(--ink); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }
.nav-toggle, .loc-chip, .btn, .store-btn, .acc-btn, .filter-btn {
 appearance: none;
 background: transparent;
 border: 1px solid transparent;
}
.nav-toggle {
 display: none;
 height: 40px;
 padding: 0 14px;
 border-radius: var(--r-pill);
 border: 1px solid var(--line);
 background: var(--panel);
 color: var(--ink);
}
.nav-toggle:hover { border-color: var(--sand); }
.nav-toggle:active { background: var(--fog); }
.loc { position: relative; }
.loc-chip {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 min-height: 40px;
 padding: 6px 12px 6px 10px;
 border-radius: var(--r-pill);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
}
.loc-chip:hover { border-color: var(--sand); }
.loc-chip:active { transform: translateY(0); }
.loc-action { color: var(--primary-deep); font-size: 13px; }
.pin {
 width: 12px;
 height: 12px;
 border-radius: 50% 50% 50% 0;
 background: var(--teal);
 transform: rotate(-45deg);
 box-shadow: inset 0 0 0 2px var(--panel);
 flex: 0 0 auto;
}
.loc-panel {
 position: absolute;
 right: 0;
 top: calc(100% + 8px);
 width: min(380px, 86vw);
 padding: 12px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
 z-index: 50;
}
.loc-panel h2 { font-size: 16px; margin-bottom: 8px; }
.loc-panel ul { list-style: none; margin: 0; padding: 0; max-height: 68vh; overflow: auto; }
.loc-panel[hidden] { display: none; }
.store-btn {
 width: 100%;
 display: flex;
 align-items: center;
 gap: 10px;
 text-align: left;
 padding: 10px;
 border-radius: 12px;
 border: 1px solid transparent;
 color: var(--ink);
 background: transparent;
}
.store-btn:hover { background: var(--fog); }
.store-btn:active { background: var(--sand); }
.store-btn strong { display: block; font-size: 15px; line-height: 1.4; }
.store-btn small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.status {
 margin-left: auto;
 display: inline-flex;
 align-items: center;
 gap: 4px;
 padding: 2px 8px;
 border-radius: var(--r-pill);
 background: rgba(31, 122, 114, 0.12);
 color: var(--teal);
 font-size: 12px;
 font-style: normal;
 white-space: nowrap;
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }
.status.is-full { background: rgba(224, 122, 61, 0.16); color: #8A3E12; }
.status.is-full i { background: var(--ember); }
.badge {
 display: inline-flex;
 align-items: center;
 height: 24px;
 padding: 0 8px;
 border-radius: var(--r-pill);
 background: rgba(224, 122, 61, 0.16);
 color: #8A3E12;
 font-size: 13px;
 font-weight: 700;
 white-space: nowrap;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 18px;
 border-radius: var(--r-pill);
 text-decoration: none;
 border: 1px solid transparent;
 transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #581c3a; }
.btn-line { background: transparent; color: var(--primary-deep); border-color: var(--primary); }
.btn-line:hover { background: rgba(178, 58, 106, 0.08); transform: translateY(-1px); }
.btn-line:active { transform: translateY(0); background: var(--sand); }
.btn-text { background: transparent; color: var(--primary-deep); padding-left: 0; padding-right: 0; min-height: 36px; border-color: transparent; }
.btn-text:hover { text-decoration: underline; }
.btn-text:active { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--teal);
 outline-offset: 2px;
}
.band { padding: 72px 0; }
.band-paper { background: var(--paper); }
.band-fog { background: var(--fog); }
.band + .band { border-top: 1px solid transparent; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--primary-deep); }
.page-head { position: relative; padding-bottom: 8px; }
.page-head::after {
 content: "";
 display: block;
 margin-top: 22px;
 border-top: 1px dashed var(--sand);
}
.scope { margin: 14px 0 0; max-width: 760px; }
.filter-bar {
 display: grid;
 gap: 14px;
 padding: 16px;
 background: var(--panel);
 border: 1px solid var(--sand);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: 13px; color: var(--muted); min-width: 42px; }
.filter-btn {
 min-height: 36px;
 padding: 4px 12px;
 border-radius: var(--r-pill);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 font-size: 14px;
}
.filter-btn:hover { border-color: var(--sand); }
.filter-btn:active { background: var(--sand); }
.filter-btn.is-on { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.entry-list { display: grid; gap: 18px; margin-top: 22px; }
.entry {
 display: grid;
 grid-template-columns: 1.15fr 0.85fr;
 gap: 22px;
 align-items: center;
 padding: 22px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
 position: relative;
}
.entry::before {
 content: "";
 position: absolute;
 left: 0;
 top: 22px;
 bottom: 22px;
 width: 3px;
 background: var(--sand);
}
.entry.is-flip { grid-template-columns: 0.85fr 1.15fr; }
.entry.is-flip .entry-copy { order: 2; }
.entry-copy h3 a { color: var(--ink); }
.entry-copy h3 a:hover { color: var(--primary-deep); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry-fig {
 margin: 0;
 border: 1px solid var(--line);
 border-radius: 12px;
 overflow: hidden;
 background:
 linear-gradient(var(--fog), var(--fog)) padding-box;
 aspect-ratio: 16 / 10;
}
.entry-fig img { width: 100%; height: 100%; object-fit: cover; }
.fig-cap { margin-top: 8px; font-size: 13px; color: var(--muted); }
.empty-note {
 margin-top: 16px;
 padding: 16px 18px;
 border: 1px dashed var(--sand);
 border-radius: var(--r-panel);
 background: var(--panel);
 color: var(--muted);
}
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.scene-note {
 display: block;
 padding: 18px 18px 16px;
 background: var(--panel);
 border: 1px solid var(--sand);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
 color: var(--ink);
 text-decoration: none;
 position: relative;
}
.scene-note:hover { border-color: var(--primary); color: var(--ink); text-decoration: none; }
.scene-note:active { background: var(--fog); }
.scene-note strong { display: block; font-size: 20px; margin-bottom: 6px; }
.scene-note span { color: var(--primary-deep); font-size: 14px; }
.read-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.read-list a {
 display: grid;
 grid-template-columns: 148px 1fr auto;
 gap: 12px;
 align-items: center;
 padding: 14px 16px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
 color: var(--ink);
 text-decoration: none;
 position: relative;
}
.read-list a::before {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--teal);
}
.read-list a:hover { border-color: var(--sand); color: var(--primary-deep); }
.read-list time { font-size: 13px; color: var(--muted); }
.rhythm {
 margin-top: 18px;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 12px;
 position: relative;
}
.rhythm::before {
 content: "";
 position: absolute;
 left: 8%;
 right: 8%;
 top: 28px;
 border-top: 1px dashed var(--sand);
}
.rhythm-node {
 position: relative;
 padding: 16px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--r-panel);
 box-shadow: var(--shadow);
}
.rhythm-node i {
 display: block;
 width: 10px;
 height: 10px;
 margin-bottom: 10px;
 border-radius: 50%;
 background: var(--teal);
 box-shadow: 0 0 0 4px var(--fog);
}
.rhythm-node b { display: block; }
.rhythm-node small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.more-wrap { margin-top: 8px; }
.qa-list { display: grid; gap: 12px; margin-top: 18px; }
.qa-item { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.qa-item dt { font-weight: 700; }
.qa-item dd { margin: 6px 0 0; }
.home-back { margin-top: 16px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
 width: 100%;
 min-height: 44px;
 padding: 8px 12px;
 border-radius: var(--r-input);
 border: 1px solid var(--line);
 background: var(--panel);
}
textarea { min-height: 96px; }
input:hover, select:hover, textarea:hover { border-color: var(--sand); }
.acc-item { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.acc-btn { width: 100%; text-align: left; padding: 16px 18px; color: var(--ink); }
.acc-btn:hover { background: var(--fog); }
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 22px; }
.site-footer a { color: var(--paper); }
.foot-brand { color: var(--paper); font-weight: 700; font-size: 18px; text-decoration: none; }
.foot-brand:hover { color: var(--sand); text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 28px; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-links a { color: var(--paper); }
.foot-links a:hover { color: var(--sand); }
.site-footer .h3 { margin: 0; font-size: 16px; }
.site-footer .store-btn { color: #F6F0E8; }
.site-footer .store-btn:hover { background: rgba(255, 249, 243, 0.08); }
.site-footer .store-btn small { color: var(--sand); }
.fine { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(215, 180, 138, 0.35); font-size: 13px; color: var(--sand); }
@media (max-width: 1200px) {
 .container { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 992px) {
 .head-row { grid-template-columns: 1fr auto auto; height: auto; padding: 12px 0; }
 .nav-toggle { display: inline-flex; align-items: center; }
 .mainnav {
 display: none;
 grid-column: 1 / -1;
 flex-direction: column;
 align-items: stretch;
 padding-bottom: 10px;
 }
 .mainnav.is-open { display: flex; }
 .loc { grid-column: 3; justify-self: end; }
 .entry, .entry.is-flip { grid-template-columns: 1fr; }
 .entry.is-flip .entry-copy { order: 0; }
 .rhythm { grid-template-columns: 1fr 1fr; }
 .rhythm::before { display: none; }
 .read-list a { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 768px) {
 h1 { font-size: 32px; }
 h2 { font-size: 24px; }
 .band { padding: 40px 0; }
 .scene-grid, .foot-grid { grid-template-columns: 1fr; }
 .loc-action { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 520px) {
 .container { width: min(var(--max), calc(100% - 24px)); }
 .head-row { gap: 8px; }
 .logo { font-size: 15px; }
 .rhythm { grid-template-columns: 1fr; }
 .entry { padding: 16px; }
 .filter-label { width: 100%; }
}
@media (max-width: 480px) {
 .badge { height: 22px; }
 .loc-chip { padding-right: 10px; }
}
