/* roulang page: index */
:root {
  --magenta: #E11D74;
  --magenta-press: #BE185D;
  --oak: #C4A574;
  --oak-ink: #8A5A2B;
  --mist: #7EE0D6;
  --night: #141210;
  --paper: #F6F1EA;
  --ink: #1C1614;
  --cream: #F4EFE6;
  --muted-light: #5E534C;
  --muted-dark: #D4CBBF;
  --line: rgba(196, 165, 116, .45);
  --radius-board: 8px;
  --radius-pill: 999px;
  --shadow-hard: 4px 4px 0 #241c18;
  --shadow-soft: 3px 3px 0 rgba(28, 22, 20, .14);
  --space-section: 76px;
  --container: 1120px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --num: "Arial Narrow", "DIN Alternate", "PingFang SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.05em; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .45em; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
::selection { background: var(--magenta); color: var(--cream); }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: var(--space-section) 0; position: relative; }
.section-dark { background: var(--night); color: var(--cream); }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark .muted { color: var(--muted-dark); }
.section-light .muted { color: var(--muted-light); }
.sec-index {
  display: inline-block;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.section-dark .sec-index { color: var(--mist); }
.section-light .sec-index { color: var(--oak-ink); }
.sub {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}
.section-dark .sub { color: var(--oak); }
.section-light .sub { color: var(--magenta); }
.lead, .sec-copy { max-width: 42em; }
.sec-head { margin-bottom: 28px; }

.dock-wrap {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.dock {
  pointer-events: auto;
  width: min(1080px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  background: var(--night);
  color: var(--cream);
  border: 1px solid var(--oak);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hard);
  position: relative;
  transition: padding .2s ease, gap .2s ease;
}
.dock.is-slim { padding-top: 6px; padding-bottom: 6px; gap: 10px; }
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 132px;
  color: var(--cream);
}
.brand-top { font-size: 14px; font-weight: 700; }
.brand-sub { font-size: 12px; color: var(--oak); font-weight: 600; }
.dock.is-slim .brand-top { font-size: 13px; }
.dock.is-slim .brand-sub { font-size: 11px; }
.dock-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--cream);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-link:hover { color: var(--oak); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.dock-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #221c19;
  border: 1px solid var(--oak);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 12px;
  min-width: 210px;
}
.dock-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 0;
}
.dock-search input::placeholder { color: #b7ab9e; }
.dock-search input:focus { outline: none; }
.search-submit, .icon-btn, .btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  position: relative;
}
.search-submit {
  background: var(--magenta);
  color: var(--cream);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}
.search-submit:hover, .search-submit:focus-visible { background: var(--magenta-press); transform: translateY(-1px); }
.icon-btn {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--oak);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-weight: 700; line-height: 1.2; }
.btn::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn-solid {
  background: var(--magenta);
  color: var(--cream);
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}
.btn-solid:hover, .btn-solid:focus-visible { background: var(--magenta-press); transform: translateY(-1px); }
.btn-solid:active { background: var(--magenta-press); transform: translateY(0); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 11px 16px;
}
.section-dark .btn-line { color: var(--cream); border-color: var(--oak); }
.btn-line:hover, .btn-line:focus-visible { background: var(--magenta); color: var(--cream); border-color: var(--magenta); transform: translateY(-1px); }
.btn-line:active { background: var(--magenta-press); transform: translateY(0); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.hero { padding: 34px 0 70px; overflow: hidden; }
.field-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oak); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .82fr; gap: 42px; align-items: center; }
.hero .sub { font-size: 18px; }
.boards { display: flex; flex-direction: column; gap: 14px; }
.board {
  background: #1b1714;
  border: 1px solid var(--oak);
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-hard);
  padding: 16px 16px 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.board:hover { transform: translateY(-1px); border-color: var(--magenta); }
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.board-name { font-size: 18px; font-weight: 700; }
.board-state { color: var(--mist); font-size: 13px; font-family: var(--num); }
.board-num {
  margin-top: 8px;
  font-family: var(--num);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--mist);
  font-weight: 700;
}
.board-label { color: var(--oak); font-size: 13px; margin-top: 6px; }

.bands { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.band {
  border-radius: var(--radius-board);
  padding: 22px 22px 8px;
  background: #fffdf9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.band h3 { font-size: 22px; }
.band-oak { box-shadow: 4px 4px 0 var(--oak); }
.band-mist { box-shadow: 4px 4px 0 #1f6f68; }

.path-layout { display: grid; grid-template-columns: .78fr 1.34fr .78fr; gap: 28px; align-items: start; }
.side-note { border-left: 2px solid var(--oak); padding: 4px 0 4px 14px; }
.side-note h3 { color: var(--oak); font-size: 18px; }
.path-core { border: 1px solid var(--line); border-radius: var(--radius-board); padding: 8px 18px; background: #1c1815; }
.path-item { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.path-item:last-child { border-bottom: 0; }
.path-no { font-family: var(--num); color: var(--mist); font-size: 28px; font-weight: 700; line-height: 1; }

.step-list { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step-no { font-family: var(--num); font-size: 58px; line-height: .9; color: var(--oak-ink); font-weight: 700; }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; }

.zone-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; align-items: start; }
.zone-list, .news-list { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-board);
  background: #fffdf9;
  color: var(--ink);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.row:hover, .row:focus-visible { transform: translateY(-1px); border-color: var(--oak); background: #fff; }
.row-title { font-weight: 700; font-size: 17px; }
.row-desc { grid-column: 2 / 3; color: var(--muted-light); font-size: 14px; line-height: 1.7; margin: 0; }
.row-meta { font-family: var(--num); color: var(--oak-ink); font-size: 13px; white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--oak);
  color: var(--oak-ink);
  font-size: 12px;
  font-weight: 700;
}
.tag-2 { border-color: #1f8f86; color: #0f6e67; }
.more-row { display: flex; justify-content: flex-start; margin-top: 16px; }

.stat-row { display: flex; justify-content: space-between; gap: 18px; }
.stat { min-width: 0; }
.stat-num {
  font-family: var(--num);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .9;
  color: var(--mist);
  font-weight: 700;
}
.stat-label { display: block; margin-top: 8px; color: var(--oak); font-size: 15px; }

.quote {
  margin: 0;
  padding: 8px 0 18px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
  font-weight: 700;
}
.quote footer { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--oak-ink); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: ticker 32s linear infinite; }
.marquee-track span { color: var(--oak-ink); font-weight: 700; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.scene-rail { display: flex; flex-wrap: wrap; gap: 12px; }
.scene {
  flex: 1 1 220px;
  background: #1c1815;
  border: 1px solid var(--line);
  border-radius: var(--radius-board);
  padding: 16px 16px 12px;
  box-shadow: var(--shadow-hard);
}
.scene h3 { color: var(--oak); font-size: 18px; }
.scene p { margin: 0; color: var(--cream); }

.ticker-line {
  display: flex;
  gap: 22px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.ticker-track { display: flex; gap: 28px; width: max-content; animation: ticker 26s linear infinite; }
.tick { white-space: nowrap; font-weight: 700; }
.tick b { font-family: var(--num); color: var(--mist); font-size: 22px; font-weight: 700; margin-left: 6px; }
.ticker-line:hover .ticker-track { animation-play-state: paused; }

.cta-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 24px; align-items: end; }
.spec { width: 100%; border-collapse: collapse; background: #1c1815; border-radius: var(--radius-board); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 140px; color: var(--mist); font-size: 16px; font-weight: 700; }
.spec td { color: var(--cream); }

.time-grid { display: grid; grid-template-columns: 1.7fr .9fr; gap: 16px; }
.time-block {
  display: block;
  min-height: 230px;
  border-radius: var(--radius-board);
  padding: 22px;
  color: var(--cream);
  box-shadow: var(--shadow-hard);
  position: relative;
  transition: transform .2s ease;
}
.time-block:hover, .time-block:focus-visible { transform: translateY(-1px); }
.time-wide { background: #1b1714; border: 1px solid var(--oak); }
.time-narrow { background: var(--magenta); border: 1px solid var(--magenta-press); }
.time-kicker { font-family: var(--num); color: var(--mist); font-size: 13px; }
.time-narrow .time-kicker, .time-narrow .time-go { color: #ffe3ef; }
.time-block h3 { font-size: 28px; margin-top: 10px; }
.time-go { position: absolute; left: 22px; bottom: 18px; color: var(--oak); font-weight: 700; }
.time-block:hover .time-go { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 4px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq {
  background: #1c1815;
  border: 1px solid var(--line);
  border-radius: var(--radius-board);
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 0;
  list-style: none;
  color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--oak); font-family: var(--num); }
.faq[open] summary::after { content: "－"; }
.faq summary:hover { color: var(--oak); }
.faq p { margin: 0; padding: 0 0 14px; color: var(--muted-dark); }

.entry-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: center; }
.mini-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.mini-stats strong { display: block; font-family: var(--num); font-size: 32px; color: var(--oak-ink); line-height: 1; }
.mini-stats span { font-size: 13px; color: var(--muted-light); }

.footer {
  background: var(--night);
  color: var(--cream);
  padding: 36px 0 42px;
  border-top: 3px solid var(--oak);
}
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: end; }
.footer-brand { font-weight: 700; line-height: 1.25; }
.footer-brand small { display: block; color: var(--oak); font-size: 13px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--cream); border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--oak); border-bottom-color: var(--oak); }
.copyright { margin: 16px 0 0; color: var(--muted-dark); font-size: 13px; }
.filter-note { min-height: 1.6em; color: var(--magenta); font-weight: 700; margin: 0 0 10px; }
.filter-note:empty { display: none; }

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .path-layout { grid-template-columns: 1fr 1fr; }
  .path-core { grid-column: 1 / -1; }
  .zone-layout, .cta-grid, .entry-grid { grid-template-columns: 1fr 1fr; }
  .dock { gap: 8px; }
  .brand { min-width: 108px; }
  .dock-search { min-width: 160px; }
}
@media (max-width: 767px) {
  body { padding-top: 18px; padding-bottom: 108px; }
  .dock-wrap { top: auto; bottom: 12px; padding: 0 10px; }
  .dock {
    width: min(560px, 100%);
    border-radius: 28px;
    padding: 8px;
    gap: 4px;
    justify-content: space-between;
  }
  .brand { min-width: 0; width: 74px; }
  .brand-top, .brand-sub { font-size: 10px; }
  .nav-link { font-size: 11px; padding: 6px 4px; }
  .btn-solid { font-size: 11px; padding: 8px 8px; }
  .btn-solid::after { left: 8px; right: 8px; }
  .icon-btn { display: inline-flex; }
  .dock-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    min-width: 0;
    width: 100%;
    box-shadow: var(--shadow-hard);
  }
  .dock.open-search .dock-search { display: flex; }
  .hero-grid, .bands, .path-layout, .zone-layout, .cta-grid, .time-grid, .entry-grid, .stat-row {
    grid-template-columns: 1fr;
  }
  .step { grid-template-columns: 1fr; gap: 0; }
  .step-no { font-size: 42px; }
  .zone-flip .zone-copy { order: 0; }
  .row { grid-template-columns: auto 1fr; }
  .row-title, .row-desc { grid-column: 1 / -1; }
  .row-meta { grid-column: 2; grid-row: 1; justify-self: end; }
  .stat-row { display: grid; grid-template-columns: 1fr 1fr; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .board { padding: 12px; }
  .board-num, .stat-num { font-size: 36px; }
  .quote { font-size: 20px; }
  .time-block { min-height: 180px; }
  .spec th { width: 72px; padding: 12px; }
  .spec td { padding: 12px; }
  .nav-link { font-size: 10px; }
  .brand { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* roulang page: category1 */
:root {
  --magenta: #E11D74;
  --magenta-press: #BE185D;
  --oak: #C4A574;
  --oak-ink: #8A5A2B;
  --mist: #7EE0D6;
  --night: #141210;
  --paper: #F6F1EA;
  --ink: #1C1614;
  --cream: #F4EFE6;
  --muted-light: #5E534C;
  --muted-dark: #D4CBBF;
  --line: rgba(196, 165, 116, .45);
  --radius-board: 8px;
  --radius-pill: 999px;
  --shadow-hard: 4px 4px 0 #241c18;
  --shadow-soft: 3px 3px 0 rgba(28, 22, 20, .14);
  --space-section: 76px;
  --container: 1120px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --num: "Arial Narrow", "DIN Alternate", "PingFang SC", sans-serif;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font-family: inherit; }
button { appearance: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.28; letter-spacing: 0; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 18px; line-height: 1.45; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: var(--space-section) 0; position: relative; }
.section-compact { padding: 28px 0 36px; }
.section-dark { background: var(--night); color: var(--cream); }
.section-light { background: var(--paper); color: var(--ink); }
.section-sand { background: #EFE7DA; color: var(--ink); }
.section-dark .muted { color: var(--muted-dark); }
.section-light .muted, .section-sand .muted { color: var(--muted-light); }
.section-dark .sec-index { color: var(--mist); }
.section-light .sec-index, .section-sand .sec-index { color: var(--oak-ink); }
.section-dark .sub { color: var(--oak); }
.section-light .sub, .section-sand .sub { color: var(--magenta); }
.sec-index {
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.sub { margin: 10px 0 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.lead, .sec-copy { max-width: 42em; line-height: 1.8; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.dock-wrap {
  position: sticky;
  top: 12px;
  z-index: 40;
  padding: 18px 0 10px;
  display: flex;
  justify-content: center;
}
.dock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(1040px, calc(100% - 32px));
  background: var(--night);
  border: 1px solid var(--oak);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 16px;
  box-shadow: var(--shadow-hard);
}
.dock.is-slim { padding-top: 6px; padding-bottom: 6px; }
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 132px;
  color: var(--cream);
}
.brand-top { font-size: 14px; font-weight: 700; }
.brand-sub { font-size: 12px; color: var(--oak); font-weight: 600; }
.dock.is-slim .brand-top { font-size: 13px; }
.dock.is-slim .brand-sub { font-size: 11px; }
.dock-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: var(--cream);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-link:hover { color: var(--oak); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--oak); }
.dock-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #221c19;
  border: 1px solid var(--oak);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 12px;
  min-width: 210px;
}
.dock-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 0;
}
.dock-search input::placeholder { color: #b7ab9e; }
.dock-search input:focus { outline: none; }
.search-submit, .icon-btn, .btn, .sort-btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
  position: relative;
}
.search-submit {
  background: var(--magenta);
  color: var(--cream);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}
.search-submit:hover, .search-submit:focus-visible { background: var(--magenta-press); transform: translateY(-1px); }
.search-submit:active { background: var(--magenta-press); transform: translateY(0); }
.icon-btn {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--oak);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--magenta); border-color: var(--magenta); transform: translateY(-1px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-weight: 700; line-height: 1.2; }
.btn::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn-solid {
  background: var(--magenta);
  color: var(--cream);
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}
.btn-solid:hover, .btn-solid:focus-visible { background: var(--magenta-press); transform: translateY(-1px); }
.btn-solid:active { background: var(--magenta-press); transform: translateY(0); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 11px 16px;
}
.section-dark .btn-line { color: var(--cream); border-color: var(--oak); }
.btn-line:hover, .btn-line:focus-visible { background: var(--magenta); color: var(--cream); border-color: var(--magenta); transform: translateY(-1px); }
.btn-line:active { background: var(--magenta-press); transform: translateY(0); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero { padding: 34px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .82fr; gap: 42px; align-items: center; }
.hero .sub { font-size: 18px; }
.path-item { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.path-item:last-child { border-bottom: 0; }
.step-list, .zone-list, .news-list { display: flex; flex-direction: column; gap: 10px; }
.row, .line-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-board);
  background: #fffdf9;
  color: var(--ink);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.row:hover, .row:focus-visible, .line-row:hover, .line-row:focus-visible { transform: translateY(-1px); border-color: var(--oak); background: #fff; }
.row-title, .card-title { font-weight: 700; font-size: 17px; }
.row-desc { grid-column: 2 / 3; color: var(--muted-light); font-size: 14px; line-height: 1.7; margin: 0; }
.row-meta, .card-meta { font-family: var(--num); color: var(--oak-ink); font-size: 13px; white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--oak);
  color: var(--oak-ink);
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}
.tag-2 { border-color: #1f8f86; color: #0f6e67; }
.more-row { display: flex; justify-content: flex-start; margin-top: 16px; }
.cat-grid, .scope-grid, .spec-grid, .keep-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.cat-grid { grid-template-columns: 1.35fr .72fr; }
.scope-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
.spec-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
.keep-grid { grid-template-columns: 1.4fr auto; }
.board {
  background: #1c1815;
  border: 1px solid var(--oak);
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-hard);
  padding: 6px 8px;
}
.board-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(196, 165, 116, .35);
}
.board-row:last-child { border-bottom: 0; }
.board-row b {
  font-family: var(--num);
  font-size: 40px;
  line-height: 1;
  color: var(--mist);
  font-weight: 700;
}
.board-row span { color: var(--oak); font-size: 14px; font-weight: 700; }
.oak-line {
  height: 3px;
  width: min(1120px, calc(100% - 40px));
  margin: 26px auto 0;
  background: var(--oak);
}
.sort-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sort-btn {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--oak);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}
.sort-btn:hover, .sort-btn:focus-visible { background: var(--magenta); border-color: var(--magenta); transform: translateY(-1px); }
.sort-btn:active { background: var(--magenta-press); transform: translateY(0); }
.sort-btn.is-on { background: var(--magenta); border-color: var(--magenta); color: var(--cream); }
.head-note { margin-top: 14px; max-width: 38em; color: var(--muted-dark); }
.result-count { margin: 18px 0 0; font-family: var(--num); color: var(--oak-ink); font-weight: 700; }
.mix-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.wide-card, .line-row { min-width: 0; }
.wide-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  width: min(100%, 940px);
  background: #fffdf9;
  color: var(--ink);
  border-radius: var(--radius-board);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.wide-card.is-flip { width: min(100%, 860px); margin-left: auto; grid-template-columns: 1fr 168px; }
.wide-card.is-flip .poster { order: 2; }
.wide-card:hover, .wide-card:focus-visible { transform: translateY(-1px); border-color: var(--oak); }
.poster {
  min-height: 132px;
  background: var(--night);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border-right: 3px solid var(--oak);
}
.wide-card.is-flip .poster { border-right: 0; border-left: 3px solid var(--oak); }
.poster-no { font-family: var(--num); font-size: 28px; color: var(--mist); line-height: 1; }
.poster-len { font-family: var(--num); color: var(--oak); font-size: 14px; }
.card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.card-body p { margin: 0; color: var(--muted-light); font-size: 14px; line-height: 1.75; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.status { color: var(--magenta); font-size: 13px; font-weight: 700; }
.line-row { width: min(100%, 820px); }
.note-board {
  background: #fffdf9;
  border-radius: var(--radius-board);
  border: 1px solid var(--oak);
  box-shadow: var(--shadow-hard);
  padding: 16px 16px 6px;
}
.note-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.note-line:last-child { border-bottom: 0; }
.note-line b { font-family: var(--num); color: var(--magenta); }
.spec-list { display: flex; flex-direction: column; gap: 10px; }
.spec-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
  background: #fffdf9;
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}
.spec-row b { color: var(--magenta); }
.spec-row span { color: var(--muted-light); line-height: 1.75; }
.stat-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  background: #1c1815;
  border: 1px solid var(--oak);
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-hard);
}
.stat-cell { padding: 22px 18px 18px; border-right: 1px solid rgba(196,165,116,.4); }
.stat-cell:last-child { border-right: 0; }
.stat-cell strong {
  display: block;
  font-family: var(--num);
  font-size: clamp(48px, 6vw, 76px);
  line-height: .95;
  color: var(--mist);
  font-weight: 700;
}
.stat-cell em { display: block; margin-top: 8px; font-style: normal; color: var(--oak); font-weight: 700; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; max-width: 820px; }
.faq-item {
  background: #fffdf9;
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
}
.faq-item[open] { border-color: var(--oak); }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--oak-ink); font-weight: 700; }
.faq-item[open] summary::after { content: "－"; }
.faq-item[open] summary { color: var(--magenta); }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted-light); }
.rel-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.rel-list a { width: min(100%, 760px); }
.rel-list a:nth-child(even) { margin-left: auto; width: min(100%, 680px); }
.empty-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-board);
  background: #fffdf9;
  border: 1px solid var(--oak);
  font-weight: 700;
}
.footer { background: var(--night); color: var(--cream); padding: 42px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-brand { font-weight: 800; font-size: 18px; display: flex; flex-direction: column; line-height: 1.35; }
.footer-brand small { color: var(--oak); font-size: 13px; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-links a { position: relative; color: var(--cream); padding-bottom: 2px; }
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.footer-links a:hover::after, .footer-links a:focus-visible::after { transform: scaleX(1); }
.copyright { color: var(--muted-dark); font-size: 13px; margin: 22px 0 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}
@media (max-width: 1023px) {
  .cat-grid, .scope-grid, .spec-grid, .keep-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr 1fr; }
  .dock-search { min-width: 150px; }
  .wide-card, .wide-card.is-flip, .line-row, .rel-list a, .rel-list a:nth-child(even) { width: 100%; margin-left: 0; }
}
@media (max-width: 767px) {
  :root { --space-section: 52px; }
  body { padding-bottom: 108px; }
  .dock-wrap {
    position: fixed;
    top: auto;
    bottom: 12px;
    left: 0;
    right: 0;
    padding: 0 10px;
  }
  .dock {
    width: min(560px, 100%);
    margin: 0 auto;
    border-radius: 24px;
    padding: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .dock-links { order: 2; }
  .brand { min-width: 0; order: 1; }
  .icon-btn { display: inline-flex; order: 3; }
  .btn-solid { order: 4; }
  .dock-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    min-width: 0;
    margin: 0;
    box-shadow: var(--shadow-hard);
  }
  .dock-search.is-open { display: flex; }
  .cat-grid, .scope-grid, .spec-grid, .keep-grid, .stat-strip { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid rgba(196,165,116,.4); }
  .stat-cell:last-child { border-bottom: 0; }
  .wide-card, .wide-card.is-flip { grid-template-columns: 1fr; }
  .wide-card.is-flip .poster { order: 0; border-left: 0; border-bottom: 3px solid var(--oak); }
  .poster { border-right: 0; border-bottom: 3px solid var(--oak); min-height: 92px; }
  .line-row, .row { grid-template-columns: 56px 1fr; }
  .row-meta, .card-meta { grid-column: 2; white-space: normal; }
  .footer-grid { flex-direction: column; }
  .keep-grid .btn { width: 100%; }
}
@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .nav-link { padding: 8px 6px; font-size: 13px; }
  .btn-solid { width: 100%; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
