/* 혁명가들 — 일정과 탐색을 먼저 읽는 편집형 화면.
 * 흰 바탕, 짙은 회색 글자, 연한 파랑 배너. 면·글자 위계·여백으로 묶고, 선은 큰 구획과 입력 경계에만 쓴다.
 * 홈/목록은 넓은 화면에서 두 단, 모바일은 시간순 일정 우선.
 * CSS 한 파일, CSP와 앱 브리지·큰 글자·키보드·모션 안전 규칙을 유지한다.
 */

/* ══ 1. 토큰 ═══════════════════════════════════════════════════════════ */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("/css/fonts/bricolage-grotesque-v9/BricolageGrotesque-num-8e871b85a77675b09c16708071058623.woff2") format("woff2");
}
:root {
	--brand-ink: #191f28;     /* 달력의 남색 바탕 · 제목 */
	--action-ink: #334e7f;    /* 시각 · 조작 가능한 글자 */
	--cover: #f5f1e8;         /* 집회 삽화의 종이 바탕 */
	--accent-soft: #e9eef9;   /* 선택한 탭 · 상세의 일시와 장소 */
	--event-surface: #f2f4f6;
	--paper: #ffffff;
	--surface: #ffffff;
	--sunk: #f2f4f6;
	--sunk-2: #e5e8eb;
	--ink: #191f28;
	--ink-2: #4e5968;
	--ink-3: #5f6875;
	--on-ink-2: #d8dfeb;
	--line-soft: #e5e8eb;
	--line: #d1d6db;
	--line-ui: #75808b;
	--signal: #c6d8ff;       /* 선택한 날짜 · 주요 동작 */
	--signal-deep: #a6bdec;
	--hazard: #e8bb68;       /* 로컬 검수용 줄무늬 */
	--hazard-2: #f6deb0;
	--tape: rgba(32, 43, 64, .08);

	--event-face: var(--text);
	--display: "Black Han Sans", "Pretendard Variable", Pretendard, sans-serif;
	--text: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

	--t-display: clamp(2rem, 1.5rem + 2vw, 2.5rem);      /* 32 → 40 */
	--t-title: clamp(1.375rem, 1.2rem + .85vw, 1.875rem); /* 화면 제목 */
	--t-q: clamp(1.25rem, 1.08rem + 1vw, 1.5rem);       /* 20 → 24 */
	--t-heading: 1.0625rem; /* 구획 제목 17 */
	--t-item: .96875rem;    /* 목록 제목 15.5 */
	--t-body: 1rem;        /* 16 */
	--t-label: .875rem;    /* 조작 라벨 14 */
	--t-meta: .875rem;     /* 14 */
	--t-caption: .8125rem; /* 13 */
	--lh-display: 1.1;
	--lh-title: 1.3;
	--lh-heading: 1.3;
	--lh-item: 1.45;
	--lh-body: 1.7;
	--lh-meta: 1.5;
	--lh-label: 1.25;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
	--sec-gap: var(--s7);
	--wrap: 1180px;    /* 헤더 · 푸터 · 넓은 화면 상세 */
	--col: 760px;      /* 홈 · 목록 · 날짜 · 글 — 가운데 한 단 */
	--col-find: 640px; /* 집회 찾기 */
	--gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); /* 가로 노치 · 둥근 모서리 아래로 글자가 가지 않게 */
	--bar-h: 69px;     /* 상세 액션바 높이 (1px 선 + 8 + 52 + 8) — 문의 버튼이 그 위로 비킨다. 큰 글자로 막대가 높아지면 app.js 가 잰 --bar-live 가 먼저 */

	--r: 6px;
	--r-pill: 999px;

	--dur-press: 90ms;
	--dur-hover: 160ms;
	--ease-out: cubic-bezier(.2, .8, .2, 1);

	--z-day: 2;
	--z-bar: 5;
	--z-help: 8;
	--z-skip: 10;

	color-scheme: light;
}

/* iOS 앱은 WebKit의 Dynamic Type 크기를 rem 기준으로 쓴다.
   시스템 텍스트 스타일은 font shorthand만 제공하므로 여기에서만 사용하고, 글꼴·숫자 속성은 바로 명시한다. */
@supports (font: -apple-system-body) {
	html.in-app-ios { font: -apple-system-body; font-family: var(--text); font-variant-numeric: normal; }
}

@media (min-width: 768px) {
	:root { --gutter: max(28px, env(safe-area-inset-left), env(safe-area-inset-right)); }
}

@media (min-width: 1024px) {
	:root {
		--t-heading: 1.1875rem; --t-item: 1.0625rem; --t-body: 1.0625rem; --t-label: .9375rem; --t-meta: .875rem;
		--sec-gap: var(--s8);
	}
}

/* ══ 2. 기본 ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 8px; }
/* 붙박이 띠(위저드 바 · 상세 액션바 · 날짜 머리)와 오른쪽 아래 문의 버튼이 키보드 focus 를 가리지 않게 — focus 이동 때 브라우저가
   이만큼 비켜 스크롤한다. 문의: 16 + 52 + 16 · 위저드 바: 막대 + 19 · 상세(1024 미만): 액션바 + 12 + 52 + 16 (아래 규칙이 구체성으로 이긴다).
   막대 높이는 app.js 가 잰 --bar-live (큰 글자로 높아지거나 두 줄이 된 막대), 재기 전 · JS 없음은 기준값(액션바 --bar-h 69 · 위저드 바 61) */
html:has(.help) { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 1023.98px) {
	html:has(.actionbar) { scroll-padding-bottom: calc(var(--bar-live, var(--bar-h)) + 19px + env(safe-area-inset-bottom)); } /* 69 + 19 = 88 */
	html:has(.page-detail .help) { scroll-padding-bottom: calc(var(--bar-live, var(--bar-h)) + 12px + 52px + 16px + env(safe-area-inset-bottom)); }
}
/* 날짜 머리(sticky top:0) 아래로 — 행 링크와 접힌 묶음 머리. 머리로 건너뛰는 #day-… 앵커는 그대로 맨 위 */
.rows a, .continuing > summary { scroll-margin-top: 64px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--text);
	font-size: var(--t-body);
	font-weight: 400;
	line-height: var(--lh-body);
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p, ol, ul, fieldset, legend { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; } /* 제목 크기는 아래 글자 역할이 정한다 */
:where(ol, ul)[role="list"] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, select { font-family: inherit; color: inherit; }
summary { cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--signal); }
[data-q]:focus, main:focus, .results:focus { outline: none; box-shadow: none; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 숨길 때는 위 끝에서 제 높이 + 2px 만큼 올린다 — 고정 값(top: -60px)이면 큰 글자(앱 글자 크기 · textZoom)로 높아진 링크가 먹 띠로 남고,
   딱 제 높이(-100%)만 올리면 높이의 소수점 때문에 아랫변이 기기 픽셀에 맞춰 그려지며 맨 윗줄에 1 기기 픽셀 먹 선이 비친다
   (360px · 글자 1.85 · 2.0, DPR 3 의 보통 글자). focus 때는 왼쪽 위 8px — 두 링크 모두 같은 자리 (한 번에 하나만 focus 된다).
   움직이지 않는다 */
.skip-link {
	position: absolute; left: 8px; top: 0; z-index: var(--z-skip); transform: translateY(calc(-100% - 2px));
	padding: 8px 14px; background: var(--ink); color: var(--paper); font-weight: 700;
}
.skip-link:focus { top: 8px; transform: none; }

.ico {
	width: 1.1em; height: 1.1em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── 글자 역할 (03-DESIGN 글꼴 표) — 크기 · 굵기 · 줄 간격 · 자간 · 먹 단계는 여기서만. 16px 아래는 자간 0 ── */
/* DISPLAY — 화면에 하나 */
.placard__date, .error-page__code {
	font-family: var(--text); font-weight: 800; font-size: var(--t-display); line-height: 1.2; letter-spacing: -0.035em;
}
/* LOGO */
.logo__word { font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1; letter-spacing: 0; }
/* TITLE */
.page-title, .detail__title { font-size: var(--t-title); font-weight: 665; line-height: var(--lh-title); letter-spacing: -.04em; }
/* HEADING */
.sec-title, .day__date, .prose h2, .placard__time { font-size: var(--t-heading); font-weight: 700; line-height: var(--lh-heading); letter-spacing: -0.02em; }
/* ITEM */
.relax h2, .help__opt { font-size: var(--t-item); font-weight: 600; line-height: var(--lh-item); letter-spacing: -0.01em; }
.row__title { font-size: var(--t-item); font-weight: 590; line-height: 1.48; letter-spacing: -.008em; word-break: keep-all; overflow-wrap: anywhere; }
.row__title a { text-decoration: none; }
/* BODY — 글 페이지는 본문 흐름(main 의 바로 아래 p · ul/ol 의 li)만. 빵부스러기(nav > ol > li)는 CAPTION 그대로 */
.prose > p, .prose > ul > li, .prose > ol > li, .empty, .error-page__text, .detail__size {
	font-size: var(--t-body); font-weight: 400; line-height: var(--lh-body); letter-spacing: -0.01em;
}
.empty { color: var(--ink-2); }
/* LABEL */
.btn, .chip, .site-nav a, .link-row, .continuing > summary, .past > summary, .subscribe > summary, .notes__more > summary, .sources-box > summary {
	font-size: var(--t-label); font-weight: 600; line-height: var(--lh-label); letter-spacing: 0;
}
.site-nav a { color: var(--ink-2); }
/* TIME */
.row__time { flex: none; color: var(--ink-2); font-weight: 550; font-variant-numeric: tabular-nums; }
.row__area::after { content: " ·"; content: " ·" / ""; margin-inline-end: 2px; }
/* META */
.row__meta, .page-meta, .result-count, .detail__org, .placard__note, .placard__route, .detail__kind, .detail__tag {
	font-size: var(--t-meta); font-weight: 400; line-height: var(--lh-meta); letter-spacing: 0; color: var(--ink-2);
}
.detail__kind { color: var(--ink-3); }
/* CAPTION */
.page-desc, .count-note, .page-rel, .agenda__note, .fine, .crumbs,
.trust, .sources__kind, .sources__checked, .placard__area, .past-row__when, .past-row__where, .help__note,
.site-footer__basis, .site-footer__notice, .site-footer__legal {
	font-size: var(--t-caption); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--ink-3);
}
/* SMALL LABEL */
.chips__label, .detail__label, .placard__label {
	font-size: var(--t-caption); font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink-3);
}
/* EYEBROW */
.detail__h, .notes__title { font-size: .875rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }
/* BADGE — 예외만 (취소 · 연기 · 일정 변경 · 검수 전 · 오늘 · 곧 시작) */
.status, .draft-tag, .soon.is-soon, .day__rel.is-today, .placard__rel.is-today, .page-rel.is-today {
	font-size: var(--t-caption); font-weight: 700; line-height: 1.4; letter-spacing: 0;
}
/* COUNT — 라벨보다 크지 않게 */
.chip__n, .seg__n, .day__count {
	font-size: var(--t-caption); font-weight: 400; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink-3);
}
.day__count { font-size: .875rem; }
.chip__n { color: var(--ink-2); } /* 칩 hover 가 sunk-2 라서 */

/* 숫자 열 맞춤 */
.page-meta, .result-count, .placard__time, .daynav a { font-variant-numeric: tabular-nums; }
/* 질문과 구획 제목, 일정 이름은 짧은 마지막 줄을 줄인다. 장소와 긴 본문은 자연스럽게 흐른다. */
/* 줄 길이 */
.prose > p, .prose > ul > li, .prose > ol > li, .detail__summary, .empty, .notes li { max-inline-size: 36em; }
.page-desc, .fine, .site-footer__notice { max-inline-size: 40em; }

/* ══ 3. 레이아웃 ════════════════════════════════════════════════════════ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* 위저드 단계(step-in) 시작 위치가 375px 에서 가로 스크롤을 만들지 않게. clip 은 스크롤 컨테이너를 만들지 않아 sticky 가 그대로 동작한다 */
main { overflow-x: clip; }
/* 가운데 한 단 */
.page-date main, .prose, .error-page { max-width: calc(var(--col) + 2 * var(--gutter)); }
.find { max-width: calc(var(--col-find) + 2 * var(--gutter)); }

/* 개발 배너 */
.dev-banner {
	margin: 0; padding: 6px var(--gutter); font-size: .875rem; text-align: center;
	background: var(--ink); color: var(--paper);
}
.dev-banner--draft {
	color: var(--ink);
	background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--hazard-2) 14px 28px);
}
.dev-banner code { font-size: .8125rem; background: rgba(255, 255, 255, .6); padding: 1px 5px; border-radius: var(--r); }

/* 헤더 — 한 줄 56px (≥768 64px), 붙박이가 아니다. 큰 글자(앱 글자 크기 · textZoom)로 한 줄에 안 들어가면 다음 줄로 —
   넘쳐서 문서가 화면보다 넓어지면 앱 WebView 가 레이아웃 뷰포트를 넓혀 고정 요소(액션바 · 문의 · 위저드 바)가 화면 밖으로 밀린다
   (2026-11 앱 1.1.0 QA: 360px · 글자 2.0 에서 405px). 다음 줄로 간 메뉴 · 집회 찾기는 오른쪽에 붙는다 */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 12px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo__mark { /* 브랜드 표시 (파비콘과 같은 팻말) */
	width: 22px; height: 22px; flex: none; fill: var(--signal); stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round;
}
.logo__word { padding-top: 2px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
/* hover 는 정밀 포인터에서만 — 터치로 누른 뒤 hover 색이 남지 않게 (아래 hover 규칙 모두 · HoverMediaTest) */
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--ink); } }
.site-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-wide, .header-help { display: none; }

.header-support { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; }
.header-support__label {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px;
	border-radius: var(--r-pill); background: #ffe6a6; color: #453009;
	font-size: var(--t-caption); font-weight: 700; line-height: 1.25;
}
.header-support__label .ico { width: 17px; height: 17px; }
.header-support:active .header-support__label { background: #ffd77c; }

.btn-find--header {
	position: relative; display: inline-flex; align-items: center; flex: none; height: 36px; padding: 0 12px;
	border-radius: var(--r); background: var(--signal); color: var(--ink);
	font-size: .9375rem; font-weight: 700; line-height: 1; letter-spacing: 0; text-decoration: none; white-space: nowrap;
}
.btn-find--header::after { content: ""; position: absolute; inset: -4px 0; } /* 누르는 자리 44px */
@media (hover: hover) and (pointer: fine) { .btn-find--header:hover { background: var(--signal-deep); } }
.btn-find--header[aria-current] { background: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (min-width: 768px) {
	.site-header__bar { min-height: 64px; column-gap: 16px; }
	.logo__word { font-size: 1.375rem; }
	.nav-wide { display: block; }
	.site-nav a { padding: 0 10px; }
}

/* 빵부스러기 — 상세 · 글 페이지만, 한 줄 */
.crumbs ol { display: flex; padding-top: var(--s3); white-space: nowrap; }
.crumbs li { flex: none; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* 꾸밈 글자(/ · → · ▸ · ✓)는 content: "…" / "" 로 화면 읽기에서 뺀다 — 이 문법을 모르는 브라우저는 앞 선언을 쓴다 */
.crumbs li + li::before { content: "/"; content: "/" / ""; margin: 0 6px; }
.crumbs a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink-2); text-decoration: underline; } }
.page-detail .crumbs li:last-child { display: none; } /* 제목은 바로 아래 h1 */

/* 푸터 */
.site-footer {
	margin-top: var(--s7); padding: var(--s4) 0 calc(24px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line); background: var(--paper);
}
body:is(.page-home, .page-list) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
:is(.page-home, .page-list) > main { flex: 1 0 auto; }
.site-footer:has(.service-disclosure) { margin-top: 24px; padding-top: 2px; }
.service-disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); font-size: var(--t-meta); cursor: pointer; list-style: none; }
.service-disclosure summary::-webkit-details-marker { display: none; }
.service-disclosure summary::after { content: ""; width: 6px; height: 6px; margin-inline-end: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.service-disclosure[open] summary::after { transform: rotate(225deg); }
.site-footer__basis { color: var(--ink-2); } /* 사이트에 하나뿐인 숫자 각주 */
.site-footer__links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.site-footer__links a {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: .875rem; font-weight: 400; color: var(--ink-2); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
	.site-footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}
.site-footer__notice { margin-top: var(--s3); line-height: 1.7; }
.site-footer__legal { margin-top: var(--s2); }

/* 섹션 공용 */
.sec { padding-top: var(--sec-gap); }
.sec-title { margin-bottom: var(--s3); }
.more {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: .875rem; font-weight: 600; color: var(--ink-2); text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { .more:hover { color: var(--ink); } }
.more::after { content: " →"; content: " →" / ""; white-space: pre; }
.fine { margin-top: var(--s2); }
.fine a { color: var(--ink-2); text-underline-offset: 3px; }
.empty { padding: var(--s5) 0 var(--s3); }
.empty__action { margin-top: var(--s1); }

/* ══ 4. 컴포넌트 ════════════════════════════════════════════════════════ */

/* 버튼 — 그림자 · 들림 없음 */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px;
	border: 1px solid var(--line-ui); border-radius: var(--r); background: var(--paper); color: var(--ink);
	text-align: center; text-decoration: none; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--sunk); } }
.btn--primary { border-color: transparent; background: var(--ink); color: var(--surface); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { background: var(--ink-2); } }
.btn--signal { border-color: transparent; background: var(--signal); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .btn--signal:hover { background: var(--signal-deep); } }
.btn--xl { width: 100%; min-height: 52px; padding: 12px 20px; font-size: 1.0625rem; font-weight: 700; }
@media (min-width: 768px) {
	.btn--xl { width: auto; }
}
/* 글자 버튼 — .btn 과 함께 써도(위저드 '이전') 단독으로 써도(목록 '조건 바꾸기') 같은 모양 */
.btn--text, .btn.btn--text {
	position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
	border: 0; border-radius: 0; background: transparent; color: var(--ink-2);
	font-size: var(--t-label); font-weight: 600; line-height: var(--lh-label); letter-spacing: 0;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
	.btn--text:hover, .btn.btn--text:hover { background: transparent; color: var(--ink); }
}

/* 배지 — 예외만 */
.status { display: inline-block; padding: 1px 6px; border-radius: var(--r); background: var(--ink); color: var(--paper); white-space: nowrap; }
.status.is-changed { background: var(--signal); color: var(--ink); }
.draft-tag { display: inline-block; padding: 1px 6px; border-radius: var(--r); background: var(--hazard); color: var(--ink); white-space: nowrap; }
.day__rel.is-today, .placard__rel.is-today, .page-rel.is-today {
	display: inline-block; padding: 1px 6px; border-radius: var(--r); background: var(--signal); color: var(--ink);
}

/* 곧 시작 · 진행 중 · 끝남 — app.js 가 오늘(KST) 시작 · 끝 시각과 비교해 글자를 넣는다. 60분 안만 살구색, 진행 중은 먹 테두리 */
.soon { display: inline-block; font-size: var(--t-caption); line-height: 1.4; color: var(--ink-3); white-space: nowrap; }
.soon.is-soon { padding: 1px 8px; border-radius: var(--r-pill); background: var(--signal); color: var(--ink); }
.soon.is-live { padding: 0 6px; border: 1px solid var(--ink); border-radius: var(--r); color: var(--ink); font-weight: 700; }

/* 칩 — 면과 글자로 식별하는 링크. 테두리 없이 실제 누르는 높이 44px. */
.chips { margin-top: var(--s4); }
.chips__label { display: block; margin-bottom: var(--s2); }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
	border: 0; border-radius: var(--r-pill); background: var(--sunk); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.chip::after { content: ""; position: absolute; inset: 0; } /* 누르는 자리 44px */
.chip--on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
	.chip:hover { background: var(--sunk-2); }
	.chip--on:hover { background: var(--ink); color: var(--paper); } /* 고른 칩은 hover 에도 그대로 */
}
.chip--on .chip__n { color: var(--on-ink-2); }

/* 기간 세그먼트 — 한 줄 5칸, 라벨 위 · 숫자 아래. 고른 칸은 먹 바탕(살구색 없음), focus 링은 칸 안쪽 */
.seg__list {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px;
	border: 0; border-radius: 12px; background: var(--sunk); overflow: hidden;
}
.seg__list > li { display: flex; min-width: 0; }
.seg__cell {
	display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	min-width: 0; min-height: 52px; padding: 6px 4px; border-radius: 8px; background: transparent; color: var(--ink);
	text-align: center; text-decoration: none;
}
.seg__label { font-size: .875rem; font-weight: 600; line-height: 1.25; }
.seg__cell.is-on { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
	a.seg__cell:hover { background: var(--surface); }
	a.seg__cell.is-on:hover { background: var(--ink); color: var(--paper); }
}
.seg__cell.is-on .seg__n { color: var(--on-ink-2); }
.seg__cell.is-zero { color: var(--ink-3); }
.seg__cell:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--signal); }

/* 조건 알약 (✕ 로 그 조건만 빼기) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px;
	border: 1px solid var(--line-ui); border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
	font-size: .875rem; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.pill::after { content: ""; position: absolute; inset: -6px 0; } /* 누르는 자리 44px */
@media (hover: hover) and (pointer: fine) { .pill:hover { background: var(--sunk); } }
.pill__x { width: 14px; height: 14px; color: var(--ink-2); }

/* 접기 — 머리에 무엇이 몇 건인지 늘 적는다. 펼친 내용은 움직이지 않는다 */
.continuing > summary, .past > summary, .subscribe > summary, .notes__more > summary, .sources-box > summary {
	display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none;
}
.continuing > summary::-webkit-details-marker, .past > summary::-webkit-details-marker, .subscribe > summary::-webkit-details-marker,
.notes__more > summary::-webkit-details-marker, .sources-box > summary::-webkit-details-marker { display: none; }
.continuing > summary::before, .past > summary::before, .subscribe > summary::before, .notes__more > summary::before, .sources-box > summary::before {
	content: "▸"; content: "▸" / ""; display: inline-block; flex: none; width: 1em; text-align: center; color: var(--ink-2);
}
.continuing[open] > summary::before, .past[open] > summary::before, .subscribe[open] > summary::before,
.notes__more[open] > summary::before, .sources-box[open] > summary::before { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) {
	.continuing > summary:hover, .past > summary:hover, .subscribe > summary:hover, .notes__more > summary:hover, .sources-box > summary:hover {
		text-decoration: underline; text-underline-offset: 3px;
	}
}

/* 한 줄 링크 (숫자 = 도착 페이지 숫자) */
.link-row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.link-row + .link-row { border-top: 0; } /* 줄이 이어지면 헤어라인 하나 (상세의 "이날 전국 집회" · "{장소} 집회 더 보기") */
.link-row > span { min-width: 0; } /* 긴 장소 이름도 줄 안에서 끊긴다 (큰 글자) */
.link-row .ico { width: 18px; height: 18px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .link-row:hover > span { text-decoration: underline; text-underline-offset: 3px; } }

/* 날짜·장소 요약 */
.placard {
	position: relative; border-radius: 12px; background: var(--surface);
}

/* 날짜 묶음 — 머리(sticky) · 행(시각순) · 접힌 "앞에 나온 이어지는 행사" */
.day { margin-top: var(--s5); }
.day__head {
	position: sticky; top: 0; z-index: var(--z-day); display: flex; align-items: baseline; gap: 12px;
	margin: 0; padding-block: 10px;
	background: var(--paper); border-bottom: 1px solid var(--line-soft);
	font-size: var(--t-body); font-weight: 400; line-height: 1.3;
}
.day__head a { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .day__head a:hover .day__date { text-decoration: underline; text-underline-offset: 4px; } }
.day__rel { font-size: .875rem; color: var(--ink-3); white-space: nowrap; }
.day__count { flex: 0 1 auto; margin-left: auto; text-align: right; max-inline-size: 45%; }
.schedule-selection { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; border-bottom: 1px solid var(--line-soft); }
.day__head--selection { font-size: var(--t-item); font-weight: 700; line-height: 1.45; }
.schedule-selection__count { font-size: var(--t-label); font-weight: 500; color: var(--ink-2); }

.continuing { border-top: 1px solid var(--line-soft); }
.continuing > summary { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .continuing > summary:hover { color: var(--ink); } }
.continuing > .rows > .row:first-child { border-top: 1px solid var(--line); }

/* 집회 제목은 행 전체 폭을 쓰고, 시간과 장소를 아래에 붙인다. */
.rows { margin: 0; padding: 0; list-style: none; }
.row {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
	gap: 3px; padding: 10px 20px 10px 0; min-height: 44px;
}
.row::before {
	content: ""; position: absolute; inset-inline-end: 4px; top: 50%; width: 7px; height: 7px;
	border: solid var(--line-ui); border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); pointer-events: none;
}
.row + .row { border-top: 1px solid var(--line-soft); }
.row__facts {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
	font-size: var(--t-meta); line-height: 1.5; color: var(--ink-2);
}
.row__where { flex: 1 1 9em; min-width: 0; }
.row__time.is-unknown { color: var(--ink-2); font-weight: 500; }
.day { container-type: inline-size; }
.continuing > summary { padding-left: 0; }
@container (min-width: 40em) {
	.row { padding-block: 14px; }
}
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row__title a:focus-visible { outline: none; box-shadow: none; }
.row__title a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--signal); }
.row__title :is(.status, .draft-tag) { vertical-align: .08em; }

/* 행 넷째 줄 — 작은 배지: 곧 시작 · 진행 중(JS) · 여러 날/정기 "12월 28일까지 · 월화목금" · 주제 1~2개. 줄을 바꾼다 */
.row__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.row__tags:not(:has(> :not([hidden]))) { display: none; } /* 숨은 곧 시작만 있으면 빈 줄을 두지 않는다 */
.row__span, .row__topic {
	display: inline-block; padding: 0 6px; border-radius: var(--r);
	font-size: var(--t-caption); line-height: 1.5; letter-spacing: 0; color: var(--ink-2); white-space: nowrap;
}
.row__span { border: 1px solid var(--line-ui); font-weight: 600; }
.row__topic { padding-inline: 0; background: transparent; color: var(--ink-3); font-weight: 400; }
.row__topic + .row__topic::before { content: "·"; content: "·" / ""; margin-right: 6px; }
.row--off .row__tags .row__span { color: var(--ink-3); }
.row--off .row__title a, .row--off .row__time { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--ink-3); }
.row--off .row__where { color: var(--ink-3); }
.row--past .row__time { color: var(--ink-3); }
@container (max-width: 17em) {
	.row__span { white-space: normal; }
}
.row--draft::after { /* 검수 전 6px 줄무늬 (로컬 전용) */
	content: ""; position: absolute; left: -9px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; pointer-events: none;
	background: repeating-linear-gradient(-45deg, var(--ink) 0 4px, var(--hazard) 4px 8px);
}
.row:active { background: var(--sunk); }
@media (hover: hover) and (pointer: fine) {
	.row:hover { background: var(--surface); }
	.row:hover .row__title a { text-decoration: underline; text-underline-offset: 3px; }
	.row:active { background: var(--sunk); }
}

/* 지난 집회 짧은 줄 */
.past-rows { margin: 0; padding: 0; list-style: none; }
.past-row + .past-row { border-top: 1px solid var(--line); }
/* 한 칸 minmax(0, 1fr) — 띄어쓰기 없는 긴 단체명 · 제목이 큰 글자에서 칸을 넓혀 화면 밖으로 나가지 않게 (min-content 를 따르지 않는다) */
.past-row a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 12px 0; text-decoration: none; }
.past-row__when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.past-row__title { font-size: .9375rem; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
	.past-row a:hover .past-row__title { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}
.past-row--off .past-row__title { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--ink-3); }
.past-row--draft a { padding-left: 12px; border-left: 6px solid var(--hazard); }

/* 행진 경로 — 세로 단계 (MOJ timeline 처럼 점 · 선). 지점 이름 + 괄호 안 글은 작은 줄. 움직이지 않는다 */
.route { margin-top: var(--s2); }
.route__stop { position: relative; display: flex; flex-direction: column; padding: 0 0 14px 28px; }
.route__stop:last-child { padding-bottom: 0; }
.route__stop::before {
	content: ""; position: absolute; left: 3px; top: .4em; width: 13px; height: 13px;
	border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
}
.route__stop:first-child::before, .route__stop:last-child::before { background: var(--ink); }
.route__stop:not(:last-child)::after {
	content: ""; position: absolute; left: 8.5px; top: calc(.4em + 13px); bottom: -.4em; width: 2px; background: var(--ink);
}
.route__name { font-size: var(--t-label); font-weight: 600; line-height: 1.45; }
.route__note { font-size: var(--t-caption); line-height: 1.5; color: var(--ink-3); }

/* 열리는 날 띠 — 다음 회차가 든 주부터 2주. 열리는 날 = 먹 칸, 오늘 = 살구색 밑줄, 지난 날 · 기간 밖 = 흐린 숫자 */
.strip { margin-top: var(--s5); }
.strip__sum { font-size: var(--t-meta); line-height: var(--lh-meta); color: var(--ink-2); }
.strip__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: var(--s2); }
.strip__day {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; padding: 5px 0 8px;
	border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line);
}
.strip__dow { font-size: var(--t-caption); line-height: 1.3; color: var(--ink-3); }
.strip__num { font-size: .9375rem; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip__day.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.strip__day.is-on .strip__dow { color: var(--on-ink-2); }
.strip__day.is-out { box-shadow: none; }
.strip__day.is-out .strip__num { font-weight: 400; color: var(--ink-3); }
.strip__day.is-today::after, .strip__swatch.is-today {
	content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 3px; border-radius: 2px; background: var(--signal);
}
.strip__day.is-today .strip__num { font-weight: 800; }
.strip__key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: var(--s2); font-size: var(--t-caption); line-height: 1.4; color: var(--ink-3); }
.strip__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--ink); }
.strip__swatch.is-today { position: static; width: 14px; height: 3px; margin-left: 8px; }

/* 붙박이 띠 — 상세 액션바 · 위저드 바. 버튼 글자는 줄바꿈하지 않는다 — 버튼이 한 줄에 다 안 들어가면(큰 글자) 막대가 줄을 바꾸고
   다음 줄로 간 주 버튼은 그 줄을 다 쓴다 (글자가 두 줄로 쪼개진 채 막대만 커지지 않게). 높아진 막대는 app.js 가 재어 --bar-live 로 */
.actionbar {
	position: sticky; bottom: 0; z-index: var(--z-bar); display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin: var(--s6) calc(var(--gutter) * -1) 0; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
	background: var(--paper); border-top: 1px solid var(--line);
}
.actionbar .btn { white-space: nowrap; }
/* 상세 액션바(1024 미만에만 보인다)는 sticky 가 아니라 화면 아래 고정 — sticky 면 글 끝에서 막대가 글과 함께 올라가
   그 위에 띄운 문의 버튼 밑으로 들어가, 버튼이 '공유'를 가리고 누름을 가져갔다. 버튼은 글 단(--col)에 맞춘다.
   막대가 글 끝 · 푸터를 덮지 않게 푸터 아래를 막대 높이만큼 비운다 (아래 문의 절) */
.actionbar {
	position: fixed; left: 0; right: 0; margin: 0;
	padding-right: max(var(--gutter), calc(100% - var(--col) - var(--gutter)));
}
/* 큰 글자: 막대가 글자 18개 폭보다 좁으면 주 버튼 글자를 짧게 — "캘린더에 넣기" → "캘린더", "다가오는 집회 보기" → "집회 보기"
   (줄인 부분은 화면 읽기에 남는다 — 이름은 그대로). 버튼 둘이 한 줄에 남아 막대가 두 줄 · 화면 1/4 로 커지지 않는다 (위 .day 와 같은
   컨테이너 쿼리 — em 은 막대의 글자 크기 기준). 그래도 안 들어가면 flex-wrap 이 받는다 */
.actionbar { container-type: inline-size; }
@container (max-width: 18em) {
	.actionbar__more {
		position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
}
/* flex-grow 1000000 : 1 — 한 줄이면 남는 폭은 '캘린더에 넣기'가 갖고('공유' 몫은 0.001px 아래), 혼자 한 줄이 된 '공유'는 그 줄을 채운다 */
.actionbar .btn--primary { flex: 1000000 1 auto; width: auto; }
.actionbar [data-share] { flex: 1 1 auto; padding-inline: 12px; }

/* 알림 · 알아 둘 점 */
.notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: var(--s4); padding: 12px 14px; border-radius: var(--r); }
.notice > * { min-width: 0; } /* 긴 단체명이 든 안내도 줄 안에서 끊긴다 (큰 글자) */
.notice strong { font-size: 1rem; font-weight: 700; }
.notice--off { background: var(--ink); color: var(--paper); }
.notice--changed { background: var(--signal); color: var(--ink); }
.notes { margin-top: var(--s5); padding: 14px 16px; border-radius: var(--r); background: var(--sunk); }
/* 한 칸 minmax(0, 1fr) — 띄어쓰기 없는 긴 단체명(한글 15자 넘게 + '라고')이 큰 글자(앱 글자 2.0 · 360px)에서 칸을 461px 로 넓혀 잘렸다 */
.notes ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 6px; }
.notes li { position: relative; padding-left: 14px; font-size: var(--t-body); line-height: 1.65; }
.notes li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--ink); }
.notes__more { margin-top: var(--s1); }
.notes__more > summary { color: var(--ink-2); }

/* 문의 — 오른쪽 아래, 화면에 하나뿐인 떠 있는 요소. 먹 알약(살구색 아님 · 그림자 없음 — 종이색 1px 테두리로 어두운 내용과 떨어진다).
   패널은 버튼 위로 열린다. 상세(<1024)에서는 액션바 위로, /find 에는 없다(템플릿), 인쇄하지 않는다 */
.help {
	position: fixed; z-index: var(--z-help);
	right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
}
.help__btn {
	display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 18px 0 16px;
	border: 1px solid var(--paper); border-radius: var(--r-pill); background: var(--ink); color: var(--paper);
	font-size: var(--t-label); font-weight: 600; line-height: 1; letter-spacing: 0; list-style: none; cursor: pointer; user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.help__btn::-webkit-details-marker { display: none; }
.help__btn .ico { width: 22px; height: 22px; stroke-width: 2; }
.help[open] > .help__btn { background: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .help__btn:hover { background: var(--ink-2); } }
/* 패널 높이: 화면 - (버튼 아래 16 + 버튼 52 + 틈 8) - 위 여백 20. dvh 가 되면 보이는 높이로 (iOS 도구 막대가 보일 때 100vh 는 더 크다) */
.help__panel {
	position: absolute; right: 0; bottom: calc(100% + 8px);
	inline-size: min(20rem, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
	max-block-size: calc(100vh - 96px - env(safe-area-inset-bottom));
	max-block-size: calc(100dvh - 96px - env(safe-area-inset-bottom));
	overflow-y: auto;
	padding: 16px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--surface); color: var(--ink);
}
.help__title { margin-bottom: var(--s3); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.help__opt {
	display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
	border: 1px solid var(--line-ui); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.help__opt + .help__opt { margin-top: var(--s2); }
@media (hover: hover) and (pointer: fine) { .help__opt:hover { background: var(--sunk); } }
.help__note { margin-top: var(--s3); overflow-wrap: anywhere; }
.help__copy {
	display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s1); padding: 0 2px;
	border: 0; background: transparent; color: var(--ink-2); font-size: .875rem; font-weight: 600; line-height: 1.25;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .help__copy:hover { color: var(--ink); } }
.help__status { margin-top: var(--s2); font-size: .875rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.help__status:empty { margin: 0; } /* role=status 는 늘 트리에 두고 비면 접기만 */
/* 작은 원 — 홈 · 목록 · 허브 · 날짜 · 상세: 44px, 아이콘 18px + 아래 글자 "문의" 10px (이름은 aria-label "문의하기", 글자는 aria-hidden —
   2026-11-17~ 아이콘만 있던 원이 무엇인지 보이게). 오른쪽 아래 12px. 52px 알약은 스크롤하는 동안 행 제목 · 장소 줄 끝(2026-11-16 375px)과
   상세 팻말의 지도 버튼 줄 끝(2026-11-17)을 덮었다. 상세(1024 미만)는 아래 규칙대로 액션바 위. px 크기라 큰 글자에서도 커지지 않는다 */
.page-home .help, .page-list .help, .page-date .help, .page-detail .help {
	right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom));
}
.page-home .help__btn, .page-list .help__btn, .page-date .help__btn, .page-detail .help__btn {
	flex-direction: column; justify-content: center; gap: 2px; width: 44px; height: 44px; padding: 0;
}
.page-home .help__btn .ico, .page-list .help__btn .ico, .page-date .help__btn .ico, .page-detail .help__btn .ico { width: 18px; height: 18px; }
.page-home .help__label, .page-list .help__label, .page-date .help__label, .page-detail .help__label {
	font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0;
}
/* 페이지 끝: 푸터 아래를 버튼 자리(16 + 52 + 16 — 작은 원 12 + 44 + 16 보다 넉넉히)만큼 비워 마지막 고지 · 저작권이 버튼 밑에 깔리지 않게.
   상세(1024 미만)는 아래 규칙이 액션바만큼 더 비운다 */
.site-footer:has(+ .help) { padding-bottom: calc(16px + 52px + 16px + env(safe-area-inset-bottom)); }
/* 막대 높이는 app.js 가 잰 --bar-live — 큰 글자(앱의 시스템 글자 크기 · textZoom)로 막대가 두 줄이 되어도 그 위에 있게.
   재기 전 · JS 없음은 --bar-h (69). 인라인 style="" 이 아니라 CSSOM(style.setProperty)으로 넣는다 (CSP) */
@media (max-width: 1023.98px) {
	/* 고정 액션바 위로 (막대 높이 + 12). 막대가 움직이지 않으니 스크롤 어디서든 겹치지 않는다 */
	.page-detail .help { bottom: calc(var(--bar-live, var(--bar-h)) + 12px + env(safe-area-inset-bottom)); }
	.page-detail .help__panel {
		max-block-size: calc(100vh - var(--bar-live, var(--bar-h)) - 92px - env(safe-area-inset-bottom)); /* 12 + 52 + 8 + 위 여백 20 */
		max-block-size: calc(100dvh - var(--bar-live, var(--bar-h)) - 92px - env(safe-area-inset-bottom));
	}
	/* 페이지 끝의 고지 · 링크가 고정 액션바 밑에 깔리지 않게, 문의 버튼이 있으면 그 밑에도 */
	.page-detail .site-footer { padding-bottom: calc(40px + var(--bar-live, var(--bar-h)) + env(safe-area-inset-bottom)); }
	.page-detail .site-footer:has(+ .help) { padding-bottom: calc(40px + var(--bar-live, var(--bar-h)) + 12px + env(safe-area-inset-bottom)); }
}
/* anchor positioning 이 되면 잰 값 대신 막대의 윗변에 붙인다 (막대가 없으면 위 값). 안 되는 WebView(Android 124 등)는 위 --bar-live.
   막대는 늘 보이므로 앵커 때문에 버튼을 숨기지 않는다 */
@supports (anchor-name: --a) {
	@media (max-width: 1023.98px) {
		.actionbar { anchor-name: --actionbar; }
		.page-detail .help {
			position-anchor: --actionbar; position-visibility: always;
			bottom: calc(anchor(top, calc(var(--bar-live, var(--bar-h)) + env(safe-area-inset-bottom))) + 12px);
		}
	}
}

/* ══ 5. 페이지 ══════════════════════════════════════════════════════════ */

/* ── 홈 · 날짜별 일정 ── */
.home, .page-list main.wrap:has(.schedule-controls) {
	max-width: calc(49rem + 2 * var(--gutter));
}
.home-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; margin: 12px 0 6px; }
.home-heading h1 { font-size: clamp(1.0625rem, 1rem + .35vw, 1.375rem); font-weight: 665; line-height: 1.4; letter-spacing: -.028em; }
.home-all { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--ink-2); font-size: var(--t-meta); font-weight: 500; text-decoration: none; }
.home-all .ico { width: 1em; height: 1em; }
.home-empty { padding: 24px 0; }
.schedule-calendar { margin-bottom: 10px; }
.home-empty { color: var(--ink-2); }
.home-empty .btn { margin-top: 12px; }
.home-layout > * { min-width: 0; }
.home-sidebar { margin-top: 32px; }
.home-sidebar > .ptop { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.home-sidebar .ptop__summary { min-height: 48px; padding: 10px 0; }
.home-sidebar .ptop__content { padding-inline: 0; }
.home-notes { margin-top: 20px; font-size: var(--t-caption); line-height: 1.6; color: var(--ink-3); }
.home-notes p + p { margin-top: 3px; }
.home-notes a { text-underline-offset: 3px; white-space: nowrap; }

.week-strip:has(a:not(.has-events)) a::after { content: ""; width: 4px; height: 4px; border-radius: 50%; }
.week-strip:has(a:not(.has-events)) .has-events::after { background: currentColor; }
.week-strip {
	display: grid; grid-template-columns: repeat(7, minmax(max(36px, 2.25rem), 1fr)); gap: 4px;
	overflow-x: auto; scrollbar-width: thin; padding: 2px 0; background: transparent; border-top: 0;
}
.week-strip a {
	display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 46px;
	padding-block: 3px; text-decoration: none; color: var(--ink-2); border-radius: 10px; -webkit-tap-highlight-color: transparent;
}
.week-strip span { font-size: var(--t-caption); line-height: 1.25; }
.week-strip b { font-size: var(--t-item); font-weight: 500; line-height: 1.25; font-variant-numeric: tabular-nums; }
.week-strip [aria-current] { background: var(--brand-ink); color: var(--surface); }
.week-strip [aria-current] b { font-weight: 700; }
.week-strip a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; box-shadow: none; }
.agenda__note { margin-bottom: 8px; }
.schedule-day { margin-top: 0; background: var(--cover); border-radius: 16px; }
.schedule-head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
	padding: 15px 18px 0;
}
.schedule-head h2 { color: var(--ink-2); font-size: var(--t-caption); font-weight: 600; line-height: 1.4; }
.schedule-head span, .schedule-range { font-size: var(--t-meta); line-height: 1.4; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.schedule-empty { padding: 12px 16px 24px; color: var(--ink-2); }

/* 제목은 오른쪽 끝까지 쓴다. 상세로 가는 표시는 시각·장소 줄 끝에만 둔다. */
:is(.schedule-day, .find-day) .row { gap: 3px; padding: 9px 0; min-height: 44px; }
:is(.schedule-day, .find-day) .row::before { content: none; }
:is(.schedule-day, .find-day) .row + .row { border-top: 0; }
:is(.schedule-day, .find-day) .row__facts::after {
	content: ""; align-self: center; flex: none; width: 6px; height: 6px; margin-inline: auto 3px;
	border: solid var(--ink-3); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
:is(.schedule-day, .find-day) .row__title { margin: 0; }
.find-day .row__where { overflow-wrap: anywhere; }
.day:has(.day__head--selection) .row__span { display: none; }
.day:has(.day__head--selection) .row__tags:not(:has(.soon:not([hidden]))) { display: none; }
.schedule-day .row__meta, .schedule-day .row__topic, .schedule-day .row__span { display: none; }
.schedule-day .row__tags:not(:has(.soon:not([hidden]))) { display: none; }
.schedule-head .schedule-pager { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-left: auto; }
.schedule-head { align-items: center; padding-top: 6px; }
.schedule-head:not(:has(.schedule-pager:not([hidden]))) { padding-top: 16px; }
.schedule-head .schedule-range { order: -1; margin-right: 4px; font-size: .75rem; }
.schedule-head .schedule-pager button { min-width: 40px; padding: 0 6px; font-size: .8125rem; }
.schedule-head [data-step="-1"] [data-step-label] { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.schedule-pager button, .schedule-fallback {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
	font: inherit; font-size: var(--t-label); font-weight: 650; line-height: 1.3; color: var(--ink);
	border: 0; background: transparent; text-decoration: none;
}
.schedule-pager button { min-width: 44px; padding: 4px 6px; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.schedule-pager button:not([aria-disabled="true"]) { color: var(--brand-ink); }
.schedule-pager button[aria-disabled="true"] { background: transparent; color: var(--ink-2); cursor: default; }
.schedule-pager button:active:not([aria-disabled="true"]) { transform: translateY(1px); }
.schedule-range { text-align: center; }
.schedule-fallback { margin-inline: 16px; text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
	.home-all:hover { text-decoration: underline; text-underline-offset: 4px; }
	.week-strip a:hover:not([aria-current]) { background: var(--sunk); }
	.schedule-pager [data-step="-1"][aria-disabled="false"]:hover { background: var(--sunk); }
	.schedule-pager [data-step="1"][aria-disabled="false"]:hover { background: var(--sunk-2); }
}
@media (max-width: 767.98px) {
	.page-home:has(.tabbar) .site-footer__home-link,
	body:has(.tabbar) .site-footer__tab-link { display: none; }
	.site-header__bar { min-height: 48px; }
	.site-header--solo { font-size: var(--t-label); }
	.site-header--solo .btn-find--header { background: transparent; min-height: 44px; height: auto; line-height: 1.25; }
	.site-header--solo .site-header__bar { gap: 0 4px; }
}
@media (min-width: 768px) {
	.home-heading { margin-top: 26px; }
	.week-strip a { min-height: 58px; }
}
@media (min-width: 1024px) {
	.home:has(.home-sidebar) { max-width: calc(64rem + 2 * var(--gutter)); }
	.home-layout:has(> .home-sidebar) { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(28px, 4vw, 56px); }
	.home-sidebar { margin-top: 0; }
}
/* 예술가들 홈의 조회 순위: 제목과 기준, 지역 탭, 한 페이지 다섯 줄. */
.ptop { margin: 20px 0 0; padding: 14px 18px 6px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); container: ptop / inline-size; }
.ptop__head { display: flex; align-items: center; gap: 4px; }
.ptop__title { font-size: 1rem; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.ptop__top { font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.rank-info { position: relative; }
.rank-info summary { display: grid; place-items: center; width: 32px; min-height: 32px; list-style: none; color: var(--ink-3); cursor: pointer; }
.rank-info summary::-webkit-details-marker { display: none; }
.rank-info summary span { border: 1.4px solid; border-radius: 50%; width: 14px; height: 14px; text-align: center; font: 600 11px/12px var(--text); }
.rank-info p { position: absolute; z-index: 2; top: 100%; right: -2rem; width: min(13rem,65vw); padding: 9px 12px; background: var(--ink); border-radius: 8px; color: white; font-size: .8125rem; line-height: 1.5; }
.ptop__seg { margin: 4px 0 9px -9px; }
.ptop__seg ul { display: flex; flex-wrap: wrap; gap: 2px; }
.ptop__tab { display: inline-flex; align-items: center; min-height: 30px; padding-inline: 10px; color: var(--ink-3); border-radius: 999px; font-size: .8125rem; font-weight: 500; text-decoration: none; }
.ptop__tab[aria-current] { background: var(--sunk); color: var(--ink); font-weight: 600; }
.rank-panel { padding-top: 4px; }
.rank-track[data-paged] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.rank-track[data-paged]::-webkit-scrollbar { display: none; }
.rank-page { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
.prank { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 1.875rem; padding: 3px 0; text-decoration: none; color: var(--ink); }
.prank:focus-visible { outline-offset: -2px; }
.prank__n { font: 700 .875rem/1.5 "Bricolage Grotesque", var(--text); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank-page:first-child li:nth-child(-n+3) .prank__n { color: var(--ink); }
.prank__title { min-width: 0; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.57; font-weight: 500; }
.prank__day { font: 500 .75rem/1.5 var(--text); color: var(--ink-3); }
.rank-pager { display: flex; justify-content: center; border-top: 1px solid var(--line); }
.rank-pager button { min-height: 44px; padding: 4px 16px; border: 0; background: transparent; color: var(--action-ink); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
@container ptop (max-width: 17em) {
	.prank { grid-template-columns: 1.1rem minmax(0, 1fr); }
	.prank__day { grid-column: 2; }
}
@media (hover: hover) and (pointer: fine) {
	.prank:hover .prank__title, .ptop__tab:hover { text-decoration: underline; }
}

/* 검색 폼 (/search) — 입력 한 칸과 제출 버튼. 글자 16px 이상이라 iOS 가 화면을 키우지 않는다 */
.page-search { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.page-search main { flex: 1 0 auto; }
.search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; max-inline-size: 33rem; margin-top: var(--s4); }
.search__input {
	min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid var(--line-ui); border-radius: 8px;
	background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 400; font-size: 1rem; line-height: 1.4;
	-webkit-appearance: none; appearance: none;
}
.search__input::placeholder { color: var(--ink-3); opacity: 1; }
.search__input::-webkit-search-cancel-button { margin-inline-start: 8px; cursor: pointer; }
.search__go { min-height: 44px; }
.search__label { grid-column: 1 / -1; font-size: var(--t-label); font-weight: 600; line-height: 1.5; color: var(--ink); }
.search__alternate { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--t-label); }
.page-search .page-desc { font-size: var(--t-meta); color: var(--ink-2); }
.search__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: var(--t-item); font-weight: 700; line-height: 1.45; padding-bottom: 8px; }
.search__count small { font-size: var(--t-meta); font-weight: 400; color: var(--ink-2); }
.search-hit { border-top: 1px solid var(--line-soft); }
.search-hit .row__span, .search-hit .row__topic { display: none; }
.search-hit .row__tags:not(:has(.soon:not([hidden]))) { display: none; }
.search-hit .row__date { font-weight: 550; }
.search-hit .row__where { flex-basis: 100%; }
.search-hit:has(.search-hit__dates) .row { padding-bottom: 6px; }
.search-hit__dates { margin: 0 0 8px; }
.search-hit__dates summary { width: fit-content; max-width: 100%; min-height: 44px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-radius: 8px; font-size: var(--t-meta); font-weight: 600; color: var(--ink-2); }
.search-hit__dates summary::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.search-hit__dates[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.search-hit__dates summary, .search-hit__dates li { background: var(--sunk); }
.search-hit__dates ul { margin-top: 4px; padding: 3px 12px; border-radius: 8px; background: var(--sunk); }
.search-hit__dates li + li { border-top: 1px solid var(--line-soft); }
.search-hit__dates a {
	display: grid; grid-template-columns: minmax(0, 1fr) auto .5rem; align-items: center; gap: 10px;
	min-height: 44px; padding-block: 6px; font-size: var(--t-label); text-decoration: none;
}
.search-hit__dates a span:first-child { font-weight: 600; }
.search-hit__dates a span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.search-hit__dates a::after { content: ""; width: .4rem; height: .4rem; border: solid var(--action-ink); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }


/* 사이트 전체 안내 띠 — 홈 · 목록 맨 위 조용한 한 줄 (데이터 확인이 늦어질 때만). 닫을 수 없고 팝업 · 살구색가 아니다 */
.stale-note {
	margin-top: var(--s3); padding: 8px 12px; border-radius: var(--r); background: var(--sunk);
	font-size: var(--t-meta); line-height: var(--lh-meta); color: var(--ink);
}

/* ── 목록 · 날짜 ─────────────────────────────────── */
.page-head { padding-top: var(--s5); }
.schedule-controls { margin-top: 10px; max-inline-size: 33rem; container-type: inline-size; }
.schedule-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.schedule-filter__field { display: grid; gap: 4px; min-inline-size: 0; }
.schedule-filter label { font-size: var(--t-label); font-weight: 600; line-height: 1.4; color: var(--ink); }
.schedule-filter__control { position: relative; min-width: 0; }
.schedule-filter__control :is(input, select) {
	display: block; width: 100%; max-width: 100%; min-width: 0; padding: 0 27px 0 10px;
	-webkit-appearance: none; appearance: none;
	border: 1px solid var(--line-ui); border-radius: 8px; background: var(--surface); color: var(--ink);
	font: inherit; font-size: 1rem; line-height: 1.4;
}
.schedule-filter__control :is(input, select), .schedule-filter > .btn { min-height: max(44px, calc(1.4rem + 18px)); }
.schedule-filter__control input { padding-block: 8px; }
.schedule-filter__date-label { display: none; }
.schedule-controls[data-live] .schedule-filter__control:not(:focus-within) .schedule-filter__date-label:not([hidden]) {
	display: flex; align-items: center; position: absolute; inset: 2px 27px 2px 9px; padding-left: 2px;
	background: var(--surface); font-size: 1rem; line-height: 1.15; pointer-events: none;
}
.schedule-filter__control input::-webkit-date-and-time-value { margin: 0; text-align: start; }
.schedule-filter__control input::-webkit-calendar-picker-indicator {
	position: absolute; inset: 0 0 0 auto; width: 24px; height: auto; opacity: 0; cursor: pointer;
}
@media (pointer: coarse) {
	.schedule-filter__control input::-webkit-calendar-picker-indicator { width: 100%; }
}
.schedule-filter__control .ico, .schedule-filter__control--select::after {
	position: absolute; inset-inline-end: 9px; top: 50%; pointer-events: none;
}
.schedule-filter__control .ico { width: 16px; height: 16px; transform: translateY(-50%); }
.schedule-filter__control--select::after {
	content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
	transform: translate(-2px, -70%) rotate(45deg);
}
.schedule-filter > .btn { padding-inline: 14px; border-radius: 8px; }
.schedule-controls[data-live] .schedule-filter { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.schedule-controls[data-live] .schedule-filter > .btn { grid-column: 1 / -1; justify-self: start; }
.schedule-controls__status:not(.sr-only) { margin-top: 8px; font-size: var(--t-meta); color: var(--ink-2); }
.schedule-controls__all {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: var(--t-meta); font-weight: 600; color: var(--ink-2); text-underline-offset: 3px;
}
.schedule-controls[data-live] + .listing-layout { overflow-anchor: none; }
.listing-layout[data-updating] { position: relative; }
.listing-layout[data-updating] > * { visibility: hidden; }
.listing-layout[data-updating]::before {
	content: attr(data-updating); position: absolute; inset: 0 auto auto 0; padding-block: 12px;
	color: var(--ink-2); font-size: var(--t-label); font-weight: 600;
}
.page-list main:has(.schedule-controls[data-live]) { min-block-size: calc(100svh - 64px); }
@container (max-width: 16em) {
	.schedule-filter, .schedule-controls[data-live] .schedule-filter { grid-template-columns: minmax(0, 1fr); }
}
.page-desc, .result-count, .page-meta { margin-top: var(--s2); }
.count-note { margin-top: 16px; max-inline-size: 40em; }
.page-rel { margin-bottom: var(--s2); }
.result-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 4px; }
.result-tools .pills { margin: 0; }
.results > .result-count { margin: 0 0 4px; font-weight: 650; color: var(--ink-2); }
.page-search .result-count { margin-top: 16px; font-weight: 650; color: var(--ink-2); }
@media (max-width: 767.98px) {
	.search { margin-top: 14px; }
	.search__input, .search__go { border-radius: 10px; }
	.search__input { background: var(--sunk); border-color: transparent; }
	.search__input:focus { border-color: var(--ink); }
	.search__alternate { margin-top: 12px; }
	.page-detail .actionbar { justify-content: center; }
	.page-detail .actionbar .btn--primary { flex: 1; min-height: 44px; font-size: var(--t-label); background: var(--sunk); color: var(--ink); }
	.page-detail .actionbar [data-share] { flex: 1; }
	.results > .day:first-child { margin-top: var(--s3); }
	.results .row__topic { display: none; }
	.page-list .results .row__meta, .page-date .results .row__meta { display: none; }
	.results .row__span { padding-inline: 0; border: 0; font-weight: 400; color: var(--ink-2); }
	.results .row__tags:not(:has(.row__span, .soon:not([hidden]))) { display: none; }
}
.filters { margin-top: 12px; }
.filters__toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px;
	padding: 8px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-soft); font-size: .9375rem; font-weight: 600; list-style: none;
}
.filters__toggle, .refine__toggle { -webkit-tap-highlight-color: transparent; }
.filters__toggle::-webkit-details-marker, .refine__toggle::-webkit-details-marker { display: none; }
.filters__toggle::after, .refine__toggle::after {
	content: ""; flex: none; width: 7px; height: 7px; border: solid currentColor;
	border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.filters[open] > .filters__toggle::after, .filters__refine[open] > .refine__toggle::after { transform: translateY(2px) rotate(225deg); }
.filters__refine { border-top: 1px solid var(--line-soft); margin-top: 8px; }
.refine__toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
	padding-inline: 2px; font-size: var(--t-label); font-weight: 650; list-style: none;
}
.filters .seg__cell.is-on, .filters .chip--on { background: var(--signal); color: var(--ink); }
.filters .is-on .seg__n, .filters .chip--on .chip__n { color: var(--ink); }
@media (max-width: 1023.98px) {
	.filters .seg__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 3.2em), 1fr)); }
}
.filters[open] > .seg, .filters .daynav { margin-top: 12px; }
.refine__body { padding-bottom: var(--s2); }
.refine__body .chips:first-child { margin-top: var(--s2); }
.results { margin-top: var(--s4); }
.results > .day:first-of-type { margin-top: var(--s2); }

.daynav__list {
	position: relative; /* 알약 안 sr-only "건" 이 스크롤 줄 밖으로 나가 페이지를 넓히지 않게 (375px) */
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
	margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter);
}
.daynav__list::-webkit-scrollbar { display: none; }
.daynav__list li { flex: none; }
.daynav a {
	position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	border: 0; border-radius: var(--r-pill); background: var(--sunk); color: var(--ink);
	font-size: .875rem; font-weight: 600; line-height: 1.25; text-decoration: none; white-space: nowrap;
}
.daynav a::after { content: ""; position: absolute; inset: 0; }
/* 마우스(가는 포인터)로는 가로 스크롤을 알아보기 어렵다 — 가는 스크롤 막대를 보인다 */
@media (hover: hover) and (pointer: fine) {
	.daynav a:hover { background: var(--sunk-2); }
	.daynav__list { scrollbar-width: thin; scrollbar-color: var(--line-ui) transparent; }
	.daynav__list::-webkit-scrollbar { display: block; height: 8px; background: transparent; }
	.daynav__list::-webkit-scrollbar-thumb { background: var(--line-ui); border-radius: var(--r-pill); }
}
@media (min-width: 768px) {
	.daynav__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 8px 0; }
}

.relax { margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.relax .chips__list { margin-top: var(--s3); }
.relax__find { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }

.past { margin-top: var(--s7); border-top: 1px solid var(--line); }
.past > summary { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .past > summary:hover { color: var(--ink); } }
/* 캘린더로 받아 보기 — 결과 아래 · 지난 집회 위 접기. 바로 아래 지난 집회 접기와 선 하나로 이어진다 */
.subscribe { margin-top: var(--s7); border-top: 1px solid var(--line); }
.subscribe > summary { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .subscribe > summary:hover { color: var(--ink); } }
.subscribe + .past { margin-top: 0; }
.subscribe__body { padding: 0 0 var(--s4) calc(1em + 8px); }
.subscribe__ways { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s3) 0; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s3); }
.pager a {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-size: .875rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { .pager a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.page-date .empty + .link-row { margin-top: 0; }

/* 넓은 목록 — 왼쪽 필터, 오른쪽 일정. 좁은 화면의 DOM 읽기 순서는 그대로. */
.listing-layout > * { min-width: 0; }
@media (min-width: 1024px) {
	.page-list .page-head { padding-block: 40px 24px; border-bottom: 1px solid var(--line); }
	.listing-layout:has(> .filters) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 48px; margin-top: 24px; }
	.listing-layout > .filters {
		grid-row: 1 / 3; position: sticky; top: 24px; align-self: start; margin: 0; padding: 20px;
		max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
		background: var(--surface); border: 0; border-radius: 16px;
	}
	.listing-layout > .results { margin-top: 0; }
	.listing-layout:has(> .filters) > .listing-followup { grid-column: 2; }
	.listing-layout .seg__list { grid-template-columns: minmax(0, 1fr); padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; gap: 4px; }
	.listing-layout .seg__cell { flex-direction: row; justify-content: space-between; min-height: 44px; padding: 10px 12px; border-radius: var(--r); }
	.listing-layout .filters__toggle { width: 100%; justify-content: space-between; padding-inline: 0; background: transparent; }
	.listing-layout .chips__list { gap: 8px 6px; }
	.listing-layout .chip { padding-inline: 10px; font-size: .8125rem; }
	.listing-layout .daynav__list { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 8px 0; }
}

/* ── 상세 ─────────────────────────────────────────── */
.detail { padding-top: var(--s3); max-width: var(--col); }
.draft-ribbon {
	margin-bottom: 14px; padding: 8px 12px; font-size: .875rem; font-weight: 700; border-radius: var(--r);
	background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--hazard-2) 14px 28px);
}
.detail__kicker { display: flex; flex-wrap: wrap; align-items: baseline; }
.detail__tag { font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .detail__tag:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
/* 가운뎃점은 링크 밖 글자처럼 보이게 (inline-block 이라 링크 밑줄이 번지지 않는다) */
.detail__kicker > * + *::before {
	content: "·"; content: "·" / ""; display: inline-block; margin: 0 6px; color: var(--ink-3); font-weight: 400;
}
.detail__title { max-inline-size: 28em; font-weight: 710; line-height: 1.35; letter-spacing: -.025em; }
.detail__meta { margin-top: 4px; }
.detail__org { margin-top: var(--s2); }
.detail__label { margin-right: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: var(--s1); }
.trust--solid::before { content: "✓ "; content: "✓ " / ""; }
.trust--weak { color: var(--ink); font-weight: 600; }
.detail__checks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.detail__checks [data-open-help] { display: none; }
.detail__checks a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--t-meta); font-weight: 600; color: var(--ink-2); text-underline-offset: 3px; }

.placard { margin-top: 12px; padding: 18px; border-radius: 14px; }
.placard__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.placard__date { font-size: var(--t-heading); font-weight: 700; line-height: 1.45; letter-spacing: -.015em; }
.placard__time { font-size: var(--t-heading); font-weight: 700; }
.placard .actions { margin-top: 6px; }
.placard .actions a:not(.btn--primary) { border-color: transparent; background: var(--sunk); font-size: var(--t-label); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { .placard .actions a:not(.btn--primary):hover { background: var(--sunk-2); } }
.placard__note { margin-top: 4px; }
.placard__area { margin-bottom: 2px; color: var(--ink-2); }
.placard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 4px; }
.placard__rel { font-size: var(--t-meta); font-weight: 600; line-height: 1.4; color: var(--ink-2); }
/* 범위 날짜는 조각마다 묶는다 — "10월 19일 (월) ~" / "12월 28일 (월)" (예전엔 "12월 / 28일" 처럼 큰 글자가 가운데서 갈렸다).
   inline-block 이라 한 줄에 들어가면 통째로, 안 들어가면(큰 글자) 그 안에서만 줄을 바꾼다 */
.placard__part { display: inline-block; max-width: 100%; }
/* 여러 날 · 정기: "다음 11월 20일 (목)" — '다음'은 작은 라벨 */
.placard__k { font-family: var(--text); font-size: .875rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.placard__conditions { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.placard__rule { margin: 0; font-size: var(--t-meta); font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.placard__time.is-unknown { color: var(--ink-3); }
.placard__place { display: flex; flex-direction: column; gap: 3px; margin-top: 16px; }
.placard__place strong { font-size: 1rem; font-weight: 625; line-height: 1.4; }
.placard__route { margin-top: 6px; }
.placard__route.is-strong { color: var(--ink); font-weight: 600; }
.placard__label { margin-right: 2px; }
.placard__route a { color: inherit; text-underline-offset: 3px; }
.detail--off .placard__date, .detail--off .placard__time { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--ink-3); }
@media (min-width: 768px) {
	.placard__place strong { font-size: 1.0625rem; }
}

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
@media (max-width: 1023.98px) {
	.only-wide { display: none !important; }
}

.detail__sec { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.detail__h { margin-bottom: var(--s2); }
.detail__summary { font-size: 1.0625rem; line-height: 1.65; letter-spacing: -0.01em; }
.sources-box > summary { align-items: baseline; padding: 10px 0; color: var(--ink); }
.sources-box > summary::before { align-self: baseline; }
.sources { display: grid; gap: var(--s3); padding: var(--s1) 0 var(--s2); }
.sources a {
	display: block; font-size: .9375rem; font-weight: 600; line-height: 1.45; color: var(--ink);
	text-underline-offset: 3px; overflow-wrap: anywhere;
}
.sources__checked::before { content: "·"; content: "·" / ""; margin: 0 6px; }
/* "정보가 다르거나 바뀌었나요? 알려 주기" — 눈에 띄되 평범한 한 줄 (버튼 · 살구색 아님) */
.correct { margin-top: var(--s2); font-size: var(--t-meta); line-height: var(--lh-meta); color: var(--ink-2); }
.correct a { display: inline-block; padding: 12px 0; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.more-links { max-width: var(--col); margin-top: var(--s6); }

@media (max-width: 767.98px) {
	.detail__title { font-size: clamp(1.375rem, 1.17rem + 1vw, 1.625rem); }
}

@media (min-width: 1024px) {
	.detail {
		display: grid; max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-areas: "ribbon ribbon" "notice aside" "head aside" "body aside"; grid-template-rows: auto auto auto 1fr;
		column-gap: 48px; align-items: start;
	}
	.draft-ribbon { grid-area: ribbon; }
	.detail__head { grid-area: head; }
	.detail > .notice { grid-area: notice; }
	.detail__aside { grid-area: aside; position: sticky; top: 24px; align-self: start; }
	.detail__aside .placard { margin-top: 12px; }
	.detail__body { grid-area: body; }
	.actionbar { display: none; }
	.more-links { max-width: calc((100% - 48px) * 7 / 12); }
}

/* ── 집회 찾기 (/find) ────────────────────────────── */
.find-filters { display: grid; gap: 8px; margin: 10px 0 16px; }
.filter-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 12px; }
.find-period legend { color: var(--ink-2); font-size: var(--t-meta); margin-bottom: 5px; }
.period-options { display: flex; flex-wrap: wrap; gap: 2px; }
.period-options label { position: relative; flex: 1 0 auto; }
.period-options input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.period-options span { padding: 8px 5px; display: grid; place-items: center; min-height: 44px; border-radius: 10px; color: var(--ink-2); font-size: var(--t-label); font-weight: 570; }
.period-options input:checked + span { color: var(--surface); background: var(--brand-ink); font-weight: 700; }
.period-options input:focus-visible + span { outline: 3px solid var(--action-ink); outline-offset: 2px; }

.find-filters label { display: grid; align-content: start; gap: 4px; min-width: 0; font-size: var(--t-meta); color: var(--ink-2); }
.find-select { position: relative; }
.find-select select {
	appearance: none; display: block; width: 100%; min-height: max(44px, 2.8em); margin: 0;
	padding: 6px 24px 6px 10px; border: 1px solid var(--line-ui); border-radius: 8px;
	font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
}
.find-select::after {
	content: ""; position: absolute; top: 50%; right: 10px; width: 6px; height: 6px;
	border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.find-filters button { grid-column: 1 / -1; justify-self: start; }
.find-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.find-heading h2 { font-size: var(--t-item); font-weight: 700; }
.find-all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink-2); font-size: var(--t-meta); text-decoration: none; }
.find-day { margin-top: 8px; }
.find-day + .find-day { margin-top: 18px; }
.find-day > h3 { padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); font-size: var(--t-meta); font-weight: 600; color: var(--ink-2); }

/* ── 글 페이지 · 오류 ─────────────────────────────── */
.prose { padding-bottom: var(--s5); }
.prose .page-title { margin-top: var(--s4); }
.prose .page-lede { margin-top: var(--s2); font-size: 1.125rem; line-height: 1.6; letter-spacing: -0.01em; color: var(--ink-2); max-inline-size: 36em; }
.prose h2 { margin-top: 40px; }
/* 본문 흐름만 (바로 아래 자식) — 빵부스러기의 ol · li · a 는 다른 페이지와 같은 CAPTION 한 줄로 둔다 */
.prose > p, .prose > ul, .prose > ol { margin-top: var(--s3); }
.prose > ul, .prose > ol { padding-left: 1.25em; }
.prose > ul > li + li, .prose > ol > li + li { margin-top: 4px; }
.prose > p a, .prose > ul a, .prose > ol a { color: var(--ink); text-underline-offset: 3px; }

/* /data-policy "우리가 확인하는 방법" — 번호 원 + 세로 선 단계 (HTML · CSS 만, 움직이지 않는다). 번호는 순서일 뿐 순위가 아니다 */
.prose > ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
.prose > ol.steps > li { position: relative; padding: 0 0 var(--s4) 44px; counter-increment: step; }
.prose > ol.steps > li + li { margin-top: 0; }
.prose > ol.steps > li:last-child { padding-bottom: 0; }
.prose > ol.steps > li::before {
	content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: var(--r-pill);
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.prose > ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--line-ui); }
.steps__k { display: block; font-size: var(--t-item); font-weight: 700; line-height: 1.7; letter-spacing: -0.01em; }

.error-page { padding-top: var(--s7); padding-bottom: var(--s6); }
.error-page__code { color: var(--ink-3); }
.error-page .page-title { margin-top: var(--s2); }
.error-page__text { margin-top: var(--s3); color: var(--ink-2); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }

/* ── 누름 · 탭 (M1) ───────────────────────────────── */
/* 자기 누름이 있는 요소만 탭 강조를 끈다 — 글 링크는 기본 강조 그대로. iOS 는 app.js 의 touchstart 리스너가 있어야 :active 를 그린다 */
.row a, .chip, .btn, .seg__cell, .pill, .btn-find--header, .link-row { -webkit-tap-highlight-color: transparent; }
.btn:active, .chip:not(.chip--on):active, a.seg__cell:not(.is-on):active, .pill:active, .link-row:active, .help__opt:active,
.daynav a:active { background: var(--sunk-2); }
.btn--primary:active { background: var(--ink-2); }
.btn--signal:active, .btn-find--header:active { background: var(--signal-deep); }
.btn.btn--text:active { background: transparent; }
.help__btn:active { background: var(--ink-2); }

/* ══ 6. 모션 — @keyframes 는 transform 만 · 넷뿐. 시작 프레임도 보이고 크기가 있다 ═══════════════ */
/* 애니메이션이 한 프레임도 돌지 않아도(백그라운드 WebView · 앱 전환 스냅샷 · 숨은 탭) 첫 화면이 다 보여야 한다 — MotionSafetyTest */
@keyframes pop { from { transform: scale(.85); } }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	/* M1 · M2 누름 90ms · hover 160ms — 바탕색만 (들림 · 그림자 없음) */
	.btn, .chip, .seg__cell, .pill, .btn-find--header, .link-row, .daynav a, .help__btn, .help__opt, .row {
		transition: background-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out);
	}
	.btn:active, .chip:active, .seg__cell:active, .pill:active, .btn-find--header:active, .link-row:active,
	.daynav a:active, .help__btn:active, .help__opt:active, .row:active { transition-duration: var(--dur-press); }
	/* M3 접기 표시 */
	.continuing > summary::before, .past > summary::before, .notes__more > summary::before,
	.sources-box > summary::before, .popular > summary::before, .subscribe > summary::before { transition: transform var(--dur-hover) var(--ease-out); }
	/* M7 곧 시작 — 처음 보일 때 */
	.soon.is-soon { animation: pop 200ms var(--ease-out); }
}

/* ══ 7. 동작 줄이기 ═════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* 보이지 않는 채 열린 문서 (app.js) */
html.still *, html.still *::before, html.still *::after { animation: none !important; }

/* ══ 8. print ═══════════════════════════════════════════════════════════ */
/* 하단은 홈·일정·찾기 세 목적지. 상세는 전용 액션바를 쓴다. */
.tabbar { display: none; }
@media (max-width: 767.98px) {
	:root { --tab-h: calc(40px + 1rem); } /* 56px — 큰 글자면 글자만큼 커진다 (막대 · 본문 끝 여백 · 문의 버튼이 같은 값) */
	.tabbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
		padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
		background: var(--surface); border-top: 1px solid var(--line);
	}
	.tabbar__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.tabbar__link {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		min-height: var(--tab-h); padding: 6px 2px; color: var(--ink-2); text-decoration: none; -webkit-tap-highlight-color: transparent;
	}
	.tabbar__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	.tabbar__label { font-size: .75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
	.tabbar__link[aria-current] { color: var(--ink); }
	.tabbar__link[aria-current] .tabbar__icon { stroke-width: 2.3; }
	.tabbar__link[aria-current]::before { content: ""; position: absolute; inset-block-start: 0; width: 26px; height: 3px; border-radius: 0 0 2px 2px; background: var(--action-ink); }
	.tabbar__link:active { background: var(--sunk); }
	body:has(.tabbar) { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
	body:has(.tabbar) .help { bottom: calc(var(--tab-h) + 12px + env(safe-area-inset-bottom)); }
	html:has(.tabbar) { scroll-padding-bottom: calc(var(--tab-h) + 12px + 52px + 16px + env(safe-area-inset-bottom)); }
	.site-header:not(.site-header--solo) .site-nav, .site-header:not(.site-header--solo) .btn-find--header { display: none; }
	.site-header:not(.site-header--solo) .site-header__bar { justify-content: flex-start; }
}

/* 모바일 문의는 본문을 덮지 않는다. 머리 링크에서 문서 끝의 같은 패널로 이동한다. */
@media (max-width: 767.98px) {
	.site-header:not(.site-header--solo) .header-help {
		display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 12px;
		border-radius: var(--r-pill); color: var(--ink-2);
		font-size: var(--t-meta); font-weight: 600; text-decoration: none;
	}
	body:is(:has(.tabbar), .page-detail) .help { position: static; margin: 16px var(--gutter) 24px; }
	body:is(:has(.tabbar), .page-detail) .help__btn { display: inline-flex; flex-direction: row; width: auto; height: auto; min-height: 44px; padding: 10px 16px; gap: 8px; }
	body:is(:has(.tabbar), .page-detail) .help__label { font-size: var(--t-label); line-height: 1.4; }
	body:is(:has(.tabbar), .page-detail) .help__panel { position: static; inline-size: 100%; max-block-size: none; margin-top: 12px; overflow-y: visible; }
	body:is(:has(.tabbar), .page-detail) .site-footer:has(+ .help) { padding-bottom: 24px; }
	.page-detail .detail__checks [data-open-help] { display: inline-flex; }
	body.page-detail:has(.help) { padding-bottom: calc(var(--bar-live, 69px) + env(safe-area-inset-bottom)); }
}

.detail-back { display: none; }
@media (max-width: 767.98px) {
	.page-detail .site-header--solo :is(.site-nav, .btn-find--header), .page-detail .crumbs { display: none; }
	.page-detail .detail-back { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin-left: -10px; font: 400 1.75rem/1 var(--text); text-decoration: none; }
	.page-detail .site-header .logo { margin-right: auto; }
	.page-detail .detail { padding-top: 16px; }
}

.home-search { display: none; }
.home-explore { margin: 24px 0; }
.home-overview { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--ink-2); font-size: .8125rem; font-weight: 550; text-decoration: none; }
@media (max-width: 767.98px) {
	.page-home .site-header__bar { min-height: 52px; }
	.site-header__bar:has(.home-search) .header-help { display: none; }
	.home-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-left: auto; color: var(--ink); }
	.page-home .home-heading { margin: 16px 0 0; }
	.home-heading h1, .home-heading .home-all { position: absolute; width: 1px; height: 1px; min-height: 0; clip-path: inset(50%); overflow: hidden; }
	.home-heading .home-all:focus-visible { position: static; width: auto; height: auto; clip-path: none; }
}
/* 전국 일정표 */
.site-header { border-bottom-color: var(--line-soft); }
.logo { color: var(--brand-ink); }
:is(.page-search, .page-find) main { max-width: calc(43rem + 2 * var(--gutter)); }
/* 날짜와 집회는 한 배너에 묶고, 제목을 먼저 읽는다. */
.agenda-event { position: relative; display: flow-root; padding: 4px 18px 14px; }
.agenda-event[hidden] { display: none; }
.home-art { float: right; width: clamp(70px, 22vw, 110px); height: auto; aspect-ratio: 1; margin: 0 0 6px 12px; mix-blend-mode: multiply; }
.agenda-event h3, .detail .detail__title {
	font-family: var(--event-face); font-weight: 600; line-height: 1.48; letter-spacing: -.025em; overflow-wrap: anywhere;
}
.agenda-event h3 { margin: 0; font-size: clamp(1.125rem, 1.02rem + .4vw, 1.375rem); font-weight: 700; line-height: 1.36; letter-spacing: -.025em; color: var(--ink); text-wrap: pretty; }
.event-foot { margin-top: 6px; }
.event-when { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; color: var(--ink-2); font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.event-when strong { color: var(--brand-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.event-open { display: inline-flex; align-items: baseline; gap: 5px; margin-top: 8px; font-size: .8125rem; line-height: 1.5; font-weight: 650; color: var(--action-ink); text-decoration: none; }
.event-open::after { position: absolute; content: ""; inset: 0; border-radius: 10px; }
.event-open:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.event-open:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.event-open:focus-visible::after { outline: 3px solid var(--action-ink); }
.home-notes { border-top: 1px solid var(--line-soft); padding-top: 12px; }
/* 예술가들 모바일 달력·찾기·상세와 같은 읽기 크기와 좌우 여백. */
@media (max-width: 767.98px) {
	:is(.page-list, .page-detail, .page-find, .page-search) .site-header__bar { min-height: 52px; }
}
:is(.page-list, .page-find, .page-search) .page-head { padding-top: 20px; }
:is(.page-list, .page-find, .page-search) .page-title { font: 700 clamp(1.5rem, 1.32rem + .65vw, 1.875rem)/1.333 var(--text); color: var(--ink); letter-spacing: -.035em; }
:is(.page-list, .page-find, .page-search) .row__title { font: 600 1rem/1.4 var(--text); letter-spacing: -.02em; }
:is(.page-list, .page-find, .page-search) .row__facts { font: 400 .8125rem/1.54 var(--text); color: var(--ink-3); }
:is(.day__head--selection, .find-heading h2, .search__count) { font-size: .9375rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.schedule-controls { margin: 14px 0 0; max-inline-size: none; }
.schedule-filter, .filter-pair { gap: 8px; }
.schedule-filter__field, .filter-pair label { min-width: 0; gap: 2px; }
.schedule-filter label, .filter-pair label > span:first-child { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.schedule-filter__control :is(input,select), .find-select select { border: 1px solid var(--line); border-radius: 10px; padding-inline: 12px 32px; background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 600; }
.schedule-controls[data-live] .schedule-filter__control:not(:focus-within) .schedule-filter__date-label:not([hidden]) { left: 12px; background: var(--surface); color: var(--ink); font-weight: 600; }
.list-week { display: grid; grid-template-columns: repeat(7, minmax(2.5rem,1fr)); gap: 2px; overflow-x: auto; padding: 8px 0; margin-top: 8px; border-block: 1px solid var(--line-soft); }
.list-week a { display: grid; justify-items: center; align-content: center; min-height: 46px; padding-block: 3px; border-radius: 10px; font: 500 .75rem/1.4 var(--text); color: var(--ink-3); text-decoration: none; }
.list-week b { font: 600 1rem/1.4 var(--text); color: var(--ink); font-variant-numeric: tabular-nums; }
.list-week a[aria-current] { background: var(--brand-ink); color: var(--surface); }
.list-week a[aria-current] b { color: inherit; }
.list-week a:focus-visible { outline-offset: -3px; }
.time-slot { display: grid; grid-template-columns: 3.5rem minmax(0,1fr); gap: 0 12px; align-items: start; }
.time-slot + .time-slot { border-top: 1px solid var(--line-soft); }
.time-slot__clock { padding-top: 14px; font: 650 .875rem/1.6 var(--text); color: var(--action-ink); font-variant-numeric: tabular-nums; }
.time-slot .row { padding: 14px 14px 14px 0; gap: 4px; }
.time-slot .row__time { display: none; }
.time-slot .row::before { width: 5px; height: 5px; inset-inline-end: 2px; }
.schedule-selection { border: 0; }
.find-filters { margin: 16px 0 22px; gap: 12px; }
.find-period legend { margin-bottom: 6px; font-size: .8125rem; font-weight: 500; }
.period-options { gap: 4px; }
.period-options label { flex: 1 1 auto; }
.period-options span { min-height: 44px; border-radius: 999px; padding: 4px 8px; background: var(--sunk); font-size: .8125rem; }
.filter-pair label { gap: 4px; }
.find-heading { padding: 4px 0; border-block: 1px solid var(--line-soft); }
.find-day > h3 { margin: 0; padding: 12px 0 4px; font: 600 .8125rem/1.5 var(--text); color: var(--ink-2); border: 0; }
.find-day .row { padding: 12px 0; gap: 4px; }
.find-day .row + .row { border-top: 1px solid var(--line-soft); }
.find-row__time { margin: 0; }
.find-row__time .row__time { display: inline-block; margin: 0; padding: 2px 7px; border-radius: 6px; background: var(--sunk); font: 600 .75rem/1.5 var(--text); color: var(--ink-2); }
.page-search .page-head { padding-top: 12px; }
.page-search .search { position: relative; display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 8px; max-inline-size: none; margin: 0; padding: 4px 5px 4px 14px; background: var(--sunk); border-radius: 12px; }
.page-search .page-title:not(.sr-only) + .search { margin-top: 12px; }
.search .ico { color: var(--ink-2); width: 20px; height: 20px; }
.search__label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.page-search .search__input { height: auto; min-height: 44px; padding: 3px 0; border: 0; background: transparent; font: 400 1rem/1.5 var(--text); }
.page-search .search:focus-within { outline: 2px solid var(--action-ink); }
.search__input:focus-visible { outline: 0; box-shadow: none; }
.page-search .search__go { min-height: 44px; padding: 7px 12px; border-radius: 9px; font-size: .875rem; }
.place-stage { display: flex; flex-direction: column; gap: 16px; min-height: clamp(17rem, 90vw, 27rem); padding: 18px; margin-top: 16px; border-radius: 16px; background: #cad8dd url('/img/place-square.webp') center 58% / cover no-repeat; }
.place-stage h2 { align-self: flex-start; padding: 4px 10px; border-radius: 999px; color: var(--surface); background: var(--ink); font: 650 .8125rem/1.5 var(--text); }
.place-stage nav { align-self: flex-end; width: min(100%, 14rem); }
.place-stage ul { display: grid; gap: 6px; }
.place-stage a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 12px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink); text-decoration: none; font: 600 .9375rem/1.4 var(--text); }
.place-stage small { margin-left: auto; color: var(--ink-2); font: 500 .8125rem/1.5 var(--text); }
.place-stage .ico { width: 16px; height: 16px; }
.search-find { margin-block: 26px; }
.search-hit .row { gap: 5px; padding: 14px 16px 12px 0; }
.search-hit .row__facts { gap: 2px 8px; }
.search-hit .dates-link { margin: 0 0 6px; }
.detail-banner {
	display: grid; grid-template-columns: clamp(76px, 22vw, 110px) minmax(0, 1fr);
	align-items: center; gap: clamp(14px, 3vw, 22px); padding: 14px 18px;
	background: var(--cover); border-radius: 16px;
}
.detail-banner img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.detail-banner__copy { min-width: 0; }
.detail .detail__title {
	margin: 0; color: var(--ink); font: 700 clamp(1.1875rem, 1.06rem + .62vw, 1.5rem)/1.34 var(--text);
	letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere;
}
.detail-banner__copy p { margin: 5px 0 0; color: var(--ink-2); font: 450 .8125rem/1.5 var(--text); word-break: keep-all; overflow-wrap: anywhere; }
.official-name summary {
	display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer;
	color: var(--ink-2); font: 550 .8125rem/1.5 var(--text); list-style: none;
}
.official-name summary::-webkit-details-marker { display: none; }
.official-name summary::after {
	content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
	transform: translateY(-2px) rotate(45deg);
}
.official-name[open] summary::after { transform: translateY(2px) rotate(225deg); }
.official-name p { max-width: 48ch; margin: 0 0 12px; font: 450 .9375rem/1.6 var(--text); color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 359px) {
	.detail-banner { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px; }
}
.detail .placard { padding: 0; background: none; border: 0; }
.detail-timing { display: grid; grid-template-columns: minmax(4.25rem,5rem) minmax(0,1fr); align-items: baseline; gap: 2px 8px; padding: 10px 0 12px; border-top: 1px solid var(--line-soft); }
.detail-timing .placard__top { grid-column: 1; grid-row: 1 / span 2; align-self: start; align-content: start; margin: 8px 0 0; }
.detail-timing :is(.occurrence-picker,.occurrence-result) { grid-column: 2; min-width: 0; }
.detail-timing .occurrence-select select { padding-block: 2px; }
.detail-timing .placard__rel { font-size: var(--t-caption); }
.occurrence-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.occurrence-select { position: relative; display: inline-grid; max-width: 100%; }
.occurrence-select select { appearance: none; width: 100%; min-height: 44px; padding: 4px 28px 4px 0; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: 700 1rem/1.45 var(--text); }
.occurrence-select::after { content: ""; position: absolute; right: 8px; top: 50%; width: 7px; height: 7px; border: solid var(--ink-2); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.occurrence-picker .btn[hidden] { display: none; }
.detail-timing[aria-busy="true"] :is(.occurrence-result,.placard__rel,.soon) { visibility: hidden; }
.occurrence-stages { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.occurrence-stages li { display: inline-flex; align-items: baseline; gap: 5px; color: var(--ink-2); font-size: .8125rem; line-height: 1.55; }
.occurrence-stages li + li::before { content: "›"; margin-right: 3px; color: var(--ink-3); }
.occurrence-stages strong { color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.occurrence-notice { margin: 4px 0 0; color: var(--ink-2); font-size: .875rem; line-height: 1.55; }
.occurrence-notice a { white-space: nowrap; color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; }

.placard .placard__label { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font: 500 .8125rem/1.54 var(--text); }
.placard__date, .placard__time { color: var(--ink); }
.placard .placard__place { display: grid; grid-template-columns: minmax(4.25rem, 5rem) minmax(0,1fr); gap: 2px 8px; align-items: baseline; margin: 0; padding: 12px 0; border-block: 1px solid var(--line-soft); }
.placard__place .placard__area { grid-column: 2; font: 400 .8125rem/1.54 var(--text); color: var(--ink-3); }
.placard__place strong { font: 600 .9375rem/1.47 var(--text); }
.placard .actions { margin-top: 10px; }
.placard .actions a:not(.btn--primary) { background: var(--surface); color: var(--ink); border-color: var(--line); min-height: 44px; border-radius: 10px; }
.page-detail .actionbar .btn--primary { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.placard__conditions { border-color: var(--line); padding-top: 0; margin-top: 12px; }
.placard__conditions summary, .occurrence-month > summary { min-height: 44px; padding-block: 10px; color: var(--action-ink); font-size: var(--t-meta); font-weight: 650; }
.placard__conditions summary { display: list-item; }
.occurrence-month { margin: 4px 0 0 10px; }
.occurrence-month > summary { width: 100%; justify-content: start; }
.occurrence-month summary small { margin-left: auto; font-size: var(--t-meta); }
.agenda-event[data-off="true"] h3, .agenda-event[data-off="true"] .event-when strong { text-decoration: line-through; }
.row__tags .soon.is-soon, .placard__top .soon.is-soon { border-radius: 0; padding: 0; background: transparent; color: var(--action-ink); }
.row__tags .soon.is-soon::before, .placard__top .soon.is-soon::before { content: "● "; font-size: .72em; }

@media (max-width: 767.98px) {
	.tabbar__link[aria-current] { color: var(--brand-ink); }
	.tabbar__icon, .tabbar__label { position: relative; }
}
/* 한 화면에서 선택한 주제 하나만 읽는다. 해시 링크는 JS 없이도 열린다. */
.reader { display: none; max-width: 39rem; margin-inline: auto; padding: 8px 0 32px; overflow-wrap: anywhere; }
.reader:target, .reader:has(:target) { display: block; }
main:has(> .reader:target, > .reader :target) > :not(.reader),
main:has(.listing-layout .reader:target, .listing-layout .reader :target) > :not(.listing-layout),
.listing-layout:has(> .reader:target, > .reader :target) > :not(.reader),
body:has(> .reader:target) > main,
body:has(.reader:target, .reader :target) :is(.site-header, .site-footer, .tabbar, .help) { display: none; }
.reader:focus { outline: none; box-shadow: none; }
.reader h1 { margin: 8px 0 10px; font-weight: 665; font-size: var(--t-title); color: var(--brand-ink); line-height: 1.32; letter-spacing: -.035em; }
.reader h1 small, .reader h1 .ptop__top { font: inherit; font-size: .7em; color: var(--ink-2); }
.reader-back, .reader-inline { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--action-ink); font-size: var(--t-label); font-weight: 600; text-underline-offset: 3px; }
.reader-back { text-decoration: none; }
@media screen and (min-height: 24rem) {
	.reader-back { display: flex; position: sticky; top: 0; z-index: var(--z-day); background: var(--paper); }
	html:has(.reader:target, .reader :target) { scroll-padding-top: max(52px, 3rem); }
}
/* 집결 장소에는 입구만 두고, 역 시설은 같은 상세의 별도 화면에서 읽는다. */
.placard__amenities { grid-column: 2; justify-self: start; margin-bottom: -8px; text-decoration: none; }
.placard__amenities > span { font-size: 1.2em; }
.station-guide { margin: 0 0 22px; }
.station-guide h2 { font-size: var(--t-label); font-weight: 600; color: var(--ink-2); }
.station-guide h3 { margin: 22px 0 4px; font-size: var(--t-item); font-weight: 700; }
.station-guide ul { list-style: none; padding: 0; }
.station-guide li { padding: 9px 0; line-height: 1.5; }
.station-guide li + li { border-top: 1px solid var(--line-soft); }
.station-guide li strong { font-size: var(--t-label); font-weight: 620; color: var(--brand-ink); }
.station-guide li > span, .station-guide__hours span { color: var(--ink-2); font-size: var(--t-meta); }
.station-guide li > span { display: block; margin-top: 2px; }
.station-guide__hours { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; }
.station-guide__hours span { font-variant-numeric: tabular-nums; }
.station-contact, .survey-report p { font-size: var(--t-meta); line-height: 1.55; color: var(--ink-2); }
.station-contact { margin-top: 6px; }
.station-contact span { white-space: nowrap; user-select: all; font-variant-numeric: tabular-nums; }
.survey-report { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin: 16px 0; }
.survey-report .btn { flex-shrink: 0; min-height: 44px; }
.station-sources { border-top: 1px solid var(--line-soft); padding-top: 12px; color: var(--ink-2); font-size: var(--t-meta); }
.station-sources a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; color: inherit; text-underline-offset: 3px; }
.reader-sub { margin-bottom: 14px; font-size: var(--t-label); line-height: 1.55; color: var(--ink-2); }
.reader-caption, .reader-notes li { line-height: 1.65; }
.reader-menu { margin-top: 14px; }
.reader-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line-soft); color: var(--brand-ink); font-size: var(--t-label); font-weight: 600; text-decoration: none; }
.reader-link small, .reader-link > [aria-hidden] { color: var(--ink-2); font-size: var(--t-meta); font-weight: 500; }
.reader-link small { margin-inline-start: 4px; }
.reader-notes li { padding: 12px 0; border-block-start: 1px solid var(--line-soft); }
.reader .place-links, .reader .detail__meta, .reader .home-notes { margin-top: 12px; }
.reader .ptop__content { padding: 0; }
.page-search .page-head > .reader-link { margin-top: 10px; }
.search-hit .dates-link { margin-bottom: 4px; }
.page-search .search-hit .row__meta, .page-search .search-hit .row__topic, .page-search .search-hit .row__span { display: none; }
.search-hit .row__tags:not(:has(.soon:not([hidden]))) { display: none; }
.listing-followup:has(.reader-link) { margin-top: 16px; }
.reader .subscribe__body { margin-top: 12px; }
body > .reader.wrap { padding-inline: var(--gutter); }
.footer-guide { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); font-size: var(--t-meta); text-underline-offset: 3px; }
.reader .sources { gap: 0; margin-top: 10px; }
.reader .sources li { position: relative; padding-block: 12px; border-top: 1px solid var(--line-soft); }
.reader .sources a { padding-right: 1.5em; font-size: var(--t-label); line-height: 1.5; text-decoration: none; }
.reader .sources a::after { content: "↗" / ""; position: absolute; inset: 0; padding-block: 12px; text-align: right; color: var(--action-ink); }
.reader .sources a:focus-visible::after { outline: 2px solid var(--action-ink); }
@media screen {
	body:has(> .help[open]) > :is(main, .site-header, .site-footer, .tabbar) { display: none; }
	body:has(> .help[open]) > .help { position: static; max-width: 39rem; width: 100%; margin: 0 auto; padding: 16px var(--gutter); }
	body:has(> .help[open]) .help__panel { position: static; width: 100%; max-height: none; margin-top: 12px; overflow: visible; }
}
@media (max-width: 767.98px) {
	body:has([data-open-help]) .help:not([open]):not(:target) { display: none; }
}
/* 찾기와 검색은 같은 결과 영역을 쓴다. 입력부와 결과 머리의 높이는 조건마다 일정하다. */
.page-find .page-head { padding-top: 18px; }
.page-find .find-filters { margin: 12px 0 16px; gap: 12px; }
.page-find .search { padding: 2px 4px 2px 12px; background: var(--surface); border: 1px solid var(--line-ui); border-radius: 10px; }
.find-filters .search__go { grid-column: auto; justify-self: stretch; background: transparent; color: var(--ink); border: 0; font-weight: 650; cursor: pointer; }
.find-tools { display: flex; align-items: start; flex-wrap: wrap; gap: 4px 8px; }
.find-filters .period-options { gap: 2px; }
.find-tools .period-options label { display: flex; align-items: center; min-height: 44px; }
.find-tools .period-options span { min-height: 32px; padding-inline: 9px; background: transparent; }
.find-tools .period-options input:checked + span { color: var(--brand-ink); background: var(--accent-soft); }
.find-tools .filter-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 6px; margin-inline-start: auto; border: 0; background: transparent; color: var(--action-ink); font: 600 .8125rem/1.4 var(--text); cursor: pointer; }
.filter-toggle::after { content: ""; flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.filter-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.find-tools .filter-toggle[hidden], .filter-pair[hidden] { display: none; }
.find-filters .period-options span { white-space: nowrap; }
.find-heading { min-height: 44px; align-items: center; }
.find-heading h2 { margin: 0; }
.find-reset, .detail-question { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); font-size: .8125rem; text-underline-offset: 3px; }
#find-results { min-height: 13rem; overflow-anchor: none; }
.search-hit + .search-hit { border-top: 1px solid var(--line-soft); }
.find-more, .find-occurrences { border: 0; }
.find-more { border-top: 1px solid var(--line-soft); }
.find-more > summary, .find-occurrences > summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); font-size: .875rem; font-weight: 580; cursor: pointer; list-style: none; }
.find-occurrences > summary { justify-content: flex-start; font-size: .8125rem; }
:is(.find-more, .find-occurrences) > summary::-webkit-details-marker { display: none; }
:is(.find-more, .find-occurrences) > summary::after { content: ""; width: 7px; height: 7px; flex: none; margin-inline: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
:is(.find-more, .find-occurrences)[open] > summary::after { transform: rotate(225deg); }
.find-occurrences { margin-top: -4px; }
.find-occurrences li a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 12px; color: var(--action-ink); font-size: .875rem; }
.find-empty { padding: 20px 0; }
.find-empty p, .find-error { font-size: .9375rem; line-height: 1.55; }
.find-empty .fine { display: block; margin-top: 4px; }
.find-more .place-stage { min-height: 14rem; margin: 4px 0 12px; align-items: end; }
.find-more .place-stage ul { width: min(100%, 14rem); }
.detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 10px; margin-block: 16px 4px; }
.detail-card { position: relative; display: grid; align-content: start; justify-items: start; gap: 3px; min-width: 0; padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 2px 10px -5px rgb(8 10 20 / 8%); }
.detail-card .ico { box-sizing: content-box; width: 17px; height: 17px; padding: 6px; margin-bottom: 3px; border-radius: 8px; color: var(--action-ink); background: var(--sunk); }
.detail-card::after { content: ""; position: absolute; right: 15px; top: 20px; width: 6px; height: 6px; border: solid var(--ink-3); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.detail-card strong { font: 650 .9375rem/1.4 var(--text); letter-spacing: -.02em; }
.detail-card small { color: var(--ink-2); font: 400 .8125rem/1.45 var(--text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 340px) and (max-width: 600px) {
	.detail-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.detail-card:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
	.detail-card:last-child:nth-child(odd) .ico { grid-row: span 2; margin: 0; }
	.detail-card:last-child:nth-child(odd) strong, .detail-card:last-child:nth-child(odd) small { padding-right: 12px; }
}
.detail-card:active { background: var(--sunk); }
.detail-question .ico { width: 15px; height: 15px; }
/* 긴 이름만 한 단계 낮춘다. rem을 써서 시스템 글자 확대를 그대로 따른다. */
.agenda-event h3.is-compact-title { font-size: clamp(1.0625rem, .96rem + .36vw, 1.25rem); }
.detail .detail__title.is-compact-title { font-size: clamp(1.09375rem, .99rem + .52vw, 1.375rem); }
.row__title.is-compact-title { font-size: .9375rem; }
.past-row__title.is-compact-title, .official-name p.is-compact-title,
.placard__place strong.is-compact-title { font-size: .875rem; }
@media (hover: hover) { .detail-card:hover { border-color: var(--line-ui); } }
@media (max-width: 767.98px) {
	.tabbar__link[aria-current] .tabbar__label { font-weight: 750; }
	.schedule-head .schedule-pager button { min-width: 44px; min-height: 44px; }
	.schedule-pager button[aria-disabled="true"] { color: var(--ink-3); }
	.list-week { grid-template-columns: repeat(7,minmax(2.25rem,1fr)); }
}
@media print {
	.reader-back, .reader-link, .dates-link, .footer-guide { display: none; }
	.page-detail main:not(:has(.reader:target, .reader :target)) > .reader { display: block; padding: 0; }
	.page-detail .reader-sub { display: none; }
	.actionbar, .help { display: none !important; }
	.skip-link, .site-nav, .btn-find--header, .header-help, .header-support, .tabbar { display: none !important; }
	.day__head, .detail__aside { position: static; }
	.listing-layout > .filters { position: static; max-height: none; overflow: visible; }
	.placard { box-shadow: none; }
}

.find-all-dates > summary { display: flex; align-items: center; width: fit-content; min-height: 44px; padding-inline: 12px; color: var(--action-ink); font-size: .875rem; font-weight: 600; cursor: pointer; list-style: none; }
.find-all-dates > summary::-webkit-details-marker { display: none; }
.find-all-dates:not([open]) > summary span:last-child, .find-all-dates[open] > summary span:first-child { display: none; }
.strip__day.is-pending .strip__num { outline: 1px dashed currentColor; outline-offset: -2px; }
