/* roulang page: index */
:root {
  --paper: #f3eee6;
  --paper-alt: #e9e1d4;
  --card: #fbf8f3;
  --plum: #7a3044;
  --plum-deep: #5e2434;
  --persimmon: #b85a28;
  --persimmon-deep: #8c3e16;
  --persimmon-soft: #f6e3d4;
  --ink: #2a2230;
  --muted: #5c4f48;
  --line: #e4d5cc;
  --white: #fffcf8;
  --shadow: 0 8px 18px rgba(44, 34, 48, 0.06);
  --shadow-hover: 0 12px 24px rgba(44, 34, 48, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --space: 72px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 2px;
}
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; margin: 0 0 0.45em; letter-spacing: 0.01em; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
ul, ol { margin: 0; padding: 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
main section { scroll-margin-top: 80px; padding: var(--space) 0; }
main section:nth-child(odd) { background: var(--paper); }
main section:nth-child(even) { background: var(--paper-alt); }
.idx {
  display: inline-block;
  margin-right: 8px;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.72em;
  letter-spacing: 0.04em;
}
.lead { max-width: 740px; color: var(--muted); margin: 0 0 26px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 16px rgba(44, 34, 48, 0.05);
}
.nav-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.logo:hover { text-decoration: none; color: var(--plum); }
.sprocket {
  width: 16px;
  height: 24px;
  border: 1px solid var(--plum);
  border-radius: 3px;
  position: relative;
  display: inline-block;
  flex: none;
}
.sprocket::before, .sprocket::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--plum);
  border-radius: 50%;
  background: var(--paper);
  transform: translateX(-50%);
}
.sprocket::before { top: -3px; }
.sprocket::after { bottom: -3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .mega-sum {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.nav > a.active { box-shadow: inset 0 -2px 0 var(--plum); color: var(--plum); }
.nav > a:hover { text-decoration: none; color: var(--plum); }
.mega { position: relative; }
.mega-sum { list-style: none; cursor: pointer; font-weight: 600; }
.mega-sum::-webkit-details-marker { display: none; }
.mega-sum::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% - 6px);
  width: min(680px, calc(100vw - 40px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 16px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 40;
}
.mega:hover .mega-panel,
.mega:focus-within .mega-panel,
.mega details[open] .mega-panel { display: grid; }
.mega-col h3 { font-size: 15px; margin-bottom: 8px; }
.mega-col ul { list-style: none; }
.mega-col li { margin: 0; }
.mega-col a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.badge {
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  border-color: #efd0bc;
}
.chip:hover { text-decoration: none; border-color: var(--plum); color: var(--plum); }
.entry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.entry-card strong { font-size: 16px; }
.entry-card span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.entry-card:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.entry-card em { font-style: normal; color: var(--plum); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--plum);
  font-weight: 650;
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-1px); }
.btn-primary:active { background: var(--plum-deep); transform: translateY(0); }
.btn-ghost { background: var(--white); color: var(--plum); }
.btn-ghost:hover { background: #f7ecee; transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 14px; }

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.68fr) minmax(0, 0.68fr);
  gap: 14px;
}
.bento-main, .bento-stat, .cta-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bento-main { grid-column: 1; grid-row: 1 / span 2; padding: 28px; position: relative; }
.film-edge {
  height: 16px;
  margin: -28px -28px 18px;
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle, var(--plum) 1.6px, transparent 1.8px);
  background-size: 22px 16px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.brand-line { color: var(--plum); font-weight: 700; margin-bottom: 8px; }
.sub { font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.intro { color: var(--muted); margin: 0; }
.bento-stat { padding: 16px 16px 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; }
.bento-stat .k { color: var(--muted); font-size: 14px; }
.bento-stat strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--plum);
  font-size: 40px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bento-stat .hint { color: var(--muted); font-size: 13px; }
.bento-stat.warm { background: #fbf4ee; }
.cta-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.slip-no { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }

.matrix {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.72fr;
  grid-template-areas:
    "big mid narrow"
    "big slot slot";
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: box-shadow 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card-big { grid-area: big; display: flex; flex-direction: column; gap: 12px; }
.card-mid { grid-area: mid; }
.card-narrow { grid-area: narrow; }
.card-slot { grid-area: slot; }
.shot {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background-color: #efe4d8;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 16px, rgba(122, 48, 68, 0.09) 16px, rgba(122, 48, 68, 0.09) 17px),
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(44, 34, 48, 0.04) 20px, rgba(44, 34, 48, 0.04) 21px);
}
.shot-wide { aspect-ratio: 16 / 10; }
.shot-std { aspect-ratio: 4 / 3; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .btn { margin-top: 12px; }

.compare-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: start;
}
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.compare-col h3 { margin-bottom: 12px; }
.bar-row { margin-bottom: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-name, .bar-note { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.bar-note { color: var(--muted); margin-top: 4px; }
.bar-track {
  display: block;
  height: 8px;
  margin-top: 6px;
  background: #efe6de;
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill { display: block; height: 100%; background: var(--plum); border-radius: inherit; }
.bar-fill.alt { background: var(--persimmon); }
.w-30 { width: 30%; }
.w-34 { width: 34%; }
.w-48 { width: 48%; }
.w-80 { width: 80%; }
.w-82 { width: 82%; }
.w-88 { width: 88%; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: var(--line);
}
.node {
  position: relative;
  padding-top: 42px;
}
.node::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--plum);
}
.node h3 { font-size: 17px; }
.node p { color: var(--muted); margin: 0; }

.slot-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: end;
}
.slot-board {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-height: 320px;
}
.slot {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slot:hover { box-shadow: var(--shadow-hover); }
.slot-a { height: 300px; }
.slot-b { height: 210px; transform: translateY(18px); }
.slot-c { height: 256px; transform: translateY(8px); }
.slot .tag {
  align-self: flex-start;
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
}
.slot p { color: var(--muted); margin: 10px 0 0; }
.slot a { color: var(--plum); }

.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.day {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 168px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.day:hover { box-shadow: var(--shadow-hover); }
.day b { font-variant-numeric: tabular-nums; }
.day p { color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; }
.day a { color: var(--plum); font-size: 14px; }

.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 32px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.news-item h3 { font-size: 18px; margin: 0 0 4px; }
.news-item h3 a:hover { color: var(--plum); }
.news-item p { color: var(--muted); margin: 0; }
.more-row { margin-top: 18px; }

.entry-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.entry-large {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
  min-height: 220px;
}
.entry-large:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.entry-large p { color: var(--muted); }
.entry-large .go { color: var(--plum); font-weight: 700; }

.tiers { display: grid; grid-template-columns: 1.15fr 0.9fr 1.05fr 0.88fr; gap: 12px; }
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.tier ul { list-style: none; margin-top: 10px; }
.tier li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.tier li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--persimmon);
  position: absolute;
  left: 0;
  top: 0.7em;
}

.path-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.step-no {
  grid-row: 1 / span 2;
  color: var(--plum);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.step p { color: var(--muted); margin: 0; }
.step a { justify-self: start; }

.assure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  overflow: hidden;
}
.assure li { padding: 18px 16px 16px; border-right: 1px solid var(--line); }
.assure li:last-child { border-right: 0; }
.assure strong { display: block; margin: 10px 0 4px; }
.assure span { color: var(--muted); display: block; }
.doc-ico {
  width: 26px;
  height: 32px;
  border: 1px solid var(--plum);
  border-radius: 4px;
  position: relative;
  display: inline-block;
}
.doc-ico::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 8px;
  height: 1px;
  background: var(--plum);
  box-shadow: 0 5px 0 var(--plum), 0 10px 0 var(--plum);
}

.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa, .qa-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.qa { padding: 16px 16px 14px; }
.qa h3 { font-size: 17px; }
.qa p { color: var(--muted); }
.faq-list { max-width: 840px; display: flex; flex-direction: column; gap: 10px; }
.qa-item { padding: 0 16px; }
.qa-item summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after { content: "＋"; color: var(--plum); font-weight: 500; }
.qa-item[open] summary::after { content: "–"; }
.qa-item[open] { border-color: #e4c4cc; }
.qa-item p { color: var(--muted); margin: 0 0 14px; }

.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.note:nth-child(2) { margin-top: 28px; }
.note:nth-child(3) { margin-top: 10px; }
.note .who { color: var(--persimmon-deep); font-size: 13px; margin-bottom: 6px; }
.note p { color: var(--muted); }

.book-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 28px; align-items: start; }
.slip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px 22px;
  background-image: radial-gradient(circle at 0 12px, transparent 6px, var(--card) 7px);
  background-size: 16px 22px;
  background-repeat: repeat-y;
  border-left: 1px dashed #d8b7ae;
}
.slip h3 { margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 14px; color: var(--muted); }
input, select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 0 12px;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--plum) 50%), linear-gradient(135deg, var(--plum) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.slip .btn { width: 100%; margin-top: 4px; }
.form-note {
  margin-top: 12px;
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  border: 1px solid #efd0bc;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
[hidden] { display: none !important; }

.site-footer { background: #e7ddd0; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.foot-brand strong { font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.foot p { color: var(--muted); margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: start; justify-content: flex-end; }
.foot-links a:hover { color: var(--plum); }
.copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.copy a { color: var(--plum); }

@media (max-width: 1200px) {
  h1 { font-size: 36px; }
  .slot-layout { grid-template-columns: 240px 1fr; }
}
@media (max-width: 1024px) {
  .matrix { grid-template-columns: 1fr 1fr; grid-template-areas: "big mid" "narrow slot"; }
  .card-big { grid-column: auto; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path-layout, .compare-wrap, .book-grid, .slot-layout { grid-template-columns: 1fr; }
  .slot-board { align-items: stretch; }
}
@media (max-width: 960px) {
  :root { --space: 56px; }
  .nav-bar { align-items: flex-start; flex-wrap: wrap; padding: 8px 0; }
  .logo { height: 48px; }
  .nav { width: 100%; flex-wrap: wrap; align-items: flex-start; }
  .nav > a, .mega-sum { height: 44px; }
  .mega { width: 100%; }
  .mega-panel,
  .mega:hover .mega-panel,
  .mega:focus-within .mega-panel {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
  }
  .mega details[open] .mega-panel { display: grid; grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-main, .cta-bar { grid-column: 1 / -1; grid-row: auto; }
  .entry-grid, .note-grid, .qa-grid, .compare-grid, .assure { grid-template-columns: 1fr 1fr; }
  .assure li:nth-child(odd) { border-right: 1px solid var(--line); }
  .assure li:nth-child(2) { border-right: 0; }
  .assure li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .node { padding: 0 0 18px 28px; }
  .node::before { top: 6px; left: 0; }
  .entry-large { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matrix { grid-template-columns: 1fr; grid-template-areas: "big" "mid" "narrow" "slot"; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .slot-board { flex-direction: column; min-height: 0; }
  .slot-a, .slot-b, .slot-c { height: auto; min-height: 140px; transform: none; }
  .note:nth-child(2), .note:nth-child(3) { margin-top: 0; }
  .slip-no { margin-left: 0; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .bento, .entry-grid, .note-grid, .qa-grid, .compare-grid, .tiers, .assure, .week { grid-template-columns: 1fr; }
  .assure li { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .assure li:last-child { border-bottom: 0; }
  .cta-bar .btn, .slip .btn { width: 100%; }
  .step { grid-template-columns: 56px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .sub { font-size: 16px; }
  .bento-stat strong { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .entry-card, .entry-large, .day, .slot { transition: none; }
}

/* roulang page: category2 */
:root {
  --paper: #f3eee6;
  --paper-alt: #e9e1d4;
  --card: #fbf8f3;
  --plum: #7a3044;
  --plum-deep: #5e2434;
  --persimmon: #b85a28;
  --persimmon-deep: #8c3e16;
  --persimmon-soft: #f6e3d4;
  --ink: #2a2230;
  --muted: #5c4f48;
  --line: #e4d5cc;
  --white: #fffcf8;
  --shadow: 0 8px 18px rgba(44, 34, 48, 0.06);
  --shadow-hover: 0 12px 24px rgba(44, 34, 48, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --space: 72px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 2px;
}
p { margin: 0 0 0.9em; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 0.45em; font-weight: 700; color: var(--ink); }
h1 { font-size: 34px; letter-spacing: 0.01em; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
main section { scroll-margin-top: 80px; padding: var(--space) 0; }
main section:nth-child(odd) { background: var(--paper); }
main section:nth-child(even) { background: var(--paper-alt); }
.lead { max-width: 740px; color: var(--muted); margin: 0 0 26px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 16px rgba(44, 34, 48, 0.05);
}
.nav-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.logo:hover { text-decoration: none; color: var(--plum); }
.sprocket {
  width: 18px;
  height: 16px;
  border: 1.5px solid var(--plum);
  border-radius: 3px;
  position: relative;
  display: inline-block;
  flex: none;
  background:
    radial-gradient(circle at 3px 3px, var(--plum) 1.2px, transparent 1.4px),
    radial-gradient(circle at 14px 3px, var(--plum) 1.2px, transparent 1.4px),
    radial-gradient(circle at 3px 12px, var(--plum) 1.2px, transparent 1.4px),
    radial-gradient(circle at 14px 12px, var(--plum) 1.2px, transparent 1.4px);
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .mega-sum {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.nav > a.active { box-shadow: inset 0 -2px 0 var(--plum); color: var(--plum); }
.nav > a:hover, .mega-sum:hover { text-decoration: none; color: var(--plum); }
.mega { position: relative; }
.mega-sum { list-style: none; cursor: pointer; font-weight: 600; }
.mega-sum::-webkit-details-marker { display: none; }
.mega-sum::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% - 6px);
  width: min(680px, calc(100vw - 40px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 16px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 40;
}
.mega:hover .mega-panel,
.mega:focus-within .mega-panel,
.mega details[open] .mega-panel { display: grid; }
.mega-col h3 { font-size: 15px; margin-bottom: 8px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.badge {
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  border-color: #efd0bc;
}
.chip:hover { text-decoration: none; border-color: var(--plum); color: var(--plum); }
.entry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.entry-card strong { font-size: 16px; }
.entry-card span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.entry-card:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.entry-card em { font-style: normal; color: var(--plum); font-size: 13px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--plum);
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-1px); }
.btn-primary:active { background: var(--plum-deep); transform: translateY(0); }
.btn-ghost { background: var(--white); color: var(--plum); }
.btn-ghost:hover { background: #f7ecee; transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.brand-line { color: var(--plum); font-weight: 700; margin: 0 0 8px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: box-shadow 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card p { color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.axis-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: stretch;
}
.v-axis {
  list-style: none;
  margin: 0;
  padding: 8px 0 8px 22px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 280px;
}
.v-axis li { position: relative; }
.v-axis li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 4px var(--paper);
}
main section:nth-child(even) .v-axis li::before { box-shadow: 0 0 0 4px var(--paper-alt); }
.v-axis time {
  display: block;
  color: var(--persimmon-deep);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.v-axis strong { display: block; font-size: 18px; }
.v-axis span { color: var(--muted); font-size: 14px; }
.slip-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.timetable { display: flex; flex-direction: column; gap: 14px; }
.slip {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: box-shadow 0.18s ease;
}
.slip:hover { box-shadow: var(--shadow-hover); }
.slip-night { min-height: 168px; margin-right: 36px; }
.slip-short { min-height: 132px; margin-left: 54px; }
.slip-set { min-height: 188px; margin-right: 12px; margin-left: 18px; }
.slip-face {
  border-radius: 10px;
  min-height: 96px;
  border: 1px solid var(--line);
  background-color: #f6efe6;
  background-image:
    linear-gradient(90deg, transparent 0 10px, rgba(122, 48, 68, 0.16) 10px 12px, transparent 12px),
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(184, 90, 40, 0.13) 18px 19px);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.slip-face b { font-size: 13px; font-weight: 600; color: var(--plum-deep); background: rgba(255, 252, 248, 0.88); border-radius: 999px; padding: 2px 8px; }
.slip h3 { margin-bottom: 6px; }
.slip p { margin: 0; color: var(--muted); }
.slip-side { text-align: right; }
.slip-side .num { display: block; font-size: 28px; font-weight: 700; color: var(--plum); line-height: 1; }
.slip-side small { color: var(--muted); }
.grade-list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.grade-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.grade-list dt { font-weight: 700; color: var(--plum); }
.grade-list dd { margin: 0; color: var(--muted); }
.miles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}
.miles::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 1px;
  background: var(--line);
}
.miles li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
}
.miles li span {
  display: inline-flex;
  min-width: 36px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.miles p { margin: 0; color: var(--muted); }
.qa-stack { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 12px; }
.qa-stack article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.qa-stack article:first-child { grid-row: span 2; }
.qa-stack h3 { font-size: 17px; }
.qa-stack p { margin: 0; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.news-list a {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  color: var(--ink);
}
.news-list a:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.news-list strong { display: block; }
.news-list span { color: var(--muted); font-size: 14px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 16px;
}
.faq summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 650;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--plum);
  border-bottom: 1.5px solid var(--plum);
  transform: rotate(45deg);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 0 14px; color: var(--muted); }
.book-sheet {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.book-aside {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(122, 48, 68, 0.05), transparent 90px),
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(228, 213, 204, 0.7) 22px 23px);
  border-right: 1px dashed var(--line);
}
.book-aside ol { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.book-form { padding: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; }
.field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 10px 12px;
  line-height: 1.5;
}
.field textarea { min-height: 96px; resize: vertical; }
.form-note {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--persimmon-soft);
  color: var(--persimmon-deep);
  border: 1px solid #efd0bc;
}
.form-note.show { display: block; }
.site-footer {
  background: #efe6db;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px 24px;
  align-items: start;
}
.foot-brand strong { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.foot-brand p { margin: 8px 0 0; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.foot-links a { color: var(--ink); }
.copy { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.copy a { color: var(--ink); }
@media (max-width: 1200px) {
  h1 { font-size: 30px; }
  .slip-night { margin-right: 12px; }
  .slip-short { margin-left: 28px; }
}
@media (max-width: 1024px) {
  .axis-wrap { grid-template-columns: 230px 1fr; }
  .miles { grid-template-columns: 1fr 1fr; }
  .miles::before { display: none; }
  .book-sheet { grid-template-columns: 1fr; }
  .book-aside { border-right: 0; border-bottom: 1px dashed var(--line); }
}
@media (max-width: 960px) {
  .nav-bar { flex-wrap: wrap; align-items: flex-start; padding: 8px 0 0; }
  .nav { width: 100%; flex-wrap: wrap; }
  .nav > a, .mega-sum { height: 46px; }
  .mega { flex: 1 0 100%; }
  .mega:hover .mega-panel { display: none; }
  .mega details[open] .mega-panel { display: grid; position: static; width: 100%; grid-template-columns: 1fr; margin-bottom: 12px; }
  .axis-wrap { grid-template-columns: 1fr; }
  .v-axis { min-height: 0; }
  .slip, .news-list a, .grade-list div { grid-template-columns: 1fr; }
  .slip-side { text-align: left; }
  .slip-night, .slip-short, .slip-set { margin: 0; min-height: 0; }
  .qa-stack { grid-template-columns: 1fr; }
  .qa-stack article:first-child { grid-row: auto; }
}
@media (max-width: 768px) {
  :root { --space: 52px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .miles { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .btn-row .btn { flex: 1 1 100%; }
  .mega-panel { padding: 12px; }
}
@media (max-width: 480px) {
  :root { --space: 42px; }
  h1 { font-size: 24px; }
  .nav > a { padding: 0 8px; }
  .slip, .book-aside, .book-form { padding: 14px; }
}

/* roulang page: category1 */
:root {
 --paper: #f3eee6;
 --paper-alt: #e9e1d4;
 --card: #fbf8f3;
 --plum: #7a3044;
 --plum-deep: #5e2434;
 --persimmon: #b85a28;
 --persimmon-deep: #8c3e16;
 --persimmon-soft: #f6e3d4;
 --ink: #2a2230;
 --muted: #5c4f48;
 --line: #e4d5cc;
 --white: #fffcf8;
 --shadow: 0 8px 18px rgba(44, 34, 48, 0.06);
 --shadow-hover: 0 12px 24px rgba(44, 34, 48, 0.1);
 --radius: 14px;
 --radius-sm: 10px;
 --space: 72px;
 --max: 1120px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.85;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, label:focus-visible {
 outline: 2px solid var(--persimmon);
 outline-offset: 2px;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
p + p { margin-top: 0.9em; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
main section { scroll-margin-top: 80px; padding: var(--space) 0; }
main section:nth-child(odd) { background: var(--paper); }
main section:nth-child(even) { background: var(--paper-alt); }
.lead { max-width: 740px; color: var(--muted); margin: 0 0 18px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 30;
 background: var(--paper);
 border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
 border-bottom-color: var(--line);
 box-shadow: 0 6px 16px rgba(44, 34, 48, 0.05);
}
.nav-bar {
 min-height: 64px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
}
.logo {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: 18px;
 font-weight: 700;
 color: var(--ink);
 flex: none;
}
.logo:hover { text-decoration: none; color: var(--plum); }
.sprocket {
 width: 18px;
 height: 18px;
 border: 1.5px solid var(--plum);
 border-radius: 3px;
 position: relative;
 display: inline-block;
 flex: none;
}
.sprocket::before, .sprocket::after {
 content: "";
 position: absolute;
 width: 3px;
 height: 3px;
 border-radius: 50%;
 background: var(--plum);
 top: 3px;
 box-shadow: 0 8px 0 var(--plum);
}
.sprocket::before { left: 2px; }
.sprocket::after { right: 2px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .mega-sum {
 display: inline-flex;
 align-items: center;
 height: 64px;
 padding: 0 12px;
 color: var(--ink);
 background: transparent;
 border: 0;
 font: inherit;
}
.nav > a.active { box-shadow: inset 0 -2px 0 var(--plum); color: var(--plum); }
.nav > a:hover { text-decoration: none; color: var(--plum); }
.mega { position: relative; }
.mega-sum { list-style: none; cursor: pointer; font-weight: 600; }
.mega-sum::-webkit-details-marker { display: none; }
.mega-sum::after {
 content: "";
 width: 6px;
 height: 6px;
 margin-left: 6px;
 border-right: 1.5px solid currentColor;
 border-bottom: 1.5px solid currentColor;
 transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
 display: none;
 position: absolute;
 right: 0;
 top: calc(100% - 6px);
 width: min(680px, calc(100vw - 40px));
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow-hover);
 padding: 16px;
 grid-template-columns: 1fr 1fr;
 gap: 14px;
 z-index: 40;
}
.mega:hover .mega-panel,
.mega:focus-within .mega-panel,
.mega details[open] .mega-panel { display: grid; }
.mega-col h3 { font-size: 15px; margin-bottom: 8px; }
.mega-col ul { list-style: none; }
.mega-col li { margin: 0; }
.mega-col a {
 display: block;
 padding: 7px 0;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .badge {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 2px 10px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--white);
 color: var(--ink);
 font-size: 13px;
 line-height: 1.4;
}
.badge {
 background: var(--persimmon-soft);
 color: var(--persimmon-deep);
 border-color: #efd0bc;
}
.chip:hover { text-decoration: none; border-color: var(--plum); color: var(--plum); }
.entry-card {
 display: flex;
 flex-direction: column;
 gap: 6px;
 min-height: 132px;
 padding: 14px;
 border-radius: var(--radius);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
}
.entry-card strong { font-size: 16px; }
.entry-card span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.entry-card:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.entry-card em { font-style: normal; color: var(--plum); font-size: 13px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: var(--radius-sm);
 border: 1px solid var(--plum);
 font-weight: 600;
 line-height: 1;
 transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-1px); }
.btn-primary:active { background: var(--plum-deep); transform: translateY(0); }
.btn-ghost { background: var(--white); color: var(--plum); }
.btn-ghost:hover { background: #f7ecee; transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 transition: box-shadow 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card p { color: var(--muted); }
.card .btn { margin-top: 12px; }
.kicker { color: var(--plum); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
h1 { font-size: 34px; line-height: 1.35; font-weight: 700; }
h2 { font-size: 26px; line-height: 1.4; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.head-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
 gap: 22px;
 align-items: stretch;
}
.head-copy {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 28px;
 border-top: 3px solid var(--plum);
}
.head-side {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 10px;
}
.stat {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 14px;
 box-shadow: var(--shadow);
}
.stat b {
 display: block;
 color: var(--plum);
 font-size: 28px;
 line-height: 1.2;
 font-weight: 700;
}
.stat span { color: var(--muted); font-size: 14px; }
.head-copy .chip-row { margin-top: 16px; }
.split { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.flt {
 position: absolute;
 width: 1px;
 height: 1px;
 margin: -1px;
 padding: 0;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
 white-space: nowrap;
}
.filters {
 position: sticky;
 top: 80px;
 display: flex;
 flex-direction: column;
 gap: 8px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 14px;
 box-shadow: var(--shadow);
}
.filters p { font-weight: 700; }
.filters label { cursor: pointer; justify-content: flex-start; width: 100%; }
#flt-all:checked ~ .filters label[for="flt-all"],
#flt-night:checked ~ .filters label[for="flt-night"],
#flt-short:checked ~ .filters label[for="flt-short"],
#flt-set:checked ~ .filters label[for="flt-set"] {
 background: var(--plum);
 color: #fff;
 border-color: var(--plum);
}
#flt-all:focus-visible ~ .filters label[for="flt-all"],
#flt-night:focus-visible ~ .filters label[for="flt-night"],
#flt-short:focus-visible ~ .filters label[for="flt-short"],
#flt-set:focus-visible ~ .filters label[for="flt-set"] {
 outline: 2px solid var(--persimmon);
 outline-offset: 2px;
}
#flt-night:checked ~ .board .card:not(.night),
#flt-short:checked ~ .board .card:not(.short),
#flt-set:checked ~ .board .card:not(.set) { display: none; }
.board {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 14px;
 align-items: start;
}
.topic-card h3 { font-size: 17px; margin: 8px 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.date-chip {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 8px;
 border-radius: 999px;
 background: var(--paper-alt);
 color: var(--ink);
 font-size: 13px;
}
.ph {
 border-radius: var(--radius-sm);
 border: 1px solid var(--line);
 background-color: #efe4d8;
 background-image: repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(122, 48, 68, 0.08) 18px, rgba(122, 48, 68, 0.08) 19px);
 position: relative;
 margin-bottom: 10px;
}
.ph::before {
 content: "";
 position: absolute;
 left: 8px;
 top: 8px;
 bottom: 8px;
 width: 10px;
 background: radial-gradient(circle, var(--plum) 1.5px, transparent 1.7px) 0 0 / 10px 14px;
}
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-std { aspect-ratio: 4 / 3; }
.ratio-short { aspect-ratio: 16 / 7; }
.week {
 list-style: none;
 display: grid;
 grid-template-columns: repeat(7, minmax(0, 1fr));
 gap: 10px;
 align-items: start;
}
.week li {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 12px;
 min-height: 148px;
}
.week li:nth-child(odd) { margin-top: 16px; }
.week li:nth-child(3) { margin-top: 28px; }
.week li:nth-child(6) { margin-top: 6px; }
.week .d {
 display: inline-flex;
 min-height: 26px;
 padding: 0 8px;
 border-radius: 999px;
 background: var(--persimmon-soft);
 color: var(--persimmon-deep);
 font-size: 13px;
 margin-bottom: 8px;
}
.week strong { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.week a { color: var(--plum); font-size: 14px; }
.pair {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px;
}
.pair-col {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
}
.pair-col h3 { margin-bottom: 12px; }
.bar-block { margin-bottom: 14px; }
.bar-block:last-child { margin-bottom: 0; }
.bar-name { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.bar-name b { color: var(--plum); font-weight: 700; }
.track {
 height: 8px;
 background: #efe6dc;
 border-radius: 999px;
 overflow: hidden;
 border: 1px solid var(--line);
}
.track i {
 display: block;
 height: 100%;
 background: var(--plum);
 border-radius: 999px;
}
.track.warm i { background: var(--persimmon); }
.w28 { width: 28%; }
.w36 { width: 36%; }
.w44 { width: 44%; }
.w52 { width: 52%; }
.w63 { width: 63%; }
.w74 { width: 74%; }
.w82 { width: 82%; }
.points { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.point {
 display: grid;
 grid-template-columns: 52px minmax(0, 1fr);
 gap: 12px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
}
.point:nth-child(2) { margin-top: 22px; }
.point:nth-child(3) { margin-right: 28px; }
.seq {
 width: 52px;
 height: 52px;
 border-radius: 50%;
 border: 1px solid var(--plum);
 color: var(--plum);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 background: var(--white);
}
.point p { color: var(--muted); }
.news { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.news li {
 display: grid;
 grid-template-columns: 92px minmax(0, 1fr);
 gap: 14px;
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 12px 14px;
 box-shadow: var(--shadow);
}
.news a { font-weight: 700; }
.news p { color: var(--muted); font-size: 14px; }
.more-bar, .jump-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
}
.more-bar p, .jump-bar p { color: var(--muted); }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer {
 background: #e7dfd2;
 border-top: 1px solid var(--line);
 padding: 28px 0 32px;
}
.foot { display: grid; gap: 12px; }
.foot-brand strong {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: 18px;
}
.foot-brand p { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-links a:hover { color: var(--plum); }
.copy { color: var(--muted); font-size: 14px; }
.copy a { color: var(--plum); }
@media (max-width: 1200px) {
 .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .week li:nth-child(n) { margin-top: 0; }
}
@media (max-width: 1024px) {
 .head-grid { grid-template-columns: 1fr; }
 .points { grid-template-columns: 1fr; }
 .point:nth-child(n) { margin: 0; }
}
@media (max-width: 960px) {
 .nav-bar { align-items: flex-start; flex-direction: column; padding: 8px 0 10px; }
 .nav { width: 100%; flex-wrap: wrap; align-items: flex-start; }
 .nav > a, .mega-sum { height: 44px; }
 .mega { width: 100%; }
 .mega-panel { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; }
 .mega:hover .mega-panel, .mega:focus-within .mega-panel { display: none; }
 .mega details[open] .mega-panel { display: grid; }
 .split { grid-template-columns: 1fr; }
 .filters { position: static; flex-direction: row; flex-wrap: wrap; }
 .filters p { width: 100%; }
 .filters label { width: auto; }
 .pair { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 :root { --space: 44px; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .board { grid-template-columns: 1fr; }
 .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .news li { grid-template-columns: 1fr; gap: 6px; }
 .head-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
 .container { width: min(var(--max), calc(100% - 28px)); }
 .head-copy { padding: 18px; }
 .week { grid-template-columns: 1fr; }
 .more-bar, .jump-bar { align-items: flex-start; }
 .btn { width: 100%; }
 .jump-links .btn { width: auto; }
}
@media (max-width: 480px) {
 h1 { font-size: 24px; }
 .stat b { font-size: 22px; }
 .head-side { grid-template-columns: 1fr; }
 .nav > a, .mega-sum { padding: 0 8px; }
}
