/* 공식 사이트 소개(/) · 공식 커뮤니티(/community/)
 *
 * 원작자가 고른 시안(2026-10-19)을 옮긴 것이다. 소개는 한 페이지 스크롤(첫 화면 장면 → 세계 → 네임드 → 게임 특징 → 미디어 →
 * 커뮤니티 안내), 커뮤니티는 왼쪽 메뉴 + 묶음별 최신 글 카드(지금은 읽기 전용). 색 · 글꼴 이름은 site.css 의 --o- 를 쓴다.
 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--o-night); color: var(--o-ink); font-family: var(--o-body); font-size: 15px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--o-gold); color: var(--o-night); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
.gut { padding-left: var(--o-gut); padding-right: var(--o-gut-r); }
.wrap { max-width: 1180px; margin: 0 auto; }

/* ── 첫 화면: 게임 타이틀 장면 + 언덕을 걷는 단원 ── */
.hero { position: relative; background: #05060b; container-type: inline-size; }
.scene { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #05060b 0%, #05060b00 26%), linear-gradient(180deg, #05060b99, #05060b00 20%); pointer-events: none; }
/* 키는 스트립 높이(--px, 사람 약 190)에 비례 — 드워프는 그만큼 작다 */
.walker { --wk: 0.0326cqw; position: absolute; left: 0; top: 0; height: calc(var(--px) * var(--wk)); aspect-ratio: var(--ar); background: var(--img, none) 0 0 / 800% 100% no-repeat; filter: brightness(.86) saturate(.9);
  animation: steps8 1.2s steps(8) infinite, walk var(--dur) linear infinite; animation-delay: 0s, var(--delay); z-index: 1; }
@keyframes steps8 { to { background-position-x: 114.2857%; } }
@keyframes walk {
  0%   { transform: translate(16cqw, calc(48.2cqw - 100%)); opacity: 0; }
  7%   { opacity: 1; }
  50%  { transform: translate(37cqw, calc(46.9cqw - 100%)); }
  93%  { opacity: 1; }
  100% { transform: translate(57cqw, calc(47.1cqw - 100%)); opacity: 0; }
}
.hero-copy { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-copy .wrap { position: relative; height: 100%; }
.hero-copy .wrap > * { pointer-events: auto; }
.hc-top { position: absolute; left: 0; top: 6cqw; max-width: 42cqw; }
.hero-copy .cta { position: absolute; right: 0; bottom: 2.6cqw; }
.kicker { font-family: var(--o-pixel); font-size: 14px; letter-spacing: .14em; opacity: .9; }
.hero h1 { font-family: var(--o-pixel); font-weight: 700; font-size: clamp(44px, 7.4cqw, 104px); line-height: 1.05; margin: 6px 0 10px; color: var(--o-gold); text-shadow: 0 4px 0 #6b3a10, 0 8px 30px #000; letter-spacing: .02em; }
/* 영어 이름은 두 줄(Tower & / Mercenaries)로 선다 — 낱말 가운데서 끊지 않는다 */
.hero h1 { overflow-wrap: normal; word-break: keep-all; }
:lang(en) .hc-top { max-width: 50cqw; }
:lang(en) .hero h1 { font-size: clamp(36px, 5.4cqw, 78px); }
.hero .tag { margin: 0; font-size: clamp(15px, 1.5cqw, 19px); max-width: 34ch; text-shadow: 0 2px 10px #000; }
.facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.facts span { font-size: 12px; border: 1px solid #ffffff2a; padding: 2px 8px; background: #00000066; }
.cta { display: grid; gap: 8px; width: 320px; max-width: 100%; }
.cta .main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; text-decoration: none; background: linear-gradient(180deg, var(--o-crimson-hi), var(--o-crimson)); border: 2px solid var(--o-gold); box-shadow: inset 0 0 0 2px #00000055, 0 6px 20px #0008; font-family: var(--o-pixel); font-weight: 700; font-size: 20px; color: #fff3e0; }
.cta .main small { font-family: var(--o-body); font-weight: 400; font-size: 12px; opacity: .85; }
.cta .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cta .row a { min-height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; background: #0b0f1bdd; border: 1px solid var(--o-line); font-size: 14px; font-weight: 700; }

/* ── 절 공통 ── */
.sec { padding-block: 84px; position: relative; }
.sec-h { text-align: center; margin-bottom: 34px; }
.sec-h .orn { width: min(420px, 80%); height: auto; margin: 0 auto 10px; opacity: .9; }
.sec-h h2 { font-family: var(--o-pixel); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); margin: 0; letter-spacing: .02em; }
.sec-h p { margin: 8px auto 0; color: var(--o-dim); max-width: 58ch; }

/* 세계: 층 눈금으로 넘기는 그림 */
.world { background: radial-gradient(ellipse at 50% 0%, #1d1530 0%, var(--o-night) 60%); }
.floors { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--o-line); background: var(--o-night-2); }
.floors .pic { position: relative; min-height: 420px; overflow: hidden; }
.floors .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.floors .txt { padding: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; min-width: 0; }
.floors .fl { font-family: var(--o-pixel); color: var(--o-gold); font-size: 14px; letter-spacing: .1em; }
.floors h3 { font-family: var(--o-pixel); font-size: clamp(24px, 3vw, 34px); margin: 4px 0 12px; }
.floors .txt p { margin: 0 0 10px; color: var(--o-dim); max-width: 46ch; }
.rail { margin-top: auto; padding-top: 26px; position: relative; display: flex; justify-content: space-between; gap: 4px; }
.rail::before { content: ""; position: absolute; left: 10px; right: 10px; top: 36px; height: 2px; background: var(--o-line); }
.rail button { position: relative; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 6px; padding: 0; color: var(--o-dim); font-size: 12px; font-variant-numeric: tabular-nums; min-width: 40px; }
.rail button i { width: 22px; height: 22px; border-radius: 50%; background: var(--o-night); border: 2px solid var(--o-line); display: block; }
.rail button[aria-selected="true"] { color: var(--o-gold); }
.rail button[aria-selected="true"] i { border-color: var(--o-gold); background: radial-gradient(circle, var(--o-gold) 40%, var(--o-night) 45%); }

/* 네임드: 큰 그림 + 얼굴 줄 */
.cast { background: var(--o-night-2); border-block: 1px solid var(--o-line); }
.stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.stage .portrait { position: relative; aspect-ratio: 3 / 4; max-height: 640px; border: 1px solid var(--o-line); background: var(--o-night); overflow: hidden; }
.stage .portrait img { width: 100%; height: 100%; object-fit: cover; }
.stage .badge { position: absolute; left: 12px; top: 12px; font-family: var(--o-pixel); font-size: 12px; background: var(--o-crimson); color: #fff3e0; padding: 2px 8px; }
.stage .badge[hidden] { display: none; }
.who .role { font-family: var(--o-pixel); color: var(--o-gold); font-size: 13px; letter-spacing: .1em; }
.who h3 { font-family: var(--o-pixel); font-weight: 700; font-size: clamp(30px, 4vw, 48px); margin: 4px 0 12px; line-height: 1.15; }
.who p { font-size: 17px; margin: 0 0 18px; max-width: 34ch; }
.who .how { font-size: 13px; color: var(--o-dim); border-left: 2px solid var(--o-gold-deep); padding-left: 10px; }
.who .more { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--o-gold); text-decoration: none; }
.faces { display: flex; gap: 8px; overflow-x: auto; padding: 22px 2px 6px; scroll-snap-type: x proximity; }
.faces button { flex: 0 0 auto; width: 76px; padding: 0; border: 2px solid transparent; background: var(--o-night); cursor: pointer; scroll-snap-align: start; }
.faces button img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; filter: grayscale(.55) brightness(.75); transition: filter .2s; }
.faces button:hover img, .faces button[aria-selected="true"] img { filter: none; }
.faces button[aria-selected="true"] { border-color: var(--o-gold); }
.faces span { display: block; font-size: 11px; line-height: 1.3; text-align: center; padding: 3px 2px; color: var(--o-dim); }

/* 게임 특징: 양피지 바탕 */
.feat { background: var(--o-parch); color: var(--o-parch-ink); }
.feat .sec-h p { color: var(--o-parch-dim); }
.feat .sec-h .orn { filter: sepia(.4) brightness(.55); }
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs button { background: transparent; border: 1px solid var(--o-parch-line); padding: 8px 16px; cursor: pointer; font-family: var(--o-pixel); font-size: 14px; color: var(--o-parch-dim); }
.tabs button[aria-selected="true"] { background: var(--o-parch-ink); color: var(--o-parch); border-color: var(--o-parch-ink); }
.panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.panel img { width: 100%; height: auto; border: 6px solid var(--o-parch-ink); box-shadow: 0 18px 40px #2a211744; }
.panel h3 { font-family: var(--o-pixel); font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 10px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { padding-left: 16px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--o-crimson); transform: rotate(45deg); }

/* 미디어 */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--o-line); }
.strip figcaption { font-size: 13px; color: var(--o-dim); margin-top: 6px; }
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.vids a { text-decoration: none; display: block; }
.vids .th { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--o-line); }
.vids .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.vids .th::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff; background: #0006; }
.vids b { display: block; margin-top: 8px; font-size: 15px; }
.vids small { color: var(--o-dim); }

/* 커뮤니티 안내 띠 */
.come { position: relative; overflow: hidden; }
.come > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.come .wrap { position: relative; padding-block: 70px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.come h2 { font-family: var(--o-pixel); font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.come p { margin: 0; max-width: 52ch; }
.come .go { text-decoration: none; border: 2px solid var(--o-gold); color: var(--o-gold); padding: 12px 22px; font-family: var(--o-pixel); font-weight: 700; background: #0009; }

/* ════ 공식 커뮤니티 ════ */
.kind-community { background: var(--o-parch-2); color: var(--o-parch-ink); }
.cm-body { border-top: 3px solid var(--o-gold-deep); }
.cm-body .wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; padding-block: 26px 50px; }
.welcome { margin: 0 0 12px; color: var(--o-parch-dim); font-size: 14px; }
.side { background: var(--o-parch); border: 1px solid var(--o-parch-line); padding: 18px 16px; align-self: start; }
.side .home { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.side .home img { width: 44px; height: 44px; }
.side .home b { display: block; font-family: var(--o-pixel); font-size: 15px; }
.side .home small { color: var(--o-parch-dim); font-size: 12px; }
.side h4 { font-family: var(--o-pixel); font-size: 14px; margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--o-parch-line); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.side li a { display: block; padding: 3px 0; text-decoration: none; color: var(--o-parch-ink); }
.side li a:hover { text-decoration: underline; }
.side li.soon { color: var(--o-parch-dim); padding: 3px 0; }
.side li.soon em { font-style: normal; font-size: 11px; border: 1px solid var(--o-parch-line); padding: 0 5px; margin-left: 6px; }
.side .ext::after { content: " ↗"; color: var(--o-parch-dim); }
.side .promo { display: block; margin-top: 18px; position: relative; text-decoration: none; }
.side .promo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.side .promo span { position: absolute; inset: auto 0 0; background: linear-gradient(0deg, #000c, #0000); color: #fff; font-family: var(--o-pixel); padding: 24px 10px 10px; font-size: 14px; text-align: center; }
/* 배너 높이는 가장 긴 배너 글에 맞춘다 — 모든 칸이 같은 격자 칸에 겹쳐 서서 높이를 함께 정한다(고정 비율이면 긴 이벤트 설명이 아래로 잘렸다) */
.banner { position: relative; display: grid; min-height: 260px; overflow: hidden; border: 1px solid var(--o-parch-line); background: var(--o-night); }
.banner .slide { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); color: var(--o-ink); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.banner .slide.on { opacity: 1; visibility: visible; }
.banner .slide img { width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: 50% 22%; }
.banner .slide .t { padding: clamp(14px, 3vw, 30px) clamp(14px, 3vw, 30px) 40px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, var(--o-night), var(--o-night-2)); min-width: 0; }
.banner .pill { font-family: var(--o-pixel); font-size: 12px; background: var(--o-crimson); color: #fff3e0; padding: 2px 8px; width: max-content; max-width: 100%; margin-bottom: 8px; }
.banner h2 { font-family: var(--o-pixel); font-size: clamp(18px, 2.4vw, 28px); margin: 0 0 6px; line-height: 1.25; }
.banner p { margin: 0; color: var(--o-dim); font-size: 14px; }
.dots { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 6px; z-index: 2; }
.dots button { width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff5; }
.dots button.on::before { background: var(--o-gold); }
.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.board { scroll-margin-top: 70px; }
.board > h2 { font-family: var(--o-pixel); font-size: 16px; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.board > h2 a { font-family: var(--o-body); font-size: 12px; color: var(--o-parch-dim); text-decoration: none; }
.board .card { background: var(--o-parch); border: 1px solid var(--o-parch-line); }
.board .lead { display: block; text-decoration: none; }
.board .lead img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.board .lead div { padding: 10px 12px 4px; }
.board .lead b { display: block; font-size: 15px; }
.board .lead small { color: var(--o-parch-dim); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board ul { list-style: none; margin: 0; padding: 6px 12px 10px; }
.board li { border-top: 1px dashed var(--o-parch-line); font-size: 14px; }
.board li:first-child { border-top: 0; }
.board .lead + ul li:first-child { border-top: 1px dashed var(--o-parch-line); }
.board li > a, .board li > .ev { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; text-decoration: none; }
.board li a:hover span { text-decoration: underline; }
.board li span { min-width: 0; }
.board li time { color: var(--o-parch-dim); font-size: 12px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.new { display: inline-block; font-size: 10px; background: var(--o-crimson); color: #fff; border-radius: 50%; width: 15px; height: 15px; line-height: 15px; text-align: center; margin-left: 4px; vertical-align: 1px; font-weight: 700; font-style: normal; }
.ended { font-size: 11px; color: var(--o-parch-dim); border: 1px solid var(--o-parch-line); padding: 0 4px; margin-left: 4px; font-style: normal; }
.card.help { padding: 12px; font-size: 14px; }
.card.help p { margin: 0 0 8px; }
.card.help a { color: var(--o-crimson); font-weight: 700; }
.card.help .dm { font-size: 12px; color: var(--o-parch-dim); margin: 0; }
.lounge { margin-top: 24px; }
.soonbox { background: repeating-linear-gradient(135deg, var(--o-parch), var(--o-parch) 10px, var(--o-parch-2) 10px, var(--o-parch-2) 20px); border: 1px dashed var(--o-parch-line); padding: 22px 16px; text-align: center; color: var(--o-parch-dim); font-size: 14px; }
.soonbox b { display: block; color: var(--o-parch-ink); font-family: var(--o-pixel); margin-bottom: 4px; }
#videos { margin-top: 24px; }
.cm-vids { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.cm-vids a { position: relative; display: block; text-decoration: none; overflow: hidden; border: 1px solid var(--o-parch-line); }
.cm-vids img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.cm-vids span { position: absolute; inset: auto 0 0; background: linear-gradient(0deg, #000d, #0000); color: #fff; padding: 22px 10px 8px; font-size: 14px; }
.cm-vids .col { display: grid; gap: 12px; }

/* ── 커뮤니티 하위 페이지(2026-10-19): 지금 자리 · 찾기 · 게시판 목록 · 글 · 영상 · 질문 ── */
.side .home { text-decoration: none; color: inherit; }
.side li a[aria-current="page"], .side .home[aria-current="page"] b { color: var(--o-crimson); font-weight: 700; }
.side li a[aria-current="page"]::before { content: "▸ "; }
/* 안내 주제에서 「게임 안내 전체」 밑에 그 갈래의 주제를 펼친다 */
.side ul.sub { margin: 2px 0 4px 10px; padding-left: 10px; border-left: 1px solid var(--o-parch-line); gap: 0; font-size: 13px; }
.side ul.sub a { padding: 2px 0; color: var(--o-parch-dim); }
.side ul.sub a[aria-current="location"] { color: var(--o-crimson); font-weight: 700; }
.cm-bar { display: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cm-search { position: relative; margin: 0 0 16px; }
.cm-search[hidden] { display: none; }
.cm-search input { width: 100%; font: inherit; font-size: 15px; padding: 10px 14px 10px 38px; border: 1px solid var(--o-parch-line); background: var(--o-parch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236a5a42' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 13px 50% no-repeat; color: var(--o-parch-ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.cm-search input:focus { outline: 2px solid var(--o-gold-deep); outline-offset: 0; }
.cm-hits { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; list-style: none; margin: 2px 0 0; padding: 4px 0; background: var(--o-parch); border: 1px solid var(--o-parch-line); box-shadow: 0 12px 28px #2a211744; max-height: 60vh; overflow-y: auto; }
.cm-hits[hidden] { display: none; }
.cm-hits a { display: flex; gap: 10px; padding: 8px 14px; text-decoration: none; font-size: 14px; }
.cm-hits a:hover, .cm-hits a:focus { background: var(--o-parch-2); }
.cm-hits small { flex: 0 0 auto; color: var(--o-parch-dim); font-size: 12px; min-width: 5.5em; padding-top: 1px; }
.cm-hits .empty { padding: 8px 14px; color: var(--o-parch-dim); font-size: 14px; }
.cm-head { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--o-parch-ink); }
.cm-head h1 { font-family: var(--o-pixel); font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.cm-head p { margin: 4px 0 0; color: var(--o-parch-dim); font-size: 14px; }
.bbs { list-style: none; margin: 0; padding: 0; background: var(--o-parch); border: 1px solid var(--o-parch-line); }
.bbs li { border-top: 1px solid var(--o-parch-line); }
.bbs li:first-child { border-top: 0; }
.bbs li > a, .bbs-h { display: grid; grid-template-columns: 4.5em minmax(0, 1fr) 7em; gap: 12px; align-items: baseline; padding: 11px 14px; text-decoration: none; font-size: 15px; }
.bbs-h { background: var(--o-parch-2); font-size: 12px; color: var(--o-parch-dim); padding-block: 7px; }
.bbs li > a:hover { background: #fffaf0; }
.bbs li > a:hover .tt { text-decoration: underline; }
.bbs .no { text-align: center; color: var(--o-parch-dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.bbs time { text-align: right; color: var(--o-parch-dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.bbs .pinned > a { background: #f6ecd6; font-weight: 700; }
.pin { font-style: normal; font-size: 11px; background: var(--o-crimson); color: #fff3e0; padding: 1px 6px; }
.post { background: var(--o-parch); border: 1px solid var(--o-parch-line); }
.post-h { padding: 20px 24px 16px; border-bottom: 1px solid var(--o-parch-line); }
.post-h .pill { display: inline-block; font-size: 12px; font-weight: 700; background: var(--o-crimson); color: #fff3e0; padding: 2px 8px; }
.post-h .pill.ended { background: var(--o-parch-dim); }
.post-h h1 { font-family: var(--o-pixel); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; margin: 8px 0 4px; }
.post-meta { margin: 0; color: var(--o-parch-dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.post-art { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: 50% 22%; border-bottom: 1px solid var(--o-parch-line); }
.post-body { padding: 18px 24px 24px; font-size: 16px; line-height: 1.8; max-width: calc(68ch + 48px); }
.post-lede { font-size: 17px; margin: 0 0 12px; }
.post-note { color: var(--o-parch-dim); font-size: 14px; }
.post-body h2, .post-body h3 { font-size: 16px; margin: 20px 0 6px; }
.post-body ul { margin: 0; padding: 0; list-style: none; }
.post-body li { position: relative; padding-left: 16px; margin: 4px 0; }
.post-body li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 6px; height: 6px; background: var(--o-crimson); transform: rotate(45deg); }
.post-more { color: var(--o-parch-dim); font-size: 14px; margin: 6px 0 0; }
.post-go { display: inline-block; margin: 14px 10px 0 0; padding: 10px 18px; border: 2px solid var(--o-parch-ink); color: var(--o-parch-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.post-go:hover { background: var(--o-parch-ink); color: var(--o-parch); }
.post-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 14px 0 0; font-size: 15px; }
.post-facts dt { color: var(--o-parch-dim); }
.post-facts dd { margin: 0; }
.post-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; margin-top: 14px; align-items: stretch; }
.post-nav a { text-decoration: none; border: 1px solid var(--o-parch-line); background: var(--o-parch); padding: 10px 14px; font-size: 14px; min-width: 0; }
.post-nav a:hover { border-color: var(--o-parch-ink); }
.post-nav small { display: block; color: var(--o-parch-dim); font-size: 12px; }
.post-nav .pn-next { text-align: right; }
.post-nav .pn-list { align-self: center; font-weight: 700; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vcard { display: block; text-decoration: none; background: var(--o-parch); border: 1px solid var(--o-parch-line); }
.vcard:hover { border-color: var(--o-parch-ink); }
.vcard .th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.vcard .th::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff; background: #0005; }
.vcard b { display: block; padding: 10px 12px 0; font-size: 15px; }
.vcard small { display: block; padding: 0 12px 12px; color: var(--o-parch-dim); font-size: 13px; }
.faq { display: grid; gap: 8px; }
.faq-item { background: var(--o-parch); border: 1px solid var(--o-parch-line); scroll-margin-top: 80px; }
.faq-item > summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; font-size: 15px; position: relative; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before { content: "Q"; font-family: var(--o-pixel); color: var(--o-crimson); margin-right: 8px; }
.faq-item > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--o-parch-dim); border-bottom: 2px solid var(--o-parch-dim); transform: rotate(45deg); }
.faq-item[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item:target { border-color: var(--o-crimson); }
.faq-a { padding: 0 16px 14px 36px; font-size: 15px; line-height: 1.8; max-width: calc(68ch + 52px); }
.faq-a p { margin: 0 0 8px; }
.faq-a ul { margin: 0 0 8px; padding-left: 18px; }
.faq-a a { color: var(--o-crimson); }
.faq-more { margin: 16px 0 0; font-size: 14px; color: var(--o-parch-dim); }
.faq-more a { color: var(--o-crimson); font-weight: 700; }

/* 좁은 화면 */
@media (max-width: 820px) {
  .scene { aspect-ratio: 16 / 10; }
  .hero-copy { position: static; background: #05060b; pointer-events: auto; }
  .hero-copy .wrap { padding-block: 6px 26px; height: auto; display: grid; gap: 16px; }
  .hc-top, .hero-copy .cta { position: static; max-width: none; }
  .walker { --wk: 0.0368cqw; animation-name: steps8, walk-narrow; }
  .cta { width: 100%; }
  .floors, .stage, .panel, .come .wrap { grid-template-columns: 1fr; }
  .floors .pic { min-height: 260px; }
  .rail button { font-size: 11px; min-width: 0; }
  .stage .portrait { max-width: 360px; width: 100%; margin: 0 auto; }
  .strip { grid-auto-columns: 80%; }
  .vids { grid-template-columns: 1fr; }
  .sec { padding-block: 60px; }
  .cm-body .wrap { grid-template-columns: 1fr; padding-top: 14px; }
  .side { order: 2; }
  /* 좁은 화면: 본문을 먼저 — 메뉴는 본문 위 가로 탭, 전체 메뉴는 본문 아래 */
  .cm-bar { display: flex; order: 0; gap: 8px; align-items: stretch; min-width: 0; }
  .cm-tabs { display: flex; flex: 1; min-width: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 0 calc(-1 * var(--o-gut)); padding: 0 0 4px var(--o-gut); }
  .cm-menu-btn { flex: 0 0 auto; align-self: start; font-size: 14px; font-weight: 700; padding: 8px 12px; min-height: 38px; border: 1px solid var(--o-parch-ink); background: var(--o-parch-ink); color: var(--o-parch); cursor: pointer; }
  .cm-menu-btn[hidden] { display: none; }
  .cm-menu-btn[aria-expanded="true"] { background: var(--o-parch); color: var(--o-parch-ink); }
  /* 스크립트가 있으면 전체 메뉴를 접어 두고 「전체 메뉴」 단추로 본문 위에 편다. 스크립트가 없으면 본문 아래에 그대로 선다 */
  .js-menu .side { display: none; order: 0; }
  .js-menu .side.open { display: block; }
  .cm-tabs::-webkit-scrollbar { display: none; }
  .cm-tabs a { flex: 0 0 auto; white-space: nowrap; text-decoration: none; font-size: 14px; padding: 8px 12px; border: 1px solid var(--o-parch-line); background: var(--o-parch); }
  .cm-tabs a[aria-current="page"] { background: var(--o-parch-ink); color: var(--o-parch); border-color: var(--o-parch-ink); font-weight: 700; }
  .cm-main { order: 1; }
  .bbs li > a, .bbs-h { grid-template-columns: 3em minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; }
  .bbs time { grid-column: 2; text-align: left; font-size: 12px; }
  .bbs-h time { display: none; }
  .post-h, .post-body { padding-left: 16px; padding-right: 16px; }
  .post-nav { grid-template-columns: 1fr 1fr; }
  .post-nav .pn-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .boards { grid-template-columns: 1fr; }
  .banner { min-height: 0; }
  .banner .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .banner .slide img { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .cm-vids { grid-template-columns: 1fr; }
}
/* 16:10 칸에 16:9 그림을 덮으면 좌우가 약 5.5% 잘리고 1.11배 커진다 — 같은 언덕 길을 그 비율로 옮긴다 */
@keyframes walk-narrow {
  0%   { transform: translate(12.2cqw, calc(53.6cqw - 100%)); opacity: 0; }
  7%   { opacity: 1; }
  50%  { transform: translate(35.6cqw, calc(52.1cqw - 100%)); }
  93%  { opacity: 1; }
  100% { transform: translate(77cqw, calc(52.3cqw - 100%)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .walker { display: none; } html { scroll-behavior: auto; } .banner .slide { transition: none; } }
