/* roulang page: index */
:root {
  --bg: #F3F6FA;
  --bg-alt: #ffffff;
  --bg-tint: #E7EEF6;
  --ink: #1A2744;
  --muted: #5C6B82;
  --line: #D5DEEA;
  --blue: #2C5F8A;
  --blue-deep: #234E72;
  --gold: #C4A574;
  --rose: #8E4B6A;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
  --shadow-hover: 0 16px 34px rgba(30, 58, 95, 0.12);
  --radius: 16px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PMingLiU", serif;
  --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F3F6FA;
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(30, 58, 95, 0.06); }
.nav-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  min-height: 78px;
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--blue);
  box-shadow: inset 0 0 0 3px #F3F6FA, inset 0 0 0 4px var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(var(--blue), var(--blue)) center/14px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center/2px 14px no-repeat;
}
.logo-text {
  display: block;
  max-width: 8.6em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.search-form {
  display: flex;
  align-items: center;
  height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 6px 0 14px;
  box-shadow: 0 6px 18px rgba(30, 58, 95, 0.04);
}
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.15); }
.search-ico { flex: 0 0 auto; color: var(--muted); display: flex; }
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  margin: 0;
  padding: 0 10px;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
}
.search-form input[type="search"]:focus { outline: none; background: transparent; }
.search-btn {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.search-btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(44, 95, 138, 0.22); }
.nav-pills { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 14px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.pill.is-active, .pill.is-active:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.block { padding: var(--space) 0; }
.block.alt { background: var(--bg-alt); }
.block.tint { background: var(--bg-tint); }
.chapter { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chap-no {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 13px;
}
.emblem { width: 42px; height: 10px; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.35; color: var(--ink); }
h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
h3 { font-size: 20px; line-height: 1.45; }
.sub { font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.lead { color: var(--muted); max-width: 760px; margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 95, 138, 0.22); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.metric-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  margin-top: 28px;
  scroll-snap-type: x mandatory;
}
.metric {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px;
  border-top: 2px solid var(--gold);
}
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  color: var(--blue);
  font-weight: 700;
}
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.query-note {
  margin-top: 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--gold);
  background: #fff;
  color: var(--ink);
}
.panel, .card, .item, .scene, .pick, .cat-entry, .form-card, .side-note {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel, .card, .side-note, .cat-entry, .form-card { padding: 28px; }
.double-frame {
  border: 1px solid rgba(44, 95, 138, 0.18);
  box-shadow: var(--shadow), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(196, 165, 116, 0.8);
}
.chamfer { position: relative; }
.chamfer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent var(--gold) transparent transparent;
}
.panel-main h3, .side-stack h3, .pick h3, .item h3 { margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: 88px 1fr; gap: 8px 12px; margin-top: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--line);
  color: var(--blue);
  background: #F4F8FC;
}
.badge.gold { color: #7A6240; background: #F8F3EA; border-color: rgba(196, 165, 116, 0.5); }
.badge.rose { color: var(--rose); background: #FBF4F7; border-color: rgba(142, 75, 106, 0.35); }
.side-stack { display: grid; gap: 14px; }
.side-stack article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border-left: 3px solid var(--blue);
}
.table-scroll { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp-table caption {
  text-align: left;
  padding: 18px 22px 0;
  font-family: var(--serif);
  color: var(--ink);
}
.cmp-table th, .cmp-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table th { color: var(--muted); font-weight: 600; background: #F8FBFE; }
.cmp-table td:last-child { box-shadow: inset 3px 0 0 var(--blue); background: #F7FBFE; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px;
  position: relative;
}
.timeline li::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 12px;
}
.node-time { display: block; color: var(--blue); font-size: 13px; margin-bottom: 6px; }
.scene-rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.scene { flex: 0 0 46%; scroll-snap-align: start; padding: 0 0 20px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.scene.wide { flex-basis: 62%; }
.scene.narrow { flex-basis: 38%; }
.scene:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene .txt { padding: 18px 20px 4px; }
.scene p, .item p, .pick p, .side-stack p, .news-row p { color: var(--muted); }
.ph-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #E4EBF3; border-radius: 12px; }
.item, .pick { padding: 16px; transition: transform .18s ease, box-shadow .18s ease; }
.item:hover, .pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.list-main, .list-side, .pick-side { display: grid; gap: 14px; }
.item-body, .pick-body { padding: 8px 6px 4px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.news-list { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-row time { color: var(--gold); font-family: var(--serif); }
.news-row h3 a:hover { text-decoration: underline; }
.guarantee {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.g-item { flex: 1; padding: 26px 22px; border-right: 1px solid var(--line); }
.g-item:last-child { border-right: 0; }
.g-ico { width: 28px; height: 28px; color: var(--blue); margin-bottom: 10px; }
.g-item h3 { font-size: 18px; margin-bottom: 6px; }
.g-item p { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.tab-btn.is-active, .tab-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab-btn:hover { transform: translateY(-2px); }
.tab-panel { display: none; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.tab-panel.is-active { display: block; }
.qa-list { display: grid; gap: 10px; }
.qa-link {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
  transition: transform .18s ease;
}
.qa-link:hover { transform: translateY(-2px); color: var(--ink); }
.qa-link strong { display: block; font-family: var(--serif); margin-bottom: 4px; }
.qa-link span { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 18px 20px;
  font-family: var(--serif);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .18s ease; }
.faq-item.is-open .faq-a { max-height: 220px; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); }
.cat-entry p { color: var(--muted); margin: 8px 0 18px; }
.plain-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.plain-names span { color: var(--muted); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.form-card label, .field span.lbl { display: block; margin-bottom: 6px; font-size: 14px; }
.field { margin-bottom: 14px; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin: 0;
  padding: 12px 14px;
  box-shadow: none;
  height: auto;
  line-height: 1.5;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(44, 95, 138, 0.25);
  background: #fff;
}
.is-invalid { border-color: var(--rose) !important; }
.field-msg { color: var(--rose); font-size: 13px; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 16px; }
.check input { margin-top: 4px; accent-color: var(--blue); }
.form-success, .form-error-banner {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.form-success { background: #F4F8FC; border: 1px solid var(--blue); }
.form-error-banner { background: #FBF4F7; border: 1px solid var(--rose); color: var(--rose); }
.site-footer { background: #E7EEF6; padding: 48px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 22px; }
.site-footer p, .site-footer a { color: var(--muted); }
.foot-links { display: grid; gap: 8px; margin-top: 10px; }
.site-footer a:hover { color: var(--blue); }
.copy { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media screen and (max-width: 1023px) {
  :root { --space: 64px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .scene.wide, .scene.narrow { flex-basis: 70%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 768px) {
  .news-row { grid-template-columns: 1fr; gap: 4px; }
  .guarantee { flex-direction: column; }
  .g-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .kv { grid-template-columns: 1fr; }
}
@media screen and (max-width: 639px) {
  :root { --space: 40px; }
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .nav-bar { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; }
  .search-form { grid-column: 1 / -1; width: 100%; }
  .logo-text { font-size: 15px; }
  .panel, .card, .side-note, .cat-entry, .form-card { padding: 22px; }
  .timeline, .foot-grid { grid-template-columns: 1fr; }
  .scene, .scene.wide, .scene.narrow { flex-basis: 86%; }
  .metric { flex-basis: 160px; }
  h1 { font-size: 30px; }
}
@media screen and (max-width: 520px) {
  .search-btn { padding: 0 12px; }
  .pill { padding: 0 10px; }
  .actions .btn { width: 100%; }
  .chap-no { letter-spacing: 0; }
}

/* roulang page: category1 */
:root {
 --bg: #F3F6FA;
 --bg-alt: #ffffff;
 --bg-tint: #E7EEF6;
 --ink: #1A2744;
 --muted: #5C6B82;
 --line: #D5DEEA;
 --blue: #2C5F8A;
 --blue-deep: #234E72;
 --gold: #C4A574;
 --rose: #8E4B6A;
 --card: #ffffff;
 --shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
 --shadow-hover: 0 16px 34px rgba(30, 58, 95, 0.12);
 --radius: 16px;
 --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PMingLiU", serif;
 --space: 88px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.35; overflow-wrap: break-word; }
h1 { font-size: 40px; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 30px; margin: 0 0 8px; font-weight: 700; }
h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.cell { min-width: 0; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: #F3F6FA;
 border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(30, 58, 95, 0.06); }
.nav-bar {
 display: grid;
 grid-template-columns: auto minmax(0, 1fr) auto;
 gap: 14px 16px;
 align-items: center;
 min-height: 78px;
 padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
 width: 36px;
 height: 36px;
 flex: 0 0 36px;
 border: 1px solid var(--blue);
 box-shadow: inset 0 0 0 3px #F3F6FA, inset 0 0 0 4px var(--gold);
 border-radius: 8px;
 background:
  linear-gradient(var(--blue), var(--blue)) center/14px 2px no-repeat,
  linear-gradient(var(--gold), var(--gold)) center/2px 14px no-repeat;
}
.logo-text {
 display: block;
 max-width: 8.6em;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 16px;
 line-height: 1.3;
}
.search-form {
 display: flex;
 align-items: center;
 height: 48px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 0 6px 0 14px;
 box-shadow: 0 6px 18px rgba(30, 58, 95, 0.04);
}
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.15); }
.search-ico { flex: 0 0 auto; color: var(--muted); display: flex; }
.search-form input[type="search"] {
 flex: 1;
 min-width: 0;
 height: 44px;
 border: 0;
 margin: 0;
 padding: 0 10px;
 background: transparent;
 box-shadow: none;
 font-size: 15px;
 appearance: none;
}
.search-form input[type="search"]:focus { outline: none; background: transparent; }
.search-btn {
 flex: 0 0 auto;
 height: 36px;
 padding: 0 16px;
 border: 0;
 border-radius: 999px;
 background: var(--blue);
 color: #fff;
 cursor: pointer;
 transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.search-btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(44, 95, 138, 0.22); }
.nav-pills { display: flex; align-items: center; gap: 8px; }
.pill {
 display: inline-flex;
 align-items: center;
 height: 34px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: rgba(255,255,255,.72);
 color: var(--ink);
 font-size: 14px;
 transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.pill.is-active, .pill.is-active:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.lead { color: var(--muted); max-width: 760px; margin-bottom: 0; }
.block { padding: var(--space) 0; }
.block.tint { background: var(--bg-tint); }
.block.white { background: var(--bg-alt); }
.chap {
 display: inline-block;
 margin-bottom: 8px;
 color: var(--gold);
 font-family: var(--serif);
 font-size: 13px;
 letter-spacing: .14em;
}
.emblem {
 width: 48px;
 height: 8px;
 margin: 10px 0 18px;
 border-top: 1px solid var(--blue);
 border-bottom: 1px solid var(--gold);
 position: relative;
}
.emblem::after {
 content: "";
 position: absolute;
 left: 18px;
 top: -4px;
 width: 8px;
 height: 8px;
 border: 1px solid var(--gold);
 background: var(--bg);
 transform: rotate(45deg);
}
.block.tint .emblem::after { background: var(--bg-tint); }
.block.white .emblem::after { background: #fff; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 20px;
 border-radius: 999px;
 border: 1px solid var(--blue);
 background: var(--blue);
 color: #fff;
 cursor: pointer;
 transition: background .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 95, 138, 0.22); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.panel, .card, .item, .scene, .pick, .cat-entry, .form-card, .side-note, .result-card, .slice, .faq-card, .note-card {
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border: 1px solid rgba(213, 222, 234, .95);
}
.panel, .card, .side-note, .cat-entry, .form-card, .result-card, .faq-card, .note-card { padding: 28px; position: relative; }
.panel::after, .side-note::after, .result-card::after, .note-card::after, .slice::after {
 content: "";
 position: absolute;
 top: 12px;
 right: 12px;
 width: 12px;
 height: 12px;
 border-top: 1px solid var(--gold);
 border-right: 1px solid var(--gold);
 pointer-events: none;
}
.panel-main h3, .side-stack h3, .pick h3, .item h3 { margin-bottom: 8px; }
.tags, .meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag, .badge {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 10px;
 border-radius: 999px;
 font-size: 13px;
 border: 1px solid var(--line);
 color: var(--blue);
 background: #F4F8FC;
}
.badge.gold { color: #7A6240; background: #F8F3EA; border-color: rgba(196, 165, 116, 0.5); }
.badge.rose { color: var(--rose); background: #FBF4F7; border-color: rgba(142, 75, 106, 0.35); }
.ph-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #E4EBF3; border-radius: 12px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.result-card strong {
 display: block;
 font-family: var(--serif);
 font-size: 52px;
 line-height: 1;
 color: var(--blue);
 margin: 6px 0 8px;
}
.result-card span { color: var(--muted); font-size: 14px; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.crumb a:hover { text-decoration: underline; }
.stat-row {
 display: flex;
 gap: 12px;
 overflow-x: auto;
 padding: 4px 2px 10px;
 scroll-snap-type: x proximity;
}
.stat-chip {
 flex: 0 0 auto;
 min-width: 148px;
 scroll-snap-align: start;
 text-align: left;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 16px;
 box-shadow: var(--shadow);
 padding: 14px 16px;
 cursor: pointer;
 transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.stat-chip b {
 display: block;
 font-family: var(--serif);
 font-size: 28px;
 line-height: 1.1;
 color: var(--blue);
 font-weight: 700;
}
.stat-chip small { color: var(--muted); font-size: 13px; }
.stat-chip:hover, .stat-chip.is-on {
 transform: translateY(-2px);
 border-color: var(--blue);
 box-shadow: var(--shadow-hover);
}
.stat-chip.is-on { background: #F4F8FC; }
.entry-list { display: grid; }
.entry {
 display: grid;
 grid-template-columns: 168px minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.entry:first-child { border-top: 1px solid var(--line); }
.entry h3 { font-size: 18px; margin: 0; }
.entry p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.entry.is-hide { display: none; }
.side-note p, .note-card p, .slice p, .plain-row p { color: var(--muted); }
.side-note ul, .note-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.side-note li + li, .note-card li + li { margin-top: 8px; }
.kvs { display: grid; gap: 10px; margin-top: 8px; }
.kv {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding-bottom: 8px;
 border-bottom: 1px solid var(--line);
 font-size: 14px;
}
.kv b { font-weight: 600; }
.slice-band {
 display: flex;
 gap: 16px;
 overflow-x: auto;
 padding-bottom: 8px;
 scroll-snap-type: x proximity;
}
.slice {
 flex: 0 0 300px;
 scroll-snap-align: start;
 padding: 16px;
 position: relative;
 transition: transform .18s ease, box-shadow .18s ease;
}
.slice:nth-child(even) { flex-basis: 380px; }
.slice:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.slice h3 { margin-top: 12px; }
.bar-line {
 display: grid;
 grid-template-columns: 108px minmax(0, 1fr) 52px;
 gap: 10px;
 align-items: center;
 margin: 12px 0;
}
.bar-line span { font-size: 14px; }
.track { height: 8px; background: #E7EEF6; border-radius: 999px; overflow: hidden; }
.fill { display: block; height: 8px; border-radius: 999px; background: var(--blue); }
.fill.gold { background: var(--gold); }
.fill.rose { background: var(--rose); }
.duo { display: grid; gap: 14px; }
.duo-row { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.duo-row strong { display: block; font-size: 15px; }
.duo-row em { font-style: normal; color: var(--muted); font-size: 13px; }
.time-list { display: grid; }
.time-row {
 display: grid;
 grid-template-columns: 128px minmax(0, 1fr);
 gap: 18px;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.time-row time { color: var(--gold); font-family: var(--serif); }
.time-row h3 { font-size: 18px; }
.time-row p { margin: 0; color: var(--muted); }
.plain-list { display: grid; }
.plain-row {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 12px;
 align-items: center;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.plain-row h3 { font-size: 18px; margin: 0; }
.more-row { display: flex; justify-content: flex-start; margin-top: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 16px 0;
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 cursor: pointer;
 font-size: 17px;
 font-family: var(--serif);
 color: var(--ink);
}
.faq-q:hover { color: var(--blue); }
.faq-q i {
 flex: 0 0 auto;
 width: 22px;
 height: 22px;
 border-radius: 50%;
 border: 1px solid var(--line);
 position: relative;
}
.faq-q i::before, .faq-q i::after {
 content: "";
 position: absolute;
 background: var(--blue);
 left: 5px;
 right: 5px;
 top: 10px;
 height: 1px;
}
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: none; }
.faq-a { display: none; color: var(--muted); padding: 0 8px 16px 0; }
.faq-item.is-open .faq-a { display: block; }
.rel a {
 display: block;
 padding: 12px 0;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
}
.rel a:hover { color: var(--blue); }
.rel small { display: block; color: var(--muted); }
.tab-btn {
 min-height: 40px;
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: #fff;
 cursor: pointer;
 transition: background .18s ease, color .18s ease, transform .18s ease;
}
.tab-btn.is-active, .tab-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.site-footer {
 background: #fff;
 border-top: 1px solid var(--line);
 padding: 48px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 28px; }
.site-footer h2 { font-size: 22px; margin-bottom: 8px; }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; }
.site-footer p { color: var(--muted); }
.foot-links { display: grid; gap: 8px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--blue); }
.copy {
 color: var(--muted);
 font-size: 13px;
 margin: 28px 0 0;
 border-top: 1px solid var(--line);
 padding-top: 16px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
 outline: 2px solid var(--blue);
 outline-offset: 2px;
}
@media (max-width: 1024px) {
 :root { --space: 64px; }
 h1 { font-size: 34px; }
 h2 { font-size: 26px; }
 .slice:nth-child(even) { flex-basis: 320px; }
}
@media (max-width: 860px) {
 .nav-bar { grid-template-columns: minmax(0, 1fr) auto; }
 .search-form { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 768px) {
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .foot-grid > div:first-child { grid-column: 1 / -1; }
 .entry { grid-template-columns: 140px minmax(0, 1fr); }
 .entry .badge { grid-column: 2; justify-self: start; }
 .time-row { grid-template-columns: 108px minmax(0, 1fr); }
}
@media (max-width: 639px) {
 :root { --space: 40px; }
 h1 { font-size: 28px; }
 h2 { font-size: 24px; }
 .wrap { width: min(1120px, calc(100% - 28px)); }
 .logo-text { max-width: 7.2em; font-size: 15px; }
 .panel, .card, .side-note, .result-card, .faq-card, .note-card { padding: 20px; }
 .result-card strong { font-size: 40px; }
 .entry, .plain-row, .time-row { grid-template-columns: 1fr; gap: 8px; }
 .bar-line { grid-template-columns: 86px minmax(0, 1fr) 42px; }
}
@media (max-width: 520px) {
 h1 { font-size: 26px; }
 .search-btn { padding: 0 12px; }
 .foot-grid { grid-template-columns: 1fr; }
 .pill { padding: 0 10px; }
 .logo-text { font-size: 14px; }
}

.faq-a{display:block}
