/* PCD @ Seoul 2026 — index.html 과 register.html 이 같이 쓰는 스타일 */
/*
 * 디자인: 흰 바탕 위 스케치 창
 * - 색은 PCD 2026 로고의 네 가지 색이 의미 있는 곳(로고 숫자, 세션 트랙, 스케치 도형)에만 써요. 나머지는 잉크와 종이.
 * - 큰 글씨(영문·숫자)는 PCD 2026 로고와 같은 계열의 Space Grotesk, 본문과 한글은 Pretendard.
 * - 첫 화면의 p5.js 스케치 도형(원·네모·반원·세모)이 세션 트랙 표시로도 쓰여요.
 */
:root {
  --bg: #ffffff;
  --canvas: #f4f4f1;       /* 스케치 캔버스, 옅은 면 */
  --surface-2: #ebebe6;
  --ink: #222222;
  --muted: #6b6b66;
  --line: #e5e5e0;
  --line-strong: #cdcdc6;
  --green: #198f56;
  --yellow: #ffbf19;
  --red: #f0577c;
  --magenta: #ef70d3;
  --blue: #2f6fde;
  --violet: #7a5af5;
  --teal: #149e94;
  --orange: #f08a24;
  --link: #137044;
  --art-bg: #f4f4f1;
  --focus: #198f56;

  --font-display: "Space Grotesk", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.375rem;
  --fs-xl: clamp(1.875rem, 3.4vw, 2.75rem);
  --fs-hero: clamp(3rem, 9vw, 6.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1120px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  padding-inline: var(--gutter);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-m);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2 { margin: 0; line-height: 1.15; text-wrap: balance; font-weight: 700; }
h3 { margin: 0; line-height: 1.35; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: var(--bg); padding: 6px 12px; z-index: 20; }
.skip:focus { top: 8px; }

main, .foot { max-width: var(--maxw); margin-inline: auto; }

/* ── 상단 바 ── */
.bar {
  position: sticky; top: 0; z-index: 10;
  margin-inline: calc(-1 * var(--gutter));
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar__in { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { height: 15px; width: auto; }
.brand__city { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: var(--fs-s); font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.bar .btn { margin-left: 4px; }
/* 한/영 전환 */
.lang { display: inline-flex; flex: none; padding: 3px; gap: 2px; border-radius: 999px; background: var(--canvas); }
.lang button {
  min-width: 38px; min-height: 30px; padding: 0 10px; border: 0; margin: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; cursor: pointer;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); cursor: default; }
.lang button:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
/* 메뉴가 한 줄에 다 안 들어가면 숨겨요 (영어 메뉴가 더 길어서 더 일찍 숨김) */
@media (max-width: 900px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 1140px) { html[lang="en"] .nav { display: none; } html[lang="en"] .lang { margin-left: auto; } }
/* 좁은 화면에서는 위쪽 등록 버튼을 숨기고 첫 화면의 등록 버튼을 써요 */
@media (max-width: 640px) { .bar .btn { display: none; } }
@media (max-width: 420px) { .brand img { height: 12px; } .brand__city { font-size: 0.875rem; } .brand { gap: 7px; } .lang button { min-width: 32px; padding: 0 8px; } }
@media (max-width: 340px) { .brand img { height: 10px; } .bar__in { gap: 12px; } }
html[lang="en"] [data-only="ko"] { display: none !important; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink); border-radius: 999px;
  font: 600 var(--fs-s)/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--canvas); color: var(--ink); border-color: var(--ink); }
.btn--small { min-height: 36px; padding: 0 16px; font-size: var(--fs-xs); }
.btn[aria-disabled="true"] { background: var(--canvas); border-color: var(--canvas); color: var(--muted); cursor: default; }
/* 신청 오픈 전: 흐린 버튼이지만 누르면 '참가 신청' 섹션으로 가요 */

/* ── 첫 화면: 큰 제목 → 스케치 캔버스 → 행사 정보 ── */
.hero { display: grid; gap: clamp(24px, 3.5vw, 36px); padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero__head { display: grid; gap: 12px; }
.eyebrow { font-size: var(--fs-s); font-weight: 500; color: var(--muted); }
.eyebrow b { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.hero h1 { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 700; line-height: 0.92; letter-spacing: -0.045em; }
/* 2026 숫자는 PCD 2026 로고처럼 네 가지 색으로 */
.yr { white-space: nowrap; }
.yr span:nth-child(1) { color: var(--green); }
.yr span:nth-child(2) { color: var(--yellow); }
.yr span:nth-child(3) { color: var(--red); }
.yr span:nth-child(4) { color: var(--magenta); }
.hero__sub { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-top: 6px; }
.hero__ko { font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; }
.theme { font-family: var(--font-mono); font-size: var(--fs-s); color: var(--link); }
.hero__art { position: relative; height: clamp(220px, 26vw, 320px); background: var(--art-bg); border-radius: var(--r-lg); overflow: hidden; }
.hero__art canvas { display: block; }
.hero__caption {
  position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 500; color: var(--muted);
  background: color-mix(in srgb, var(--art-bg) 85%, transparent); padding: 3px 9px; border-radius: 999px; pointer-events: none;
}
@media (max-width: 400px) { .hero__caption { font-size: 11px; padding: 3px 8px; right: 8px; } }
.hero__info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 56px); margin: 0; }
.fact { display: grid; gap: 2px; align-content: start; }
.fact dt { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.fact dd { margin: 0; font-size: var(--fs-m); font-weight: 600; letter-spacing: -0.01em; white-space: pre-line; line-height: 1.5; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta__note { flex-basis: 100%; font-size: var(--fs-xs); color: var(--muted); }
.cta__ended { flex-basis: 100%; margin-bottom: 4px; font-size: var(--fs-s); font-weight: 600; line-height: 1.6; }
.cta__ended[hidden] { display: none; }
@media (max-width: 640px) {
  .hero__sub { flex-direction: column; }
  .facts { display: grid; gap: 12px; }
  .cta { width: 100%; }
  .cta .btn { flex: 1 1 auto; }
}

/* ── 섹션 공통 ── */
.section { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: -0.035em; }
.sec-head p.sub { color: var(--muted); font-size: var(--fs-s); }
.label { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.prose { display: grid; gap: 1em; max-width: 36em; }
.prose em { font-style: normal; font-weight: 600; }

/* 소개 */
.about { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.about .prose { font-size: 1.125rem; line-height: 1.75; }
.en { background: var(--canvas); border-radius: var(--r-md); padding: 22px 24px; display: grid; gap: 8px; font-size: var(--fs-s); line-height: 1.65; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } }
html[lang="en"] .about { grid-template-columns: minmax(0, 1fr); }

/* 영상: 가로·세로 영상을 같은 높이로 나란히 (영상 비율만큼 폭을 나눠 가져요) */
.videos { display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start; }
.video { flex: var(--ar, 1.7778) 1 0; min-width: 0; margin: 0; display: grid; gap: 12px; }
.video__media { position: relative; aspect-ratio: var(--ar, 1.7778); background: var(--canvas); border-radius: var(--r-md); overflow: hidden; }
.video__media video, .video__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #111; }
.video__media video { object-fit: contain; }
.video__cap { display: grid; gap: 2px; font-size: var(--fs-s); font-weight: 600; }
.video__by { color: var(--muted); font-size: var(--fs-xs); font-weight: 500; }
@media (max-width: 720px) {
  .videos { flex-direction: column; align-items: stretch; }
  .video { flex: none; width: 100%; }
  .video--vertical { max-width: 320px; }
}

/* 일정: 시간표 */
/* 일정 안내: 문장이 잘리지 않게 폭을 넓게, 두 문단 사이는 한 줄 띄움 */
.tt-intro { gap: 1em; max-width: none; margin-bottom: 28px; }
.tt-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 16px; }
.tt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--canvas); font-size: var(--fs-xs); font-weight: 600; }
.tt-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.tt-pill__call { padding: 1px 8px; border-radius: 999px; background: var(--bg); color: #a3157f; font-weight: 700; }
.tt-note { color: var(--muted); font-size: var(--fs-xs); }
.tt { display: grid; gap: 10px; grid-template-columns: 88px repeat(4, minmax(0, 1fr)) clamp(72px, 9vw, 124px); }
.tt__time { display: flex; flex-direction: column; justify-content: center; gap: 0; padding-right: 8px; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.tt__time--cards { grid-row: span var(--rows, 2); justify-content: flex-start; padding-top: 18px; }
.tt__start { font-weight: 600; font-size: var(--fs-m); letter-spacing: -0.01em; }
.tt__end { font-size: 13px; color: var(--muted); }
.tt__round { margin-top: 8px; align-self: flex-start; font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); }
.tt__span { grid-column: 2 / span 4; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 20px; border-radius: var(--r-md); background: var(--canvas); min-width: 0; }
.tt__span-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-weight: 600; letter-spacing: -0.01em; }
.tt__who { font-weight: 600; }
.tt__role { color: var(--muted); font-size: var(--fs-s); font-weight: 500; }
.tt__span-desc { color: var(--muted); font-size: var(--fs-s); }
.tt__span-link { margin-left: auto; font-size: var(--fs-s); font-weight: 500; }
/* 도착·등록 때 틀어 두는 영상 */
.tt__screen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; font-size: var(--fs-s); }
.tt__screen-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tt__screen-label::before { content: ""; width: 7px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tt__screen-list { display: flex; flex-wrap: wrap; gap: 2px 18px; min-width: 0; }
.tt__screen-list li { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; }
.tt__screen-title { font-weight: 500; }
.tt__screen-by { font-size: 12px; color: var(--muted); }
.tt__span--keynote { padding-block: 20px; }
.tt__span--keynote .tt__span-title { font-size: var(--fs-l); align-items: center; letter-spacing: -0.02em; }
.tt__span--keynote .tt__who { font-weight: 700; }
.tt__span--move, .tt__span--break { background: transparent; border: 1px dashed var(--line-strong); padding-block: 12px; font-size: var(--fs-s); }
.tt__span--move .tt__span-title, .tt__span--break .tt__span-title { font-weight: 500; }
/* 상설 전시: 시간표 오른쪽에 처음부터 끝까지 세로로 (좁은 화면에서는 위쪽 안내로) */
.tt__exhibit { grid-column: 6; display: flex; justify-content: center; padding: 20px 10px; border-radius: var(--r-md); background: color-mix(in srgb, var(--magenta) 12%, var(--bg)); color: var(--ink); text-decoration: none; }
.tt__exhibit:hover { background: color-mix(in srgb, var(--magenta) 20%, var(--bg)); }
.tt__exhibit-label { position: sticky; top: 92px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: var(--fs-s); font-weight: 600; line-height: 1.4; }
.tt__exhibit-label::before { content: ""; width: 10px; height: 10px; margin-bottom: 4px; border-radius: 50%; background: var(--magenta); }
.tt__exhibit-time { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500; font-variant-numeric: tabular-nums; }
.tt__exhibit-place { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.tt__exhibit-call { margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: #a3157f; font-size: 11px; font-weight: 700; white-space: nowrap; }
@media (min-width: 1001px) { .tt-pill { display: none; } }
/* 넓은 화면: 시간은 1열, 세션 카드는 2~5열에 고정 (오른쪽 상설 전시 칸에 들어가지 않게) */
@media (min-width: 761px) {
  .tt__time { grid-column: 1; }
  .tt__cell[data-col="0"] { grid-column: 2; }
  .tt__cell[data-col="1"] { grid-column: 3; }
  .tt__cell[data-col="2"] { grid-column: 4; }
  .tt__cell[data-col="3"] { grid-column: 5; }
  .tt__span.is-wide { grid-column: 2 / -1; }
}
/* 중간 폭에서는 카드 폭을 지키려고 세로 막대 대신 위쪽 안내로 */
@media (max-width: 1000px) and (min-width: 761px) { .tt { grid-template-columns: 88px repeat(4, minmax(0, 1fr)); } .tt__exhibit { display: none; } }
/* 2부의 '1부에서 이어서 진행' 카드 */
.tt__cell.is-cont { border-style: dashed; border-color: color-mix(in srgb, var(--c) 45%, var(--line)); background: transparent; }
.tt__cell.is-cont .tt__title { color: var(--muted); }
.tt__cell {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 148px;
  padding: 18px 20px 16px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); text-decoration: none;
  font: inherit; text-align: left; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
button.tt__cell { cursor: pointer; }
button.tt__cell:hover { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
/* 특별 세션 (data.js의 badge): 트랙 색 테두리와 진한 표시 */
.tt__tags, .dlg__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.special { display: inline-flex; align-items: center; max-width: 100%; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 85%, #000); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; }
.tt__cell.is-special { border-color: var(--c); }
/* 트랙 표시: 스케치의 네 가지 도형 + 트랙 색 */
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.tag::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--c, var(--line-strong)); border-radius: 50%; }
.tag[data-shape="1"]::before { border-radius: 2px; }
.tag[data-shape="2"]::before { height: 6px; border-radius: 10px 10px 0 0; }
.tag[data-shape="3"]::before { border-radius: 0; width: 11px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tt__title { font-size: var(--fs-m); font-weight: 600; line-height: 1.45; letter-spacing: -0.015em; }
.tt__title.is-soon { color: var(--muted); font-weight: 500; font-size: var(--fs-s); }
.tt__both { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 14%, var(--bg)); color: var(--ink); }
.tt__leader { margin-top: auto; font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.tt__room { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.tt__room::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.4em; border-radius: 50%; background: var(--c, currentColor); vertical-align: 0.08em; }
.tt__cell.is-soon { background: transparent; border-style: dashed; }
@media (max-width: 1000px) and (min-width: 761px) { .tt__title { font-size: var(--fs-s); } }
@media (max-width: 760px) {
  .tt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt__exhibit { display: none; }
  .tt__time, .tt__time--cards { grid-column: 1 / -1; grid-row: auto; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; padding: 16px 0 0; }
  .tt__end::before { content: "– "; }
  .tt__round { margin: 0; align-self: center; }
  .tt__span { grid-column: 1 / -1; }
  .tt__span-link { margin-left: 0; }
  .tt__cell { min-height: 0; }
}
@media (max-width: 420px) { .tt { grid-template-columns: minmax(0, 1fr); } }

/* 시간표 카드의 남은 자리 */
.tt__seats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
.tt__seats-label { margin-right: 2px; }
.tt__seats b { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-left: 2px; }
.tt__seats .is-low b { color: #b4234d; }
.tt__seats .is-full b { color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.dlg__go { justify-self: start; }

/* 참가 신청 */
.reg { display: grid; gap: 24px; }
.reg__intro { max-width: 40em; }
.reg__note { color: var(--muted); font-size: var(--fs-s); }
.reg__status { max-width: 640px; padding: 14px 18px; border-radius: var(--r-md); background: var(--canvas); font-size: var(--fs-s); font-weight: 500; }
.reg__status--demo { background: color-mix(in srgb, var(--yellow) 24%, var(--bg)); }
.reg__status--error { background: color-mix(in srgb, var(--red) 12%, var(--bg)); color: #8a1736; }
.reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg-form { display: grid; gap: clamp(36px, 5vw, 56px); margin-top: 8px; }
.reg__group { display: grid; gap: 22px; max-width: 640px; min-width: 0; }
.reg__group--wide { max-width: none; }
.reg__h { font-family: var(--font-display); font-size: var(--fs-l); letter-spacing: -0.025em; padding-top: 20px; border-top: 1px solid var(--ink); }
.f { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f__label { padding: 0; font-size: var(--fs-s); font-weight: 600; line-height: 1.5; }
.f__req { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--link); }
.f__help { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
.f__error { font-size: var(--fs-xs); font-weight: 600; color: #b4234d; }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5;
}
.f textarea { resize: vertical; min-height: 96px; }
.f input:focus, .f textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.f.is-invalid input[type="text"], .f.is-invalid input[type="email"], .f.is-invalid textarea { border-color: #b4234d; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-s); line-height: 1.35; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.f.is-invalid .opt span { border-color: #e7a3b6; }
.f__details { padding: 16px 18px; border-radius: var(--r-md); background: var(--canvas); font-size: var(--fs-xs); line-height: 1.65; }
.f__details-title { font-weight: 600; margin-bottom: 4px; }
.f__details ul { display: grid; gap: 2px; padding-left: 1.1em; list-style: disc; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-s); font-weight: 500; line-height: 1.55; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
/* 세션 고르기 */
.pick { display: grid; gap: 28px; }
.pick__round { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pick__legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 0; margin-bottom: 12px; }
.pick__name { font-size: var(--fs-m); font-weight: 700; }
.pick__time { font-family: var(--font-display); font-size: var(--fs-s); color: var(--muted); font-variant-numeric: tabular-nums; }
.pick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pcard { position: relative; display: flex; min-width: 0; }
.pcard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pcard input:disabled { cursor: not-allowed; }
.pcard__box {
  position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; min-height: 128px;
  padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.pcard__title { padding-right: 22px; font-size: var(--fs-s); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.pcard__special { display: table; margin-top: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; padding: 2px 7px; border-radius: 5px; background: color-mix(in srgb, var(--c) 85%, #000); color: #fff; }
.pcard.is-special .pcard__box { border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.pcard__both { display: table; margin-top: 6px; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, var(--bg)); }
.pick__locked { padding: 14px 16px; border-radius: var(--r-md); background: var(--canvas); font-size: var(--fs-s); font-weight: 500; }
.pick__bring { display: grid; gap: 4px; padding: 14px 16px; border-left: 4px solid var(--c, var(--line)); border-radius: var(--r-sm); background: var(--canvas); font-size: var(--fs-s); }
.pick__bring-label { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.pick__bring-text { font-weight: 500; }
.pcard__seats { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.pcard__seats.is-low { display: inline-flex; align-items: center; gap: 6px; color: #b4234d; font-weight: 700; }
.pcard__seats.is-low::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #e0315f; box-shadow: 0 0 0 3px color-mix(in srgb, #e0315f 22%, transparent); }
.pcard__check { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--bg); }
.pcard:hover input:not(:disabled) + .pcard__box { border-color: var(--c); }
.pcard input:checked + .pcard__box { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); background: color-mix(in srgb, var(--c) 7%, var(--bg)); }
.pcard input:checked + .pcard__box .pcard__check { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--bg); }
.pcard input:focus-visible + .pcard__box { outline: 2px solid var(--focus); outline-offset: 2px; }
.pcard input:disabled + .pcard__box { background: var(--canvas); border-color: var(--canvas); }
.pcard input:disabled + .pcard__box .pcard__title, .pcard input:disabled + .pcard__box .tag { opacity: 0.45; }
.pcard input:disabled + .pcard__box .pcard__check { display: none; }
.pick__round.is-invalid .pcard__box { border-color: #e7a3b6; }
@media (max-width: 1000px) { .pick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pick__grid { gap: 8px; } .pcard__box { min-height: 0; padding: 12px 12px 10px; } .pcard__title { font-size: 0.875rem; } .pcard__check { top: 10px; right: 10px; width: 16px; height: 16px; } }
@media (max-width: 340px) { .pick__grid { grid-template-columns: minmax(0, 1fr); } }
.reg__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 8px; }
.reg__submit .btn { min-width: 160px; }
.reg__submit .btn:disabled { opacity: 0.6; cursor: progress; }
.reg__msg { flex: 1 1 280px; font-size: var(--fs-s); font-weight: 600; color: #b4234d; }
.reg__done { max-width: 640px; display: grid; gap: 14px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--canvas); outline: none; }
.reg__done-title { font-family: var(--font-display); font-size: var(--fs-l); letter-spacing: -0.025em; }
.reg__done-list { display: grid; gap: 8px; }
.reg__done-list li { display: grid; gap: 2px; padding: 12px 16px; border-left: 4px solid var(--c); border-radius: var(--r-sm); background: var(--bg); }
.reg__done-round { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.reg__done-session { font-weight: 600; }
.reg__done-bring { margin-top: 4px; font-size: var(--fs-s); color: var(--muted); }
.reg__done-list.is-canceled li { opacity: 0.55; }
/* 내 신청 확인 */
.reg-check { display: grid; gap: 12px; max-width: 640px; margin-top: clamp(24px, 4vw, 40px); }
.reg-check__form { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-check__form input {
  flex: 1 1 240px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5;
}
.reg-check__form input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.reg-check__form .btn:disabled { opacity: 0.6; cursor: progress; }
.reg-check__result:empty { display: none; }
.reg-check__card { display: grid; gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: var(--canvas); }
.reg-check__name { font-weight: 700; font-size: var(--fs-m); }
.reg-check__msg { font-size: var(--fs-s); font-weight: 600; }
.reg-check__msg.is-error { color: #b4234d; }

/* 키노트 */
.keynotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(24px, 4vw, 48px); }
.keynote { padding-top: 28px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 28px); align-items: start; }
.keynote__body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.avatar { flex: none; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--canvas); color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--lg { width: clamp(96px, 12vw, 136px); aspect-ratio: 1 / 1; }
.avatar--sm { width: 36px; height: 36px; align-self: center; }
.avatar--md { width: 64px; height: 64px; }
.avatar--md .avatar__initial { font-size: 1.375rem; }
.avatar.is-empty { border: 1px dashed var(--line-strong); }
.avatar__initial { font-weight: 700; line-height: 1; }
.avatar--lg .avatar__initial { font-size: clamp(2rem, 4.5vw, 3rem); }
.avatar--sm .avatar__initial { font-size: 0.9375rem; }
.keynote__slot { font-family: var(--font-display); font-size: var(--fs-s); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.keynote__name { font-family: var(--font-display); font-size: clamp(1.875rem, 3.6vw, 2.625rem); letter-spacing: -0.035em; line-height: 1.1; }
.keynote__roles { display: grid; gap: 2px; font-size: var(--fs-s); color: var(--muted); }
.keynote__title { font-size: var(--fs-m); font-weight: 600; margin-top: 8px; }
.keynote__title.is-soon { color: var(--muted); font-weight: 500; }
.keynote__bio { color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 640px) { .keynotes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .keynote { grid-template-columns: minmax(0, 1fr); } }

/* 세션 상세 팝업 */
.dlg {
  width: min(880px, calc(100% - 32px)); max-height: min(90vh, 880px);
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); overflow: auto;
  box-shadow: 0 32px 80px rgba(20, 20, 18, 0.22), 0 0 0 1px rgba(20, 20, 18, 0.06);
}
.dlg::backdrop { background: rgba(28, 28, 26, 0.42); }
body:has(.dlg[open]) { overflow: hidden; }
.dlg__inner { position: relative; padding: clamp(26px, 4vw, 44px); display: grid; gap: 12px; border-top: 6px solid var(--c, var(--line)); }
.dlg__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--canvas); color: var(--ink); font: 500 22px/1 var(--font-body); cursor: pointer;
}
.dlg__close:hover { background: var(--surface-2); }
.dlg__body { display: grid; gap: 12px; }
.dlg__title { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: -0.035em; padding-right: 44px; }
.dlg__title.is-soon { color: var(--muted); font-size: var(--fs-l); }
.dlg__leader { color: var(--muted); font-weight: 500; }
.dlg__body .tag { justify-self: start; }
/* 넓은 화면: 왼쪽에 대상·소개, 오른쪽에 시간·장소·준비물 */
.dlg__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 0.6fr); gap: 20px clamp(24px, 4vw, 48px);
  margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); align-items: start;
}
.dlg__main { display: grid; gap: 26px; }
.dlg__block { display: grid; gap: 8px; }
.dlg__h { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.dlg__audience { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }
.dlg__audience li::marker { color: var(--c, var(--muted)); }
.dlg__desc { line-height: 1.75; }
.dlg__desc.is-soon { color: var(--muted); }
.dlg__meta { display: grid; gap: 2px; margin: 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--canvas); font-size: var(--fs-s); }
.dlg__meta dt { color: var(--muted); font-size: var(--fs-xs); font-weight: 500; }
.dlg__meta dt:not(:first-child) { margin-top: 12px; }
.dlg__meta dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: pre-line; }
@media (max-width: 680px) {
  .dlg__grid { grid-template-columns: minmax(0, 1fr); }
  .dlg__meta { order: -1; }
}

/* 전시 */
.exhibit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.exhibit__meta { display: grid; gap: 12px; }
.exhibit__when { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--fs-s); }
.exhibit__when::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); }
.exhibit__main { display: grid; gap: 24px; min-width: 0; }
.call { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: color-mix(in srgb, var(--magenta) 8%, var(--bg)); border: 1px solid color-mix(in srgb, var(--magenta) 28%, var(--bg)); }
.call[hidden] { display: none; }
.call__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.call__title { font-size: var(--fs-l); font-weight: 700; }
.call__deadline { font-size: var(--fs-s); font-weight: 600; color: #a3157f; }
.call__desc { line-height: 1.6; }
.call__specs { font-size: var(--fs-s); font-weight: 600; line-height: 1.6; }
.call__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.call__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
.works { display: grid; gap: 0; }
.works[hidden] { display: none; }
.work { padding-block: 16px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.work:last-child { border-bottom: 1px solid var(--line); }
.work__title { font-weight: 600; }
.work__artist, .work__desc { font-size: var(--fs-s); color: var(--muted); }
.work--soon { color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 820px) { .exhibit { grid-template-columns: minmax(0, 1fr); } }

/* 참가 안내 */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); }
.guide__item { padding-top: 20px; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; min-width: 0; }
.guide__item h3 { font-size: var(--fs-m); letter-spacing: -0.01em; }
.guide__item p, .guide__item li { font-size: var(--fs-s); }
.guide__item ul { display: grid; gap: 6px; }
.guide__item li { padding-left: 16px; position: relative; }
.guide__item li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.template { margin: 4px 0 0; font-family: "Source Code Pro", "Pretendard Variable", Pretendard, monospace; font-size: 13px; line-height: 1.75; background: var(--canvas); border-radius: var(--r-md); padding: 16px 18px; overflow-x: auto; white-space: pre; }
.template .c { color: var(--muted); }
.template .n { color: var(--link); font-weight: 600; }
@media (max-width: 900px) { .guide { grid-template-columns: minmax(0, 1fr); } }

/* 오시는 길 */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.loc__info { min-width: 0; }
.loc__place { display: grid; gap: 4px; justify-items: start; }
.loc__mark { width: 200px; height: auto; margin-bottom: 14px; }
.loc__venue { font-size: var(--fs-m); font-weight: 600; }
/* 건물 이름을 가장 크게: 지도 핀 모양 표시 + 큰 글씨 */
.loc__building { display: inline-flex; align-items: center; gap: 12px; margin-block: 6px 4px; font-family: var(--font-display); font-size: clamp(1.75rem, 3.2vw, 2.375rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.loc__building::before { content: ""; flex: none; width: 0.62em; height: 0.62em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: radial-gradient(circle at 50% 50%, var(--bg) 0 26%, var(--red) 29%); }
.loc__map { display: grid; gap: 10px; min-width: 0; }
.loc__frame { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); border: 1px solid var(--line); }
.loc__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.loc__building:empty, .loc__detail:empty { display: none; }
.loc__detail { color: var(--muted); font-size: var(--fs-s); }
.loc__addr { font-size: var(--fs-s); color: var(--muted); }
.transit { display: grid; gap: 10px; margin-top: 24px; }
.transit li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); }
.line-badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: #fff; white-space: nowrap; flex: none; line-height: 1.5; }
/* 노선 색: 2호선 #00A84D, 6호선 #CD7C2F, 경의·중앙선 #77C4A3 */
.line-2 { background: #00a84d; }
.line-6 { background: #cd7c2f; }
.line-gj { background: #77c4a3; color: #12302a; }
.maps { display: flex; flex-wrap: wrap; gap: 8px; }
.maps .btn { flex: 1 1 auto; }
@media (max-width: 820px) { .loc { grid-template-columns: minmax(0, 1fr); } }

/* 행동 강령 */
.conduct { display: grid; gap: 1em; max-width: 38em; }

/* 푸터 */
.foot { padding-block: 56px calc(56px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 32px; font-size: var(--fs-s); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.sponsors { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.sponsors__group { display: grid; gap: 16px; }
.sponsors:empty { display: none; }
.sponsors__h { font-family: var(--font-display); font-size: var(--fs-s); font-weight: 600; letter-spacing: 0.01em; color: var(--muted); }
.sponsors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(24px, 3vw, 40px); }
.sponsors__item { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.sponsors__logo { display: block; height: calc(36px * var(--scale, 1)); width: auto; max-width: 100%; }
.sponsors__name { font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.sponsors__name:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sponsors__text { font-weight: 700; font-size: var(--fs-s); line-height: 1.3; max-width: 10.5em; word-break: keep-all; }
@media (max-width: 640px) {
  .sponsors__list { gap: 20px 28px; }
  .sponsors__item { gap: 12px; min-height: 38px; }
  .sponsors__logo { height: calc(30px * var(--scale, 1)); }
  .sponsors__text { font-size: var(--fs-xs); }
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; }
/* 크레딧: 작게, 왼쪽 운영진 / 오른쪽 기여자 */
.section--credits { padding-block: clamp(40px, 6vw, 72px); }
.credits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px clamp(24px, 5vw, 64px); font-size: var(--fs-s); line-height: 1.6; }
.credits:empty { display: none; }
.credits__group { display: grid; gap: 10px; align-content: start; min-width: 0; }
.credits__h { font-family: var(--font-display); font-size: var(--fs-s); font-weight: 600; letter-spacing: 0.01em; color: var(--muted); }
/* 사진이 있는 운영진: 키노트보다 훨씬 작은 프로필 */
.credit-person { display: flex; align-items: center; gap: 14px; }
.credit-person__body { display: grid; gap: 2px; min-width: 0; }
.credit-person--plain { padding-left: 78px; } /* 사진(64px) + 간격(14px)만큼 들여서 교수님 이름 줄에 맞춤 */
.credit-person__name { font-weight: 700; font-size: var(--fs-m); }
.credit-person__role { color: var(--muted); font-size: var(--fs-xs); }
.credits__names { font-weight: 500; }
.credits__list { display: grid; gap: 4px; margin: 0; }
.credits__row { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; }
.credits__row dt { color: var(--muted); font-size: var(--fs-xs); padding-top: 2px; }
.credits__row dd { margin: 0; font-weight: 500; }
@media (max-width: 640px) { .credits { grid-template-columns: minmax(0, 1fr); } }
.legal { display: grid; gap: 6px; color: var(--muted); font-size: var(--fs-xs); line-height: 1.6; max-width: 46em; }
.legal__fund { margin-top: 6px; }

/* ── 참가 신청 페이지 (register.html) ── */
.reg-page { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 112px); }
.reg-page__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 44px); }
.reg-page__head h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -0.04em; line-height: 1; }
.reg-page__event { font-size: var(--fs-s); font-weight: 600; color: var(--muted); }
.reg__group--plain { padding-top: 24px; border-top: 1px solid var(--ink); }


/* ── 현장 안내 페이지 (guide.html, 명찰 QR) ── */
.onsite { max-width: 760px; }
.onsite .reg-page__head { margin-bottom: 8px; }
.g-sec { padding-block: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.g-sec:first-of-type { border-top-color: var(--ink); }
.g-sec h2 { font-family: var(--font-display); font-size: var(--fs-l); letter-spacing: -0.02em; }
.g-note { font-size: var(--fs-s); color: var(--muted); }
.g-more a { font-size: var(--fs-s); font-weight: 600; color: var(--ink); }
.g-notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--canvas); font-size: var(--fs-s); line-height: 1.55; }
.g-notice__time { flex: none; font-family: var(--font-display); font-weight: 700; }
.g-notice--empty { color: var(--muted); }
.g-map { display: block; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #f6f4ee; }
.g-map img { display: block; width: 100%; height: auto; }
.g-floor { display: grid; gap: 4px; }
.g-floor + .g-floor { margin-top: 18px; }
.g-floor__h { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.g-rooms { list-style: none; margin: 0; padding: 0; }
.g-room { display: flex; align-items: center; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.g-room__body { display: grid; gap: 3px; min-width: 0; }
.g-room__title { font-weight: 600; line-height: 1.4; }
.g-room__leader { font-size: var(--fs-xs); color: var(--muted); }
.g-room__room { margin-left: auto; flex: none; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-m); text-align: right; max-width: 9em; line-height: 1.25; }
.g-list { margin: 0; }
.g-list__row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.g-list__row dt { font-weight: 600; }
.g-list__row dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) {
  .onsite-page .nav { display: none; }
  .g-list__row { grid-template-columns: 7.5em minmax(0, 1fr); }
}
.g-chat { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border: 1px solid var(--ink); border-radius: var(--r-md); }
.g-chat[hidden] { display: none; }
.g-chat__body { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.g-chat__title { font-weight: 700; line-height: 1.45; }
.g-chat__body .btn { margin-top: 6px; }
.g-chat__qr { margin: 0 0 0 auto; flex: none; display: grid; gap: 4px; justify-items: center; }
.g-chat__qr[hidden] { display: none; }
.g-chat__qr img { display: block; width: 116px; height: 116px; }
.g-chat__qr figcaption { font-size: 11px; color: var(--muted); }
@media (max-width: 520px) {
  .g-chat { flex-direction: column; align-items: stretch; }
  .g-chat__body .btn { justify-self: stretch; justify-content: center; }
  .g-chat__qr { margin: 0 auto; }
}
.g-spot { list-style: none; padding-block: 18px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.g-spot:last-child { border-bottom: 1px solid var(--line); }
.g-spot__head { display: flex; align-items: center; gap: 10px; }
.g-spot__no { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--bg); font: 700 13px/1 var(--font-display); }
.g-spot__where { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.g-work { display: grid; gap: 4px; }
.g-work + .g-work { padding-top: 12px; border-top: 1px dashed var(--line); }
.g-work__label { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; vertical-align: 2px; }
.g-work .work__title { font-size: var(--fs-m); font-weight: 700; }
.g-work__meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.g-work__desc { margin-top: 6px; font-size: var(--fs-s); line-height: 1.65; }
.g-work__how { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--magenta) 12%, var(--bg)); font-size: var(--fs-xs); font-weight: 600; }
.g-work__how::before { content: ""; width: 7px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
/* 클릭되는 약도 */
.g-map--live { background: #f6f4ee; }
/* .g-map의 overflow: hidden 때문에 휴대폰에서 옆으로 밀리지 않던 것 → 이 칸만 가로 스크롤 */
.g-map.g-map--live { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.g-map--live[hidden], .g-map[hidden] { display: none; }
.g-map-swipe { text-align: center; font-size: var(--fs-xs); margin-top: -6px; }
.g-spot, .g-room { scroll-margin-top: 84px; }
.g-spot.is-flash { animation: g-flash 1.8s ease-out; }
@keyframes g-flash { 0%, 35% { background: color-mix(in srgb, var(--yellow) 30%, var(--bg)); } 100% { background: transparent; } }
.g-room[role="button"] { cursor: pointer; }
.g-room[role="button"]:hover .g-room__title { text-decoration: underline; text-underline-offset: 3px; }
.g-room[role="button"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.g-pdf { margin-top: -4px; }
.g-pdf[hidden] { display: none; }


/* ── 아카이브 페이지 (archive.html) ── */
.archive .reg-page__head { margin-bottom: clamp(24px, 3vw, 32px); }
.ar-theme { font-family: var(--font-display); font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.ar-lead { max-width: 40em; color: var(--muted); }
.ar-cap { font-size: var(--fs-xs); color: var(--muted); }
.ar-hero { margin: 0 0 clamp(8px, 2vw, 16px); display: grid; gap: 8px; }
.ar-hero__media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); }
.ar-hero__media > * { width: 100%; height: 100%; }
.ar-hero__btn img { width: 100%; height: 100%; object-fit: cover; }
/* 사진이 들어오면 자르지 않고 원래 비율로 */
.ar-hero__media.has-photo { aspect-ratio: auto; }
.ar-hero__media.has-photo img { height: auto; }
/* 사진이 아직 없는 자리 */
.ar-ph { display: grid; place-items: center; padding: 12px; text-align: center; line-height: 1.4;
  border: 1px dashed var(--line-strong); border-radius: inherit; color: var(--muted); font-size: var(--fs-xs); font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--canvas) 0 10px, var(--bg) 10px 20px); }
.ar-hero__media .ar-ph { border-radius: var(--r-lg); font-size: var(--fs-s); }
/* 누르면 크게 보이는 사진 */
button.ar-hero__btn, button.ar-thumb, button.ar-gallery__item { display: block; padding: 0; border: 0; margin: 0; background: var(--canvas); cursor: zoom-in; overflow: hidden; }
.ar-hero__btn img, .ar-thumb img, .ar-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.ar-thumb:hover img, .ar-gallery__item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ar-thumb img, .ar-gallery__item img { transition: none; } }

.ar-sec { padding-block: clamp(40px, 6vw, 72px) 0; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--ink); display: grid; gap: clamp(20px, 3vw, 28px); }
.ar-sec__head { display: grid; gap: 6px; }
.ar-sec__head h2 { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: -0.035em; }
.ar-byline { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.ar-block { display: grid; gap: 16px; }
.ar-block + .ar-block { margin-top: 12px; }
.ar-sub { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.ar-more { margin: 0; }

/* 숫자로 보는 행사 */
/* 칸 수가 몇 개든 줄 끝에 빈칸이 생기지 않게 늘어나요 */
.ar-stats { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.ar-stat { flex: 1 1 150px; background: var(--bg); padding: 16px 18px 14px; display: grid; gap: 4px; align-content: start; }
.ar-stat__v { font: 700 clamp(1.625rem, 3.4vw, 2.25rem)/1.1 var(--font-display); letter-spacing: -0.03em; }
.ar-stat__v.is-empty { color: var(--line-strong); }
.ar-stat__l { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.ar-stats-note { margin-top: -12px; font-size: var(--fs-xs); }

/* 후기 글 */
.ar-recap { display: grid; gap: clamp(28px, 4vw, 40px); max-width: 44em; }
.ar-recap__part { display: grid; gap: 12px; scroll-margin-top: 84px; }
.ar-recap__part h3 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -0.02em; }
/* 소제목 옆 링크 (🔗 주소) */
.ar-recap__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.ar-recap__link { font-size: var(--fs-s); font-weight: 500; overflow-wrap: anywhere; }
.ar-recap__part p { line-height: 1.85; }
/* 후기 글 아래 사진·영상: 한 줄 안의 것들은 높이가 같고, 너비는 가로세로 비율(--ar)대로 나눠요 */
.ar-rmedia { display: grid; gap: 16px; margin-top: 8px; }
.ar-rmedia__row { display: flex; gap: 10px; align-items: flex-start; }
.ar-rmedia__item { flex: var(--ar, 1) 1 0; min-width: 0; margin: 0; display: grid; gap: 6px; align-content: start; }
.ar-rmedia__frame { position: relative; aspect-ratio: var(--ar, 1); border-radius: var(--r-sm); overflow: hidden; background: var(--canvas); }
/* 흰 바탕 디자인(명찰, 카드뉴스)도 테두리가 보이게 */
.ar-rmedia__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: inherit; pointer-events: none; }
.ar-rmedia__frame > video, .ar-rmedia__btn { display: block; width: 100%; height: 100%; }
.ar-rmedia__frame > video { object-fit: cover; background: #000; }
.ar-rmedia .ar-cap { line-height: 1.45; }
/* 휴대폰: 네 개 이상 들어간 줄은 두 개씩, 아주 넓은 사진(스티커)이 있는 줄은 그 사진만 한 줄 전체로 */
@media (max-width: 560px) {
  .ar-rmedia__row { gap: 8px; }
  .ar-rmedia__row.is-many, .ar-rmedia__row.has-wide { flex-wrap: wrap; row-gap: 12px; }
  .ar-rmedia__row.is-many > .ar-rmedia__item, .ar-rmedia__row.has-wide > .ar-rmedia__item { flex: 0 0 calc(50% - 4px); }
  .ar-rmedia__row.has-wide > .ar-rmedia__item.is-wide { flex-basis: 100%; }
}
.ar-hint { padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); font-size: var(--fs-s); line-height: 1.6; }
.ar-hint b { color: var(--ink); font-weight: 700; }
.ar-recap .ar-hint { line-height: 1.6; }
/* 참가자 후기 (댓글) */
/* 참가자 후기: 카드가 옆으로 천천히 흘러가요 */
.ar-qhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.ar-qhead .ar-sub { padding-bottom: 0; border-bottom: 0; }
.ar-qnav { display: flex; gap: 6px; }
.ar-qnav[hidden] { display: none; }
.ar-qnav__btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--bg); color: var(--ink); font: 600 var(--fs-s)/1 var(--font-display); cursor: pointer; }
.ar-qnav__btn:hover { border-color: var(--ink); }
#ar-q-play span { font-size: 0.625rem; letter-spacing: -0.12em; }
.ar-qview { overflow: hidden; padding: 2px 0 4px; touch-action: pan-y; }
/* 흐를 때만 양 끝을 흐리게 */
.ar-qview.is-flow { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 48px), transparent); }
.ar-qstrip { display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ar-qview.is-flow .ar-qstrip { will-change: transform; padding-left: 16px; }
/* 카드: 세션 카드와 같은 모양 (얇은 테두리 + 위쪽 색 띠) */
.ar-q { flex: none; width: clamp(232px, 72vw, 272px); min-height: 262px; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px;
  background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--ink)); border-radius: var(--r-md); }
.ar-q__date { font-variant-numeric: tabular-nums; }
.ar-q__quote { margin: 0; }
.ar-q__text { margin: 0; font-size: var(--fs-s); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.ar-q.is-open .ar-q__text { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.ar-q__more { align-self: flex-start; margin-top: -4px; padding: 2px 0; border: 0; background: none; color: var(--muted); cursor: pointer;
  font: 600 var(--fs-xs)/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.ar-q__more:hover { color: var(--ink); }
.ar-q__more[hidden] { display: none; }
.ar-q__name { margin: auto 0 0; padding-top: 4px; font-size: var(--fs-s); font-weight: 700; overflow-wrap: anywhere; }
.ar-qempty { flex: 1; padding: 22px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); font-size: var(--fs-s); }
/* 후기 남기기 */
.ar-cwrap { max-width: 44em; display: grid; gap: 12px; margin-top: 8px; }
.ar-cwrap__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-m); font-weight: 700; }
.ar-cform { display: grid; gap: 14px; padding: clamp(18px, 3vw, 24px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.ar-cform .reg__status { max-width: none; }
.ar-cform__name { max-width: 20em; }
.ar-cform textarea { min-height: 88px; }
.ar-cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ar-cform__count { font: 500 var(--fs-xs)/1 var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.ar-cform .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ar-cform__msg:empty { display: none; }
.ar-cform__msg { font-size: var(--fs-s); font-weight: 600; }
.ar-cform__msg.is-ok { color: var(--link); }
.ar-cform__msg.is-error { color: #b4234d; }
.ar-cform__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }

/* 프로그램 카드 */
.ar-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1000px) { #ar-sessions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ar-cards { grid-template-columns: minmax(0, 1fr); } }
.ar-card { min-width: 0; display: grid; gap: 8px; align-content: start; padding: 16px 16px 18px; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--ink)); border-radius: var(--r-md); }
.ar-card__head { display: flex; align-items: center; gap: 12px; }
.ar-card__face { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--canvas); }
.ar-card__headtext { display: grid; gap: 1px; min-width: 0; }
.ar-card__kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.ar-card__title { margin: 0; font-size: var(--fs-m); font-weight: 700; line-height: 1.4; }
.ar-card__who { font-size: var(--fs-s); font-weight: 600; }
.ar-card__meta { font-size: var(--fs-xs); color: var(--muted); }
.ar-card > .ar-thumbs, .ar-card > .ar-ph { margin-top: 6px; }
.ar-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ar-thumb { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.ar-thumbs--n1 { grid-template-columns: minmax(0, 1fr); }
button.ar-thumb { position: relative; }
.ar-thumb__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 17, 17, 0.55); color: #fff; font: 700 var(--fs-m)/1 var(--font-display); pointer-events: none; }
.ar-thumbs--n1 .ar-thumb { aspect-ratio: 7 / 5; }
.ar-thumbs--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ar-card > .ar-thumbs--sub { margin-top: -2px; } /* 키노트 카드: 큰 사진 바로 아래 작은 사진 줄 */
.ar-thumbs--sub.ar-thumbs--n1 .ar-thumb, .ar-thumbs--sub.ar-thumbs--n2 .ar-thumb { aspect-ratio: 4 / 3; }
.ar-thumbs--sub.ar-thumbs--n1, .ar-thumbs--sub.ar-thumbs--n2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ar-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #111; }
.ar-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ar-ph--strip { aspect-ratio: 3 / 1; border-radius: var(--r-sm); }
.ar-note { font-size: var(--fs-s); line-height: 1.65; }
.ar-todo { font-size: var(--fs-xs); color: var(--line-strong); font-weight: 600; }
.ar-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-link { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 15px; line-height: 1.35;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink); text-decoration: none; }
.ar-link::after { content: "↗"; margin-left: 6px; color: var(--muted); }
.ar-link.is-file::after { content: "↓"; }
.ar-link__meta { margin-left: 8px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ar-link:hover { border-color: var(--ink); }

/* 사진첩 */
.ar-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; gap: 8px; }
.ar-gallery__item { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.ar-gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 520px) { .ar-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.ar-gallery-more { display: flex; justify-content: center; margin-top: 4px; }
.ar-gallery-more .btn { min-width: 220px; justify-content: center; }

/* 전시 작품 */
.ar-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.ar-work { min-width: 0; display: grid; gap: 10px; align-content: start; }
.ar-work__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--canvas); }
.ar-work__media > .ar-ph { width: 100%; height: 100%; }
.ar-work__media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ar-work__head { display: flex; align-items: center; gap: 8px; }
.ar-work__no { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: var(--bg); font: 700 12px/1 var(--font-display); }
.ar-work__where { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
/* 사진이 없는 작품: 위에 가는 선 */
.ar-work:not(.has-media) { padding-top: 14px; border-top: 1px solid var(--line); }
.ar-work__body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ar-work__item { display: grid; gap: 1px; }
.ar-work__title { font-size: var(--fs-m); font-weight: 700; line-height: 1.4; }
.ar-work__artist { font-size: var(--fs-s); color: var(--muted); }
/* 약도 */
.ar-map { margin: 0; display: grid; gap: 10px; }
.ar-work, .ar-card { scroll-margin-top: 16px; } /* 상단 바 높이는 html의 scroll-padding-top이 이미 빼 줘요 */
.ar-work.is-flash, .ar-card.is-flash { animation: g-flash 1.8s ease-out; border-radius: var(--r-md); }
@media (prefers-reduced-motion: reduce) { .ar-work.is-flash, .ar-card.is-flash { animation: none; outline: 2px solid var(--yellow); } }
/* 휴대폰: 두 줄로, 사진 아래에 번호와 이름 */
@media (max-width: 560px) {
  .ar-works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ar-work { gap: 8px; }
  .ar-work__media { border-radius: var(--r-sm); }
  .ar-work__body { gap: 6px; }
  .ar-work__head { flex-wrap: wrap; gap: 4px 6px; }
  .ar-work__no { min-width: 22px; height: 22px; font-size: 11px; }
  .ar-work__title { font-size: var(--fs-s); }
  .ar-work__artist { font-size: var(--fs-xs); }
}

/* 감사 인사 */
.ar-thanks { max-width: 44em; display: grid; gap: 16px; }
.ar-thanks__text { line-height: 1.85; }
.ar-thanks__vols { font-size: var(--fs-s); }
.ar-thanks__vols b { margin-right: 4px; }
#thanks .credits { margin-top: 12px; }

/* 사진 크게 보기 */
.ar-lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; }
.ar-lb::backdrop { background: rgba(0, 0, 0, 0.6); }
.ar-lb__fig { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center;
  padding: 64px clamp(16px, 7vw, 88px) calc(20px + env(safe-area-inset-bottom, 0px)); }
.ar-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ar-lb__cap { min-height: 1.5em; padding-top: 12px; font-size: var(--fs-s); color: #d8d8d4; text-align: center; }
.ar-lb__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; font: 400 26px/1 var(--font-body); cursor: pointer; }
.ar-lb__btn:hover { background: rgba(255, 255, 255, 0.18); }
.ar-lb__btn:focus-visible { outline-color: #fff; }
.ar-lb__close { top: 12px; right: 12px; }
.ar-lb__prev, .ar-lb__next { top: 50%; transform: translateY(-50%); }
.ar-lb__prev { left: 12px; }
.ar-lb__next { right: 12px; }
@media (max-width: 520px) { .ar-lb__prev, .ar-lb__next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; } .ar-lb__fig { padding-bottom: 72px; } }
body:has(.ar-lb[open]) { overflow: hidden; }
