/* roulang page: index */
:root {
  --bg: #161210;
  --bg-2: #241C18;
  --bg-3: #312822;
  --ink: #F4EFE8;
  --muted: #B7A99C;
  --line: rgba(244,239,232,.14);
  --brand: #E25B32;
  --brand-deep: #A33B22;
  --map: #C6A15A;
  --pin: #6E8F62;
  --danger: #E7C56A;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(0,0,0,.28);
  --pad: 72px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC","Noto Sans SC","Source Han Sans SC",sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
img { object-fit: cover; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
p { margin: 0 0 0.8em; }
h1, h2, h3, h4 { font-family: inherit; color: var(--ink); margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.28; }
h2 { font-size: clamp(1.28rem, 2vw, 1.72rem); line-height: 1.35; }
h3 { font-size: 1.05rem; line-height: 1.45; }
a { color: var(--map); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
a:active { color: var(--brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--map);
  outline-offset: 2px;
}
::selection { background: rgba(226,91,50,.35); color: var(--ink); }
.container, .grid-container { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[id] { scroll-margin-top: 76px; }

.site-header {
  position: sticky; top: 0; z-index: 40; height: 64px;
  background: rgba(22,18,16,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-lead, .header-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: flex; align-items: center; color: var(--ink); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.logo:hover { color: var(--brand); }
.logo-full { font-size: 15px; }
.logo-short { display: none; font-size: 15px; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 7px; border-radius: 999px;
  border: 1px solid var(--danger); color: var(--danger);
  font-size: 12px; line-height: 1; font-weight: 700; flex: 0 0 auto;
}
.primary-nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; }
.nav-link {
  color: var(--muted); padding: 8px 10px 10px; white-space: nowrap; font-size: 14px;
  box-shadow: inset 0 -2px 0 transparent; border-radius: 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-search { display: flex; align-items: center; gap: 6px; position: relative; }
.nav-search input {
  width: 168px; height: 36px; padding: 0 12px; color: var(--ink);
  background: rgba(49,40,34,.85); border: 1px solid var(--line); border-radius: 999px;
}
.nav-search input::placeholder { color: var(--muted); }
.search-toggle {
  display: none; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--map); align-items: center; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--map); border-color: var(--map); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.text-link { color: var(--map); border-bottom: 1px solid transparent; }
.text-link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--map);
  background: rgba(198,161,90,.08); font-size: 12px; letter-spacing: .04em;
}
.badge-danger { color: #1b160f; background: var(--danger); border-color: var(--danger); }

.hero { padding: 28px 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,239,232,.05), transparent);
}
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--danger); font-size: 13px; margin-bottom: 12px; }
.subline { color: var(--ink); font-size: 1.05rem; margin: 0 0 .6em; }
.lead { color: var(--muted); max-width: 68ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stage {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #241913;
}
.shot { position: absolute; inset: 0; transform: scale(1); transition: transform .45s ease; }
.stage:hover .shot { transform: scale(1.03); }
.shot-art {
  background:
    radial-gradient(circle at 18% 78%, rgba(226,91,50,.48), transparent 36%),
    radial-gradient(circle at 78% 30%, rgba(198,161,90,.28), transparent 32%),
    linear-gradient(165deg, #4a342b 0%, #241913 48%, #120e0c 100%);
}
.skyline {
  position: absolute; left: 0; right: 0; bottom: 18%; height: 42%;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(22,18,16,.82) 6% 9%, transparent 9% 14%, rgba(22,18,16,.7) 14% 22%, transparent 22% 28%, rgba(244,239,232,.16) 28% 30%, transparent 30% 40%, rgba(22,18,16,.78) 40% 55%, transparent 55% 63%, rgba(22,18,16,.66) 63% 74%, transparent 74% 100%);
}
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pin {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; background: rgba(22,18,16,.78);
  border: 1px solid var(--line); color: var(--ink); font-size: 12px;
}
.pin i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.pin-hd { top: 16%; left: 12%; }
.pin-hd i { background: var(--map); }
.pin-resume { top: 42%; right: 10%; }
.pin-resume i { background: var(--pin); }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(22,18,16,.9)); }
.progress-look { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.progress-look span { display: block; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.track { height: 4px; border-radius: 999px; background: rgba(244,239,232,.18); overflow: hidden; }
.track b { display: block; height: 100%; width: 36%; background: var(--brand); border-radius: inherit; }

.section { position: relative; padding: var(--pad) 0; background: var(--bg); border-top: 1px solid var(--line); }
.section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,239,232,.045), transparent);
}
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head .lead:last-child { margin-bottom: 0; }

.matrix { display: grid; grid-template-columns: 1.35fr .9fr .75fr; gap: 14px; }
.zone {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px;
  min-height: 150px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(198,161,90,.16), transparent 28%),
    var(--bg-3);
  box-shadow: var(--shadow); color: var(--ink); position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.zone::after {
  content: ""; position: absolute; inset: 14px 18px auto auto; width: 46px; height: 18px;
  border-top: 1px solid rgba(198,161,90,.7); border-right: 1px solid rgba(110,143,98,.8);
}
.zone:hover { transform: translateY(-2px); border-color: rgba(198,161,90,.45); color: var(--ink); }
.zone p { margin: 0; color: var(--muted); }
.zone-wide { grid-column: 1 / 3; min-height: 168px; }
.zone-tall { grid-row: 1 / span 2; min-height: 320px; }
.zone-mid { min-height: 210px; }
.zone-low { min-height: 168px; }

.stat-row { position: relative; }
.stat {
  position: relative; padding: 18px 8px 8px; z-index: 1;
}
.stat-num { font-size: 2.4rem; line-height: 1; color: var(--map); font-weight: 700; }
.stat-unit { margin-left: 6px; font-size: .95rem; color: var(--muted); font-weight: 500; }
.stat p { color: var(--ink); margin: 10px 0 0; }
.note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.note i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pin); margin-right: 6px; }

.flow { position: relative; }
.flow-line { width: 100%; height: 340px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 16px 14px; 
}
.step-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--pin); color: #14210f;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
.step p { margin: 0; color: var(--muted); }
@media (min-width: 1024px) {
  .flow { height: 390px; }
  .flow-line { position: absolute; inset: 0; height: 100%; }
  .step { position: absolute; width: 240px; }
  .step:nth-child(1) { left: 0; bottom: 0; }
  .step:nth-child(2) { left: 25%; bottom: 30%; }
  .step:nth-child(3) { left: 51%; top: 22%; }
  .step:nth-child(4) { right: 0; top: 0; }
}

.scene-grid { display: grid; grid-template-columns: 1.45fr .9fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 460px; }
.scene {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); min-height: 180px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end;
}
.scene-main { grid-row: 1 / span 2; min-height: 420px; }
.scene h3, .scene p { position: relative; z-index: 1; }
.scene p { margin: 0; color: var(--ink); max-width: 36ch; }
.s1 { background: linear-gradient(160deg, rgba(22,18,16,.15), rgba(22,18,16,.72)), radial-gradient(circle at 30% 70%, rgba(226,91,50,.65), transparent 40%), #3c2b24; }
.s2 { background: linear-gradient(180deg, rgba(22,18,16,.1), rgba(22,18,16,.75)), radial-gradient(circle at 70% 30%, rgba(198,161,90,.5), transparent 42%), #2d241e; }
.s3 { background: linear-gradient(200deg, rgba(22,18,16,.05), rgba(22,18,16,.78)), radial-gradient(circle at 40% 80%, rgba(110,143,98,.45), transparent 46%), #342820; }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.tile {
  display: block; color: var(--ink); background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.tile:hover { color: var(--ink); transform: translateY(-2px); border-color: rgba(226,91,50,.45); }
.tile-wide { grid-column: span 2; }
.thumb { overflow: hidden; aspect-ratio: 3/2; position: relative; }
.tile-wide .thumb { aspect-ratio: 16/9; }
.thumb-inner { position: absolute; inset: 0; transition: transform .45s ease; }
.tile:hover .thumb-inner { transform: scale(1.03); }
.t1 { background: radial-gradient(circle at 20% 80%, rgba(226,91,50,.7), transparent 36%), linear-gradient(160deg, #5a3b2e, #1b1411); }
.t2 { background: radial-gradient(circle at 70% 30%, rgba(198,161,90,.55), transparent 34%), linear-gradient(150deg, #3d3128, #171310); }
.t3 { background: radial-gradient(circle at 40% 60%, rgba(110,143,98,.45), transparent 36%), linear-gradient(180deg, #4a3428, #140f0d); }
.t4 { background: radial-gradient(circle at 80% 80%, rgba(226,91,50,.4), transparent 32%), linear-gradient(200deg, #2a211c, #100d0b); }
.t5 { background: radial-gradient(circle at 30% 40%, rgba(231,197,106,.35), transparent 30%), linear-gradient(145deg, #3a2a24, #120e0c); }
.t6 { background: radial-gradient(circle at 60% 70%, rgba(198,161,90,.4), transparent 38%), linear-gradient(165deg, #463028, #181310); }
.t7 { background: radial-gradient(circle at 15% 30%, rgba(226,91,50,.5), transparent 34%), linear-gradient(180deg, #2e241e, #100d0c); }
.t8 { background: radial-gradient(circle at 50% 80%, rgba(110,143,98,.4), transparent 36%), linear-gradient(155deg, #3f322b, #15110f); }
.tile-body { padding: 12px 14px 14px; }
.tile-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; margin-top: 6px; }
.tile-body p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.filter-bar {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); box-shadow: var(--shadow);
}
.chips, .sorts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .sort-btn {
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  min-height: 34px; padding: 0 12px; cursor: pointer;
}
.chip.is-on, .sort-btn.is-on { color: #1b160f; background: var(--map); border-color: var(--map); }
.chip:hover, .sort-btn:hover { border-color: var(--map); color: var(--ink); }
.chip.is-on:hover, .sort-btn.is-on:hover { color: #1b160f; }
.filter-side { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.count { color: var(--ink); }
.count b { color: var(--map); font-size: 1.4rem; font-weight: 700; }

.note-list { display: flex; flex-direction: column; gap: 12px; }
.note-item {
  display: grid; grid-template-columns: 1fr 168px; gap: 16px; align-items: center;
  padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
  box-shadow: var(--shadow); color: var(--ink);
}
.section.alt .note-item { background: var(--bg); }
.note-item:hover { border-color: rgba(198,161,90,.5); color: var(--ink); }
.note-copy p { margin: 0; color: var(--muted); }
.meta { color: var(--map); font-size: 13px; margin-bottom: 4px; }
.note-thumb { height: 104px; border-radius: 12px; overflow: hidden; position: relative; }
.note-thumb span { position: absolute; inset: 0; transition: transform .45s ease; }
.note-item:hover .note-thumb span { transform: scale(1.03); }
.more-row { display: flex; justify-content: flex-end; margin-top: 16px; }

.fork { display: grid; grid-template-columns: 1.5fr .85fr; gap: 16px; position: relative; }
.fork-card {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 240px;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink);
  background: var(--bg-3); position: relative; overflow: hidden;
}
.fork-card:hover { color: var(--ink); border-color: rgba(226,91,50,.5); }
.fork-main { min-height: 300px; background:
  linear-gradient(135deg, rgba(226,91,50,.18), transparent 40%), var(--bg-3); }
.fork-side { align-self: end; min-height: 220px; }
.path {
  height: 28px; margin-bottom: 18px;
  background:
    linear-gradient(90deg, var(--brand), var(--brand) 18%, transparent 18% 20%, var(--map) 20% 21%, transparent 21%),
    linear-gradient(180deg, transparent 12px, var(--map) 12px 13px, transparent 13px);
}
.fork-side .path { background: linear-gradient(90deg, var(--pin), var(--pin) 30%, transparent 30% 34%, var(--map) 34% 35%, transparent 35%); height: 18px; }

.mark-row { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.mark-track { display: flex; gap: 22px; width: max-content; animation: slide 32s linear infinite; }
.mark-row:hover .mark-track { animation-play-state: paused; }
.mark { color: var(--muted); padding: 6px 2px; white-space: nowrap; }
.mark em { font-style: normal; color: var(--map); margin-right: 8px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rail { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.rail-item { position: relative; display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; padding: 0 0 26px 22px; }
.rail-item::before {
  content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--pin);
}
.time { color: var(--map); }
.rail-item strong { font-weight: 700; }
.state { color: var(--muted); }

.accordion { background: transparent; border: 0; margin-left: 0; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); margin-bottom: 12px; overflow: hidden; }
.accordion-title {
  background: transparent !important; color: var(--ink) !important; border: 0; font-size: 1rem;
  padding: 16px 42px 16px 18px; line-height: 1.5;
}
.accordion-title:hover, .accordion-title:focus { color: var(--brand) !important; background: transparent !important; }
.accordion-content { background: transparent; color: var(--muted); border-top: 1px solid var(--line); padding: 12px 18px 14px; }
.accordion-content p { margin: 0; }

.guard-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; }
.guard {
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); box-shadow: var(--shadow);
}
.guard p { margin: 8px 0 0; color: var(--muted); }

.device-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.device { color: var(--muted); text-align: center; }
.device figcaption { margin-top: 10px; color: var(--ink); }
.device small { color: var(--muted); }
.bezel { border: 1px solid var(--line); background: #1b1613; box-shadow: var(--shadow); padding: 12px; border-radius: 22px; }
.screen { border-radius: 10px; overflow: hidden; position: relative; background: #120e0c; }
.screen span { position: absolute; inset: 0; }
.device-phone { width: 180px; }
.device-phone .bezel { border-radius: 28px; padding: 14px 10px; }
.device-phone .screen { aspect-ratio: 9/16; }
.device-pad { width: 270px; }
.device-pad .screen { aspect-ratio: 4/3; }
.device-desk { width: min(460px, 48%); }
.device-desk .bezel { border-radius: 16px 16px 10px; padding-bottom: 22px; position: relative; }
.device-desk .bezel::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 42px; height: 4px; margin-left: -21px; border-radius: 999px; background: rgba(244,239,232,.2); }
.device-desk .screen { aspect-ratio: 16/9; }

.contact-copy .lead:last-child { margin-bottom: 0; }
.contact-box {
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); box-shadow: var(--shadow);
}
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); padding: 0 12px;
}
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-tip { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.site-footer { background: #120e0c; border-top: 1px solid var(--line); padding: 42px 0 20px; }
.foot-brand { color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.foot-grid h3 { font-size: .95rem; }
.foot-grid a, .foot-grid p { display: block; color: var(--muted); margin: 0 0 .45em; }
.foot-grid a:hover { color: var(--brand); }
.fine { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 1023px) {
  .logo-full { display: none; }
  .logo-short { display: inline; }
  .search-toggle { display: inline-flex; }
  .nav-search input { display: none; position: absolute; top: 46px; right: 0; width: 220px; z-index: 6; }
  .nav-search.is-open input { display: block; }
  .header-tools .btn { padding: 0 12px; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .zone-wide, .zone-tall, .zone-mid, .zone-low { grid-column: auto; grid-row: auto; min-height: 160px; }
  .zone-wide { grid-column: 1 / -1; }
  .flow-line { display: none; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .wall { grid-template-columns: 1fr 1fr; }
  .scene-grid { min-height: 0; }
  .device-desk { width: 42%; }
  .rail-item { grid-template-columns: 120px 1fr; }
  .state { grid-column: 2; }
}
@media (max-width: 768px) {
  .filter-bar, .note-item, .fork, .guard-row { grid-template-columns: 1fr; display: grid; }
  .filter-bar { display: grid; }
  .note-item { grid-template-columns: 1fr 120px; }
  .fork-side { align-self: stretch; }
  .device-row { flex-wrap: wrap; justify-content: center; }
  .device-desk, .device-pad, .device-phone { width: min(100%, 320px); }
}
@media (max-width: 639px) {
  :root { --pad: 40px; }
  .header-row { gap: 8px; }
  .primary-nav { max-width: 42vw; }
  .nav-link { padding: 8px 8px 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .matrix, .steps, .scene-grid, .wall, .guard-row, .note-item { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .scene-main { min-height: 240px; }
  .note-thumb { height: 160px; }
  .rail-item { grid-template-columns: 1fr; gap: 4px; }
  .state { grid-column: auto; }
  .stat-num { font-size: 2rem; }
}
@media (max-width: 520px) {
  .logo-short { font-size: 14px; }
  .header-tools .btn-primary { min-height: 34px; padding: 0 10px; font-size: 13px; }
  h1 { font-size: 1.55rem; }
  .filter-side { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* roulang page: category2 */
:root {
 --bg: #161210;
 --bg-2: #241C18;
 --bg-3: #312822;
 --ink: #F4EFE8;
 --muted: #B7A99C;
 --line: rgba(244,239,232,.14);
 --brand: #E25B32;
 --brand-deep: #A33B22;
 --map: #C6A15A;
 --pin: #6E8F62;
 --danger: #E7C56A;
 --radius: 16px;
 --shadow: 0 14px 36px rgba(0,0,0,.28);
 --pad: 72px;
 --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC","Noto Sans SC","Source Han Sans SC",sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
img { object-fit: cover; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--map); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
a:active { color: var(--brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--map);
 outline-offset: 2px;
}
::selection { background: var(--brand); color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 40px; line-height: 1.28; font-weight: 700; margin-bottom: .45em; letter-spacing: .01em; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin-bottom: .45em; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; margin-bottom: .35em; color: var(--ink); }
p { margin-bottom: .8em; }
.container, .grid-container { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.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;
}
.site-header {
 position: sticky; top: 0; z-index: 40; height: 64px;
 background: rgba(22,18,16,.86);
 border-bottom: 1px solid var(--line);
 backdrop-filter: blur(12px);
}
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-lead, .header-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-lead { flex: 1 1 auto; }
.logo { display: flex; align-items: center; color: var(--ink); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.logo:hover { color: var(--brand); }
.logo-full { font-size: 15px; }
.logo-short { display: none; font-size: 15px; }
.age-badge {
 display: inline-flex; align-items: center; justify-content: center;
 height: 22px; padding: 0 7px; border-radius: 999px;
 border: 1px solid var(--danger); color: var(--danger);
 font-size: 12px; line-height: 1; font-weight: 700; flex: 0 0 auto;
}
.primary-nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; }
.nav-link {
 color: var(--muted); padding: 8px 10px 10px; white-space: nowrap; font-size: 14px;
 box-shadow: inset 0 -2px 0 transparent; border-radius: 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-search { display: flex; align-items: center; gap: 6px; position: relative; }
.nav-search input {
 width: 168px; height: 36px; padding: 0 12px; color: var(--ink);
 background: rgba(49,40,34,.85); border: 1px solid var(--line); border-radius: 999px;
}
.nav-search input::placeholder { color: var(--muted); }
.search-toggle {
 display: none; width: 36px; height: 36px; border-radius: 999px;
 border: 1px solid var(--line); background: transparent; color: var(--map);
 align-items: center; justify-content: center; cursor: pointer;
}
.search-toggle:hover { color: var(--brand); border-color: var(--brand); }
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 6px;
 min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
 cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
 line-height: 1; white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--map); border-color: var(--map); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.header-tools .btn { min-height: 36px; height: 36px; padding: 0 14px; font-size: 14px; }
.badge {
 display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
 border-radius: 999px; border: 1px solid var(--line); color: var(--map);
 background: rgba(198,161,90,.08); font-size: 12px; letter-spacing: .04em;
}
.badge-pin { color: #e7f0e2; border-color: rgba(110,143,98,.45); background: rgba(110,143,98,.16); }
.section { position: relative; padding: var(--pad) 0; background: var(--bg); border-top: 1px solid var(--line); }
.section::before {
 content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28px; pointer-events: none;
 background: linear-gradient(180deg, rgba(244,239,232,.045), transparent);
}
.section.alt { background: var(--bg-2); }
.page-top { border-top: 0; }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head .lead:last-child, .lead:last-child { margin-bottom: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--danger); font-size: 13px; margin-bottom: 12px; }
.lead { color: var(--muted); max-width: 68ch; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--map); }
.scale-card, .preview-card, .scan-row, .note-card, .article-line, .assure-card, .faq-wrap {
 background: var(--bg-3);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.scale-card { padding: 18px 18px 16px; position: relative; overflow: hidden; }
.scale-card svg.route {
 position: absolute; right: 0; top: 8px; width: 180px; height: 72px; opacity: .55; pointer-events: none;
}
.scale-top, .scale-marks, .tile-meta, .scan-side, .article-line, .q-row {
 display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.scale-top strong, .q-num { color: var(--map); font-size: 28px; line-height: 1; font-weight: 700; }
.scale-top span, .scale-marks, .time, .fine, .muted { color: var(--muted); }
.scale-marks { font-size: 12px; margin-top: 8px; }
.scale-track, .mini, .q-track {
 position: relative; height: 6px; border-radius: 999px; background: rgba(244,239,232,.1); overflow: hidden; flex: 1;
}
.scale-track { margin-top: 14px; height: 8px; }
.scale-track > span, .mini > i, .q-track > span {
 display: block; height: 100%; border-radius: inherit;
 background: linear-gradient(90deg, var(--pin), var(--map) 55%, var(--brand));
}
.replay-main { padding-bottom: 64px; }
.list-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.list-head p { margin: 0; color: var(--muted); font-size: 13px; }
.scan-list { display: flex; flex-direction: column; gap: 10px; }
.scan-row {
 display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 12px; align-items: center;
 padding: 12px 14px; cursor: pointer; transition: border-color .2s ease, transform .2s ease;
}
.scan-row:hover { border-color: rgba(198,161,90,.55); }
.scan-row.is-on { border-color: var(--brand); background: #3a2c24; }
.scan-row:active { transform: translateY(1px); }
.pin {
 width: 10px; height: 10px; border-radius: 999px; background: var(--pin);
 box-shadow: 0 0 0 4px rgba(110,143,98,.16); display: inline-block;
}
.scan-title { color: var(--ink); font-weight: 700; font-size: 17px; }
.scan-title:hover { color: var(--brand); }
.scan-row p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.scan-side { flex-direction: column; align-items: flex-end; min-width: 112px; }
.mini { width: 96px; flex: none; }
.preview-card { padding: 12px; position: sticky; top: 80px; }
.frame {
 position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
 border: 1px solid var(--line); background: #241913;
}
.frame-shot {
 position: absolute; inset: 0; transition: transform .35s ease;
 background:
  radial-gradient(circle at 18% 30%, rgba(226,91,50,.5), transparent 36%),
  radial-gradient(circle at 78% 70%, rgba(198,161,90,.28), transparent 32%),
  linear-gradient(165deg, #4a3228, #1a1411 72%);
}
.frame-shot[data-tone="2"] { background: radial-gradient(circle at 70% 24%, rgba(226,91,50,.42), transparent 34%), linear-gradient(160deg, #3d3324, #171310 70%); }
.frame-shot[data-tone="3"] { background: radial-gradient(circle at 40% 80%, rgba(110,143,98,.4), transparent 36%), linear-gradient(180deg, #3a2a28, #140f0d 74%); }
.frame-shot[data-tone="4"] { background: radial-gradient(circle at 30% 40%, rgba(231,197,106,.28), transparent 32%), linear-gradient(200deg, #4a2e24, #120e0c 72%); }
.preview-card:hover .frame-shot { transform: scale(1.03); }
.frame-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(22,18,16,.92)); }
.frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame-caption {
 position: absolute; left: 12px; right: 12px; bottom: 22px; z-index: 1;
 display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.frame-caption strong { font-size: 18px; }
.frame .scale-track { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; margin: 0; }
.clarity-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.clarity-switch button {
 border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted);
 min-height: 34px; padding: 0 12px; cursor: pointer;
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.clarity-switch button.is-on { color: #1b160f; background: var(--map); border-color: var(--map); }
.clarity-switch button:hover { border-color: var(--map); color: var(--ink); }
.clarity-switch button.is-on:hover { color: #1b160f; }
.clarity-switch button:active { transform: translateY(1px); }
.preview-card .muted { margin: 10px 2px 2px; font-size: 13px; }
.stagger { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; align-items: start; }
.note-card { padding: 16px; min-height: 150px; }
.note-card:nth-child(2) { margin-top: 34px; }
.note-card:nth-child(3) { margin-top: 12px; }
.note-card:nth-child(4) { margin-top: 46px; }
.note-card p { color: var(--muted); margin-bottom: 0; font-size: 14px; }
.q-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.q-row { align-items: center; gap: 14px; }
.q-name { width: 72px; flex: none; font-weight: 700; }
.q-note { width: 120px; flex: none; color: var(--muted); font-size: 13px; text-align: right; }
.q-track { height: 10px; }
.article-list { display: flex; flex-direction: column; gap: 10px; }
.article-line { padding: 14px 16px; align-items: center; transition: border-color .2s ease; }
.article-line:hover { border-color: rgba(198,161,90,.5); }
.article-line a { color: var(--ink); font-weight: 700; }
.article-line a:hover { color: var(--brand); }
.article-line p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.article-line .time { white-space: nowrap; font-size: 13px; }
.assure-row { display: grid; grid-template-columns: 1.25fr .9fr .9fr; gap: 14px; }
.assure-card { padding: 18px 16px 8px; background: rgba(22,18,16,.35); }
.assure-card p { color: var(--muted); }
.faq-wrap { padding: 8px 18px; background: var(--bg-3); }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-title {
 color: var(--ink); background: transparent; padding: 16px 2.2rem 16px 0;
 font-size: 16px; line-height: 1.5; border: 0;
}
.accordion-title:hover, .accordion-title:focus { color: var(--brand); background: transparent; }
.accordion-title::before { border-color: var(--map) !important; }
.accordion-content { background: transparent; color: var(--muted); border: 0; padding: 0 0 14px; }
.accordion-content p { margin-bottom: 0; }
.close-band .btn { margin-top: 6px; }
.site-footer { background: #120e0c; border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); }
.foot-brand { color: var(--ink); font-weight: 700; margin: 0 0 8px; font-size: 16px; }
.site-footer h3 { color: var(--ink); font-size: 15px; margin: 0 0 10px; }
.site-footer a { display: block; margin: 0 0 6px; }
.site-footer p { margin-bottom: .8em; }
.fine { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 1023px) {
 :root { --pad: 56px; }
 h1 { font-size: 34px; }
 .preview-wrap { order: -1; }
 .preview-card { position: static; margin-bottom: 8px; }
 .stagger { grid-template-columns: 1fr 1fr; }
 .note-card:nth-child(n) { margin-top: 0; }
 .note-card:nth-child(even) { margin-top: 22px; }
 .assure-row { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
 :root { --pad: 40px; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .logo-full { display: none; }
 .logo-short { display: inline; }
 .header-row, .header-lead, .header-tools { gap: 8px; }
 .nav-link { padding: 8px 6px 10px; font-size: 13px; }
 .header-tools .btn { padding: 0 10px; font-size: 13px; }
 .nav-search input { display: none; }
 .search-toggle { display: inline-flex; }
 .nav-search.is-open input {
  display: block; position: absolute; top: 46px; right: 0; width: min(220px, 72vw); z-index: 60;
 }
 .scan-row { grid-template-columns: 14px minmax(0,1fr); }
 .scan-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; min-width: 0; }
 .stagger { display: flex; overflow-x: auto; padding-bottom: 6px; }
 .note-card { min-width: 220px; margin-top: 0 !important; }
 .note-card:nth-child(even) { margin-top: 16px !important; }
 .q-row { flex-wrap: wrap; }
 .q-note { width: auto; text-align: left; }
 .article-line { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 640px) and (max-width: 1023px) {
 .nav-search input { width: 120px; }
}

/* roulang page: category1 */
:root {
  --bg: #161210;
  --bg-2: #241C18;
  --bg-3: #312822;
  --ink: #F4EFE8;
  --muted: #B7A99C;
  --line: rgba(244,239,232,.14);
  --brand: #E25B32;
  --brand-deep: #A33B22;
  --map: #C6A15A;
  --pin: #6E8F62;
  --danger: #E7C56A;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(0,0,0,.28);
  --pad: 72px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC","Noto Sans SC","Source Han Sans SC",sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
img { object-fit: cover; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
p { margin: 0 0 0.8em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: inherit; color: var(--ink); font-weight: 700; }
h1 { font-size: 40px; line-height: 1.28; margin: 0 0 0.35em; letter-spacing: 0; }
h2 { font-size: 28px; line-height: 1.35; margin: 0 0 0.4em; }
h3 { font-size: 18px; line-height: 1.45; margin: 0 0 0.35em; }
a { color: var(--map); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .15s ease; }
a:hover { color: var(--brand); }
a:active { color: var(--brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .chip:focus-visible, .sort-btn:focus-visible {
  outline: 2px solid var(--map);
  outline-offset: 2px;
}
::selection { background: var(--brand); color: #fff; }
.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, .grid-container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
#play, #tonight, #contact, #age, #screen { scroll-margin-top: 80px; }
.site-header {
  position: sticky; top: 0; z-index: 40; height: 64px;
  background: rgba(22,18,16,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-lead, .header-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: flex; align-items: center; color: var(--ink); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.logo:hover { color: var(--brand); }
.logo-full { font-size: 15px; }
.logo-short { display: none; font-size: 15px; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 7px; border-radius: 999px;
  border: 1px solid var(--danger); color: var(--danger);
  font-size: 12px; line-height: 1; font-weight: 700; flex: 0 0 auto;
}
.primary-nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; }
.nav-link {
  color: var(--muted); padding: 8px 10px 10px; white-space: nowrap; font-size: 14px;
  box-shadow: inset 0 -2px 0 transparent; border-radius: 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-search { display: flex; align-items: center; gap: 6px; position: relative; }
.nav-search input {
  width: 168px; height: 36px; padding: 0 12px; color: var(--ink);
  background: rgba(49,40,34,.85); border: 1px solid var(--line); border-radius: 999px;
}
.nav-search input::placeholder { color: var(--muted); }
.search-toggle {
  display: none; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--map);
  align-items: center; justify-content: center; cursor: pointer;
}
.search-toggle:hover { color: var(--brand); border-color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  line-height: 1; white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--map); border-color: var(--map); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--map);
  background: rgba(198,161,90,.08); font-size: 12px; letter-spacing: .04em;
  white-space: nowrap;
}
.badge-danger { color: #1b160f; background: var(--danger); border-color: var(--danger); }
.section {
  position: relative;
  padding: var(--pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.section::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,239,232,.045), transparent);
}
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.lead { color: var(--muted); max-width: 68ch; }
.chips, .sorts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .sort-btn {
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  min-height: 34px; padding: 0 12px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.chip.is-on, .sort-btn.is-on { color: #1b160f; background: var(--map); border-color: var(--map); }
.chip:hover, .sort-btn:hover { border-color: var(--map); color: var(--ink); }
.chip.is-on:hover, .sort-btn.is-on:hover { color: #1b160f; }
.chip:active, .sort-btn:active { transform: translateY(1px); }
.page-mast { background: var(--bg); }
.mast-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .7fr);
  gap: 28px;
  align-items: end;
}
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--danger); font-size: 13px; margin: 0 0 12px; }
.filter-box {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(49,40,34,.55);
}
.mast-line {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.catalog-section { background: var(--bg-2); }
.focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #241913;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.focus-visual {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.focus-shot, .film-shot, .note-visual {
  width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  transition: transform .35s ease;
}
.focus-card:hover .focus-shot, .film-card:hover .film-shot, .note-item:hover .note-visual { transform: scale(1.03); }
.focus-shot { background-image: linear-gradient(145deg, rgba(22,18,16,.15), rgba(22,18,16,.55)), linear-gradient(120deg, #3a241c 0%, #a33b22 42%, #c6a15a 100%); }
.shot-a { background-image: linear-gradient(160deg, #2a1b16, #e25b32 70%, #c6a15a); }
.shot-b { background-image: linear-gradient(200deg, #1b1614, #6e4a32 45%, #e7c56a); }
.shot-c { background-image: linear-gradient(135deg, #312822, #a33b22 55%, #f4efe8); }
.shot-d { background-image: linear-gradient(180deg, #241c18, #6e8f62 80%); }
.shot-e { background-image: linear-gradient(145deg, #161210, #c6a15a 60%, #e25b32); }
.shot-f { background-image: linear-gradient(210deg, #3a241c, #241c18 40%, #e7c56a); }
.shot-g { background-image: linear-gradient(120deg, #1d1916, #8d5a3c 50%, #b7a99c); }
.shot-h { background-image: linear-gradient(165deg, #2c211c, #a33b22 48%, #6e8f62); }
.route {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .85;
}
.pin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--pin); box-shadow: 0 0 0 4px rgba(110,143,98,.25);
}
.pin-a { left: 28%; top: 42%; }
.pin-b { right: 18%; top: 22%; }
.float-badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.stage-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(22,18,16,.92));
}
.focus-copy { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-3); }
.focus-copy h2 { margin: 0; }
.meta-row, .tile-meta, .note-meta {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}
.screen-frame {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22,18,16,.45);
}
.screen-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.progress-track { height: 4px; border-radius: 999px; background: rgba(244,239,232,.16); overflow: hidden; }
.progress-track span { display: block; height: 100%; background: var(--brand); }
.screen-frame p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.stagger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  align-items: start;
}
.film-card {
  display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow); color: inherit;
}
.film-card.wide { grid-column: span 2; }
.film-card:hover { color: inherit; border-color: rgba(198,161,90,.5); }
.film-card:hover strong { color: var(--brand); }
.film-visual { overflow: hidden; background: #241913; }
.film-card.tall .film-visual { aspect-ratio: 3/4; }
.film-card.mid .film-visual { aspect-ratio: 1/1; }
.film-card.short .film-visual { aspect-ratio: 4/3; }
.film-card.wide .film-visual { aspect-ratio: 16/9; }
.film-copy { padding: 12px 14px 14px; }
.film-copy strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.35; margin: 8px 0 4px; }
.film-copy p { color: var(--muted); font-size: 14px; }
.film-card[hidden] { display: none; }
.point-row {
  display: grid;
  grid-template-columns: 1.5fr .9fr .7fr;
  gap: 12px;
  align-items: stretch;
}
.point {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(49,40,34,.45);
  padding: 18px 16px;
  min-height: 92px;
  display: flex;
  align-items: flex-end;
}
.point-main { background: var(--bg-3); box-shadow: var(--shadow); min-height: 140px; }
.point .badge { font-size: 14px; height: 32px; padding: 0 14px; }
.sort-bar {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3);
}
.sort-note { color: var(--muted); margin: 0; }
.note-list { display: flex; flex-direction: column; gap: 12px; }
.note-item {
  display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 16px; align-items: center;
  padding: 12px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-3); color: inherit; box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.note-item:hover { color: inherit; border-color: rgba(198,161,90,.45); }
.note-item:hover strong { color: var(--brand); }
.note-item strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.35; }
.note-item p { color: var(--muted); font-size: 14px; margin: 4px 0; }
.note-visual { height: 104px; border-radius: 12px; overflow: hidden; }
.week-rail { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 1px solid var(--line); }
.week-rail li {
  display: grid; grid-template-columns: 16px 148px minmax(0, 1fr) auto;
  gap: 12px; align-items: center; padding: 13px 0 13px 18px; position: relative;
}
.week-rail li + li { border-top: 1px solid var(--line); }
.dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pin);
  box-shadow: 0 0 0 4px rgba(110,143,98,.18); justify-self: center;
}
.when { color: var(--map); font-weight: 700; }
.what { color: var(--ink); }
.state { color: var(--muted); font-size: 13px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border: 0; background: transparent; margin: 0 0 10px; }
.accordion-title {
  color: var(--ink) !important;
  background: var(--bg-3) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  font-size: 16px;
  line-height: 1.5;
  padding: 14px 42px 14px 16px;
}
.accordion-title:hover, .accordion-title:focus { color: var(--brand) !important; background: var(--bg-3) !important; }
.accordion-item.is-active > .accordion-title {
  border-color: var(--map) !important;
  border-radius: 16px 16px 0 0 !important;
  color: var(--ink) !important;
}
.accordion-title::before { color: var(--map); }
.accordion-content {
  color: var(--muted);
  background: var(--bg-3) !important;
  border: 1px solid var(--line) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px;
  padding: 2px 16px 12px;
}
.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: #241913;
  box-shadow: var(--shadow);
}
.site-footer {
  background: #100e0c;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  color: var(--muted);
}
.foot-brand { color: var(--ink); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.site-footer h3 { color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.site-footer a { display: block; padding: 4px 0; color: var(--map); }
.site-footer a:hover { color: var(--brand); }
.site-footer .cell { margin-bottom: 18px; }
.fine {
  border-top: 1px solid var(--line);
  margin: 8px 0 0;
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1023px) {
  h1 { font-size: 34px; }
  .stagger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-card.wide { grid-column: span 2; }
  .point-row { grid-template-columns: 1fr 1fr; }
  .point-main { grid-column: 1 / -1; min-height: 110px; }
  .focus-card { grid-template-columns: 1fr; }
  .focus-visual { min-height: 240px; }
}
@media (max-width: 768px) {
  .mast-row { grid-template-columns: 1fr; }
  .filter-box { justify-content: flex-start; }
  .note-item { grid-template-columns: 1fr 120px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .week-rail li { grid-template-columns: 14px 112px minmax(0, 1fr); }
  .state { grid-column: 2 / -1; }
}
@media (max-width: 639px) {
  :root { --pad: 40px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .logo-full { display: none; }
  .logo-short { display: inline; }
  .header-lead, .header-tools { gap: 6px; }
  .nav-link { padding: 8px 6px 10px; font-size: 13px; }
  .nav-search input { display: none; width: 180px; }
  .nav-search.is-open input {
    display: block; position: absolute; right: 0; top: 46px; z-index: 6;
    box-shadow: var(--shadow);
  }
  .search-toggle { display: inline-flex; }
  .btn { min-height: 36px; padding: 0 12px; }
  .stagger, .point-row { grid-template-columns: 1fr; }
  .film-card.wide { grid-column: auto; }
  .film-card.tall .film-visual, .film-card.mid .film-visual, .film-card.short .film-visual, .film-card.wide .film-visual { aspect-ratio: 16/10; }
  .note-item { grid-template-columns: 1fr; }
  .note-visual { height: 140px; }
  .week-rail li { grid-template-columns: 12px minmax(0, 1fr); }
  .when, .what, .state { grid-column: 2; }
}
@media (max-width: 520px) {
  .grid-container { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 26px; }
  .header-row { gap: 8px; }
  .primary-nav { max-width: 42vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
