/* roulang page: index */
:root {
  --bg: #140E16;
  --surface: #241820;
  --surface-2: #311f2a;
  --ink: #1b1219;
  --coral: #FF5C73;
  --coral-2: #ff7a8c;
  --coral-3: #e0455c;
  --amber: #E6A23C;
  --amber-2: #ffd08a;
  --ok: #3EBE8B;
  --text: #F4EFE8;
  --muted: #B7A8B2;
  --line: rgba(244,239,232,0.14);
  --radius: 16px;
  --radius-btn: 10px;
  --shadow: 0 12px 30px rgba(8,4,8,0.32);
  --header-h: 72px;
  --mono: "JetBrains Mono", "Sarasa Mono SC", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
p { margin: 0 0 0.75rem; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; margin: 0; letter-spacing: 0; }
a { color: var(--text); }
a:visited { color: var(--text); }
a:hover { color: var(--amber); }
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,92,115,0.38);
}
.container { max-width: 1120px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.tone-a { background: var(--bg); }
.tone-b { background: var(--surface); }
#board { border-top: 0; padding-top: 28px; }
.sec-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.sec-lead {
  margin-top: 12px;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}
.panel {
  background: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}
.tone-b .panel { background: #1b1219; }
.panel.amber { border-left-color: var(--amber); }
.panel:hover { transform: translateY(-2px); transition: transform 0.18s ease, border-color 0.18s ease; }
.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-ok { color: var(--ok); background: rgba(62,190,139,0.12); border-color: rgba(62,190,139,0.28); }
.badge-amber { color: var(--amber); background: rgba(230,162,60,0.12); border-color: rgba(230,162,60,0.3); }
.badge-coral { color: var(--coral); background: rgba(255,92,115,0.12); border-color: rgba(255,92,115,0.28); }
.btn-main, .btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  border-radius: var(--radius-btn);
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.btn-main { background: var(--coral); color: #2a0d14; border: 1px solid var(--coral); }
.btn-main:hover { background: var(--coral-2); color: #2a0d14; transform: translateY(-2px); }
.btn-main:active { background: var(--coral-3); color: #2a0d14; transform: translateY(0); }
.btn-main:focus-visible { box-shadow: 0 0 0 3px rgba(255,92,115,0.45); }
.btn-sub { background: transparent; color: var(--amber); border: 1px solid var(--amber); }
.btn-sub:hover { background: rgba(230,162,60,0.12); color: var(--amber-2); transform: translateY(-2px); }
.btn-sub:active { background: rgba(230,162,60,0.22); color: var(--amber); transform: translateY(0); }
.btn-sub:focus-visible { box-shadow: 0 0 0 3px rgba(230,162,60,0.45); }
.btn-tiny { padding: 8px 14px; font-size: 14px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--header-h);
  background: #140E16;
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 18px;
  height: 28px;
  border-radius: 5px;
  background: var(--coral);
  box-shadow: inset 0 -7px 0 var(--amber);
  flex: 0 0 auto;
}
.brand-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.nav-main { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-main a, .menu-list a {
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-main a { padding: 8px 8px; font-size: 14px; border-radius: 8px; }
.nav-main a:hover, .menu-list a:hover { color: var(--amber); }
.nav-main a:active, .menu-list a:active { color: var(--coral-2); }
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.site-offcanvas { background: var(--bg); color: var(--text); width: min(86vw, 360px); border-left: 1px solid var(--line); }
.site-offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); height: 72px; }
.menu-close {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--text); position: relative;
}
.menu-close::before, .menu-close::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 20px; height: 2px; background: var(--text);
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-list { list-style: none; padding: 0; margin: 0 0 18px; }
.menu-list a { display: block; padding: 14px 8px 14px 12px; border-bottom: 1px solid var(--line); }
.menu-list a:hover { border-left-color: var(--amber); }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.82fr);
  grid-template-areas: "main side" "cta cta";
  gap: 14px;
}
.bento-main { grid-area: main; padding: 26px 26px 20px; }
.bento-side { grid-area: side; display: grid; gap: 14px; }
.bento-cta {
  grid-area: cta;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}
.bento-main h1 { font-size: 2.45rem; max-width: 16ch; }
.hero-copy { margin-top: 14px; color: var(--text); max-width: 44rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.metric {
  background: rgba(20,14,22,0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 8px;
}
.metric b { display: block; color: var(--coral); font-family: var(--mono); font-size: 1.55rem; line-height: 1.2; }
.metric span { color: var(--muted); font-size: 12px; }
.side-card h2 { font-size: 1.05rem; margin-bottom: 6px; }
.side-card p { color: var(--muted); font-size: 0.92rem; min-height: 3.2em; }
.wave { width: 100%; height: 28px; margin-top: 8px; }
.cta-copy { margin: 0; max-width: 40rem; color: var(--text); }
.cta-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.scene-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 12px;
  margin-top: 22px;
}
.scene-card { flex: 0 0 320px; scroll-snap-align: start; min-height: 210px; display: flex; flex-direction: column; }
.scene-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.scene-card p { color: var(--muted); flex: 1; }
.scene-card .badge-dot { align-self: flex-start; margin-top: 10px; }
main a:not(.btn-main):not(.btn-sub) { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
main a:not(.btn-main):not(.btn-sub):hover { color: var(--amber); text-decoration-color: var(--amber); }
main a:not(.btn-main):not(.btn-sub):visited { color: var(--text); }
.service-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas:
    "clarity sub jp"
    "clarity kr resume"
    "flow flow flow";
  gap: 14px;
}
.svc-clarity { grid-area: clarity; }
.svc-sub { grid-area: sub; }
.svc-jp { grid-area: jp; }
.svc-kr { grid-area: kr; }
.svc-resume { grid-area: resume; }
.svc-flow { grid-area: flow; }
.service-grid h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-grid p { color: var(--muted); margin-bottom: 14px; }
.topic-split { margin-top: 22px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.jp-time { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid rgba(230,162,60,0.55); }
.jp-time li { position: relative; padding: 0 0 18px 16px; }
.jp-time li::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(230,162,60,0.18);
}
.jp-time time { color: var(--amber); font-size: 13px; }
.jp-time h3, .kr-stack h3, .news-row h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.jp-time p, .kr-card p, .news-row p { color: var(--muted); margin: 0; }
.kr-stack { display: grid; gap: 12px; }
.kr-card { display: grid; grid-template-columns: 108px 1fr; gap: 12px; align-items: center; }
.cover {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255,92,115,0.7), transparent 46%),
    linear-gradient(320deg, rgba(230,162,60,0.55), transparent 42%),
    #241018;
  min-height: 84px;
}
.cover::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--coral) 42%, rgba(244,239,232,0.2) 42%);
}
.cover.c2 { min-height: 108px; }
.cover.c3 { min-height: 72px; }
.cmp-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-row, .guard-list li, .news-row {
  display: grid;
  gap: 10px;
  align-items: center;
}
.cmp-row {
  grid-template-columns: 72px 1fr auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cmp-row span { color: var(--muted); }
.cmp-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; }
.param-bar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 16px;
}
.param-item { background: rgba(20,14,22,0.45); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.param-item span { display: block; color: var(--muted); font-size: 12px; }
.param-item strong { display: block; margin-top: 4px; font-size: 1.15rem; }
.param-track { margin-top: 14px; height: 8px; border-radius: 999px; background: rgba(244,239,232,0.12); overflow: hidden; }
.param-track i { display: block; width: 46%; height: 100%; background: linear-gradient(90deg, var(--amber), var(--coral)); }
.mile { margin-top: 26px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mile::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 18px;
  height: 2px;
  background: rgba(230,162,60,0.5);
}
.mile article { position: relative; padding-top: 8px; }
.mile i {
  display: block;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber);
  margin-bottom: 14px;
  box-shadow: 0 0 0 5px #140E16;
  position: relative;
  z-index: 1;
}
.mile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mile p { color: var(--muted); margin: 0; }
.news-list { margin-top: 18px; display: grid; gap: 10px; }
.news-row {
  grid-template-columns: 118px 1fr;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: 14px;
  background: #1b1219;
}
.news-row:nth-child(even) { border-left-color: var(--amber); }
.news-row time { color: var(--amber); font-size: 13px; }
.news-row:hover { transform: translateY(-2px); transition: transform 0.18s ease; }
.catalog-banner {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.guard-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.guard-list li {
  grid-template-columns: 52px 1fr;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1b1219;
}
.g-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--amber);
  border: 1px solid rgba(230,162,60,0.4);
  background: rgba(230,162,60,0.08);
}
.g-ico svg { width: 22px; height: 22px; }
.guard-list strong { display: block; }
.guard-list p { margin: 0; color: var(--muted); }
.fit-layout { margin-top: 22px; display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center; }
.wire {
  width: 180px;
  height: 340px;
  margin: 0 auto;
  border: 2px solid var(--text);
  border-radius: 28px;
  padding: 16px 12px;
  position: relative;
}
.wire::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 54px; height: 5px; border-radius: 99px;
  transform: translateX(-50%);
  background: var(--muted);
}
.wire-screen {
  height: 100%;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255,92,115,0.35), transparent 40%),
    #1b1219;
  border: 1px solid var(--line);
  position: relative;
}
.wire-sub {
  position: absolute; left: 10px; right: 10px; bottom: 28px;
  font-size: 12px; text-align: center;
  background: rgba(20,14,22,0.72);
  border-radius: 8px;
  padding: 4px;
}
.wire-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 4px; border-radius: 99px; background: rgba(244,239,232,0.2); }
.wire-bar i { display: block; width: 38%; height: 100%; background: var(--coral); border-radius: inherit; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit-grid h3 { font-size: 1.05rem; margin: 8px 0; }
.fit-grid p { color: var(--muted); margin: 0; }
.qa { margin: 8px 0 0; }
.qa dt { color: var(--coral); font-weight: 700; margin-top: 16px; }
.qa dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.play-acc { margin-top: 18px; }
.play-acc .accordion-item {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 10px;
}
.play-acc .accordion-button {
  background: #241820;
  color: var(--text);
  box-shadow: none;
  font-weight: 700;
  padding: 16px 18px;
}
.play-acc .accordion-button:not(.collapsed) { background: var(--surface-2); color: var(--coral); }
.play-acc .accordion-button:focus { box-shadow: 0 0 0 3px rgba(230,162,60,0.4); border-color: transparent; }
.play-acc .accordion-button::after {
  background-image: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
}
.play-acc .accordion-button:not(.collapsed)::after { transform: rotate(-135deg); }
.play-acc .accordion-body { background: #1b1219; color: var(--text); line-height: 1.8; }
.form-panel { margin-top: 18px; padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #140E16;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(230,162,60,0.28);
  outline: none;
}
.field-error { min-height: 1.2em; color: var(--coral); font-size: 13px; margin: 4px 0 0; }
.form-ok {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(62,190,139,0.4);
  color: var(--ok);
  background: rgba(62,190,139,0.1);
}
.site-footer { background: #100910; border-top: 1px solid var(--line); padding: 42px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 0.8fr; gap: 26px; }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 10px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.foot-links a:visited { color: var(--text); }
.site-footer p { color: var(--muted); }
.copyline { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }
@media (max-width: 991.98px) {
  .brand-name { font-size: 14px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "main" "side" "cta"; }
  .service-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "clarity clarity" "sub jp" "kr resume" "flow flow"; }
}
@media (max-width: 767.98px) {
  .section { padding: 52px 0; }
  .bento-main h1 { font-size: 2rem; }
  .metric-grid, .cmp-grid, .mile, .topic-split, .fit-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; grid-template-areas: "clarity" "sub" "jp" "kr" "resume" "flow"; }
  .param-bar { grid-template-columns: 1fr 1fr; }
  .fit-layout { grid-template-columns: 1fr; }
  .kr-card, .news-row, .catalog-banner, .bento-cta { grid-template-columns: 1fr; display: grid; }
  .mile::before { left: 18px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .mile article { padding-left: 20px; }
  .scene-card { flex-basis: 86%; }
}
@media (max-width: 575.98px) {
  .brand-name { font-size: 13px; }
  .bento-main { padding: 18px 16px; }
  .bento-main h1 { font-size: 1.7rem; }
  .sec-head h2 { font-size: 1.35rem; }
  .btn-main, .btn-sub, .cta-actions { width: 100%; }
  .cta-actions { flex-direction: column; }
  .param-bar, .cmp-row { grid-template-columns: 1fr; }
  .cmp-row { justify-items: start; }
  .kr-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel:hover, .btn-main:hover, .btn-sub:hover, .news-row:hover { transform: none; }
}

/* roulang page: category1 */
:root {
 --bg: #140E16;
 --surface: #241820;
 --surface-2: #311f2a;
 --ink: #1b1219;
 --coral: #FF5C73;
 --coral-2: #ff7a8c;
 --coral-3: #e0455c;
 --amber: #E6A23C;
 --amber-2: #ffd08a;
 --ok: #3EBE8B;
 --text: #F4EFE8;
 --muted: #B7A8B2;
 --line: rgba(244,239,232,0.14);
 --radius: 16px;
 --radius-btn: 10px;
 --shadow: 0 12px 30px rgba(8,4,8,0.32);
 --header-h: 72px;
 --mono: "JetBrains Mono", "Sarasa Mono SC", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
a { color: var(--text); }
a:visited { color: var(--text); }
a:hover { color: var(--amber); }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; }
.container { max-width: 1120px; }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.tone-a { background: var(--bg); }
.tone-b { background: #1c141b; }
.sec-kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--amber);
 font-size: 13px;
 letter-spacing: 0.08em;
 font-weight: 700;
}
.sec-kicker::before {
 content: "";
 width: 18px;
 height: 2px;
 background: var(--coral);
 border-radius: 2px;
}
.sec-title { margin-top: 10px; font-size: 1.7rem; line-height: 1.35; font-weight: 700; }
.sec-lead { margin-top: 12px; max-width: 46rem; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.badge-dot {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 border-radius: 999px;
 padding: 3px 10px;
 font-size: 12px;
 line-height: 1.6;
 border: 1px solid transparent;
 white-space: nowrap;
}
.badge-ok { color: var(--ok); background: rgba(62,190,139,0.12); border-color: rgba(62,190,139,0.28); }
.badge-amber { color: var(--amber); background: rgba(230,162,60,0.12); border-color: rgba(230,162,60,0.3); }
.badge-coral { color: var(--coral); background: rgba(255,92,115,0.12); border-color: rgba(255,92,115,0.28); }
.btn-main, .btn-sub {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 text-decoration: none !important;
 border-radius: var(--radius-btn);
 padding: 12px 18px;
 font-weight: 700;
 line-height: 1.3;
 transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
 cursor: pointer;
}
.btn-main { background: var(--coral); color: #2a0d14; border: 1px solid var(--coral); }
.btn-main:hover { background: var(--coral-2); color: #2a0d14; transform: translateY(-2px); }
.btn-main:active { background: var(--coral-3); color: #2a0d14; transform: translateY(0); }
.btn-main:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,92,115,0.45); }
.btn-sub { background: transparent; color: var(--amber); border: 1px solid var(--amber); }
.btn-sub:hover { background: rgba(230,162,60,0.12); color: var(--amber-2); transform: translateY(-2px); }
.btn-sub:active { background: rgba(230,162,60,0.22); color: var(--amber); transform: translateY(0); }
.btn-sub:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(230,162,60,0.45); }
.btn-tiny { padding: 8px 14px; font-size: 14px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 1030;
 height: var(--header-h);
 background: #140E16;
 border-bottom: 1px solid var(--line);
}
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand:hover { color: var(--text); }
.brand-mark {
 width: 18px;
 height: 28px;
 border-radius: 5px;
 background: var(--coral);
 box-shadow: inset 0 -7px 0 var(--amber);
 flex: 0 0 auto;
}
.brand-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.nav-main { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-main a, .menu-list a {
 color: var(--text);
 text-decoration: none;
 border-left: 3px solid transparent;
}
.nav-main a { padding: 8px 8px; font-size: 14px; border-radius: 8px; }
.nav-main a:hover, .menu-list a:hover { color: var(--amber); }
.nav-main a:active, .menu-list a:active { color: var(--coral-2); }
.nav-main a.active, .menu-list a.active { border-left-color: var(--coral); color: var(--text); }
.nav-toggle {
 margin-left: auto;
 width: 44px;
 height: 40px;
 border-radius: 10px;
 border: 1px solid var(--line);
 background: var(--surface);
 display: inline-flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 5px;
 padding: 0;
 cursor: pointer;
}
.nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,92,115,0.45); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.site-offcanvas { background: var(--bg); color: var(--text); width: min(86vw, 360px); border-left: 1px solid var(--line); }
.site-offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); height: 72px; }
.menu-close {
 width: 42px; height: 42px; border-radius: 10px;
 border: 1px solid var(--line); background: transparent; color: var(--text); position: relative;
}
.menu-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(230,162,60,0.45); }
.menu-close::before, .menu-close::after {
 content: ""; position: absolute; left: 12px; right: 12px; top: 20px; height: 2px; background: var(--text);
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-list { list-style: none; padding: 0; margin: 0 0 18px; }
.menu-list a { display: block; padding: 14px 8px 14px 12px; border-bottom: 1px solid var(--line); }
.menu-list a:hover { border-left-color: var(--amber); }
main a:not(.btn-main):not(.btn-sub) { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
main a:not(.btn-main):not(.btn-sub):hover { color: var(--amber); text-decoration-color: var(--amber); }
.cat-head {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 28px 28px 24px;
 display: flex;
 justify-content: space-between;
 gap: 28px;
 align-items: flex-end;
}
.cat-head h1 { font-size: 2.15rem; line-height: 1.3; font-weight: 700; max-width: 16em; }
.cat-sub { margin-top: 12px; color: var(--muted); max-width: 38rem; }
.cat-meta { min-width: 180px; display: grid; gap: 10px; }
.meta-cell {
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 12px 14px;
}
.meta-cell span { display: block; color: var(--muted); font-size: 12px; }
.meta-cell strong { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--coral); }
.filter-bar {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 12px;
}
.filter-group {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 14px;
}
.filter-group h2 { font-size: 0.95rem; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 border-radius: 999px;
 border: 1px solid var(--line);
 background: transparent;
 color: var(--text);
 padding: 4px 12px;
 font-size: 13px;
 line-height: 1.6;
 cursor: default;
}
.chip.is-on { background: rgba(255,92,115,0.16); border-color: var(--coral); color: var(--coral-2); }
.catalog-grid { columns: 3; column-gap: 14px; }
.film-card {
 break-inside: avoid;
 margin-bottom: 14px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 border-left: 3px solid var(--coral);
 display: flex;
 flex-direction: column;
 transition: transform 0.18s ease, border-color 0.18s ease;
}
.film-card.amber-edge { border-left-color: var(--amber); }
.film-card:hover { transform: translateY(-2px); }
.cover {
 position: relative;
 min-height: 132px;
 background:
 linear-gradient(145deg, rgba(255,92,115,0.55), rgba(20,14,22,0.2) 46%, rgba(230,162,60,0.45));
}
.cover.tall { min-height: 188px; }
.cover.mid { min-height: 156px; }
.cover.short { min-height: 112px; }
.cover::after {
 content: "";
 position: absolute;
 left: 16px;
 right: 16px;
 bottom: 16px;
 height: 6px;
 border-radius: 999px;
 background: rgba(244,239,232,0.28);
 box-shadow: inset 46% 0 0 var(--text);
}
.cover .dur {
 position: absolute;
 right: 12px;
 top: 12px;
 font-family: var(--mono);
 font-size: 12px;
 background: rgba(20,14,22,0.72);
 border-radius: 999px;
 padding: 2px 8px;
}
.film-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.film-body h3 { font-size: 1.05rem; line-height: 1.4; }
.film-body p { color: var(--muted); font-size: 0.92rem; }
.film-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.point-list { display: grid; gap: 12px; }
.point-row {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 16px;
 align-items: center;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 16px 18px;
 border-left: 3px solid var(--amber);
}
.point-row strong { font-family: var(--mono); color: var(--coral); font-size: 1.05rem; }
.point-row h3 { font-size: 1.05rem; }
.point-row p { color: var(--muted); }
.time-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.time-row {
 display: grid;
 grid-template-columns: 140px 1fr auto;
 gap: 16px;
 align-items: center;
 padding: 16px 18px;
 background: var(--surface);
 border-top: 1px solid var(--line);
}
.time-row:first-child { border-top: 0; }
.time-row time { font-family: var(--mono); color: var(--amber); font-size: 0.92rem; }
.time-row p { color: var(--muted); font-size: 0.92rem; }
.news-stack { display: grid; gap: 10px; }
.news-bar {
 display: grid;
 grid-template-columns: 120px 1fr;
 gap: 16px;
 align-items: center;
 padding: 16px 18px;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: 12px;
 border-left: 3px solid var(--coral);
}
.news-bar time { font-family: var(--mono); color: var(--amber); font-size: 0.85rem; }
.news-bar a { font-weight: 700; }
.news-bar p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.more-wrap { display: flex; justify-content: flex-start; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(255,92,115,0.35); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--text); --bs-accordion-btn-color: var(--text); --bs-accordion-color: var(--text); }
.accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: 10px; }
.accordion-button {
 background: var(--surface);
 color: var(--text);
 font-weight: 700;
 box-shadow: none;
 padding: 16px 18px;
}
.accordion-button:not(.collapsed) { background: #2c1d26; color: var(--text); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(255,92,115,0.35); border-color: transparent; }
.accordion-button::after { filter: grayscale(1) brightness(2); }
.accordion-body { color: var(--muted); background: var(--bg); border-top: 1px solid var(--line); }
.site-footer { background: #100b12; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 0.8fr; gap: 28px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 8px; }
.site-footer p { color: var(--muted); }
.foot-links { list-style: none; }
.foot-links a { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--amber); }
.foot-links li + li { margin-top: 6px; }
.copyline { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 991.98px) {
 .catalog-grid { columns: 2; }
 .filter-bar { grid-template-columns: 1fr 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .cat-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
 .section { padding: 56px 0; }
 .catalog-grid { columns: 1; }
 .filter-bar, .footer-grid, .news-bar, .time-row, .point-row { grid-template-columns: 1fr; }
 .time-row { gap: 6px; }
 .sec-title { font-size: 1.45rem; }
}
@media (max-width: 575.98px) {
 .cat-head { padding: 20px 16px; }
 .cat-head h1 { font-size: 1.55rem; }
 .btn-main, .btn-sub, .more-wrap .btn-sub { width: 100%; }
 .brand-name { font-size: 13px; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
