/* roulang page: index */
:root {
  --bg: #14110F;
  --paper: #F3EEE6;
  --khaki: #E7E0D6;
  --ink: #1C1614;
  --ivory: #F6F1EA;
  --crimson: #7A3048;
  --crimson-deep: #5C2036;
  --copper: #C46A4A;
  --teal: #2F4A45;
  --line: #D9D0C4;
  --muted: #6E625C;
  --radius: 4px;
  --badge-radius: 2px;
  --shadow: 0 8px 24px rgba(20, 17, 15, .08);
  --space: 72px;
  --serif: "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: 200ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
a { color: var(--crimson); text-decoration: none; background-image: linear-gradient(var(--crimson), var(--crimson)); background-size: 0 1px; background-repeat: no-repeat; background-position: left bottom; transition: background-size var(--ease), color var(--ease); }
a:hover { background-size: 100% 1px; color: var(--crimson-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}
p { margin: 0 0 12px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .01em;
  margin: 0 0 12px;
  color: inherit;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.logo {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  max-width: 12em;
  background-image: none;
}
.logo:hover { color: var(--crimson); background-image: none; }
.header-side { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--badge-radius);
  background: var(--teal);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 700;
}
.title-bar {
  background: transparent;
  padding: 0;
  color: var(--ink);
}
.menu-icon { width: 28px; height: 18px; }
.menu-icon::after {
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink), 0 14px 0 var(--ink);
}
.main-nav { width: 100%; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}
.nav-list > li > a, .mega-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 15px;
  background-image: none;
}
.nav-list > li > a:hover, .mega-btn:hover { color: var(--crimson); background-image: none; }
.nav-list > li > a.is-active { border-bottom-color: var(--crimson); color: var(--crimson); }
.mega { position: relative; }
.mega-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(540px, 86vw);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 30;
}
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.mega-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.mega-col h3 { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col a { display: block; padding: 6px 0; color: var(--ink); font-size: 14px; }
.entry-card {
  display: block;
  background: var(--bg);
  color: var(--ivory);
  padding: 14px;
  border-radius: var(--radius);
  min-height: 100%;
  background-image: none;
}
.entry-card strong { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; color: var(--ivory); }
.entry-card span { display: block; color: #E7E0D6; font-size: 13px; line-height: 1.6; }
.entry-card:hover { color: var(--ivory); background-image: none; box-shadow: var(--shadow); }
section { padding: var(--space) 0; }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-khaki { background: var(--khaki); color: var(--ink); }
.sec-dark { background: var(--bg); color: var(--ivory); }
.sec-dark h2, .sec-dark h3 { color: var(--ivory); }
.kicker { font-size: 12px; letter-spacing: .14em; color: var(--copper); margin-bottom: 8px; }
.lead, .sec-copy { font-size: 16px; max-width: 46em; color: inherit; }
.sec-dark .sec-copy { color: #E7E0D6; }
.muted { color: var(--muted); font-size: 13px; }
.hero { position: relative; overflow: hidden; background: var(--bg); color: var(--ivory); padding-bottom: 28px; }
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 22%;
  width: 66%;
  background: var(--crimson);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { min-height: 420px; padding-top: 36px; }
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero .sub { font-size: 16px; margin-bottom: 14px; color: var(--ivory); }
.hero .lead { color: #F6F1EA; margin-bottom: 22px; }
.letterbox {
  position: relative;
  height: 280px;
  background: #0E0C0B;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(217, 208, 196, .25);
}
.sprocket {
  position: absolute;
  top: 0; bottom: 0;
  width: 22px;
  background-image: radial-gradient(circle at 50% 14px, #F3EEE6 5px, transparent 6px);
  background-size: 22px 32px;
  opacity: .85;
}
.sprocket.left { left: 0; }
.sprocket.right { right: 0; }
.mask-bar { position: absolute; left: 0; right: 0; height: 18%; background: #14110F; }
.mask-bar.top { top: 0; }
.mask-bar.bottom { bottom: 0; height: 28%; }
.sub-line {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 10%;
  height: 28px;
  display: flex;
  align-items: center;
}
.sub-line i {
  display: block;
  height: 10px;
  width: 0;
  background: var(--ivory);
  border-radius: 1px;
  animation: sub-expand 2.2s ease forwards;
}
.sub-caption {
  position: absolute;
  left: 36px;
  bottom: calc(10% + 16px);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--ivory);
}
@keyframes sub-expand { to { width: 78%; } }
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.metric {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  min-height: 96px;
}
.metric b { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--crimson); }
.metric span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--crimson);
  background: var(--crimson);
  color: var(--ivory);
  cursor: pointer;
  background-image: none;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.btn:hover { color: var(--ivory); border-color: var(--copper); transform: translateY(-2px); box-shadow: var(--shadow); background-image: none; }
.btn:active { background: var(--crimson-deep); transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { color: var(--ink); border-color: var(--copper); }
.sec-dark .btn-line { color: var(--ivory); border-color: var(--ivory); }
.sec-head { margin-bottom: 28px; max-width: 760px; }
.scale-list { display: flex; flex-direction: column; gap: 18px; }
.scale-row { display: grid; grid-template-columns: 72px 1fr 92px; gap: 14px; align-items: center; }
.scale-name { font-family: var(--serif); font-size: 18px; }
.scale-track {
  position: relative;
  height: 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 99px;
}
.scale-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--crimson), var(--copper)); border-radius: inherit; }
.scale-track em {
  position: absolute;
  top: -4px;
  width: 1px;
  height: 22px;
  background: var(--ink);
  opacity: .35;
}
.scale-track em:nth-child(2) { left: 33%; }
.scale-track em:nth-child(3) { left: 66%; }
.scale-val { font-size: 13px; color: var(--muted); text-align: right; }
.matrix-main, .mini, .scene, .pair, .guide-lead, .guide-row, .assure, .faq-wrap, .chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
}
.matrix-main { padding: 28px; min-height: 280px; border-top: 4px solid var(--crimson); }
.matrix-main h3 { font-size: 26px; }
.track-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--badge-radius);
  background: var(--teal);
  color: var(--ivory);
  font-size: 12px;
}
.badge.copper { background: var(--copper); }
.badge.line { background: transparent; color: var(--crimson); border: 1px solid var(--crimson); }
.mini-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { padding: 16px; min-height: 112px; transition: transform var(--ease), box-shadow var(--ease); }
.mini:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mini.span { grid-column: 1 / -1; min-height: 88px; }
.mini b { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.mini p, .scene p, .pair p, .guide-lead p, .guide-row p { margin: 0; font-size: 14px; color: #3A312E; }
.scene { padding: 22px; height: 100%; }
.scene h3 { margin-bottom: 8px; }
.scene-visual { height: 92px; margin-bottom: 12px; border-radius: var(--radius); background: var(--bg); position: relative; overflow: hidden; }
.wide-vis::before, .wide-vis::after, .phone-vis::before, .phone-vis::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  background: #2A2422;
}
.wide-vis::before { top: 0; height: 16px; }
.wide-vis::after { bottom: 0; height: 22px; }
.wide-vis span, .phone-vis span {
  position: absolute;
  left: 12%;
  right: 18%;
  bottom: 28px;
  height: 6px;
  background: var(--ivory);
}
.phone-vis { margin: 8px 18px; }
.phone-vis::before { top: 0; height: 10px; }
.phone-vis::after { bottom: 0; height: 14px; }
.font-vis { display: flex; align-items: flex-end; gap: 10px; padding: 16px; }
.font-vis i { display: block; background: var(--ivory); height: 8px; }
.font-vis i:nth-child(1) { width: 28%; height: 6px; }
.font-vis i:nth-child(2) { width: 46%; height: 8px; }
.font-vis i:nth-child(3) { width: 62%; height: 12px; }
.pair { padding: 18px 18px 16px; height: 100%; }
.pair .tag { font-size: 12px; letter-spacing: .08em; color: var(--copper); }
.pair h3 { font-size: 20px; margin: 6px 0; }
.pair.good { border-top: 3px solid var(--crimson); }
.pair.miss { background: #EFE8DE; }
.gap-row { margin-bottom: 12px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 22px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--khaki);
}
.time { font-size: 12px; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-list time { font-size: 13px; color: var(--muted); padding-top: 4px; }
.news-list h3 { font-size: 18px; margin-bottom: 4px; }
.news-list a { color: var(--ink); }
.news-list p { margin: 0; color: #3A312E; font-size: 14px; }
.entry-band { background: var(--crimson); color: var(--ivory); }
.entry-band h2, .entry-band p { color: var(--ivory); }
.sprocket-card {
  background: var(--bg);
  min-height: 180px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  padding: 28px 28px 28px 36px;
}
.sprocket-card .hole {
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 14px;
  background-image: radial-gradient(circle, var(--ivory) 3px, transparent 4px);
  background-size: 14px 26px;
}
.sprocket-card strong { font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 10px; }
.fake-sub { height: 8px; width: 80%; background: var(--ivory); margin-top: 28px; }
.guide-lead { padding: 22px; margin-bottom: 12px; }
.guide-lead h3 { font-size: 22px; }
.guide-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 16px 18px; margin-bottom: 10px; transition: transform var(--ease), box-shadow var(--ease); }
.guide-row:hover, .guide-lead:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-row a, .guide-lead a { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.assure-list { display: flex; flex-direction: column; gap: 10px; }
.assure { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 16px 18px; align-items: center; }
.assure b { font-family: var(--serif); font-size: 18px; }
.assure p { margin: 0; font-size: 14px; }
.sample-stage { background: var(--bg); border-radius: var(--radius); padding: 28px 20px 20px; position: relative; overflow: hidden; }
.sample-stage .bar {
  height: 18px;
  width: 0;
  margin: 24px auto 0;
  background: var(--ivory);
  animation: sub-expand 2.4s ease forwards;
}
.size-row { display: flex; gap: 12px; margin-top: 18px; }
.size-chip { flex: 1; background: var(--ivory); color: var(--ink); border-radius: var(--radius); padding: 12px; text-align: center; }
.size-chip i { display: block; font-style: normal; font-family: var(--serif); }
.size-chip small { color: var(--muted); font-size: 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-grid div { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.quick-grid dt { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.quick-grid dd { margin: 0; font-size: 14px; color: #3A312E; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ivory);
  background: transparent;
  border: 0;
  padding: 16px 36px 16px 0;
}
.accordion-title:hover, .accordion-title:focus { color: var(--copper); background: transparent; }
.accordion-item.is-active .accordion-title { background: transparent; color: var(--ivory); }
.accordion-content { background: transparent; color: #E7E0D6; border: 0; padding: 0 0 16px; }
.accordion-title::before { color: var(--copper); }
.ticket {
  position: relative;
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  border: 1px solid var(--line);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--bg);
  border-radius: 50%;
  top: 46%;
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 8px 12px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--crimson); }
.form-tip { min-height: 1.4em; color: var(--crimson); font-size: 13px; margin: 8px 0; }
.form-success { background: var(--teal); color: var(--ivory); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.index-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: var(--ink); background: var(--ivory); }
.chip:hover { border-color: var(--copper); box-shadow: var(--shadow); color: var(--crimson); }
.site-footer { background: #0E0C0B; color: #E7E0D6; padding: 36px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { font-family: var(--serif); color: var(--ivory); font-size: 18px; max-width: 12em; line-height: 1.35; background-image: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #E7E0D6; font-size: 14px; }
.copy { margin-top: 18px; font-size: 12px; color: #A39890; }
@media (max-width: 1023px) {
  :root { --space: 48px; }
  h1 { font-size: 34px; }
  .hero::before { width: 100%; bottom: 46%; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .mega-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 6px; }
  .mega.is-open .mega-panel, .mega:focus-within .mega-panel { display: block; transform: none; }
  .metric-band, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .header-wrap { flex-wrap: wrap; }
  .main-nav { flex-basis: 100%; }
}
@media (min-width: 1024px) {
  .header-wrap { flex-wrap: nowrap; }
  .main-nav { width: auto; flex: 1; display: block !important; }
  .nav-list { justify-content: flex-end; }
}
@media (max-width: 639px) {
  :root { --space: 32px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  body { font-size: 16px; }
  .metric-band, .quick-grid, .form-grid, .mega-grid, .mini-stack { grid-template-columns: 1fr; }
  .scale-row, .news-list li, .assure, .guide-row { grid-template-columns: 1fr; }
  .scale-val { text-align: left; }
  .letterbox { height: 200px; }
  .hero-grid { min-height: 0; }
  .ticket { padding: 22px 16px; }
  .ticket::before, .ticket::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sub-line i, .sample-stage .bar { width: 78%; }
  .btn:hover, .mini:hover, .guide-row:hover, .guide-lead:hover { transform: none; }
}

/* roulang page: category1 */
:root {
  --bg: #14110F;
  --paper: #F3EEE6;
  --khaki: #E7E0D6;
  --ink: #1C1614;
  --ivory: #F6F1EA;
  --crimson: #7A3048;
  --crimson-deep: #5C2036;
  --copper: #C46A4A;
  --teal: #2F4A45;
  --line: #D9D0C4;
  --muted: #6E625C;
  --radius: 4px;
  --badge-radius: 2px;
  --shadow: 0 8px 24px rgba(20, 17, 15, .08);
  --space: 72px;
  --serif: "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: 200ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: inherit; letter-spacing: 0; }
h1 { font-size: 40px; line-height: 1.28; margin: 0 0 14px; }
h2 { font-size: 28px; line-height: 1.35; margin: 0 0 18px; }
h3 { font-size: 18px; line-height: 1.45; margin: 0 0 8px; }
p { margin: 0 0 10px; }
a {
  color: var(--crimson);
  text-decoration: none;
  background-image: linear-gradient(var(--crimson), var(--crimson));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size var(--ease), color var(--ease);
}
a:hover { background-size: 100% 1px; color: var(--crimson-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}
::selection { background: #E7C2CC; color: var(--ink); }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.logo {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  max-width: 12em;
  background-image: none;
}
.logo:hover { color: var(--crimson); background-image: none; }
.header-side { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--badge-radius);
  background: var(--teal);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 700;
}
.title-bar { background: transparent; padding: 0; color: var(--ink); }
.menu-icon { width: 28px; height: 18px; }
.menu-icon::after {
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink), 0 14px 0 var(--ink);
}
.main-nav { width: 100%; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  flex-wrap: wrap;
}
.nav-list > li > a, .mega-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 15px;
  background-image: none;
}
.nav-list > li > a:hover, .mega-btn:hover { color: var(--crimson); background-image: none; }
.nav-list > li > a.is-active { border-bottom-color: var(--crimson); color: var(--crimson); }
.mega { position: relative; }
.mega-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(540px, 86vw);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 30;
}
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.mega-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.mega-col h3 { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col a { display: block; padding: 6px 0; color: var(--ink); font-size: 14px; }
.entry-card {
  display: block;
  background: var(--bg);
  color: var(--ivory);
  padding: 14px;
  border-radius: var(--radius);
  min-height: 100%;
  background-image: none;
}
.entry-card strong { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; color: var(--ivory); }
.entry-card span { display: block; color: #E7E0D6; font-size: 13px; line-height: 1.6; }
.entry-card:hover { color: var(--ivory); background-image: none; box-shadow: var(--shadow); }
section { padding: var(--space) 0; }
.lead { font-size: 16px; max-width: 46em; color: var(--ink); margin-bottom: 14px; }
.muted { color: var(--muted); font-size: 13px; }
.band-paper { background: var(--paper); }
.band-ivory { background: var(--ivory); }
.band-khaki { background: var(--khaki); }
.band-dark { background: var(--bg); color: var(--ivory); }
.band-dark .muted { color: #C9BFB6; }
.band-dark a { color: var(--copper); background-image: linear-gradient(var(--copper), var(--copper)); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--crimson);
  background: var(--crimson);
  color: var(--ivory);
  cursor: pointer;
  background-image: none;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.btn:hover { color: var(--ivory); border-color: var(--copper); transform: translateY(-2px); box-shadow: var(--shadow); background-image: none; }
.btn:active { background: var(--crimson-deep); transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { color: var(--ink); border-color: var(--copper); }
.cat-head { padding-top: 48px; }
.cat-lines { margin: 0; padding: 0; list-style: none; max-width: 38em; }
.cat-lines li { position: relative; padding-left: 14px; margin: 0 0 6px; color: var(--ink); }
.cat-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 2px;
  background: var(--crimson);
}
.subbar { background: var(--bg); border-radius: var(--radius); padding: 12px; }
.frame {
  display: grid;
  grid-template-columns: 16px 1fr 16px;
  min-height: 168px;
  background: #1C1614;
  border-radius: var(--radius);
  overflow: hidden;
}
.hole-col {
  background-image: radial-gradient(circle, var(--paper) 3px, transparent 3.5px);
  background-size: 16px 18px;
  background-repeat: repeat-y;
  background-position: center 6px;
}
.frame-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(var(--bg), var(--bg)) top / 100% 22px no-repeat,
    linear-gradient(#2A2420, #2A2420);
  border-bottom: 34px solid var(--bg);
  min-height: 168px;
}
.caption-line {
  margin: 0 10px 10px;
  background: rgba(243, 238, 230, .94);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  padding: 5px 8px;
  border-radius: var(--badge-radius);
  transform-origin: left center;
  animation: cap-open 220ms ease both;
}
@keyframes cap-open {
  from { transform: scaleX(.35); opacity: .4; }
  to { transform: scaleX(1); opacity: 1; }
}
.cap-meta { display: flex; justify-content: space-between; gap: 8px; padding: 8px 2px 0; color: #C9BFB6; font-size: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-k { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: var(--badge-radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .02em;
}
.chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.h-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
  margin-bottom: 16px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.h-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--copper); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  margin: 4px 6px 0 0;
  border-radius: var(--badge-radius);
  background: var(--khaki);
  color: var(--ink);
  font-size: 12px;
}
.badge.sync { background: var(--teal); color: var(--ivory); }
.badge.delay { background: var(--crimson); color: var(--ivory); }
.meta-line { font-size: 14px; margin-bottom: 4px; }
.list-more { margin-top: 8px; }
.frame.slim { min-height: 132px; }
.frame.slim .frame-main { min-height: 132px; border-bottom-width: 26px; }
.frame.shift .frame-main { border-bottom-width: 42px; }
.frame.deep .caption-line { background: #F6E4D8; }
.spec-row {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row b { font-family: var(--serif); font-weight: 600; }
.spec-row a { font-size: 14px; white-space: nowrap; }
.spec-side {
  background: var(--bg);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 100%;
}
.spec-side p { color: #E7E0D6; font-size: 14px; }
.scene-card {
  background: #1C1614;
  border: 1px solid #3A322C;
  border-radius: var(--radius);
  padding: 16px;
  height: 100%;
}
.scene-card h3 { color: var(--ivory); }
.scene-card p { color: #E7E0D6; font-size: 14px; }
.scene-visual { margin-bottom: 12px; }
.wide-bar { height: 18px; background: var(--crimson); margin-bottom: 8px; }
.land-bar { height: 10px; width: 72%; background: var(--copper); margin-bottom: 8px; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.article-list time { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.article-list a { color: var(--ink); font-family: var(--serif); font-size: 20px; background-image: linear-gradient(var(--crimson), var(--crimson)); }
.article-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.qa-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 8px;
  height: 100%;
  margin-bottom: 16px;
}
.qa-card h3 { font-size: 17px; }
.ticket-form {
  max-width: 480px;
  background: var(--paper);
  border: 1px dashed var(--copper);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
}
.ticket-form label { display: block; font-size: 13px; margin-bottom: 6px; }
.ticket-form input, .ticket-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0 12px;
  margin: 0 0 14px;
}
.form-msg { font-size: 14px; margin: 0 0 12px; }
.form-msg.err { color: var(--crimson); }
.form-msg.ok { color: var(--teal); }
.site-footer { background: var(--bg); color: var(--ivory); padding: 36px 0 22px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand {
  font-family: var(--serif);
  color: var(--ivory);
  font-size: 18px;
  background-image: none;
}
.foot-brand:hover { color: var(--copper); background-image: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--ivory); background-image: linear-gradient(var(--ivory), var(--ivory)); }
.foot-links a:hover { color: var(--copper); background-image: linear-gradient(var(--copper), var(--copper)); }
.copy { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #3A322C; color: #A39890; font-size: 12px; }
@media (max-width: 1023px) {
  :root { --space: 48px; }
  .mega-panel {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    margin: 0 0 8px;
  }
  .mega:hover .mega-panel { display: none; transform: none; }
  .mega.is-open .mega-panel, .mega:focus-within .mega-panel { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
}
@media (max-width: 639px) {
  :root { --space: 32px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .logo { font-size: 16px; max-width: calc(100% - 88px); }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .header-wrap { gap: 10px; }
  .cat-head { padding-top: 28px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .h-card:hover, .mega-panel { transform: none; }
}
