/* roulang page: index */
:root {
  --ink: #3A2348;
  --vine: #7A6A92;
  --teal: #1F8A84;
  --teal-hover: #1D827C;
  --paper: #F3F0F4;
  --card: #FFFCFB;
  --text: #241C2A;
  --muted: #5E5568;
  --clay: #8C4A3A;
  --moss: #3D6B52;
  --nav: #2A3340;
  --line: #E4DDE8;
  --radius-card: 10px;
  --radius-ctl: 6px;
  --shadow: 0 8px 24px rgba(36,28,42,.06);
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; color: var(--ink); font-weight: 700; }
h1 { font-size: 34px; }
h2 { font-size: 26px; margin-bottom: 12px; }
h3 { font-size: 18px; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }
p { margin-bottom: 12px; }
ul, ol { margin: 0; padding: 0; }
.row { max-width: var(--max); }
.band { padding: 72px 0; }
.band-paper { background: var(--paper); }
.band-white { background: #fff; }
.band-ink { background: var(--ink); color: #F3F0F4; }
.band-ink h2, .band-ink p { color: #F3F0F4; }
.lead { color: var(--muted); max-width: 760px; margin-bottom: 28px; }
.sec-title { margin-bottom: 8px; }
.sec-mark::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: var(--vine);
  margin-top: 12px;
}
.sprocket {
  height: 8px;
  background-image: radial-gradient(circle at 6px 4px, var(--ink) 2px, transparent 2.2px);
  background-size: 22px 8px;
  background-repeat: repeat-x;
  opacity: .45;
}
.timecode {
  font-size: 13px;
  color: var(--vine);
  letter-spacing: .04em;
}
.age-pill {
  display: inline-block;
  color: var(--clay);
  background: #F8EBE6;
  border-radius: var(--radius-ctl);
  padding: 2px 8px;
  font-size: 13px;
  line-height: 1.6;
}
.site-header {
  background: var(--nav);
  color: #F3F0F4;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(243,240,244,.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px 18px;
}
.brand-logo {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 240px;
}
.brand-logo:hover { color: #fff; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-groups { display: flex; align-items: center; gap: 6px 18px; list-style: none; }
.nav-groups > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #F3F0F4;
  font-size: 15px;
}
.nav-groups > li > a:hover { color: #fff; }
.nav-groups > li > a.is-active { box-shadow: inset 0 -2px 0 var(--teal); color: #fff; }
.has-sub { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 168px;
  background: #24303C;
  border-top: 2px solid var(--teal);
  list-style: none;
  padding: 6px 0;
  box-shadow: var(--shadow);
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 14px; color: #F3F0F4; font-size: 14px; }
.sub-menu a:hover { color: #fff; background: rgba(31,138,132,.18); }
.header-actions { display: flex; gap: 8px; }
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(243,240,244,.38);
  border-radius: var(--radius-ctl);
  color: #F3F0F4;
  font-size: 14px;
  white-space: nowrap;
}
.action-link:hover { color: #fff; border-color: var(--teal); background: rgba(31,138,132,.16); }
.nav-toggle {
  display: none;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-ctl);
  border: 1px solid rgba(243,240,244,.4);
  background: transparent;
  color: #F3F0F4;
  cursor: pointer;
}
.hero-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .85fr);
  grid-template-areas: "main s1" "main s2" "cta cta";
  gap: 16px;
}
.hero-main, .status-card, .hero-cta, .card, .sheet-row, .quote, .fit-card, .scene, .filter-card, .compare-col, .entry-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.hero-main { grid-area: main; padding: 32px 28px; }
.hero-main h1 { margin-bottom: 10px; }
.hero-sub { font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.hero-copy { color: var(--text); margin-bottom: 18px; }
.status-card { padding: 18px 18px 16px; }
.status-card:nth-of-type(1) { grid-area: s1; }
.hero-bento .status-card:nth-child(2) { grid-area: s1; }
.hero-bento .status-card:nth-child(3) { grid-area: s2; }
.status-k { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.status-card strong { display: block; margin: 8px 0 4px; font-size: 28px; line-height: 1.2; color: var(--ink); }
.status-card p { margin: 0; color: var(--muted); font-size: 14px; }
.dot-live, .dot-miss {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px;
}
.dot-live { background: var(--moss); }
.dot-miss { background: var(--clay); }
.hero-cta {
  grid-area: cta;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: none;
}
.hero-cta-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-ctl);
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(58,35,72,.06); color: var(--ink); }
.btn-on-dark { color: #F3F0F4; border-color: rgba(243,240,244,.7); }
.btn-on-dark:hover { color: #fff; background: rgba(255,255,255,.08); }
.card, .sheet-row, .quote, .fit-card, .compare-col, .filter-card, .scene, .status-card, .entry-panel {
  transition: border-color .2s ease;
}
.card:hover, .sheet-row:hover, .quote:hover, .fit-card:hover, .compare-col:hover, .filter-card:hover, .scene:hover, .status-card:hover, .entry-panel:hover {
  border-color: var(--teal);
}
.pain-strip {
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  transition: border-color .2s ease;
}
.pain-strip:hover { border-color: var(--teal); }
.pain-index {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #F8EBE6;
  color: var(--clay);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-strip h3 { margin-bottom: 6px; }
.pain-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.flow-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flow-step { padding: 20px 16px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-no { font-size: 13px; color: var(--teal); display: block; margin-bottom: 6px; }
.flow-step h3 { margin-bottom: 6px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 14px; }
.bench-layout { align-items: flex-start; }
.filter-card { padding: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.field select {
  width: 100%;
  height: 40px;
  border: 1px solid #D9D0E0;
  border-radius: var(--radius-ctl);
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}
.error-text { color: var(--clay); font-size: 13px; min-height: 22px; margin: 8px 0 0; }
.sheet { display: flex; flex-direction: column; gap: 12px; }
.sheet-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}
.poster {
  width: 72px;
  height: 96px;
  border-radius: 6px;
  background: var(--ink);
  color: #F3F0F4;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px 6px;
  font-size: 12px;
}
.poster::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background-image: radial-gradient(circle, #F3F0F4 1.5px, transparent 1.7px);
  background-size: 9px 8px;
  background-repeat: repeat-x;
}
.sheet-row h3 { margin-bottom: 4px; }
.sheet-row p { margin: 0; color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #F3F0F4;
  color: var(--ink);
  font-size: 13px;
}
.tag-moss { background: #E7F0EA; color: var(--moss); }
.tag-clay { background: #F8EBE6; color: var(--clay); }
.tag-vine { background: #EEEAF2; color: #5E5568; }
.more-row { text-align: right; margin: 12px 0 0; }
.text-link { border-bottom: 1px solid rgba(31,138,132,.45); }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0 18px;
}
.step-rail { position: relative; }
.step-rail span {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.step-rail::after {
  content: "";
  position: absolute;
  left: 15px; top: 36px; bottom: -18px;
  width: 1px; background: var(--vine);
}
.step-item:last-child .step-rail::after { display: none; }
.step-item h3 { margin-bottom: 4px; }
.step-item p { margin: 0; color: var(--muted); }
.compare-col { padding: 22px; height: 100%; }
.compare-col h3 { margin-bottom: 12px; }
.metric-list { list-style: none; }
.metric-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.metric-list strong { display: block; color: var(--ink); font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}
.spec-table th { color: var(--muted); font-size: 13px; font-weight: 600; background: #F7F4F8; }
.spec-table tr:last-child td { border-bottom: 0; }
.note-line { margin-top: 12px; color: var(--clay); font-size: 13px; }
.stat-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.sample-flag { color: var(--clay); font-size: 13px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.stat-row div { padding: 22px 18px; border-right: 1px solid var(--line); }
.stat-row div:last-child { border-right: 0; }
.stat-row strong { display: block; font-size: 40px; line-height: 1.1; color: var(--ink); }
.stat-row span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.quote-grid .columns:nth-child(even) .quote { margin-top: 28px; }
.quote { padding: 20px; height: calc(100% - 28px); }
.quote p { margin-bottom: 12px; }
.quote cite { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.fit-card { padding: 20px; height: 100%; }
.fit-card h3 { margin-bottom: 8px; }
.fit-card p { margin: 0; color: var(--muted); }
.spacer-row { margin-top: 16px; }
.time-list { list-style: none; }
.time-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.time-item time { color: var(--teal); font-size: 14px; padding-top: 2px; }
.time-item h3 { margin-bottom: 4px; }
.time-item p { margin: 0; color: var(--muted); }
.meter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.meter {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: border-color .2s ease;
}
.meter:hover { border-color: var(--teal); }
.meter-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.gauge {
  width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), #E6E0EA 0);
  display: grid; place-items: center; flex: 0 0 auto;
}
.gauge span {
  width: 62px; height: 62px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; color: var(--ink); font-weight: 700; font-size: 14px;
}
.bar { height: 8px; background: #E6E0EA; border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); }
.meter p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.scene { padding: 0; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.scene-visual {
  min-height: 168px;
  background: #E7E1EC;
  position: relative;
  padding: 20px;
}
.screen {
  width: min(460px, 80%);
  height: 120px;
  margin: 12px auto 0;
  background: #241C2A;
  border-radius: 6px;
  position: relative;
}
.screen::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 10px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #F3F0F4 0 18px, transparent 18px 24px);
  opacity: .85;
}
.scene-a .screen { width: 46%; margin-left: 8%; }
.scene-b .screen { width: 70%; height: 132px; }
.scene-c .screen::after { height: 14px; bottom: 8px; background: #F3F0F4; }
.scene-copy { padding: 20px 22px 22px; }
.scene-copy h3 { margin-bottom: 6px; }
.scene-copy p { margin: 0; color: var(--muted); }
.scene-label { font-size: 13px; color: var(--vine); }
.entry-panel { padding: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--teal); font-weight: 500; }
.faq-item[open] summary::after { content: "－"; }
.faq-item summary:hover { color: var(--teal); }
.faq-item p { color: var(--muted); padding-bottom: 14px; max-width: 820px; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-inner .lead { color: rgba(243,240,244,.82); margin-bottom: 0; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 24px; }
.foot-logo { color: var(--ink); font-weight: 700; font-size: 16px; display: inline-block; margin-bottom: 18px; }
.foot-logo:hover { color: var(--ink); }
.foot-col h3 { font-size: 15px; margin-bottom: 8px; }
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.foot-col a:hover { color: var(--teal); }
.copyright {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
@media (max-width: 1023px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand-logo { order: 1; flex: 1; max-width: calc(100% - 84px); }
  .nav-toggle { order: 2; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .header-actions { order: 3; flex: 1 0 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav { order: 4; flex: 1 0 100%; justify-content: flex-start; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .nav-groups { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-groups > li { border-top: 1px solid rgba(243,240,244,.12); }
  .nav-groups > li > a { width: 100%; }
  .sub-menu { position: static; border-top: 0; background: transparent; box-shadow: none; padding-left: 10px; }
  .has-sub:hover > .sub-menu { display: none; }
  .has-sub.open > .sub-menu { display: block; }
  .hero-bento { grid-template-columns: 1fr; grid-template-areas: "main" "s1" "s2" "cta"; }
  .flow-bar { grid-template-columns: 1fr 1fr; }
  .flow-step { border-bottom: 1px solid var(--line); }
  .stat-row, .meter-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid .columns:nth-child(even) .quote { margin-top: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .band { padding: 40px 0; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .hero-main { padding: 22px 16px; }
  .hero-cta { align-items: flex-start; flex-direction: column; }
  .flow-bar, .stat-row, .meter-grid, .header-actions { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; }
  .stat-row div { border-right: 0; border-bottom: 1px solid var(--line); }
  .sheet-row { grid-template-columns: 72px minmax(0, 1fr); }
  .row-action { grid-column: 2; }
  .time-item { grid-template-columns: 1fr; gap: 4px; }
  .action-link { width: 100%; }
}
@media (max-width: 520px) {
  .brand-logo { font-size: 13px; }
  .btn { width: 100%; }
  .hero-cta-actions, .cta-actions { width: 100%; }
  .status-card strong { font-size: 24px; }
  .stat-row strong { font-size: 32px; }
}

/* roulang page: category1 */
:root {
 --ink: #3A2348;
 --vine: #7A6A92;
 --teal: #1F8A84;
 --teal-hover: #1D827C;
 --paper: #F3F0F4;
 --card: #FFFCFB;
 --text: #241C2A;
 --muted: #5E5568;
 --clay: #8C4A3A;
 --moss: #3D6B52;
 --nav: #2A3340;
 --line: #E4DDE8;
 --radius-card: 10px;
 --radius-ctl: 6px;
 --shadow: 0 8px 24px rgba(36,28,42,.06);
 --max: 1120px;
}
/* roulang page: category1 */
:root {
 --ink: #3A2348;
 --vine: #7A6A92;
 --teal: #1F8A84;
 --teal-hover: #1D827C;
 --paper: #F3F0F4;
 --card: #FFFCFB;
 --text: #241C2A;
 --muted: #5E5568;
 --clay: #8C4A3A;
 --moss: #3D6B52;
 --nav: #2A3340;
 --line: #E4DDE8;
 --radius-card: 10px;
 --radius-ctl: 6px;
 --shadow: 0 8px 24px rgba(36,28,42,.06);
 --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--teal);
 outline-offset: 2px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; }
.row { max-width: var(--max); margin-left: auto; margin-right: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.lead { color: var(--muted); max-width: 760px; margin-bottom: 0; }
.sec-title { margin-bottom: 8px; }
.age-pill {
 display: inline-block;
 color: var(--clay);
 background: #F8EBE6;
 border-radius: var(--radius-ctl);
 padding: 2px 8px;
 font-size: 13px;
 line-height: 1.6;
}
.site-header {
 background: var(--nav);
 color: #F3F0F4;
 position: sticky;
 top: 0;
 z-index: 40;
 border-bottom: 1px solid rgba(243,240,244,.08);
}
.header-inner {
 max-width: var(--max);
 margin: 0 auto;
 padding: 0 16px;
 min-height: 76px;
 display: flex;
 align-items: center;
 gap: 12px 18px;
}
.brand-logo {
 color: #fff;
 font-size: 15px;
 font-weight: 700;
 line-height: 1.35;
 max-width: 240px;
}
.brand-logo:hover { color: #fff; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-groups { display: flex; align-items: center; gap: 6px 18px; list-style: none; margin: 0; }
.nav-groups > li { position: relative; }
.nav-groups > li > a {
 display: inline-flex;
 align-items: center;
 min-height: 40px;
 color: #F3F0F4;
 font-size: 15px;
}
.nav-groups > li > a:hover { color: #fff; }
.nav-groups > li > a.is-active { box-shadow: inset 0 -2px 0 var(--teal); color: #fff; }
.sub-menu {
 display: none;
 position: absolute;
 top: calc(100% - 2px);
 left: 0;
 min-width: 168px;
 background: #24303C;
 border-top: 2px solid var(--teal);
 list-style: none;
 padding: 6px 0;
 margin: 0;
 box-shadow: var(--shadow);
 z-index: 30;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 14px; color: #F3F0F4; font-size: 14px; }
.sub-menu a:hover { color: #fff; background: rgba(31,138,132,.18); }
.header-actions { display: flex; gap: 8px; }
.action-link {
 color: #F3F0F4;
 font-size: 14px;
 height: 40px;
 display: inline-flex;
 align-items: center;
 padding: 0 10px;
 border: 1px solid rgba(243,240,244,.35);
 border-radius: var(--radius-ctl);
 white-space: nowrap;
}
.action-link:hover { color: #fff; border-color: var(--teal); }
.nav-toggle {
 display: none;
 height: 40px;
 padding: 0 12px;
 border-radius: var(--radius-ctl);
 border: 1px solid rgba(243,240,244,.4);
 background: transparent;
 color: #F3F0F4;
 cursor: pointer;
}
.section { padding: 72px 0; }
.section-tight { padding: 28px 0 20px; }
.section-alt { background: #fff; }
.section-paper { background: var(--paper); }
.film-rule {
 height: 8px;
 background: radial-gradient(circle at 8px 4px, #C9C0D2 2px, transparent 2.6px) 0 0 / 18px 8px repeat-x;
}
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.crumb li { display: inline-flex; align-items: center; gap: 6px; }
.crumb li:not(:last-child)::after { content: "/"; color: var(--vine); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--teal); }
.cat-head {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 18px;
}
.cat-kicker { margin: 0 0 8px; font-size: 13px; color: var(--vine); letter-spacing: .04em; }
.result-count {
 min-width: 148px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 12px 14px;
}
.result-count strong { display: block; font-size: 28px; line-height: 1.2; color: var(--ink); }
.result-count span { font-size: 13px; color: var(--muted); }
.filter-bar {
 display: grid;
 grid-template-columns: 1.1fr 1fr 1fr 1.1fr .9fr;
 gap: 12px;
 align-items: end;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 16px;
}
.field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.field select {
 width: 100%;
 height: 40px;
 border: 1px solid #D9D0E0;
 border-radius: var(--radius-ctl);
 background: #fff;
 color: var(--text);
 padding: 0 10px;
}
.field select:disabled { background: #F3F0F4; color: var(--ink); }
.field-error { display: none; margin: 8px 0 0; color: var(--clay); font-size: 13px; }
.field-error.is-on { display: block; }
.sheet-list { display: flex; flex-direction: column; gap: 12px; }
.sheet-row, .quote, .fit-card, .compare-col, .filter-card, .scene, .status-card, .entry-panel, .article-line, .legend-item, .time-item {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 transition: border-color .2s ease;
}
.sheet-row:hover, .article-line:hover, .legend-item:hover, .time-item:hover { border-color: var(--teal); }
.sheet-row {
 display: grid;
 grid-template-columns: 92px minmax(0, 1fr) auto;
 gap: 14px;
 align-items: center;
 padding: 12px;
}
.sheet-row h3 { margin-bottom: 4px; }
.sheet-row p { margin: 0; color: var(--muted); font-size: 14px; }
.poster {
 width: 92px;
 height: 132px;
 border-radius: 6px;
 position: relative;
 overflow: hidden;
 background: var(--ink);
}
.poster::before {
 content: "";
 position: absolute;
 left: 0; right: 0; top: 0;
 height: 8px;
 background: radial-gradient(circle, #F3F0F4 1.6px, transparent 2px) 4px 4px / 11px 8px repeat-x;
}
.poster::after {
 content: "";
 position: absolute;
 left: 10px; right: 10px; top: 58px;
 border-top: 1px solid rgba(243,240,244,.45);
}
.poster span {
 position: absolute;
 left: 8px; right: 8px; bottom: 10px;
 color: #F3F0F4;
 font-size: 12px;
 line-height: 1.4;
}
.poster-b { background: #2A3340; }
.poster-c { background: #4A3458; }
.poster-d { background: #1F4F4C; }
.poster-e { background: #5C4568; }
.poster-f { background: #3D6B52; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag {
 display: inline-flex;
 align-items: center;
 height: 24px;
 padding: 0 8px;
 border-radius: 6px;
 background: #F3F0F4;
 color: var(--ink);
 font-size: 13px;
}
.tag-moss { background: #E7F0EA; color: var(--moss); }
.tag-clay { background: #F8EBE6; color: var(--clay); }
.tag-vine { background: #EEEAF2; color: #5E5568; }
.row-side { text-align: right; font-size: 13px; color: var(--muted); }
.row-side b { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.more-row { text-align: right; margin: 12px 0 0; }
.text-link { border-bottom: 1px solid rgba(31,138,132,.45); font-size: 15px; }
.legend-grid {
 display: grid;
 grid-template-columns: 1.2fr .8fr;
 gap: 16px;
}
.legend-list { display: flex; flex-direction: column; }
.legend-item {
 display: grid;
 grid-template-columns: 92px minmax(0, 1fr);
 gap: 12px;
 align-items: center;
 padding: 12px 14px;
 border-radius: 0;
 box-shadow: none;
}
.legend-item + .legend-item { border-top: 0; }
.legend-item:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.legend-item:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); }
.legend-item p { margin: 0; color: var(--muted); font-size: 14px; }
.note-panel { padding: 18px; }
.note-panel p:last-child { margin-bottom: 0; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.time-item {
 display: grid;
 grid-template-columns: 148px minmax(0, 1fr);
 gap: 16px;
 padding: 16px 18px;
 border-radius: 0;
 box-shadow: none;
 position: relative;
}
.time-item + .time-item { border-top: 0; }
.time-item:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.time-item:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); }
.time-item strong { color: var(--ink); font-size: 15px; }
.time-item p { margin: 0; color: var(--muted); }
.article-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.article-line {
 display: grid;
 grid-template-columns: 120px minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 16px 4px;
 border: 0;
 border-bottom: 1px solid var(--line);
 border-radius: 0;
 box-shadow: none;
 background: transparent;
 color: var(--text);
}
.article-line:hover { border-color: var(--line); color: var(--text); }
.article-line:hover h3 { color: var(--teal); }
.article-line time { font-size: 13px; color: var(--vine); }
.article-line h3 { margin: 0 0 4px; }
.article-line p { margin: 0; color: var(--muted); font-size: 14px; }
.article-go { font-size: 13px; color: var(--teal); white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary {
 list-style: none;
 cursor: pointer;
 min-height: 56px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 font-size: 16px;
 color: var(--ink);
 font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 22px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 16px; color: var(--muted); max-width: 760px; }
.close-band {
 background: var(--ink);
 color: #F3F0F4;
 padding: 48px 0;
}
.close-band h2, .close-band p { color: #F3F0F4; }
.close-inner {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
}
.close-band .lead { color: rgba(243,240,244,.82); margin-top: 8px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 height: 40px;
 padding: 0 16px;
 border-radius: var(--radius-ctl);
 border: 1px solid transparent;
 font-size: 15px;
 line-height: 1;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(58,35,72,.06); color: var(--ink); }
.site-footer { background: #E9E4EE; padding: 36px 0 20px; color: var(--text); border-top: 1px solid var(--line); }
.foot-logo { color: var(--ink); font-weight: 700; font-size: 16px; display: inline-block; margin-bottom: 18px; }
.foot-logo:hover { color: var(--ink); }
.foot-col h3 { font-size: 16px; margin-bottom: 10px; }
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.foot-col a:hover { color: var(--teal); }
.copyright { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #D9D0E0; font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) {
 .nav-toggle { display: inline-flex; align-items: center; }
 .header-inner { flex-wrap: wrap; min-height: 64px; padding: 10px 16px; }
 .site-nav { display: none; order: 3; flex: 1 0 100%; justify-content: flex-start; padding-bottom: 8px; }
 .site-nav.is-open { display: block; }
 .nav-groups { flex-direction: column; align-items: stretch; gap: 0; }
 .nav-groups > li > a { min-height: 44px; border-bottom: 1px solid rgba(243,240,244,.08); }
 .sub-menu { position: static; display: none; min-width: 0; box-shadow: none; border-top: 0; background: #24303C; }
 .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
 .has-sub.is-open > .sub-menu { display: block; }
 .header-actions { order: 2; width: 100%; margin-left: 0; flex-wrap: wrap; }
 .filter-bar { grid-template-columns: 1fr 1fr; }
 .legend-grid, .close-inner { grid-template-columns: 1fr; display: grid; }
 .section { padding: 48px 0; }
}
@media (max-width: 767px) {
 h1 { font-size: 26px; }
 h2 { font-size: 22px; }
 .cat-head, .sheet-row, .time-item, .article-line { display: grid; }
 .cat-head { align-items: flex-start; }
 .sheet-row { grid-template-columns: 76px minmax(0, 1fr); }
 .row-side { grid-column: 2; text-align: left; }
 .poster { width: 76px; height: 112px; }
 .article-line, .time-item, .legend-item { grid-template-columns: 1fr; gap: 4px; }
 .filter-bar { grid-template-columns: 1fr; }
 .result-count { min-width: 0; }
}
@media (max-width: 519px) {
 .header-actions .action-link { flex: 1 1 calc(50% - 8px); justify-content: center; }
 .close-inner .btn { width: 100%; }
 .section { padding: 40px 0; }
 .section-tight { padding: 22px 0 12px; }
}
