@charset "utf-8";
/* 어둠속의대화 2026 리디자인 공통 스타일
   - 모든 페이지: 얇은 스크롤바, 페이지 사이 극장 전환(어둠의 문), 클릭 물결, 움직임 줄이기
   - 하위 페이지(body.did-sub): 상단 빛 기둥 띠, 반투명 하위 메뉴, 본문 구성 요소
   빛 기둥 띠의 움직임과 극장 전환·인터랙션 동작은 /js/2021/app/sub.js(frontend/ 소스)가 맡는다.
   스크립트가 없어도 내용·링크·팝업은 그대로 쓸 수 있고, 등장 애니메이션은 CSS만으로 재생된다. */

:root {
	--did-ground: #070707;
	--did-mist: #dbdbd6;
	--did-text: #cfcfca;
	--did-dim: #9a9a95;
	--did-line: rgba(255, 255, 255, 0.16);
	--did-line-soft: rgba(255, 255, 255, 0.1);
	--did-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--did-door: cubic-bezier(0.76, 0, 0.24, 1);
	--did-latin: 'FuturaLTPro-Light', 'Noto Sans KR', sans-serif;
	--did-ko: var(--did-latin);
	/* 2026-12-01 수정 요청(3차): 본문·강조 문장·섹션 제목 세 단계만 쓴다. 모바일은 같은 비율로 16·20·24px. */
	--did-fs-body: 17px;
	--did-fs-em: 22px;
	--did-fs-section: 26px;
}
@media (max-width: 768px) {
	:root { --did-fs-body: 16px; --did-fs-em: 20px; --did-fs-section: 24px; }
}

/* ───────── 글 드래그 금지(2026-11-23 「디스토리 피드백 정리」 — 디스토리·공식 홈페이지 공통) ───────── */
/* 글을 끌어 고르지 못하게 하고 그림도 끌어 옮기지 못하게 한다. 입력 칸·글 상자(방명록 등)는 그대로 고를 수 있다. */
body { -webkit-user-select: none; user-select: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }

/* ───────── 스크롤바: 얇고 반투명한 빛 한 줄. 마우스를 올리면 조금 밝아진다. ───────── */
/* 페이지 스크롤바는 숨겨 화면 전환·첫 진입 때 화면 너비가 흔들리지 않게 한다.
   배경 애니메이션을 멈추면(html.did-still, hero.js·MainVisual.jsx가 붙임) 그때만 보인다. 위치는 맨 위 진행 막대(.did-progress)가 알려 준다. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }
html.did-still {
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(219, 219, 214, 0.28) transparent;
}
html.did-still::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(219, 219, 214, 0.22); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(219, 219, 214, 0.5); }

/* 화면에는 보이지 않고 스크린리더만 읽는 글자 */
.did-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ───────── 등장: 흐릿한 상태에서 떠오르며 또렷해진다. 지연은 요소마다 --d로 준다. ───────── */
@keyframes did-rise {
	from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(8px); }
	to { opacity: 1; transform: none; filter: blur(0); }
}
.did-rise { animation: did-rise 1.1s var(--did-ease) both; animation-delay: var(--d, 0s); }

/* 스크롤하면 자라는 빛줄기(.did-grow). 지원하지 않는 브라우저에서는 처음부터 다 자란 모습이다.
   2026-11-29 디자인 QA: 스크롤해서 도착하기 전에는 흐렸다가 선명해지는 등장(.did-reveal 문단, .did-word 인용문 낱말)은 뺐다 — 글은 처음부터 선명하다. */
@supports (animation-timeline: view()) {
	.did-grow { transform-origin: 50% 0; animation: did-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
}
@keyframes did-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* 페이지 맨 위, 읽은 만큼 차오르는 빛 한 줄 */
.did-progress {
	position: fixed;
	z-index: 60;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	pointer-events: none;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, rgba(219, 219, 214, 0), var(--did-mist) 70%, #ffffff);
	box-shadow: 0 0 12px rgba(219, 219, 214, 0.6);
}
@supports (animation-timeline: scroll()) {
	.did-progress { animation: did-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes did-progress { to { transform: scaleX(1); } }

/* ───────── 극장 전환 ─────────
   Motion의 AnimatePresence(mode="wait")처럼 떠나는 페이지가 닫힌 뒤에 다음 페이지가 열린다.
   내용은 흐트러뜨리지 않고 그대로 둔 채 문만 움직인다. 문(.did-stage)은 각 JSP의 body 맨 앞에 들어 있다.
   1) 어둠의 문이 양쪽에서 닫힌다(.is-shut).
   2) 문이 완전히 맞닿은 뒤에야 가운데 빛 한 줄기(.is-lit)와 다음 장면 이름(.is-titled)이 켜진다(theater.js가 붙임).
   3) 이름은 잠깐 보여 준 뒤 끄고, 빛줄기만 남긴 채 다음 페이지로 넘어간다.
      두 페이지가 맞닿는 프레임에 글자를 두지 않는 까닭: 새 페이지의 첫 화면에서는 웹폰트가 아직 준비되지 않아
      글자가 잠깐 사라졌다 나타난다(깜빡임). 문과 빛줄기는 CSS만으로 그려져 두 페이지에서 똑같으므로 이음매가 보이지 않는다.
   4) 도착한 페이지는 그 모습(닫힌 문 + 빛줄기)에서 시작해, 빛을 끄고 문을 연다. */
.did-stage { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.did-stage.is-shut { pointer-events: auto; }
.did-curtain {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50.5%;
	background: var(--did-ground);
	transition: transform 0.8s var(--did-door);
	will-change: transform;
}
.did-curtain-l { left: 0; transform: translateX(-101%); }
.did-curtain-r { right: 0; transform: translateX(101%); }
.did-stage.is-shut .did-curtain { transform: translateX(0); }
/* 문 바깥 그림자는 문이 화면 안에 있을 때만 둔다(화면 밖에 있을 때 그림자가 가장자리로 새어 들지 않게).
   문 가장자리에는 밝은 선을 두지 않는다. 가운데 빛은 문이 다 닫힌 뒤의 빛줄기(.did-seam) 하나뿐이다. */
.did-stage.is-shut .did-curtain-l { box-shadow: 30px 0 80px rgba(0, 0, 0, 0.7); }
.did-stage.is-shut .did-curtain-r { box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7); }
/* 빛줄기: 문이 다 닫힌 뒤 가운데에서 위아래로 번지며 켜지고, 문이 열리기 전에 먼저 꺼진다. */
.did-seam {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 42%, #ffffff 58%, rgba(255, 255, 255, 0));
	box-shadow: 0 0 32px 8px rgba(219, 219, 214, 0.45);
	opacity: 0;
	transform: scaleY(0.2);
	transition: opacity 0.25s ease, transform 0.32s var(--did-ease);
}
.did-stage.is-lit .did-seam { opacity: 1; transform: scaleY(1); }
/* 장면 이름: 0.3초에 켜지고 0.2초에 꺼진다. */
.did-stage-card { position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s ease; }
.did-stage.is-titled .did-stage-card { opacity: 1; transition-duration: 0.3s; }
.did-stage.is-instant .did-curtain,
.did-stage.is-instant .did-seam,
.did-stage.is-instant .did-stage-card { transition: none !important; }
.did-stage-title {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	margin: 0;
	transform: translateY(-50%);
	color: #ffffff;
	font: 300 clamp(24px, 3.2vw, 40px)/1.2 var(--did-ko);
	letter-spacing: 0.32em;
	padding-left: 0.32em;
	text-align: center;
	white-space: nowrap;
}
.did-stage-sub {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(50% + clamp(28px, 3vw, 40px));
	margin: 0;
	color: var(--did-dim);
	font: 300 13px/1.4 var(--did-latin);
	letter-spacing: 0.42em;
	padding-left: 0.42em;
	text-align: center;
}

/* 뒤로·앞으로 가기: 브라우저는 떠나는 페이지가 문을 닫을 때까지 기다려 주지 않는다.
   그래서 브라우저의 화면 전환(View Transitions)으로 떠나는 화면이 양쪽에서 가운데로 좁아지며 사라지게 하고,
   그 아래 새 화면은 어두운 닫힌 문에서 시작해 어둠의 문이 닫히는 것처럼 보이게 한다. 빛줄기와 장면 이름은 다 닫힌 뒤에 켜진다(theater.js).
   메뉴로 이동할 때는 theater.js가 이미 문을 닫았으므로 각 JSP <head> 스크립트가 이 전환을 건너뛴다.
   지원하지 않는 브라우저(Firefox 등)에서는 여는 장면만 보인다. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
}
::view-transition-group(root) { animation-duration: 0.8s; }
/* 옛 화면은 좌우에서 잘려 들어가며 닫히고(did-vt-close), 다 닫히기 직전에 남은 가는 띠가 투명해진다(did-vt-vanish).
   clip-path 애니메이션은 끝나는 순간 한 프레임 동안 자르기가 풀려 옛 화면이 통째로 비치는 일이 있다(깜빡임).
   그 전에 이미 투명해져 있도록 불투명도를 따로 움직이고, 기본 모양도 '보이지 않는 상태'로 둔다. */
::view-transition-old(root) {
	z-index: 1;
	mix-blend-mode: normal;
	opacity: 0;
	clip-path: inset(0 50% 0 50%);
	animation: did-vt-close 0.8s var(--did-door) both, did-vt-vanish 0.8s linear both;
}
::view-transition-new(root) { mix-blend-mode: normal; animation: none; }
@keyframes did-vt-close {
	from { clip-path: inset(0 0 0 0); }
	to { clip-path: inset(0 50% 0 50%); }
}
@keyframes did-vt-vanish {
	0%, 82% { opacity: 1; }
	92%, 100% { opacity: 0; }
}

/* 도착한 페이지의 첫 화면: 스크립트가 움직이기 전에도 떠난 페이지의 마지막 모습과 똑같이 닫힌 문을 그린다.
   (<head>의 짧은 스크립트가 html.did-arriving을 붙인다. 3초 뒤에는 무조건 떼어 문이 열린다.)
   메뉴로 왔으면 빛줄기가 켜진 채로, 뒤로·앞으로 가기로 왔으면(did-arriving-unlit) 어두운 채로 시작한다. */
html.did-arriving .did-stage { pointer-events: auto; }
html.did-arriving .did-curtain { transform: translateX(0); transition: none; }
html.did-arriving .did-curtain-l { box-shadow: 30px 0 80px rgba(0, 0, 0, 0.7); }
html.did-arriving .did-curtain-r { box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7); }
html.did-arriving .did-seam { opacity: 1; transform: scaleY(1); transition: none; }
html.did-arriving.did-arriving-unlit .did-seam { opacity: 0; }
html.did-arriving .did-stage-card { opacity: 0; transition: none; }
/* 문이 열리기 전에는 내용의 등장 애니메이션을 멈춰 두었다가, 문이 열리는 순간부터 재생한다. */
html.did-arriving .did-rise { animation-play-state: paused; }

/* 등장: 문이 열리는 동안 새 장면이 이동 방향에서 살짝 밀려 들어온다(AnimatePresence의 custom, --did-dir 대신 클래스). */
@keyframes did-scene-in-next { from { transform: translate3d(32px, 0, 0); } }
@keyframes did-scene-in-prev { from { transform: translate3d(-32px, 0, 0); } }
body.did-sub.did-enter-next #container { animation: did-scene-in-next 1.1s var(--did-ease) 0.2s both; }
body.did-sub.did-enter-prev #container { animation: did-scene-in-prev 1.1s var(--did-ease) 0.2s both; }

/* ───────── 클릭 물결: 누른 자리에서 빛의 물결이 퍼진다(메인과 같은 효과). ───────── */
@keyframes did-ripple {
	from { width: 0; height: 0; opacity: 0.9; }
	to { width: 680px; height: 680px; opacity: 0; }
}
.did-ripple {
	position: fixed;
	z-index: 1500;
	border-radius: 50%;
	border: 1px solid rgba(219, 219, 214, 0.75);
	box-shadow: 0 0 26px rgba(219, 219, 214, 0.35), inset 0 0 26px rgba(219, 219, 214, 0.18);
	transform: translate(-50%, -50%);
	pointer-events: none;
	animation: did-ripple 1.5s var(--did-ease) forwards;
}

/* ═════════ 하위 페이지 (전시소개 · 서울 · 동탄) ═════════ */
body.did-sub {
	background: var(--did-ground);
	color: #ffffff;
}
body.did-sub ::selection { background: rgba(219, 219, 214, 0.9); color: #000000; }
body.did-sub :focus-visible { outline: 2px solid var(--did-mist); outline-offset: 3px; }
/* 기존 레이아웃(layout.css)은 화면 높이에 맞춘 표 구조라, 긴 페이지와 상단 고정 메뉴를 위해 일반 흐름으로 되돌린다. */
body.did-sub #wrap,
body.did-sub .page_area {
	display: block;
	height: auto;
	min-height: 0;
	overflow: visible;
}
body.did-sub #container {
	height: auto;
	padding: 0;
}

/* 상단 빛 기둥 띠. 헤더(로고·메뉴 버튼)는 기존처럼 그 위에 겹친다. */
.did-hero {
	position: relative;
	height: clamp(440px, 66vh, 640px);
	overflow: hidden;
	background: var(--did-ground);
}
.did-hero-canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.did-hero::after {
	content: '';
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22%;
	pointer-events: none;
	background: linear-gradient(rgba(7, 7, 7, 0), var(--did-ground));
}
/* WebGL을 쓸 수 없거나 스크립트가 꺼졌을 때의 정지 화면 */
.did-hero-fallback i {
	position: absolute;
	top: 20%;
	bottom: 12%;
	left: 50%;
	background: linear-gradient(rgba(219, 219, 214, 0), rgba(219, 219, 214, 0.75) 35%, rgba(219, 219, 214, 0.6) 75%, rgba(219, 219, 214, 0));
	filter: blur(14px);
}
.did-hero-fallback i:nth-child(1) { width: 15vh; margin-left: -22vh; opacity: 0.5; }
.did-hero-fallback i:nth-child(2) { width: 20vh; margin-left: -10vh; }
.did-hero-fallback i:nth-child(3) { width: 14vh; margin-left: 5vh; top: 28%; opacity: 0.7; }
.did-hero.is-live .did-hero-fallback { display: none; }
/* 지점·섹션 이름(작은 영문). 검은 글자라 가장 밝은 기둥 위에서 읽히고, 둘레에 은은한 빛이 번진다.
   한글 이름은 화면에 크게 쓰지 않고 스크린리더용(.did-sr)으로만 둔다. */
.did-hero-title {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: 62%;
	margin: 0;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #000000;
	pointer-events: none;
}
/* 동탄(포스터 3 구도)은 가장 밝은 네모가 가운데보다 조금 오른쪽에 있어 이름도 그쪽으로 옮긴다. */
.did-hero[data-did-hero='c'] .did-hero-title { transform: translate(clamp(28px, 4.3vh, 42px), -50%); }
/* 검은 글자가 어두운 기둥 틈에 놓여도 읽히도록, 글자 둘레에 흐릿하고 옅은 흰 테두리를 두른다. */
.did-hero-en {
	font: 300 32px/1 var(--did-latin);
	letter-spacing: 0.42em;
	padding-left: 0.42em;
	text-shadow: 0 0 1px rgba(240, 240, 235, 0.55), 0 0 3px rgba(240, 240, 235, 0.35), 0 0 0.45em rgba(219, 219, 214, 0.3);
}
/* 긴 이름(OUR HISTORY)은 화면이 좁으면 글자 사이를 좁히고, 그래도 넘치면 두 줄로 나눈다. */
.did-hero-en.is-long { max-width: calc(100% - 48px); line-height: 1.35; text-align: center; text-wrap: balance; }
/* 배경 애니메이션 멈춤/재생(aria-pressed=true면 멈춘 것이고 재생 아이콘을 보여 준다). */
.did-hero-toggle {
	position: absolute;
	z-index: 3;
	right: 28px;
	bottom: 28px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(7, 7, 7, 0.55);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.did-hero-toggle[hidden] { display: none; }
.did-hero-toggle:hover { border-color: #ffffff; background: var(--did-ground); }
.did-hero-toggle::before,
.did-hero-toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 11px;
	margin-top: -5.5px;
	background: #ffffff;
}
.did-hero-toggle::before { margin-left: -4px; }
.did-hero-toggle::after { margin-left: 2px; }
.did-hero-toggle[aria-pressed='true']::before {
	width: 0;
	height: 0;
	margin: -6px 0 0 -3px;
	background: none;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #ffffff;
}
.did-hero-toggle[aria-pressed='true']::after { display: none; }

/* 하위 메뉴: 스크롤해도 맨 위에 붙어 있는 반투명 유리 막대. 밑줄이 가운데로 차오른다. */
.did-subnav {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(7, 7, 7, 0.72);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.did-subnav ul {
	display: flex;
	gap: 0 clamp(24px, 3.4vw, 48px);
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	overflow-x: auto;
	/* 가로로만 넘긴다. overflow-x만 주면 세로도 auto가 되어, 밑줄(bottom: -1px) 1px 때문에 위아래로 움직였다.
	   아래 1px 여백으로 밑줄을 품고, 같은 만큼 겹쳐 올려 밑줄이 지금처럼 경계선 위에 놓이게 한다. */
	overflow-y: hidden;
	padding-bottom: 1px;
	margin-bottom: -1px;
	overscroll-behavior-y: none;
	scrollbar-width: none;
}
.did-subnav ul::-webkit-scrollbar { display: none; }
/* 휴대폰처럼 탭이 화면보다 길면 더 넘겨 볼 쪽 가장자리를 흐리게 한다(interactions.js가 표시). */
.did-subnav ul[data-more-right] {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
.did-subnav ul[data-more-left] {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 56px);
	mask-image: linear-gradient(90deg, transparent, #000 56px);
}
.did-subnav ul[data-more-left][data-more-right] {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}
.did-subnav li { display: flex; flex: 0 0 auto; }
/* 넓으면 가운데, 좁으면 왼쪽부터 가로로 넘겨 본다. */
.did-subnav li:first-child { margin-left: auto; }
.did-subnav li:last-child { margin-right: auto; }
/* 전체메뉴(+) 버튼은 스크롤해도 화면 오른쪽 위 같은 자리에 머문다(아래 '전체메뉴 버튼').
   넓은 화면에서는 막대가 맨 위에 붙었을 때 탭 글자가 + 와 같은 높이에 오도록 막대 위쪽을 29px 띄우고,
   탭이 넘쳐 가로로 넘길 때 + 밑으로 들어가지 않게 양옆을 비운다(양옆이 같아 가운데 정렬은 그대로).
   휴대폰은 이미 같은 높이라 오른쪽만 비운다(아래 768px 이하). */
@media (min-width: 769px) {
	.did-subnav { padding-top: 29px; }
	.did-subnav ul { padding-left: 72px; padding-right: 72px; }
}
.did-tab {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-height: 44px;
	padding: 24px 0 22px;
	box-sizing: border-box;
	color: var(--did-dim);
	font: 300 15px/1.2 var(--did-ko);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s;
}
.did-tab span { font: 300 11px/1 var(--did-latin); letter-spacing: 0.16em; }
.did-tab[lang='en'] { font: 300 13px/1.2 var(--did-latin); letter-spacing: 0.16em; }
/* RESERVATION 탭 가운데 D.STORY 를 새 창으로 여는 것(유의사항·FAQ·DOWNLOAD)에는 전체메뉴와 같은 작은 화살표를 붙인다. */
.did-tab-out { align-self: center; margin-left: -3px; opacity: 0.75; }
/* 한글 탭과 한 줄에 서는 영문 탭(FAQ·DOWNLOAD)은 줄 높이를 한글 탭(18px)에 맞추고, 한글 크기의 보이지 않는 글자(::before)에
   밑선을 맞춰 글자 밑선과 밑줄 높이가 한글 탭과 같게 한다. */
.did-tab[lang='en'][target='_blank'] { line-height: 18px; }
.did-tab[lang='en'][target='_blank']::before { content: '\200b'; margin-right: -8px; font: 300 15px/18px var(--did-ko); letter-spacing: 0; }
.did-tab:hover,
.did-tab:focus-visible,
.did-tab[aria-current='page'],
.did-tab[aria-current='true'] { color: #ffffff; }
.did-tab::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--did-mist);
	box-shadow: 0 0 10px rgba(219, 219, 214, 0.7);
	transform: scaleX(0);
	transition: transform 0.5s var(--did-ease);
}
.did-tab:hover::after { transform: scaleX(0.4); }
@keyframes did-underline { from { transform: scaleX(0); } }
.did-tab[aria-current='page']::after { transform: scaleX(1); animation: did-underline 1s var(--did-ease) 0.6s both; }
.did-tab[aria-current='true']::after { transform: scaleX(1); }

/* 본문 */
/* 한국어 줄바꿈: 짧은 제목·문단은 sub.js·main.js가 의미 단위로 줄을 나누고(frontend/src/shared/semanticWrap.js), 긴 본문은 브라우저가 마지막 줄에 한 어절만 남지 않게 다듬는다. */
.did-main p, .did-main li, .did-main dd, .did-main dt, .did-main h2, .did-main h3, .did-main h4 { text-wrap: pretty; }
.did-main {
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 8vw, 104px);
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(72px, 9vw, 104px) 24px clamp(96px, 11vw, 136px);
	box-sizing: border-box;
	color: #ffffff;
	font: 300 var(--did-fs-body)/1.8 var(--did-ko);
	text-align: left;
	word-break: keep-all;
}
.did-main p,
.did-main h2,
.did-main h3,
.did-main h4,
.did-main dl,
.did-main dd,
.did-main figure,
.did-main blockquote { margin: 0; }
.did-latin { font-family: var(--did-latin); }

/* 첫 문단 묶음: 가운데 정렬된 제목과 설명 */
.did-lead { display: flex; flex-direction: column; align-items: center; text-align: center; }
.did-statement {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.01em;
}
.did-statement-en {
	margin-top: 18px;
	font: 300 17px/1.5 var(--did-latin);
	letter-spacing: 0.06em;
	color: var(--did-dim);
}
.did-lead > p:not(.did-statement-en) { max-width: 34em; margin-top: 32px; color: var(--did-text); line-height: 1.9; }
/* RESERVATION 맨 위의 운영안내 문구(2026-11-30): 리플렛의 줄바꿈 그대로 세 줄. 가장 긴 줄(수요일-일요일…)이 넓은 화면에서 한 줄에 들도록 선언문보다 작게 둔다. */
.did-statement.is-notice { font-size: var(--did-fs-em); line-height: 1.7; letter-spacing: 0; }
/* 맨 위 탭의 "운영안내"는 이 문구로 온다(2026-12-01, 운영일·휴관일·러닝타임 칸을 뺀 뒤). */
#hours { scroll-margin-top: 113px; outline: none; }
.did-lead > .did-note { margin-top: 16px; font-size: 15px; color: var(--did-dim); }
.did-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* 버튼: 올리면 살짝 떠오르고 빛이 한 번 스친다. */
.did-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	box-sizing: border-box;
	border-radius: 26px;
	font: 300 15px/1.2 var(--did-ko);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.4s var(--did-ease), box-shadow 0.4s var(--did-ease), background-color 0.3s, border-color 0.3s;
}
.did-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 65%);
	transform: translateX(-130%);
	transition: transform 0.9s var(--did-ease);
}
.did-btn:hover,
.did-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px -14px rgba(219, 219, 214, 0.7); }
.did-btn:hover::after,
.did-btn:focus-visible::after { transform: translateX(130%); }
.did-btn:active { transform: translateY(0) scale(0.98); }
.did-btn-light { border: 0; background: var(--did-mist); color: #000000; }
.did-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #ffffff; font-weight: 300; }
.did-btn-ghost::after { background: linear-gradient(105deg, rgba(219, 219, 214, 0) 35%, rgba(219, 219, 214, 0.22) 50%, rgba(219, 219, 214, 0) 65%); }
.did-btn-ghost:hover,
.did-btn-ghost:focus-visible { border-color: var(--did-mist); background-color: rgba(219, 219, 214, 0.08); }
.did-btn-small { min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 300; }
.did-btn[hidden] { display: none; }
.did-btn svg { flex: 0 0 auto; }

/* 작은 제목 */
.did-kicker { font-size: 15px; font-weight: 300; color: var(--did-dim); letter-spacing: 0.04em; }

/* 관람안내: 큰 숫자로 보는 핵심 정보. 올리면 위쪽 선이 빛난다. */
.did-facts { display: flex; flex-direction: column; gap: 32px; }
.did-facts dl { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.did-fact {
	position: relative;
	flex: 1 1 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 24px;
	border-top: 1px solid var(--did-line);
}
.did-fact::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 1px;
	background: #ffffff;
	box-shadow: 0 0 14px 1px rgba(219, 219, 214, 0.8);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.9s var(--did-ease);
}
.did-fact:hover::before { transform: scaleX(1); }
.did-fact dt { font-size: 14px; font-weight: 300; color: var(--did-dim); }
.did-fact dd { display: flex; flex-direction: column; gap: 10px; }
.did-fact-value { font: 300 clamp(28px, 2.4vw, 34px)/1.15 var(--did-latin); white-space: nowrap; }
.did-fact-value.is-big { font-size: 56px; line-height: 1; }
.did-fact-value small { margin-left: 6px; font: 300 18px/1 var(--did-ko); }
.did-fact-ko { font-size: 34px; line-height: 1.25; }
.did-fact-note { font-size: 14px; color: var(--did-text); }
/* 러닝타임이 평일과 주말·공휴일에 다른 지점(서울)은 두 값을 나란히 둔다. */
.did-fact.is-wide { flex-basis: 300px; }
.did-fact dd.did-fact-pair { flex-direction: row; flex-wrap: wrap; gap: 14px 40px; }
.did-fact-pair > span { display: flex; flex-direction: column; gap: 10px; }

/* 제목 칸 + 목록 칸(유의사항·상세공지) */
.did-split {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	padding-top: 40px;
	border-top: 1px solid var(--did-line);
}
.did-split.is-bare { padding-top: 0; border-top: 0; }
.did-split-head { flex: 0 0 240px; display: flex; flex-direction: column; gap: 18px; }
.did-split-head h4 { font-size: 22px; font-weight: 300; line-height: 1.4; }
.did-list {
	flex: 999 1 480px;
	min-width: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	color: var(--did-text);
	font-size: 17px;
	line-height: 1.75;
}
.did-list li { position: relative; display: flex; gap: 16px; }
.did-list li::before { content: ''; flex: 0 0 14px; height: 1px; margin-top: 0.9em; background: var(--did-mist); }
.did-tel { display: inline-flex; flex-direction: column; gap: 6px; color: #ffffff; text-decoration: none; }
.did-tel span { font-size: 14px; color: var(--did-dim); }
.did-tel strong { font: 300 26px/1.2 var(--did-latin); }
.did-tel:hover strong { text-shadow: 0 0 18px rgba(219, 219, 214, 0.6); }
.did-split-head .did-fine { line-height: 1.7; }
/* 유의사항·개인정보 처리 방침·유실물 관리규정을 여는 줄. 누르면 해당 문서가 팝업으로 열린다. */
.did-docs { flex: 999 1 480px; min-width: 0; margin: 0; padding: 0; }
.did-docs li + li { border-top: 1px solid var(--did-line-soft); }
.did-doc-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 24px;
	width: 100%;
	padding: 22px 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.did-docs li:first-child .did-doc-link { padding-top: 0; }
.did-doc-name { grid-column: 1; font-size: 20px; line-height: 1.5; }
.did-doc-desc { grid-column: 1; font-size: 15px; line-height: 1.7; color: var(--did-dim); }
.did-doc-link svg { grid-column: 2; grid-row: 1 / span 2; color: var(--did-mist); }
/* 문의처: 제목 칸 옆에 오시는길과 같은 정보 목록을 둔다. */
.did-split > .did-info { flex: 999 1 480px; }
.did-split > .did-info dt { font-size: 15px; line-height: 1.7; }

/* 목록 줄: 올리면 왼쪽부터 빛이 스치고 글자가 살짝 밀린다(::before는 목록의 글머리 선이 쓴다). */
.did-row { position: relative; isolation: isolate; }
.did-row::after {
	content: '';
	position: absolute;
	inset: 0 -20px;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(219, 219, 214, 0.14), rgba(219, 219, 214, 0) 75%);
	opacity: 0;
	transform: scaleX(0.3);
	transform-origin: 0 50%;
	transition: opacity 0.5s, transform 0.8s var(--did-ease);
}
.did-row:hover::after { opacity: 1; transform: none; }
.did-row > * { transition: transform 0.6s var(--did-ease); }
.did-row:hover > * { transform: translateX(10px); }

.did-prices { display: flex; flex-wrap: wrap; gap: 56px 64px; }
.did-price-block {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-top: 32px;
	border-top: 1px solid var(--did-line);
}
.did-price-block h4 { font-size: 22px; font-weight: 300; }
.did-table { width: 100%; border-collapse: collapse; }
.did-table th,
.did-table td {
	padding: 18px 14px;
	text-align: left;
	vertical-align: baseline;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.did-table td { text-align: right; }
.did-table thead th { padding-top: 0; padding-bottom: 10px; border-bottom: 0; font-size: 13px; font-weight: 300; color: var(--did-dim); }
.did-table thead th + th { text-align: right; }
.did-table tbody th { width: 36%; font-size: 16px; font-weight: 300; color: var(--did-text); }
.did-price { font: 300 44px/1.1 var(--did-latin); }
.did-price.is-small { font-size: 30px; }
.did-price + span { margin-left: 4px; font-size: 17px; }
.did-table .did-caption { margin-top: 8px; font-size: 14px; color: var(--did-dim); }
.did-fine { font-size: 15px; line-height: 1.8; color: var(--did-dim); }
.did-fine p + p { margin-top: 6px; }
/* 관람 요금(2026-11-30 수정 요청): 리플렛 가격표 한 장. 지점 → 러닝타임(요일·분) → 구분(일반·할인*) → 성인·청소년.
   지점 사이는 밝은 선, 줄 사이는 옅은 선. 할인 줄은 한 단 가라앉혀 일반 요금이 먼저 읽힌다. 표 아래 * 두 줄은 리플렛 그대로. */
.did-fare { display: flex; flex-direction: column; gap: 22px; }
.did-fare-table th,
.did-fare-table td { padding: 17px 14px; vertical-align: middle; }
.did-fare-table thead th { padding-top: 0; padding-bottom: 12px; }
.did-fare-table thead th:nth-child(-n + 3) { text-align: left; }
.did-fare-table tbody th { width: auto; }
.did-fare-table tbody:first-of-type tr:first-child > * { border-top: 1px solid var(--did-line); }
.did-fare-table tbody tr:last-child > *,
.did-fare-table .did-fare-venue,
.did-fare-table tbody tr:nth-last-child(2) > .did-fare-day { border-bottom-color: var(--did-line); }
.did-fare-table .did-fare-venue { width: 13%; font-size: var(--did-fs-em); color: #ffffff; }
.did-fare-table .did-fare-day { width: auto; white-space: nowrap; }
.did-fare-table .did-fare-kind { width: 14%; font-size: 15px; }
.did-fare-time { margin-left: 2px; font-size: 15px; color: var(--did-dim); }
.did-fare-sub { margin-left: 4px; }
.did-fare-table td { white-space: nowrap; }
.did-fare-table .did-price.is-small { font-size: var(--did-fs-em); }
/* 2026-12-01 수정 요청(3차): 화면 끝까지 퍼지던 표를 리플렛 가격표처럼 좁혀 가운데로. 성인·청소년 제목과 가격은 가운데 정렬. */
.did-fare-table,
.did-fare-notes { box-sizing: border-box; width: 100%; max-width: 720px; margin-left: auto; margin-right: auto; }
.did-fare-table thead th:nth-child(n + 4),
.did-fare-table td { text-align: center; }
.did-fare-table .is-off .did-fare-kind,
.did-fare-table .is-off td { color: var(--did-dim); }
.did-fare-table .is-off .did-price { color: var(--did-text); }
.did-fare-notes { display: flex; flex-direction: column; gap: 2px; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; line-height: 1.8; color: var(--did-dim); }
.did-fare .did-gift { margin-top: 14px; }
/* 요금 줄 이름 아래의 작은 설명(평일·러닝타임 등) */
.did-th-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--did-dim); }
.did-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* 스페셜전시: 프로그램 목록 */
.did-programs { margin: 0; padding: 0; border-top: 1px solid var(--did-line); }
.did-program {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 28px;
	padding: 30px 0;
	border-bottom: 1px solid var(--did-line-soft);
}
.did-program-name { flex: 0 1 auto; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.did-program-en { flex: 1 1 200px; font: 300 13px/1.4 var(--did-latin); letter-spacing: 0.2em; color: var(--did-dim); }
.did-program-meta { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--did-text); }
.did-program-meta strong { font: 300 30px/1 var(--did-latin); color: #ffffff; }

/* 워크숍: 두 프로그램. 올리면 위쪽 빛줄기가 끝까지 길어진다. */
.did-cards { display: flex; flex-wrap: wrap; gap: 56px 64px; }
.did-card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.did-card-bar {
	width: 72px;
	height: 3px;
	background: linear-gradient(90deg, rgba(219, 219, 214, 0), var(--did-mist) 40%, rgba(219, 219, 214, 0));
	transition: width 0.9s var(--did-ease);
}
.did-card:hover .did-card-bar,
.did-card:focus-within .did-card-bar { width: 100%; }
.did-card h4 { display: flex; flex-direction: column; gap: 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; line-height: 1.25; }
.did-card h4 span { font: 300 13px/1.4 var(--did-latin); letter-spacing: 0.2em; color: var(--did-dim); }
.did-card p { color: var(--did-text); line-height: 1.9; }

/* 오시는길: 약도와 정보 */
.did-location { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.did-map-figure { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.did-map-figure > .did-btn { align-self: flex-start; }
.did-zoom { position: relative; overflow: hidden; line-height: 0; border: 1px solid rgba(255, 255, 255, 0.12); }
.did-zoom img,
.did-zoom svg { display: block; width: 100%; height: auto; transition: transform 1.4s var(--did-ease); }
.did-zoom:hover img,
.did-zoom:hover svg { transform: scale(1.06); }
@keyframes did-pulse {
	from { transform: translate(-50%, -50%) scale(0.4); opacity: 0.95; }
	to { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}
.did-pulse {
	position: absolute;
	width: 26px;
	height: 26px;
	border: 1px solid #ffffff;
	border-radius: 50%;
	pointer-events: none;
	animation: did-pulse 2.6s var(--did-ease) infinite;
}
.did-pulse + .did-pulse { animation-delay: 1.3s; }
.did-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.did-info > div { display: flex; flex-direction: column; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--did-line-soft); }
.did-info > div:first-child { padding-top: 0; }
.did-info > div:last-child { border-bottom: 0; }
.did-info dt { font-size: 14px; font-weight: 300; color: var(--did-dim); }
.did-info dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 17px; line-height: 1.6; color: var(--did-text); }
.did-info .did-address { font-size: 19px; line-height: 1.5; color: #ffffff; }
/* RESERVATION 오시는 길의 주소(2026-11-29): 도로명 주소('…이태원로 294', '…동탄역로 160')까지가 한 덩어리라 줄은 그 뒤에서만 바뀐다.
   늘 두 줄이고 '주소 복사' 버튼은 글자 바로 옆에 선다. 칸이 좁으면(460px 미만) 버튼이 아래로 내려가고,
   가장 긴 덩어리(2026-11-30부터 동탄의 '롯데백화점 동탄점 7층 다이얼로그뮤지엄', 22px 일 때 402px)가 칸에 5%쯤 여유를 두고 들도록
   칸이 423px 보다 좁아지면 글자가 칸 폭을 따라 줄어든다(5.2cqi). 서울과 동탄은 같은 크기로 줄어든다. */
.did-info-address { container-type: inline-size; }
.did-info-address dd { display: grid; grid-template-columns: minmax(0, max-content) max-content; justify-content: start; }
.did-info-address .did-address { font-size: clamp(13px, 5.2cqi, 19px); }
.did-info-address .did-address > span { display: block; white-space: nowrap; }
@container (max-width: 459px) {
	.did-info-address dd { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
.did-info a[href^='tel'] { font: 300 26px/1.2 var(--did-latin); color: #ffffff; text-decoration: none; }
.did-line-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--did-mist);
	border-radius: 50%;
	font: 300 14px/1 var(--did-latin);
	color: #ffffff;
}
/* GTX 'G'는 화면에 그려질 때 원 가운데보다 반 픽셀쯤 오른쪽에 맺힌다. 글자만 반 픽셀 왼쪽으로 당겨 원의 가운데에 맞춘다. */
.did-line-badge.is-gtx { text-indent: -1px; }

/* OUR HISTORY 소개글: 좁은 단의 긴 글과 단어 단위로 밝아지는 인용문 */
.did-prose { align-self: center; display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 36em; color: var(--did-text); line-height: 2; }
/* 2026-12-01 수정 요청(3차): 리플렛 줄바꿈 그대로 가운데 정렬. 가장 긴 줄(약 42자)이 PC에서 한 줄에 들도록 단을 넓힌다. */
.did-prose.is-center { max-width: 48em; text-align: center; }
.did-quote { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; padding: 24px 0; }
.did-quote-beam { width: 1px; height: 96px; background: linear-gradient(180deg, rgba(219, 219, 214, 0), var(--did-mist)); }
.did-quote blockquote { font-size: var(--did-fs-em); font-weight: 300; line-height: 1.7; text-align: center; color: #ffffff; }
.did-lead-wide .did-statement { line-height: 1.45; }

/* 월드와이드: 세계지도(SVG) 위에 도시를 위도·경도로 찍은 빛의 점과 나라별 목록.
   지도 img/2026/world_map.svg 는 tools/world_map.mjs 로 만든다 — 점 좌표(%)와 같은 Miller 도법 식이라 지도를 다시 만들어도 점이 제자리에 놓인다. */
.did-map {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	aspect-ratio: 582 / 272;
	background: #000000 url(../../img/2026/world_map.svg) center / 100% 100% no-repeat;
}
.did-city { position: absolute; width: 0; height: 0; }
@keyframes did-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.did-city i {
	position: absolute;
	left: -2.5px;
	top: -2.5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 10px rgba(219, 219, 214, 0.8);
	animation: did-twinkle 3.4s ease-in-out infinite;
	animation-delay: var(--tw, 0s);
	transition: transform 0.5s var(--did-ease), background-color 0.5s, box-shadow 0.5s;
}
.did-city.is-home i { transform: scale(1.8); box-shadow: 0 0 22px rgba(219, 219, 214, 0.9); }
.did-map[data-active] .did-city:not([data-on]) i { background: #4a4a48; box-shadow: none; }
.did-city[data-on] i { transform: scale(2.2); box-shadow: 0 0 26px rgba(219, 219, 214, 0.95); }
/* 링크가 있는 도시의 점은 누르면 그 도시의 페이지가 열린다. 점(5px)보다 넓은 16px 원을 누를 자리로 둔다.
   거의 겹치는 두 점(서울·동탄, 홀론·카이로, 싱가포르·쿠알라룸푸르, 홍콩·선전, 밀라노·제노바, 뭄바이·아마다바드)은 --hy로 누를 자리를 위(-1)·아래(1)로 나눈다.
   가리키거나 키보드로 초점이 오면 점이 커지고 도시 이름이 점 오른쪽 위에 뜬다(2026-11-29, 그 전에는 오른쪽 아래). */
a.did-city { cursor: pointer; text-decoration: none; color: inherit; outline: none; -webkit-tap-highlight-color: transparent; }
a.did-city::before,
span.did-city[data-city]::before { content: ''; position: absolute; left: -8px; top: calc(-8px + var(--hy, 0) * 8px); width: 16px; height: 16px; border-radius: 50%; }
/* 이름 옆 화살표로 누르면 그 도시의 사이트로 간다는 것을 알린다(새 창 ↗, 서울·동탄은 이 사이트 안 →).
   2026-12-03: 사이트가 없는 도시(span)도 가리키면 이름 말풍선이 뜬다 — 갈 곳이 없으니 ↗ 없이. */
a.did-city::after,
span.did-city[data-city]::after {
	content: attr(data-city);
	position: absolute;
	left: 8px;
	bottom: 6px;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
	color: #ffffff;
	white-space: nowrap;
	text-shadow: 0 0 6px #000000, 0 0 2px #000000;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
a.did-city::after { content: attr(data-city) "\00a0\2197"; }
/* 사이트 없는 점은 누를 자리(::before)로만 가리킨다 — 점 자체가 바로 옆 링크 점(밀라노 ↔ 제노바 3px)을 가리지 않게 */
span.did-city[data-city] i { pointer-events: none; }
/* 지도 오른쪽 끝(몬테레이·상파울루·부에노스아이레스)은 이름을 점 왼쪽에 둔다. */
.did-city[data-did-country='mx']::after,
.did-city[data-did-country='bz']::after,
.did-city[data-did-country='azt']::after { left: auto; right: 8px; }
a.did-city:hover,
a.did-city:focus-visible,
a.did-city[data-preview],
span.did-city[data-city]:hover { z-index: 2; }
a.did-city:hover::after,
a.did-city:focus-visible::after,
a.did-city[data-preview]::after,
span.did-city[data-city]:hover::after { opacity: 1; }
a.did-city:hover i,
a.did-city:focus-visible i,
a.did-city[data-preview] i,
span.did-city[data-city]:hover i { background: #ffffff; transform: scale(2.2); box-shadow: 0 0 26px rgba(219, 219, 214, 0.95); }
/* 물결 링: 깜빡이는 점(<i>) 둘레로 링(<b>)이 하나씩 퍼져 나간다. 점이 몰린 유럽에서도 지도가 가려지지 않도록
   작고(지름 최대 22px) 얇고 흐리게 두고, 점마다 시작 시각(--tw)을 어긋나게 한다.
   가리키거나 초점이 오거나 자동 미리보기가 머문 도시는 링이 더 크고 밝게, 더 빨리 퍼진다. */
.did-map { --ring: clamp(12px, 2.3vw, 22px); --ring-on: clamp(28px, 4.6vw, 44px); }
@keyframes did-ring {
	from { transform: scale(0.25); opacity: 0.8; }
	to { transform: scale(1); opacity: 0; }
}
.did-city b {
	position: absolute;
	left: calc(var(--ring) / -2);
	top: calc(var(--ring) / -2);
	width: var(--ring);
	height: var(--ring);
	box-sizing: border-box;
	border: 1px solid rgba(219, 219, 214, 0.78);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	animation: did-ring 3.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
	animation-delay: var(--tw, 0s);
}
a.did-city:hover b,
a.did-city:focus-visible b,
a.did-city[data-preview] b,
span.did-city[data-city]:hover b,
.did-city[data-on] b { --ring: var(--ring-on); border-color: rgba(255, 255, 255, 0.9); animation-duration: 1.8s; animation-delay: 0s; }
.did-map[data-active] .did-city:not([data-on]) b { animation: none; }
a.did-city:focus-visible i { outline: 1px solid #ffffff; outline-offset: 2px; }
/* 도시 이름은 나라마다 한 줄로, 그 나라 점들의 오른쪽 위에 뜬다(아메리카는 왼쪽 위). */
.did-map-label,
.did-map-home {
	position: absolute;
	font-size: 13px;
	font-weight: 300;
	white-space: nowrap;
	text-shadow: 0 0 6px #000000, 0 0 2px #000000;
	transform: translate(8px, calc(-100% - 6px));
	pointer-events: none;
}
.did-map-label { opacity: 0; transition: opacity 0.4s; }
.did-map-label.is-flip { transform: translate(calc(-100% - 8px), calc(-100% - 6px)); }
.did-map-label[data-on] { opacity: 1; }
/* 2026-12-02 독일 Dialogue Impact — 서울·동탄처럼 점을 키우고 이름을 늘 보여 준다(.did-city.is-hub · .did-map-hub).
   KOREA 의 규칙(.did-map-home · .is-home)과 따로 두어 한쪽을 가리켜도 다른 쪽 점이 커지지 않는다.
   이름은 함부르크 점 바로 위 가운데. 다른 나라를 골라도 그대로 보이고(2026-12-03), 독일 도시 이름(함부르크 · 프랑크푸르트)이
   같은 자리에 뜨는 동안(독일 미리보기·선택)만 숨긴다. */
.did-city.is-hub i { transform: scale(1.8); box-shadow: 0 0 22px rgba(219, 219, 214, 0.9); }
.did-map-hub { position: absolute; font-size: 14px; font-weight: 300; white-space: nowrap; text-shadow: 0 0 6px #000000, 0 0 2px #000000; transition: opacity 0.4s; }
/* 가운데에서 조금 왼쪽(-62%) — 리투아니아(빌뉴스) 이름 줄과 닿지 않게(2026-12-03) */
a.did-map-hub { transform: translate(-62%, calc(-100% - 12px)); color: #ffffff; text-decoration: none; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
a.did-map-hub::after { content: '\00a0\2197'; position: absolute; left: 100%; top: 0; opacity: 0; transition: opacity 0.3s; }
a.did-map-hub:hover::after,
a.did-map-hub:focus-visible::after { opacity: 1; }
a.did-map-hub:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.did-map:has(a.did-map-hub:is(:hover, :focus-visible)) .did-city.is-hub i { background: #ffffff; transform: scale(2.6); box-shadow: 0 0 26px rgba(219, 219, 214, 0.95); }
.did-map:has(a.did-map-hub:is(:hover, :focus-visible)) .did-city.is-hub b { --ring: var(--ring-on); border-color: rgba(255, 255, 255, 0.9); animation-duration: 1.8s; animation-delay: 0s; }
.did-map[data-active='de'] .did-map-hub,
.did-map[data-preview='de'] .did-map-hub { opacity: 0; pointer-events: none; }
.did-map[data-did-map] a.did-map-hub:focus-visible { opacity: 1; pointer-events: auto; }
/* 좁은 화면에서는 독일이 지도 왼쪽 끝이라 가운데 맞춤이면 이름 앞이 잘린다 — 점 왼쪽 16px 에서 시작한다 */
@media (max-width: 640px) { a.did-map-hub { transform: translate(-16px, calc(-100% - 12px)); } }
/* 서울과 동탄은 점이 거의 겹쳐 '서울 · 동탄' 하나로 늘 보여 준다(2026-12-03부터 다른 나라를 골라도 — 일본만 이름 줄이 겹쳐 비킨다).
   2026-11-29 디자인 QA: 이름은 한국 바로 위 가운데에 두고, 두 점과 이름을 KOREA 링크 하나로 묶는다.
   누르면 KOREA 화면으로 간다(2026-11-30부터 그 화면 맨 위가 INSIGHT BEGINS INSIDE).
   이름 아래 24px 원(::before)이 두 점을 덮어 점을 눌러도 같은 곳으로 가고, 가리키면(초점 포함) 두 점이 커지며 이름 옆에 →가 뜬다. */
.did-map-home { font-size: 14px; font-weight: 300; transition: opacity 0.4s; }
a.did-map-home { transform: translate(-50%, calc(-100% - 12px)); color: #ffffff; text-decoration: none; pointer-events: auto; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
a.did-map-home::before { content: ''; position: absolute; left: 50%; top: 100%; width: 28px; height: 24px; margin-left: -14px; border-radius: 50%; }
a.did-map-home::after { content: '\00a0\2192'; position: absolute; left: 100%; top: 0; opacity: 0; transition: opacity 0.3s; }
a.did-map-home:hover::after,
a.did-map-home:focus-visible::after { opacity: 1; }
a.did-map-home:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.did-map:has(a.did-map-home:is(:hover, :focus-visible)) .did-city.is-home i { background: #ffffff; transform: scale(2.6); box-shadow: 0 0 26px rgba(219, 219, 214, 0.95); }
.did-map:has(a.did-map-home:is(:hover, :focus-visible)) .did-city.is-home b { --ring: var(--ring-on); border-color: rgba(255, 255, 255, 0.9); animation-duration: 1.8s; animation-delay: 0s; }
.did-map[data-active='jp'] .did-map-home,
.did-map[data-preview='jp'] .did-map-home { opacity: 0; pointer-events: none; }
/* 키보드로 오면 다른 나라를 고른 중이어도 보인다. */
.did-map[data-did-map] a.did-map-home:focus-visible { opacity: 1; }
/* 점을 가리켜 뜨는 도시 이름도 오른쪽 위라서, 같은 자리의 글자는 그동안 비켜 준다:
   도쿄·오사카를 가리키면 '서울 · 동탄'이, 어느 점이든 가리키면 목록에서 고른 나라의 도시 이름 줄이 사라진다. */
/* 2026-12-03: 독일 점을 가리키면 그 말풍선이 'Dialogue Impact'와 닿아 이름을 비킨다. */
.did-map:has(a.did-city[data-did-country='de']:is(:hover, :focus-visible)) .did-map-hub,
.did-map:has(a.did-city[data-did-country='jp']:is(:hover, :focus-visible)) .did-map-home,
.did-map:has(a.did-city:is(:hover, :focus-visible)) .did-map-label,
.did-map:has(span.did-city[data-city]:hover) .did-map-label { opacity: 0; }
/* 2026-11-29 디자인 QA: 나라 목록(과 위의 Dialogue Impact 줄)은 위 본문(.did-prose)과 같은 폭·가운데에 둔다. 넓은 화면 세 칸, 휴대폰 두 칸. */
.did-index { align-self: center; width: 100%; max-width: 36em; }
.did-countries {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0 32px;
	margin: 0;
	padding: 0;
}
.did-country {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 0;
	border-top: 1px solid var(--did-line-soft);
	transition: border-color 0.4s;
}
.did-country[data-on] { border-top-color: var(--did-mist); }
.did-country-btn {
	align-self: flex-start;
	min-height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #e6e6e2;
	font: 300 17px/1.4 var(--did-ko);
	text-align: left;
	cursor: pointer;
	transition: color 0.4s;
}
.did-country[data-on] .did-country-btn,
.did-country-btn:hover { color: #ffffff; }
.did-cities { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 0; font-size: 14px; color: var(--did-dim); }
.did-cities a { color: inherit; text-decoration: underline; text-decoration-color: rgba(154, 154, 149, 0.4); text-underline-offset: 3px; transition: color 0.3s; }
.did-cities a:hover,
.did-cities a:focus-visible { color: #ffffff; }
/* 독일은 나라 이름도 링크다(Dialogue Impact 2024 보고서, 새 창). 가리키면 다른 나라처럼 지도에 빛나고, 화살표가 바깥으로 비킨다. */
a.did-country-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.did-country-out { color: var(--did-dim); transition: color 0.4s, transform 0.5s var(--did-ease); }
a.did-country-btn:hover .did-country-out,
a.did-country-btn:focus-visible .did-country-out { color: #ffffff; transform: translate(2px, -2px); }
/* 나라 목록 위의 Dialogue Impact(어둠속의대화 국제 본부 사이트) 한 줄. 나라 칸과 같은 선·크기로 맞춘다. */
.did-impact { margin: 0; padding: 18px 0; border-top: 1px solid var(--did-line-soft); }
.did-impact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: #e6e6e2;
	font: 300 17px/1.4 var(--did-latin);
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: color 0.4s;
}
.did-impact-out { color: var(--did-dim); transition: color 0.4s, transform 0.5s var(--did-ease); }
.did-impact a:hover,
.did-impact a:focus-visible { color: #ffffff; }
.did-impact a:hover .did-impact-out,
.did-impact a:focus-visible .did-impact-out { color: #ffffff; transform: translate(2px, -2px); }

/* OUR HISTORY: 소개글 아래의 연혁(리플렛 연혁 그대로). 시간이 갈수록 빛줄기와 날짜가 밝아지고, 마지막 줄(2026. 12.)에서 빛줄기가 잦아든다.
   마지막 줄도 다른 줄과 같은 모양이다(따로 강조하지 않는다). 줄의 밝기는 칸마다 --from에서 --to로 이어져 칸이 바뀌어도 끊기지 않는다. 날짜 글자색(--tone)은 어두운 바탕에서 4.5:1 이상이다. */
.did-history { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
/* 2026-11-29 요청: 제목을 한 줄로 — 연혁  DIALOGUE IN THE DARK in KOREA. 한글과 영문의 밑선을 맞추고, 좁은 화면에서도 한 줄에 들도록 글자가 화면 폭을 따라 줄어든다. */
.did-history .did-lead { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; }
.did-history .did-statement { font-size: var(--did-fs-section); }
.did-history .did-statement-en { margin-top: 0; font-size: 15px; line-height: 1.4; letter-spacing: 0.06em; white-space: nowrap; }
.did-timeline { display: flex; flex-direction: column; width: 100%; max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
/* 2026-11-25 요청: 연도부터 내용까지 한 줄을 한 묶음으로 보고 그 묶음 전체를 화면 가운데에 — 목록 폭을 가장 긴 줄에 맞춰 가운데 둔다(연도·빛줄기 세로선은 그대로 맞물린다) */
@media (min-width: 769px) {
	.did-timeline { width: fit-content; }
}
.did-era { --from: 0.05; --to: 0.12; --tone: #767672; --pad: 0px; display: flex; gap: clamp(18px, 4vw, 56px); }
.did-era:nth-child(2) { --from: 0.12; --to: 0.2; --tone: #838380; }
.did-era:nth-child(3) { --from: 0.2; --to: 0.3; --tone: #90908c; }
.did-era:nth-child(4) { --from: 0.3; --to: 0.42; --tone: #9e9e9a; }
.did-era:nth-child(5) { --from: 0.42; --to: 0.56; --tone: #acaca7; }
.did-era:nth-child(6) { --from: 0.56; --to: 0.7; --tone: #babab5; }
.did-era:nth-child(7) { --from: 0.7; --to: 0.84; --tone: #c9c9c4; }
.did-era:nth-child(8) { --from: 0.84; --to: 0; --tone: #dcdcd7; }
/* 날짜 칸은 글자 크기에 맞춘 너비다. 글자가 30px보다 작아지면 그만큼 내려 본문 첫 줄과 높이를 맞춘다. */
.did-era-year { flex: 0 0 4.9em; padding-top: calc(var(--pad) + (30px - 1em) / 2); text-align: right; font: 300 20px/1 var(--did-latin); color: var(--tone); white-space: nowrap; }
.did-era-rail { position: relative; flex: 0 0 9px; }
.did-era-rail i { position: absolute; top: 0; bottom: 0; left: 4px; width: 1px; background: linear-gradient(180deg, rgba(219, 219, 214, var(--from)), rgba(219, 219, 214, var(--to))); }
.did-era-rail b { position: absolute; top: calc(var(--pad) + var(--dot-top, 10px)); left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.did-era-body { flex: 1 1 auto; min-width: 0; padding: 0 0 56px; font-size: 17px; line-height: 1.75; color: var(--did-text); }

/* LINK: 바깥으로 이어지는 문 여섯 개. 줄 하나가 문 하나이고, 가리키거나 초점을 옮기면
   극장 전환처럼 왼쪽 문틈에 빛줄기가 먼저 켜진 뒤 문이 열리듯 빛이 줄 전체로 번진다. 글자는 제자리에 있다. */
.did-links { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1040px; margin: 0 auto; }
.did-links-note { font-size: 14px; line-height: 1.6; color: var(--did-dim); }
.did-links-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--did-line); border-bottom: 1px solid var(--did-line); }
.did-links-list li + li { border-top: 1px solid var(--did-line-soft); }
.did-link {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 16px;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 4px clamp(24px, 4vw, 64px);
	padding: clamp(28px, 3.4vw, 42px) clamp(18px, 2.2vw, 28px);
	color: #ffffff;
	text-decoration: none;
}
.did-link-name { grid-column: 1; grid-row: 1 / span 2; font: 300 clamp(24px, 3.2vw, 40px)/1.25 var(--did-latin); letter-spacing: 0.12em; color: var(--did-text); text-wrap: balance; transition: color 0.4s, text-shadow 0.6s; }
.did-link-what { grid-column: 2; grid-row: 1; align-self: end; font-size: 17px; line-height: 1.6; color: var(--did-text); }
.did-link-where { grid-column: 2; grid-row: 2; align-self: start; font: 300 14px/1.6 var(--did-latin); color: var(--did-dim); }
.did-link-out { grid-column: 3; grid-row: 1 / span 2; color: var(--did-dim); transition: color 0.4s, transform 0.5s var(--did-ease); }
/* 문틈의 빛줄기 */
.did-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 14%;
	bottom: 14%;
	width: 1px;
	background: var(--did-mist);
	box-shadow: 0 0 10px 1px rgba(219, 219, 214, 0.75);
	transform: scaleY(0);
	transition: transform 0.35s var(--did-ease);
}
/* 문이 열리며 번지는 빛 */
.did-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(219, 219, 214, 0.15), rgba(219, 219, 214, 0.05) 50%, rgba(219, 219, 214, 0) 90%);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.5s var(--did-door);
}
.did-link:hover::before,
.did-link:focus-visible::before { transform: scaleY(1); }
.did-link:hover::after,
.did-link:focus-visible::after { transform: scaleX(1); transition: transform 0.9s var(--did-door) 0.15s; }
.did-link:hover .did-link-name,
.did-link:focus-visible .did-link-name { color: #ffffff; text-shadow: 0 0 22px rgba(219, 219, 214, 0.45); }
.did-link:hover .did-link-out,
.did-link:focus-visible .did-link-out { color: #ffffff; transform: translate(3px, -3px); }
.did-link:focus-visible { outline: 1px solid var(--did-mist); outline-offset: -1px; }

/* 전체메뉴의 LINK 는 2026-11-25 요청으로 다시 펼침 메뉴다. 2026-11-26 요청으로 바깥 링크 일곱을
   D.STORY · KAKAO CHANNEL · INSTAGRAM · NAVER CAFE · NOL TICKET · BLUESQUARE · NVISIONS 순서로 둔다(LINK 페이지도 같다). */

/* KOREA 맨 끝: 리플렛의 「어둠이 들려주는 이야기」(2026-11-30 수정 요청으로 제목은 빼고 첫 문장으로 바로 시작한다). 리플렛에서 가장 안쪽 페이지에 '깊이 간직한 편지'처럼 놓인 글이라
   본문에서 가장 어두운 자리(검정 종이)에 두고, 위에서 내려온 빛줄기가 편지 윗변에 닿아 양옆으로 번진다. 줄바꿈은 리플렛 그대로. */
.did-letter { display: flex; flex-direction: column; align-items: center; width: 100%; }
.did-letter-beam { width: 1px; height: clamp(72px, 9vw, 120px); background: linear-gradient(180deg, rgba(219, 219, 214, 0), var(--did-mist)); }
.did-letter-page {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(34px, 4vw, 46px);
	width: 100%;
	max-width: 880px;
	padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 80px);
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #000000;
	color: var(--did-text);
	line-height: 2.1;
	text-align: center;
}
.did-letter-page::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 50%;
	width: min(64%, 440px);
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, rgba(219, 219, 214, 0), rgba(219, 219, 214, 0.85), rgba(219, 219, 214, 0));
}
.did-letter-open { display: flex; flex-direction: column; align-items: center; }
.did-letter-lead { font-size: var(--did-fs-em); line-height: 1.7; color: #ffffff; }
.did-letter-sign {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: min(100%, 320px);
	margin-top: 8px;
	padding-top: 40px;
	border-top: 1px solid var(--did-line-soft);
	line-height: 1.7;
}
.did-letter-sign p[lang='en'] { font: 300 15px/1.7 var(--did-latin); letter-spacing: 0.2em; color: var(--did-dim); }
.did-letter-sign p:last-child { color: var(--did-dim); }

/* ───────── RESERVATION: 서울·동탄 예매 정보를 한 화면에(운영 안내·관람 요금·유의사항·오시는 길·문의전화) ───────── */
/* 칸마다 제목 줄 + 본문. 위 탭이나 전체메뉴로 오면 칸 제목이 탭 막대 바로 아래에 멈춘다. */
.did-visit { display: flex; flex-direction: column; gap: 36px; padding-top: 44px; border-top: 1px solid var(--did-line); scroll-margin-top: 113px; outline: none; }
.did-visit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; }
/* 2026-12-01 접근성 점검: RESERVATION의 구역 제목은 h2(북촌·동탄 옛 화면은 h4 그대로) */
.did-visit-head :is(h2, h4) { flex: 0 0 auto; min-width: 200px; font-size: var(--did-fs-section); font-weight: 300; line-height: 1.4; }
.did-visit-head .did-fine { flex: 1 1 360px; max-width: 40em; }


/* 서울과 동탄을 나란히. 두 지점 사이에는 극장 문틈처럼 빛이 옅게 스민 세로줄 하나. 좁은 화면에서는 위아래로 쌓는다. */
.did-venues { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 6vw, 88px); }
.did-venues::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: linear-gradient(180deg, rgba(219, 219, 214, 0), rgba(219, 219, 214, 0.3) 18%, rgba(219, 219, 214, 0.3) 82%, rgba(219, 219, 214, 0));
}
.did-venue { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.did-venue-name { font-size: 22px; font-weight: 300; line-height: 1.3; color: #ffffff; }
.did-venue .did-table th,
.did-venue .did-table td { padding-left: 8px; padding-right: 8px; }
.did-venue .did-table tbody th { width: 40%; }
.did-venue .did-price.is-small { font-size: clamp(22px, 2.1vw, 28px); }
.did-venue .did-map-figure { flex: none; }
.did-venue .did-info > div:first-child { padding-top: 0; }
/* 오시는 길: 나란히 놓일 때 두 지점이 같은 줄(이름·약도·주소·지하철·주차)을 나눠 써서 주소와 주차가 서울과 같은 높이에서 시작한다.
   동탄에는 지하철 칸이 없으니 주소가 그 칸까지 차지하고, 주소 아래 줄은 서울의 주차 위 줄과 겹친다. */
@media (min-width: 769px) {
	@supports (grid-template-rows: subgrid) {
		.did-venues.is-matched { grid-template-rows: repeat(5, auto); row-gap: 24px; }
		.did-venues.is-matched .did-venue { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
		.did-venues.is-matched .did-info { display: grid; grid-row: 3 / -1; grid-template-rows: subgrid; row-gap: 0; }
		.did-venues.is-matched .did-info > div:first-child { grid-row: 1; }
		.did-venues.is-matched .did-info > div:first-child:nth-last-child(2) { grid-row: 1 / 3; }
		.did-venues.is-matched .did-info > div:last-child { grid-row: 3; }
	}
}
/* 2026-12-01 수정 요청(3차): 서울·동탄 두 칸 아래 전체 폭으로 한 번 넣는 주차·교통 공통 안내, 동탄 연결통로 안내 */
.did-venues-note { margin: 0; font-size: 15px; line-height: 1.8; color: var(--did-dim); }
.did-info dd.did-info-note { font-size: 15px; color: var(--did-dim); }
.did-gift { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--did-line-soft); }
.did-gift-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; font-size: 16px; color: var(--did-text); }
.did-gift-head .did-price.is-small { font-size: var(--did-fs-em); }
.did-gift-list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.7; color: var(--did-dim); }

.did-docs a.did-doc-link { text-decoration: none; }

/* 문의전화(2026-11-29부터 예매하기 칸 안): 무엇을 묻는지 + 누르면 바로 거는 번호. 예전 주소 #price·#contact 는 예매하기 칸 안의 요금표·문의전화 자리로 간다. */
#price,
#contact { scroll-margin-top: 113px; }
.did-booking-calls { display: flex; flex-direction: column; gap: 24px; }
.did-calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(40px, 6vw, 88px); }
.did-call { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; border-top: 1px solid var(--did-line-soft); }
/* 2026-12-01 수정 요청(3차): 칸마다 굵은 제목(17px) → 이름표(15px 회색, 같은 폭) + 번호·카카오톡(20px) 한 줄. 오른쪽 괄호 안내는 번호 아래, PC에서 한 줄. */
.did-call-what { margin-bottom: 4px; font-size: var(--did-fs-body); font-weight: 500; line-height: 1.6; color: #ffffff; }
.did-call-line { display: flex; align-items: baseline; gap: 16px; }
.did-call-label { flex: 0 0 6.6em; font-size: 15px; color: var(--did-dim); }
.did-call-value { display: inline-flex; align-items: center; gap: 8px; font: 300 20px/1.4 var(--did-latin); color: #ffffff; text-decoration: none; }
.did-call-value.is-kakao { font-family: var(--did-ko); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 5px; }
.did-call-value:hover,
.did-call-value:focus-visible { text-shadow: 0 0 18px rgba(219, 219, 214, 0.6); }
.did-call-value.is-kakao:hover,
.did-call-value.is-kakao:focus-visible { text-decoration-color: #ffffff; text-shadow: none; }
.did-call-note { font-size: 14px; line-height: 1.7; color: var(--did-dim); }
@media (min-width: 769px) {
	.did-call-note { white-space: nowrap; }
}

/* RESERVATION 오시는길 아래(2026-11-29): 위쪽 탭에서 뺀 바깥 안내 셋(유의사항·FAQ·DOWNLOAD).
   지점 안내와는 shadcn/ui Separator와 같은 1px 가로선으로 나누고, 제목과 세 항목 사이는 세로선(Separator vertical)으로 나눈다.
   항목을 가리키면(초점 포함) 그 칸 왼쪽 선에 극장 문틈 같은 빛줄기가 가운데에서 위아래로 번지고, 화살표가 바깥으로 비킨다. */
.did-separator { flex: none; background: var(--did-line); }
.did-separator[data-orientation='horizontal'] { width: 100%; height: 1px; }
.did-separator[data-orientation='vertical'] { width: 1px; align-self: stretch; }
.did-guide { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.did-guide-title { padding: 22px 28px 0 0; font-size: 19px; font-weight: 300; line-height: 1.5; color: #ffffff; }
/* 좁은 제목 칸에서는 '방문 전에 / 확인해 주세요'로 뜻 단위에서만 줄을 바꾼다. */
.did-guide-title span { white-space: nowrap; }
.did-guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.did-guide-list li { position: relative; display: flex; }
.did-guide-list li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--did-line-soft); }
.did-guide-link { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 22px 28px 26px; color: #ffffff; text-decoration: none; outline: none; }
.did-guide-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(180deg, rgba(219, 219, 214, 0), #ffffff 50%, rgba(219, 219, 214, 0));
	box-shadow: 0 0 14px rgba(219, 219, 214, 0.55);
	opacity: 0;
	transform: scaleY(0.2);
	transition: transform 0.7s var(--did-ease), opacity 0.4s;
}
.did-guide-link:hover::before,
.did-guide-link:focus-visible::before { opacity: 1; transform: none; }
.did-guide-name { display: inline-flex; align-items: center; gap: 8px; font: 300 19px/1.4 var(--did-latin); letter-spacing: 0.02em; }
.did-guide-out { flex: none; color: var(--did-dim); transition: color 0.4s, transform 0.5s var(--did-ease); }
.did-guide-link:hover .did-guide-out,
.did-guide-link:focus-visible .did-guide-out { color: #ffffff; transform: translate(2px, -2px); }
.did-guide-link:focus-visible .did-guide-name { text-decoration: underline; text-underline-offset: 5px; }

/* 전체메뉴 RESERVATION: 새 창으로 여는 항목(유의사항·FAQ·DOWNLOAD)에는 작은 화살표를 붙인다. */
#lnb .sub_depth .did-menu-out { display: inline-block; margin-left: 6px; vertical-align: 0.12em; opacity: 0.75; }

/* 팝업(유의사항·개인정보 처리 방침·유실물 관리규정) 안의 문서 */
.did-doc-lead { margin: 0 0 14px; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--did-text); word-break: keep-all; }
.did-doc { display: flex; flex-direction: column; gap: 14px; padding-right: 8px; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--did-text); word-break: keep-all; }
.did-doc p { margin: 0; }
.did-doc h4 { margin: 14px 0 0; font-size: 18px; font-weight: 300; line-height: 1.5; color: #ffffff; }
.did-doc-title { font-size: 18px; font-weight: 300; line-height: 1.5; color: #ffffff; }
.did-doc a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.did-doc-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.did-doc-list > li { position: relative; padding-left: 18px; }
.did-doc-list > li::before { content: ''; position: absolute; left: 0; top: 0.9em; width: 8px; height: 1px; background: var(--did-mist); }
.did-doc-list .did-doc-list { margin-top: 8px; }
.did-doc-list.is-plain > li { padding-left: 0; }
.did-doc-list.is-plain > li::before { content: none; }
.did-doc-law { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--did-line); font-size: 14px; line-height: 1.75; color: var(--did-dim); }
.did-doc-law strong { font-weight: 300; color: var(--did-text); }

/* 푸터(2026-11-26): 회사 정보는 왼쪽, 엔비전스 마크는 오른쪽 아래. SNS 아이콘은 빼고 인스타그램·네이버 카페는 메뉴 LINK에 둔다.
   메인은 평소에 엔비전스 마크만 오른쪽 아래에 두고, 회사 정보는 전체메뉴를 열었을 때 보여 준다. */
#footer > .inner { align-items: center; }
#footer .silence { flex: none; margin-left: auto; }
body:not(.did-sub):not(.open_nav) #footer address { display: none; }
body.did-sub #footer { padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--did-ground); }
body.did-sub #footer > .inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	max-width: 1392px;
	margin: 0 auto;
	padding: 28px 24px 32px;
	box-sizing: border-box;
}
body.did-sub #footer address {
	position: static;
	flex: 999 1 420px;
	min-width: 0;
	width: auto;
	padding: 0;
	opacity: 1;
	transform: none;
	color: var(--did-dim);
	font: 300 13px/1.7 var(--did-ko);
	font-style: normal;
	text-align: left;
}
body.did-sub .silence img { height: 26px; }
/* 2026-12-01: 회사 정보 아래 한 줄로 카피라이트. 회사 정보보다 한 단 작고 옅게. 메인에서는 회사 정보와 함께 전체메뉴를 열었을 때 보인다. */
#footer address > .did-copyright { margin-top: 2px; font-size: 0.92em; letter-spacing: 0.01em; opacity: 0.75; }
/* 전체메뉴(검은 화면)를 열면 화면 아래에 푸터(회사 정보 + 엔비전스 마크)를 붙여 둔다.
   하위 화면(2026-11-27): 메뉴를 열어도 하위 화면 푸터를 모양 그대로(같은 크기·색) 흐름 안에 둔 채 화면 아래에 붙인다(sticky).
   예전에는 fixed로 바꿔 페이지 길이가 푸터 높이만큼 줄었다. 맨 아래까지 내린 뒤 열면 화면이 그만큼(87px) 튀고
   푸터의 높이·마크 크기·색도 바뀌어 흔들렸고, 닫으면 푸터가 화면 밖으로 밀려나 있었다. 아래 메뉴 푸터 규칙은 메인에만 쓴다. */
body.did-sub.open_nav #footer { position: sticky; bottom: 0; left: auto; width: auto; }
body.open_nav:not(.did-sub) #footer { padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); background: #000000; }
body.open_nav:not(.did-sub) #footer > .inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	max-width: 1392px;
	margin: 0 auto;
	padding: 20px 24px 24px;
	box-sizing: border-box;
}
body.open_nav:not(.did-sub) #footer address {
	display: block;
	position: static;
	flex: 999 1 420px;
	min-width: 0;
	width: auto;
	padding: 0;
	opacity: 1;
	transform: none;
	color: var(--did-dim);
	font: 300 13px/1.7 var(--did-ko);
	font-style: normal;
	text-align: left;
}
body.open_nav:not(.did-sub) .silence img { height: 22px; }
/* 메인(2026-11-27): 전체메뉴를 열어도 엔비전스 마크는 평소 자리(화면 오른쪽 아래 끝, 같은 크기)에서 움직이지 않는다.
   회사 정보는 위와 같은 자리(왼쪽 여백 그대로)에 두고, 마크 밑으로 들어가지 않게 오른쪽만 비워 둔다.
   187px = 마크 오른쪽 28px + 마크 폭 127px + 사이 32px. 하위 화면의 푸터와 메뉴 푸터는 그대로다. */
body.open_nav:not(.did-sub) #footer > .inner { position: static; padding-right: max(24px, calc(187px - max(0px, (100vw - 1392px) / 2))); }
body.open_nav:not(.did-sub) #footer .silence { position: absolute; right: 28px; bottom: 19px; }
body.open_nav:not(.did-sub) .silence img { display: block; height: 30px; }

/* ───────── 전체메뉴(+) 버튼(2026-11-27) ─────────
   메인·하위 화면 어디서든, 스크롤해도, 메뉴를 열어도 화면 오른쪽 위 같은 자리에 머문다.
   자리는 layout.css·media.css 값 그대로(넓은 화면 위 45px·오른쪽 21px, 휴대폰 위 10px·오른쪽 6px)이고 기준만 화면으로 바꾼다.
   로고 줄을 지나 내려가면(html.did-scrolled, common.js) + 뒤에 어두운 원을 깔아 빛 기둥이나 밝은 사진 위에서도 보이게 한다. */
.btn_total { position: fixed; border-radius: 50%; }
html.did-scrolled .btn_total { background-color: rgba(7, 7, 7, 0.9); box-shadow: 0 0 0 7px rgba(7, 7, 7, 0.9); }
html.did-scrolled .btn_total.show { background-color: transparent; box-shadow: none; }

/* 메뉴 푸터 등장(2026-11-27): 전체메뉴가 서서히 켜지는 동안(common.js fadeIn 300ms) 푸터도 같이 서서히 나타난다.
   메인: 엔비전스 마크는 처음부터 그 자리에 있으니 그대로 두고, 푸터 막대(윗선·바탕)와 회사 정보만 나타난다.
   하위 화면: 푸터가 이미 화면에 다 보이던 경우(맨 아래까지 내림)는 그대로 두고, 아닐 때(body.did-footer-fade)만 푸터 전체가 나타난다.
   곡선은 메뉴의 jQuery fadeIn(swing)과 비슷한 ease-in-out으로 맞춘다. */
@keyframes did-footer-in { from { opacity: 0; } }
@keyframes did-footer-bar { from { background-color: transparent; border-top-color: transparent; } }
body.open_nav:not(.did-sub) #footer { animation: did-footer-bar 0.3s ease-in-out both; }
body.open_nav:not(.did-sub) #footer address,
body.did-sub.open_nav.did-footer-fade #footer { animation: did-footer-in 0.3s ease-in-out both; }
/* 메뉴 끝(PARTNERSHIP, 펼친 LINK)이 아래 푸터에 가리지 않도록 메뉴 아래 여백을 푸터 높이보다 넉넉히 둔다. */
.total_menu .inner { padding-bottom: clamp(96px, 12vh, 132px); }

/* 배경 애니메이션을 멈추면 반복 애니메이션도 멈춘다. */
body.did-still .did-pulse { animation: none; opacity: 0; }
body.did-still .did-city i { animation: none; }
body.did-still .did-city b { animation: none; opacity: 0; }

@media (max-width: 768px) {
	.did-hero { height: clamp(380px, 60vh, 480px); }
	.did-hero-title { top: 60%; }
	/* 휴대폰에서는 지도가 작아 도시 이름은 아래 목록으로 보여 주고, 지도에는 빛나는 점만 둔다. */
	.did-map-label { display: none; }
	/* 가리켜 볼 수 없으니 자동 미리보기로 머문 도시 이름만 띄운다. */
	a.did-city:not([data-preview])::after { display: none; }
	a.did-city::after { font-size: 12px; }
	.did-hero[data-did-hero='c'] .did-hero-title { transform: translate(20px, -50%); }
	.did-hero-toggle { right: 16px; bottom: 18px; width: 32px; height: 32px; }
	.did-tab { padding: 20px 0 18px; }
	.did-main { gap: 64px; font-size: 16px; }
	.did-split-head { flex-basis: 100%; }
	.did-price { font-size: 36px; }
	/* 요금표는 세 칸이 한 줄에 들어가도록 금액을 줄인다. 구분 칸은 낱말 단위로 줄바꿈한다. */
	.did-price.is-small { font-size: clamp(18px, 5.6vw, 30px); }
	.did-table th,
	.did-table td { padding-left: 10px; padding-right: 10px; }
	.did-table tbody th { width: auto; }
	/* 리플렛 가격표: 다섯 칸이 휴대폰 폭에 들도록 여백과 글자를 줄이고, 러닝타임 칸은 요일 아래에 분을 쌓는다. */
	#hours { scroll-margin-top: 72px; }
	.did-fare-table th,
	.did-fare-table td { padding: 13px 5px; }
	.did-fare-table .did-fare-venue { width: auto; padding-left: 0; font-size: 17px; }
	.did-fare-table .did-fare-day { white-space: normal; font-size: 14px; }
	.did-fare-table .did-fare-kind { width: auto; font-size: 13px; }
	.did-fare-table td:last-child { padding-right: 0; }
	.did-fare-time { display: block; margin-left: 0; font-size: 12px; }
	.did-fare-sub { display: block; margin-left: 0; }
	.did-fare-table .did-price.is-small { font-size: clamp(16px, 4.9vw, 20px); }
	.did-fare-table .did-price + span { margin-left: 2px; font-size: 13px; }
	.did-fare-notes { font-size: 13px; }
	.did-doc-name { font-size: 18px; }
	.did-doc,
	.did-doc-lead { font-size: 15px; }
	.did-hero-en.is-long { letter-spacing: 0.18em; padding-left: 0.18em; }
	/* 연혁: 날짜를 본문 위로 올려 본문이 화면 폭을 다 쓰게 한다. 빛줄기는 왼쪽에 그대로 이어진다. */
	.did-era { --pad: 0px; --dot-top: 6px; display: grid; grid-template-columns: 9px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; }
	.did-era-rail { grid-row: 1 / 3; grid-column: 1; }
	.did-era-year { grid-row: 1; grid-column: 2; padding: 0 0 4px; text-align: left; font-size: 19px; }
	.did-era-body { grid-row: 2; grid-column: 2; padding-bottom: 36px; font-size: 16px; }
	body.did-sub #footer > .inner { padding: 22px 18px 26px; }
	body.did-sub #footer address { flex-basis: 100%; font-size: 11px; line-height: 1.7; }
	body.did-sub .silence img { height: 18px; }
	body.open_nav:not(.did-sub) #footer > .inner { gap: 10px 16px; padding: 16px 18px 20px; }
	body.open_nav:not(.did-sub) #footer address { flex-basis: 100%; font-size: 11px; line-height: 1.6; }
	body.open_nav:not(.did-sub) .silence img { height: 16px; }
	/* 메인에서 메뉴를 열어도 마크는 평소 자리·크기(오른쪽 18px, 아래 21px, 14px). 회사 정보 아래에 마크 줄 높이만큼 비워 둔다. */
	body.open_nav:not(.did-sub) #footer > .inner { padding-right: 18px; padding-bottom: 50px; }
	body.open_nav:not(.did-sub) #footer .silence { right: 18px; bottom: 21px; }
	body.open_nav:not(.did-sub) .silence img { height: 14px; }
	/* 탭 막대: 가로로 넘기는 탭이 + 밑으로 들어가지 않게 오른쪽을 비운다(가장자리 흐림 56px과 같은 폭). */
	.did-subnav ul { padding-right: 56px; }
	.total_menu .inner { padding-bottom: 136px; }
	.did-letter-page { padding: 48px 18px 56px; line-height: 2; }
	.did-letter-sign p[lang='en'] { font-size: 13px; }
	/* RESERVATION: 서울·동탄과 문의전화를 위아래로 쌓고 사이 세로줄은 가로줄로 바꾼다. */
	.did-visit { gap: 28px; padding-top: 36px; scroll-margin-top: 72px; }
	#price,
	#contact { scroll-margin-top: 72px; }
	.did-visit-head :is(h2, h4) { min-width: 0; }
	.did-venues,
	.did-calls { grid-template-columns: minmax(0, 1fr); }
	.did-venues::before { display: none; }
	.did-venue + .did-venue { padding-top: 40px; border-top: 1px solid var(--did-line-soft); }
	/* 오시는길 아래 안내: 제목 아래로 세 항목을 쌓고, 항목 사이 세로선과 빛줄기는 가로로 눕힌다. */
	.did-guide { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.did-guide-title { padding: 0 0 8px; font-size: 17px; }
	.did-guide-list { grid-template-columns: minmax(0, 1fr); }
	.did-guide-list li::before,
	.did-guide-link::before { right: 0; bottom: auto; width: auto; height: 1px; }
	.did-guide-link::before { background: linear-gradient(90deg, rgba(219, 219, 214, 0), #ffffff 50%, rgba(219, 219, 214, 0)); transform: scaleX(0.2); }
	.did-guide-link { gap: 6px; padding: 18px 0 20px; }
	.did-guide-name { font-size: 18px; }
	/* LINK: 이름·하는 일·정보를 세로로 쌓고, 새 창 표시는 이름 옆에 둔다. */
	.did-link { grid-template-columns: minmax(0, 1fr) 16px; grid-template-rows: auto; gap: 6px 16px; padding: 26px 16px; }
	.did-link-name { grid-column: 1; grid-row: 1; margin-bottom: 4px; font-size: 24px; letter-spacing: 0.1em; }
	.did-link-what { grid-column: 1; grid-row: 2; align-self: start; font-size: 16px; }
	.did-link-where { grid-column: 1; grid-row: 3; }
	.did-link-out { grid-column: 2; grid-row: 1; align-self: start; margin-top: 6px; }
}

/* ───────── 움직임 줄이기: 모든 움직임을 끄고 결과 상태만 보여 준다. ───────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.did-rise,
	.did-grow,
	.did-pulse,
	.did-city i,
	.did-ripple,
	.did-tab[aria-current='page']::after { animation: none !important; }
	.did-city b { display: none; }
	.did-link::before,
	.did-link::after,
	.did-link-out,
	.did-impact-out,
	.did-country-out,
	.did-guide-link::before,
	.did-guide-out { transition: none !important; }
	body.open_nav #footer,
	body.open_nav #footer address { animation: none !important; }
	.did-pulse,
	.did-ripple { display: none; }
	.did-btn,
	.did-row > *,
	.did-zoom img,
	.did-zoom svg,
	.did-card-bar,
	.did-fact::before { transition: none !important; }
	.did-btn:hover,
	.did-row:hover > *,
	.did-zoom:hover img,
	.did-zoom:hover svg { transform: none; }
}
