/* roulang page: index */
:root {
  --ink: #1C1412;
  --orange: #E25B2A;
  --orange-deep: #C4471C;
  --paper: #F6F1EA;
  --sand: #EFE6DA;
  --dark: #2A211C;
  --line: #D9CBBA;
  --muted: #5C5148;
  --card: #FFFCF8;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(28, 20, 18, 0.07);
  --header-h: 108px;
  --dock-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a {
  color: var(--ink);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--orange); }
p { margin: 0 0 0.85em; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.22; margin: 0 0 0.35em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.32; margin: 0 0 0.45em; }
h3 { font-size: 1.12rem; line-height: 1.45; margin: 0 0 0.3em; }
.grid-container { max-width: 1160px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.promo {
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.promo-move {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.promo-move span { padding-left: 24px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.nav-bar { border-bottom: 1px solid var(--line); background: rgba(246, 241, 234, 0.96); }
.nav-row { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; max-width: 250px; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex: 0 0 auto;
}
.logo-lines { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 13px; }
.desk-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}
.nav-link:hover { color: var(--orange); }
.nav-link.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.desk-search { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.desk-search input[type="search"] {
  flex: 1;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  margin: 0;
  box-shadow: none;
}
.desk-search input[type="search"]:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(226, 91, 42, 0.35);
  outline-offset: 1px;
  background: #fff;
}
.desk-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.tool-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.tool-link:hover { color: var(--orange); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  line-height: 1;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #A63A16; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--sand); color: var(--ink); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); background: var(--line); }
.btn-search {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  min-width: 72px;
}
.btn-search:hover { background: var(--dark); color: #fff; }
.burger {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}
.burger:hover, .burger:focus { background: var(--sand); }
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 18, 0.46);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  padding: 18px 18px 28px;
  overflow: auto;
  box-shadow: -12px 0 30px rgba(28, 20, 18, 0.12);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ink);
  background: transparent;
  font-weight: 700;
}
.drawer-nav { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 18px; }
.drawer .desk-search, .drawer form { display: flex; gap: 8px; margin-bottom: 12px; }
.drawer .tool-link { justify-content: flex-start; }
main { padding-bottom: calc(var(--dock-h) + 28px); }
.sec { padding: 72px 0; position: relative; }
.sec-paper { background: var(--paper); }
.sec-sand { background: var(--sand); }
.sec-white { background: var(--card); }
.sec-intro { max-width: 760px; color: var(--muted); margin-bottom: 1.2em; }
.hero {
  background:
    radial-gradient(circle at 12% 80%, rgba(226, 91, 42, 0.16), transparent 28%),
    linear-gradient(180deg, #F3E7D8 0%, var(--sand) 100%);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}
.hero-brand { display: flex; align-items: flex-end; gap: 14px; min-height: 180px; padding-bottom: 8px; }
.circle-badge {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 700; flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.hero-word { font-weight: 800; font-size: 20px; line-height: 1.35; max-width: 220px; }
.subhead { font-size: 1.12rem; color: var(--ink); margin-bottom: 0.7em; }
.hero-copy p { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 14px; }
.meta-line { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; }
.meta-line b { color: var(--orange); font-weight: 700; }
.point-row {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.point-row:last-child { border-bottom: 1px solid var(--line); }
.point-kicker {
  writing-mode: vertical-rl;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  min-height: 96px;
}
.point-copy { color: var(--muted); margin: 0; }
.point-num {
  justify-self: end;
  min-width: 112px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  box-shadow: var(--shadow);
}
.point-num strong { display: block; color: var(--orange); font-size: 2rem; line-height: 1; }
.point-num span { color: var(--muted); font-size: 13px; }
.storyboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 44px;
}
.shot:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 14px 30px rgba(28, 20, 18, 0.1); }
.shot-body { padding: 12px 14px 14px; }
.shot-body h3 { margin-bottom: 0.2em; }
.shot-body p { margin: 0; color: var(--muted); font-size: 14.5px; min-height: 3.4em; }
.play-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}
.poster {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--dark);
  overflow: hidden;
}
.poster::before, .poster::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background: radial-gradient(circle, var(--paper) 2.5px, transparent 3px) center / 14px 16px repeat-y;
}
.poster::before { left: 0; }
.poster::after { right: 0; }
.poster i {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 42%;
  border-radius: 10px 10px 0 0;
  background: rgba(246, 241, 234, 0.14);
  border: 1px solid rgba(246, 241, 234, 0.28);
}
.poster b {
  position: absolute;
  width: 46%;
  height: 8px;
  left: 24px;
  top: 22px;
  background: var(--orange);
  border-radius: 8px;
}
.poster-2 { background: #3A2A22; }
.poster-3 { background: #241C18; }
.poster-4 { background: #4A3328; }
.poster-5 { background: #2E241E; }
.poster-6 { background: #1F1916; }
.poster-label {
  position: absolute;
  right: 22px;
  bottom: 10px;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}
.quote-card:nth-child(even) { margin-top: 22px; }
.quote-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sand); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; border: 1px solid var(--line);
}
.quote-name { font-weight: 700; line-height: 1.3; }
.quote-time { color: var(--muted); font-size: 13px; }
.quote-card p { margin: 0; color: var(--ink); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.versus-side {
  border-radius: 14px;
  padding: 20px 18px 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.versus-side.is-main { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.versus-side.is-main h3, .versus-side.is-main li { color: var(--paper); }
.versus-list { margin: 0 0 12px; padding: 0; list-style: none; }
.versus-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.versus-side.is-main .versus-list li { border-bottom-color: rgba(217, 203, 186, 0.28); color: #F6F1EA; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
}
.badge-hot { background: rgba(226, 91, 42, 0.12); color: var(--orange); border-color: transparent; }
.timeline { margin: 0; padding: 0; list-style: none; }
.time-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 0 0 18px 0;
  position: relative;
}
.time-item::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: var(--line);
}
.time-date { color: var(--orange); font-weight: 800; }
.time-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  margin-left: 12px;
}
.time-card h3 { margin-bottom: 0.15em; }
.time-card p { margin: 0; color: var(--muted); }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { margin-bottom: 10px; border: 0; }
.accordion-title {
  color: var(--ink) !important;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.95rem 2.4rem 0.95rem 1rem !important;
  text-decoration: none !important;
}
.accordion-title:hover, .accordion-title:focus {
  color: var(--orange) !important;
  background: #fff !important;
}
.accordion-title::before { color: var(--orange) !important; }
.is-active > .accordion-title {
  color: var(--orange) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.accordion-content {
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 0 1rem 0.9rem;
}
.guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--dark);
  border-radius: 14px;
  padding: 16px;
}
.g-item { display: flex; align-items: center; gap: 10px; color: var(--paper); min-height: 52px; }
.g-item svg { width: 28px; height: 28px; stroke: var(--orange); fill: none; stroke-width: 1.6; flex: 0 0 auto; }
.g-item strong { display: block; line-height: 1.3; }
.g-item span { display: block; color: #D9CBBA; font-size: 13px; line-height: 1.4; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--ink);
  text-decoration: none;
}
.post-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 16px 32px rgba(28, 20, 18, 0.1); }
.post-body { padding: 12px 14px 14px; }
.post-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.track-list { display: grid; gap: 14px; }
.track-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; }
.track-name { font-weight: 700; }
.bar { height: 8px; background: #E4D8C8; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.w100 { width: 100%; } .w72 { width: 72%; } .w46 { width: 46%; } .w18 { width: 18%; }
.track-state { color: var(--muted); font-size: 14px; }
.scene-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scene-row.is-flip { grid-template-columns: 1fr 1.15fr; }
.scene-row.is-flip .scene-visual { order: 2; }
.scene-visual .poster { border-radius: 0; aspect-ratio: 16 / 10; }
.scene-copy { padding: 8px 22px 8px 0; }
.scene-row.is-flip .scene-copy { padding: 8px 0 8px 22px; }
.scene-copy p { color: var(--muted); margin: 0; }
.channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.channel-bar p { margin: 0; color: var(--muted); max-width: 680px; }
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.tag-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
.tag-grid a:hover { border-color: var(--orange); color: var(--orange); background: #fff; }
.tag-grid small { color: var(--muted); font-weight: 500; }
.closer { background: var(--ink); color: var(--paper); padding: 64px 0; }
.closer h2, .closer p { color: var(--paper); }
.closer p { max-width: 640px; color: #E7D9CC; }
.site-footer { background: var(--dark); color: #E7D9CC; padding: 42px 0 28px; }
.site-footer h2, .site-footer h3, .site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--orange); }
.foot-brand { font-weight: 800; font-size: 1.05rem; line-height: 1.4; margin-bottom: 8px; }
.foot-col h3 { font-size: 0.98rem; margin-bottom: 8px; color: var(--paper); }
.foot-col a, .foot-col p { display: block; color: #E7D9CC; text-decoration: none; margin: 0 0 6px; font-size: 14.5px; }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(217, 203, 186, 0.25); color: #CDBDAE; font-size: 13px; }
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  min-height: var(--dock-h);
  background: rgba(28, 20, 18, 0.96);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  border-top: 1px solid rgba(217, 203, 186, 0.25);
}
.dock strong { font-size: 15px; }
.show-for-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
@media (max-width: 1023px) {
  .desk-nav, .desk-tools, .nav-bar .desk-search { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .hero-brand { min-height: 0; margin-bottom: 18px; }
  .point-kicker { writing-mode: horizontal-tb; letter-spacing: 0; min-height: 0; }
  .quote-card:nth-child(even) { margin-top: 0; }
  .post-grid, .storyboard { grid-template-columns: 1fr 1fr; }
  .scene-row, .scene-row.is-flip { grid-template-columns: 1fr; }
  .scene-row.is-flip .scene-visual { order: 0; }
  .scene-copy, .scene-row.is-flip .scene-copy { padding: 14px 16px 16px; }
  .track-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 767px) {
  .sec { padding: 48px 0; }
  .hero { padding: 32px 0 28px; }
  .point-row, .versus, .guarantee, .post-grid, .storyboard, .quote-grid, .tag-grid { grid-template-columns: 1fr; }
  .point-num { justify-self: start; }
  .time-item { grid-template-columns: 72px 1fr; }
  .time-item::before { left: 78px; }
  .channel-bar { flex-direction: column; align-items: flex-start; }
  .circle-badge { width: 72px; height: 72px; font-size: 28px; }
  .promo-move { animation: none; }
  .foot-gap { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --ink: #1C1412;
  --orange: #E25B2A;
  --orange-deep: #C4471C;
  --paper: #F6F1EA;
  --sand: #EFE6DA;
  --dark: #2A211C;
  --line: #D9CBBA;
  --muted: #5C5148;
  --card: #FFFCF8;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(28, 20, 18, 0.07);
  --header-h: 108px;
  --dock-h: 64px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input { font-family: inherit; }
p { margin: 0 0 0.85em; }
h1, h2, h3 { color: var(--ink); text-align: left; font-weight: 800; }
h1 { font-size: 40px; line-height: 1.28; margin: 0 0 12px; }
h2 { font-size: 28px; line-height: 1.35; margin: 0 0 16px; }
h3 { font-size: 18px; line-height: 1.45; margin: 0 0 8px; font-weight: 700; }
a { color: var(--ink); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid rgba(226, 91, 42, 0.55); outline-offset: 2px; }
.grid-container { max-width: 1160px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.promo { background: var(--ink); color: var(--paper); height: 36px; overflow: hidden; }
.promo p { margin: 0; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.nav-bar { border-bottom: 1px solid var(--line); background: rgba(246, 241, 234, 0.96); }
.nav-row { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; max-width: 250px; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex: 0 0 auto;
}
.logo-lines { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 13px; }
.desk-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  text-decoration: none; color: var(--ink); min-height: 44px;
  display: inline-flex; align-items: center; padding: 0 10px;
  border-bottom: 2px solid transparent; font-weight: 600;
}
.nav-link:hover { color: var(--orange); }
.nav-link.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.desk-search { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.desk-search input[type="search"] {
  flex: 1; height: 44px; border: 1px solid var(--line); background: var(--card);
  border-radius: 14px; padding: 0 14px; color: var(--ink); margin: 0; box-shadow: none;
}
.desk-search input[type="search"]:focus {
  border-color: var(--orange); outline: 2px solid rgba(226, 91, 42, 0.35);
  outline-offset: 1px; background: #fff;
}
.desk-tools { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.tool-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 8px; text-decoration: none; color: var(--ink); font-weight: 700;
  font-size: 14px; white-space: nowrap; background: transparent; border-radius: 14px;
}
.tool-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.tool-link:hover { color: var(--orange); background: rgba(226, 91, 42, 0.06); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700; cursor: pointer; line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #A63A16; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--sand); color: var(--ink); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); background: var(--line); }
.btn-search { background: var(--ink); color: var(--paper); border-radius: 14px; min-width: 72px; }
.btn-search:hover, .btn-search:focus { background: var(--dark); color: #fff; }
.menu-toggle {
  display: none; min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 14px; border: 1px solid var(--ink); background: transparent;
  color: var(--ink); font-weight: 700; margin-left: auto;
}
.menu-toggle:hover, .menu-toggle:focus { background: var(--sand); }
.drawer-mask {
  position: fixed; inset: 0; background: rgba(28, 20, 18, 0.46); z-index: 70;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--paper); z-index: 80; transform: translateX(100%);
  transition: transform 0.24s ease; padding: 18px 18px 28px; overflow: auto;
  box-shadow: -12px 0 30px rgba(28, 20, 18, 0.12);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-title { font-weight: 800; }
.drawer-close {
  min-width: 44px; min-height: 44px; border-radius: 14px;
  border: 1px solid var(--ink); background: transparent; font-weight: 700; color: var(--ink);
}
.drawer-close:hover, .drawer-close:focus { background: var(--sand); }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 18px; }
.drawer .nav-link { border-bottom: 0; border-left: 2px solid transparent; padding-left: 12px; }
.drawer .nav-link.is-active { border-left-color: var(--orange); border-bottom-color: transparent; }
.drawer form { display: flex; gap: 8px; margin-bottom: 12px; }
.drawer .tool-link { justify-content: flex-start; width: 100%; }
.drawer .btn { width: 100%; margin-top: 8px; }
body.nav-lock { overflow: hidden; }
main { padding-bottom: calc(var(--dock-h) + 28px); }
.band { padding: 52px 0; }
.band-paper { background: var(--paper); }
.band-sand { background: var(--sand); }
.band-dark { background: var(--dark); color: var(--paper); }
.band-dark h2, .band-dark p { color: var(--paper); }
.muted { color: var(--muted); }
.sprocket {
  height: 12px; background-color: var(--sand);
  background-image: radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px);
  background-size: 18px 12px; background-repeat: repeat-x; opacity: 0.45;
}
.cat-head { background: var(--paper); padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 28px; align-items: end; }
.scope p { color: var(--muted); margin: 0 0 0.35em; }
.filter-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 14px 6px;
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--muted); min-width: 64px; }
.chip {
  min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; cursor: default;
}
.chip.is-on { color: var(--orange); border-color: var(--orange); background: #fff; }
.list-stack { display: flex; flex-direction: column; gap: 14px; }
.list-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px; text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.list-card:hover, .list-card:focus { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 20, 18, 0.1); color: inherit; }
.frame {
  aspect-ratio: 16 / 10; border-radius: 10px; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(28, 20, 18, 0.04), rgba(28, 20, 18, 0.2)),
    repeating-linear-gradient(90deg, #E7D8C8 0 16px, #D9CBBA 16px 18px);
}
.frame::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 16%; bottom: 16%;
  border-radius: 8px; border: 1px solid rgba(28, 20, 18, 0.22);
  background: linear-gradient(155deg, rgba(226, 91, 42, 0.38), rgba(255, 252, 248, 0.2) 46%, rgba(42, 33, 28, 0.55));
}
.frame-b::after { background: linear-gradient(160deg, rgba(42, 33, 28, 0.55), rgba(226, 91, 42, 0.22) 60%, #F6F1EA); }
.frame-c::after { background: linear-gradient(200deg, #F3E7D8, rgba(226, 91, 42, 0.45)); }
.frame-d::after { background: linear-gradient(135deg, rgba(28, 20, 18, 0.72), rgba(226, 91, 42, 0.28)); }
.dur {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  background: rgba(28, 20, 18, 0.88); color: var(--paper);
  border-radius: 999px; font-size: 12px; line-height: 1; padding: 6px 8px; font-weight: 700;
}
.card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: 0 0 6px;
}
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--orange); }
.card-desc {
  color: var(--muted); margin: 0 0 8px; font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--muted); font-size: 13.5px; }
.meta-row b { color: var(--orange); font-weight: 700; }
.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px;
  border-radius: 999px; background: var(--sand); color: var(--ink);
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.tag:hover { color: var(--orange); border-color: var(--orange); }
.timeline { max-width: 760px; margin: 8px 0 0 6px; border-left: 2px solid var(--line); }
.node { position: relative; padding: 0 0 22px 22px; }
.node:last-child { padding-bottom: 0; }
.node::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange);
  position: absolute; left: -7px; top: 8px; box-shadow: 0 0 0 4px var(--paper);
}
.band-sand .node::before { box-shadow: 0 0 0 4px var(--sand); }
.node h3 { margin-bottom: 2px; }
.node p { margin: 0; color: var(--muted); }
.node time { color: var(--orange); font-weight: 700; font-size: 14px; }
.spec-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.badge-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 64px; min-width: 132px; padding: 10px 14px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center;
}
.badge strong { color: var(--orange); font-size: 22px; line-height: 1.2; font-weight: 800; }
.badge span { color: var(--muted); font-size: 13px; }
.extend-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mini-card:hover, .mini-card:focus { transform: translateY(-2px); color: inherit; box-shadow: 0 14px 30px rgba(28, 20, 18, 0.1); }
.mini-card .pad { padding: 12px 12px 14px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 14px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border: 0 !important; background: transparent; margin-bottom: 10px; }
.accordion-title {
  color: var(--ink) !important; background: var(--card) !important;
  border: 1px solid var(--line) !important; border-radius: 14px !important;
  font-weight: 700 !important; font-size: 16.5px !important; padding: 14px 44px 14px 16px !important;
  line-height: 1.5 !important;
}
.accordion-title:hover, .accordion-title:focus { color: var(--orange) !important; background: #fff !important; }
.is-active > .accordion-title {
  color: var(--orange) !important; border-color: var(--orange) !important;
  border-radius: 14px 14px 0 0 !important; background: #fff !important;
}
.accordion-title::before { color: var(--orange) !important; }
.accordion-content {
  border: 1px solid var(--orange) !important; border-top: 0 !important;
  background: var(--card) !important; color: var(--ink) !important;
  border-radius: 0 0 14px 14px; padding: 4px 16px 12px !important;
}
.accordion-content p { color: var(--muted); margin: 0; }
.more-line {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.more-line p { margin: 0; color: var(--muted); }
.close-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.close-inner p { margin: 0; color: #E7D8C8; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--dock-h);
  background: rgba(246, 241, 234, 0.97); border-top: 1px solid var(--line);
}
.dock-inner { height: var(--dock-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-name { font-weight: 800; letter-spacing: 0.02em; }
.site-footer { background: var(--ink); color: var(--paper); padding: 42px 0 28px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-brand { font-weight: 800; font-size: 18px; line-height: 1.45; margin-bottom: 8px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h3 { color: var(--paper); font-size: 16px; margin: 0 0 6px; }
.foot-col p { margin: 0; color: #E7D8C8; }
.copyright { margin: 22px 0 0; color: #CDBFB2; font-size: 14px; border-top: 1px solid rgba(217, 203, 186, 0.25); padding-top: 14px; }
@media (max-width: 1023px) {
  .desk-nav, .desk-search, .desk-tools { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  h1 { font-size: 32px; }
  .cat-grid, .spec-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
  .extend-row { grid-template-columns: 1fr 1fr; }
  .list-card { grid-template-columns: 1fr; }
  .close-inner, .more-line { flex-direction: column; align-items: flex-start; }
  .band { padding: 40px 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .extend-row { grid-template-columns: 1fr; }
  .badge { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .promo p { font-size: 12.5px; }
  .foot-gap { margin-top: 18px; }
}
