/* Showline Seoul
   서울 지하철 안내판을 닮은 화면. 남색 바탕, 전광판 노랑, 정거장 색 번호 표지.
   모서리는 두 가지만 쓴다: 상자 6px, 번호 표지와 알약 모양은 완전히 둥글게.
   정거장 색(.st-*)과 노선 색(.ln-*)은 빌드할 때 이 파일 뒤에 자동으로 붙는다. */

/* ── 글꼴 ─────────────────────────────────────────────── */
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── 색과 치수 ─────────────────────────────────────────── */
:root {
  --navy: #14305c;
  --navy-deep: #0e2346;
  --on-navy: #f4f6fa;
  --on-navy-soft: #c9d1e0;
  --led: #ffd200;
  --led-hover: #ffdd3d;
  --bg: #f3f4f7;
  --panel: #fbfbf9;
  --ink: #131c2e;
  --muted: #55607a;
  --rule: #d5dae4;
  --link: #0b4a9e;
  --focus: #0b4a9e;
  --here-ring: #14305c;
  --caveat-bg: #fff7d1;
  --caveat-line: #e6c64a;
  --board: #0a1120;
  --board-line: #1f2b45;
  --board-ink: #eef1f6;
  --board-muted: #9aa6bd;
  --r: 6px;
  --pill: 999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 70rem;
  --read: 44rem;
  --font: "Barlow", "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1424;
    --panel: #111d33;
    --ink: #e6eaf2;
    --muted: #9aa6bd;
    --rule: #27365a;
    --link: #8ab8ff;
    --focus: #ffd200;
    --here-ring: #f4f6fa;
    --caveat-bg: #2e2a12;
    --caveat-line: #6b5c14;
  }
}

/* ── 기본 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
p, ul, ol, dl, dd, table { margin: 0; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
.icon { flex: none; vertical-align: -0.15em; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--read { width: min(100% - 2rem, var(--read)); }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.top :focus-visible, .hero :focus-visible, .next :focus-visible, .foot :focus-visible { outline-color: var(--led); }
.skip {
  position: absolute; left: 0.5rem; top: -5rem; z-index: 100; padding: 0.75rem 1rem;
  background: var(--led); color: var(--navy); font-weight: 700; border-radius: var(--r);
}
.skip:focus { top: 0.5rem; }

/* ── 번호 표지 ─────────────────────────────────────────── */
.roundel {
  display: inline-grid; place-items: center; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: var(--pill);
  background: var(--st, var(--navy)); color: var(--st-on, #fbfbf9);
  font-weight: 700; font-size: 0.875rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.roundel--lg { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
.ln {
  display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem;
  border-radius: var(--pill); background: var(--ln); color: var(--ln-on);
  font-size: 0.75rem; font-weight: 700; line-height: 1;
}
.transit {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem;
  font-size: 0.875rem; color: var(--muted); white-space: nowrap;
}
.transit > span:last-child { margin-left: 0.125rem; }
dd > .transit:first-child { margin-left: 0; }

/* ── 머리 ─────────────────────────────────────────────── */
.top { background: var(--navy); color: var(--on-navy); }
.top__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem;
  color: inherit; text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.01em; white-space: nowrap;
}
.brand__mark { width: 1.25rem; height: 1.25rem; border-radius: var(--pill); border: 0.3125rem solid var(--led); }
.nav { display: flex; gap: 0.125rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.875rem;
  color: inherit; text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--led); }
.menu-btn { display: none; }
@media (max-width: 40rem) {
  .js .menu-btn {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.875rem;
    background: transparent; color: inherit; border: 1px solid rgba(244, 246, 250, 0.45); border-radius: var(--r);
    font: 600 0.9375rem/1 var(--font); cursor: pointer;
    transition: transform 160ms var(--ease-out);
  }
  .js .menu-btn:active { transform: scale(0.97); }
  .js .nav {
    display: none; position: absolute; top: 100%; left: -1rem; right: -1rem; z-index: 20;
    flex-direction: column; padding: 0.25rem 1rem 0.75rem; background: var(--navy-deep);
  }
  .js .nav.is-open { display: flex; }
  .js .nav a { min-height: 3rem; padding: 0; }
  html:not(.js) .top__in { flex-wrap: wrap; gap: 0; padding-block: 0.25rem; }
  html:not(.js) .nav { width: 100%; overflow-x: auto; }
  html:not(.js) .nav a { padding: 0 0.875rem 0 0; }
}

/* ── 위쪽 노선 표시 ─────────────────────────────────────── */
.line { background: var(--panel); border-bottom: 1px solid var(--rule); }
.line__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0.625rem 0 0.5rem; }
.line__list::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: calc(0.625rem + 0.875rem - 2px); height: 4px;
  background: var(--rule); border-radius: var(--pill);
}
.line__stop a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3125rem;
  min-height: 2.75rem; padding: 0 0.125rem; text-align: center; text-decoration: none;
  color: var(--muted); font-size: 0.75rem; font-weight: 600; line-height: 1.2;
}
.line__stop .roundel { box-shadow: 0 0 0 3px var(--panel); }
.line__stop.is-here a { color: var(--ink); font-weight: 700; }
.line__stop.is-here .roundel {
  background: var(--led); color: var(--navy);
  box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--here-ring);
}
@media (min-width: 48rem) {
  .line__list { padding-block: 0.375rem; }
  .line__list::before { top: 50%; margin-top: -2px; }
  .line__stop { display: flex; justify-content: center; }
  .line__stop a { flex-direction: row; gap: 0.5rem; padding: 0 0.75rem 0 0.25rem; background: var(--panel); font-size: 0.875rem; }
}

/* ── 승강장 표지판 ─────────────────────────────────────── */
.sign { padding-top: 1.25rem; }
.sign__panel {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; background: var(--panel);
  border: 1px solid var(--rule); border-top: 6px solid var(--st); border-radius: var(--r);
}
.sign__side {
  display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem;
  color: var(--muted); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.sign__side--next { justify-self: end; text-align: right; }
.sign__here { display: flex; align-items: center; gap: 0.625rem; }
.sign__name { display: flex; flex-direction: column; font-weight: 700; font-size: 1.0625rem; line-height: 1.15; }
.sign__ko { margin-top: 0.125rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
@media (min-width: 48rem) {
  .sign__panel { padding: 0.75rem 1.25rem; }
  .sign__name { font-size: 1.375rem; }
  .sign__side { font-size: 0.9375rem; }
}

/* ── 버튼 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.375rem; border: 1px solid transparent; border-radius: var(--r);
  font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--led { background: var(--led); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--on-navy); border-color: rgba(244, 246, 250, 0.25); }
.btn--line { min-height: 2.75rem; padding: 0 0.875rem; background: transparent; border-color: var(--rule); color: var(--ink); font-weight: 600; font-size: 0.9375rem; }

/* ── 홈: 첫 화면 ─────────────────────────────────────────── */
.hero { background: var(--navy); color: var(--on-navy); }
.hero__in { display: grid; gap: 2rem; padding-block: 2.25rem 2.75rem; }
.hero h1 { font-size: clamp(2.375rem, 1.5rem + 4.2vw, 4rem); letter-spacing: -0.02em; line-height: 1.05; }
.hero__sub { margin-top: 1rem; max-width: 34rem; font-size: 1.1875rem; line-height: 1.5; color: var(--on-navy-soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 1.75rem; }
.hero__more { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-navy); font-weight: 600; }
@media (min-width: 60rem) {
  .hero__in { grid-template-columns: 7fr 5fr; align-items: center; gap: 3.5rem; padding-block: 4rem 4.5rem; }
}

/* 전광판: 다음 서울 공연 */
.board { padding: 1rem 1.125rem 0.5rem; background: var(--board); color: var(--board-ink); border: 1px solid var(--board-line); border-radius: var(--r); }
.board__h { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--led); }
.board__rows { list-style: none; padding: 0; margin-top: 0.625rem; }
.board__rows li { border-top: 1px solid var(--board-line); }
.board__rows a {
  display: grid; grid-template-columns: 5.75rem 1fr; column-gap: 0.75rem; align-items: baseline;
  min-height: 2.75rem; padding: 0.5625rem 0; color: inherit; text-decoration: none;
}
.board__date { color: var(--led); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.board__artist { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.board__venue { grid-column: 2; font-size: 0.875rem; color: var(--board-muted); }
.board__empty { padding: 0.75rem 0; color: var(--board-muted); }
.board__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--board-line); font-size: 0.8125rem; color: var(--board-muted); }
.board__foot a { display: inline-flex; align-items: center; gap: 0.25rem; min-height: 2.75rem; color: var(--board-ink); font-weight: 600; }
.board :focus-visible { outline-color: var(--led); }

/* ── 홈: 구역 ─────────────────────────────────────────── */
.band { padding-block: clamp(2.75rem, 2rem + 4vw, 4.5rem); }
.band--alt { background: var(--panel); border-block: 1px solid var(--rule); }
.band h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
.band .wrap--read > p { margin-top: 0.875rem; }
.lede { margin-top: 0.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.split { display: grid; gap: 2.75rem; }
@media (min-width: 60rem) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.more { margin-top: 0.75rem; font-weight: 600; }
.more a { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; }

/* 노선도: 정거장 다섯 개 */
.route { display: grid; list-style: none; padding: 0; margin-top: 2rem; }
.route__stop { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding-bottom: 1.5rem; }
.route__stop::before {
  content: ""; position: absolute; left: calc(1.25rem - 2px); top: 2.5rem; bottom: 0; width: 4px; background: var(--rule);
}
.route__stop:last-child { padding-bottom: 0; }
.route__stop:last-child::before { display: none; }
.route__body h3 { padding-top: 0.375rem; font-size: 1.25rem; }
.route__body h3 a { color: var(--ink); text-decoration: none; }
.route__ko { margin-top: 0.125rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.route__body p:last-child { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 60rem) {
  .route { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .route__stop { grid-template-columns: 1fr; align-content: start; gap: 0.625rem; padding-bottom: 0; }
  .route__stop::before { left: 2.5rem; right: -1.5rem; top: calc(1.25rem - 2px); bottom: auto; width: auto; height: 4px; }
}

/* ── 목록 줄(발매) ─────────────────────────────────────── */
.rows { list-style: none; padding: 0; margin-top: 1rem; }
.row { display: grid; grid-template-columns: 4.75rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 1rem; }
.row--empty { display: block; color: var(--muted); }
.row__date { font-weight: 700; }
.row__main cite { font-style: normal; }
.row__meta { display: block; font-size: 0.875rem; color: var(--muted); }
.row .fyi, .row .src { margin-top: 0.25rem; }

/* ── 표 ─────────────────────────────────────────────── */
.timetable { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.timetable th, .timetable td { padding: 0.625rem 0.75rem 0.625rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); font-weight: 400; }
.timetable tbody th { font-weight: 600; }
.timetable thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); }
.timetable .num { padding-right: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.band .timetable { margin-top: 1rem; }
.nowrap { white-space: nowrap; }
.sub { display: block; font-size: 0.8125rem; color: var(--muted); }
.plain li .sub { display: inline; }
.tag {
  display: inline-block; margin-left: 0.375rem; padding: 0.0625rem 0.5rem; vertical-align: middle;
  border: 1px solid var(--rule); border-radius: var(--pill);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap;
}
.tba { color: var(--muted); }
.plain { list-style: none; padding: 0; }

/* ── 일반 페이지 머리 ─────────────────────────────────── */
.page { padding-block: 1.75rem 3.5rem; }
.page__head h1 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.875rem); }
.page__head .btn { margin-top: 1.5rem; }
.block { padding-top: 2.75rem; scroll-margin-top: 1rem; }
.block > h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.block > h2 + p { margin-top: 0.5rem; max-width: 42rem; color: var(--muted); }
.empty { margin-top: 1rem; color: var(--muted); }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 1.25rem; }
.jump a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--pill);
  color: var(--ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.jump a:active { transform: scale(0.97); }

/* ── 캘린더: 공연 한 건 ─────────────────────────────────── */
.month { margin-top: 2rem; }
.month > h3 { padding-bottom: 0.5rem; border-bottom: 2px solid var(--ink); font-size: 1.0625rem; letter-spacing: 0; }
.show { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 1rem; }
.show:target { background: var(--panel); box-shadow: -0.75rem 0 0 var(--panel), 0.75rem 0 0 var(--panel); }
.show__when { display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; }
.show__days { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.dday { padding: 0.125rem 0.5rem; background: var(--led); color: var(--navy); border-radius: var(--pill); font-size: 0.75rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.dday:empty { display: none; }
.show__artist { font-size: 1.375rem; }
.show__title { margin-top: 0.125rem; font-size: 0.9375rem; color: var(--muted); }
.facts { display: grid; gap: 0.5rem; margin-top: 0.875rem; }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; }
.facts dt { padding-top: 0.125rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
@media (max-width: 34rem) {
  .facts > div { grid-template-columns: 1fr; gap: 0; }
  .transit { display: flex; margin: 0.125rem 0 0; }
}
.times { display: grid; gap: 0.125rem; list-style: none; padding: 0; }
.times li { display: flex; align-items: baseline; gap: 0.75rem; }
.times time { min-width: 6.25rem; }
.clock { font-weight: 700; font-variant-numeric: tabular-nums; }
.caveat { margin-top: 0.875rem; padding: 0.625rem 0.875rem; background: var(--caveat-bg); border: 1px solid var(--caveat-line); border-radius: var(--r); font-size: 0.9375rem; }
.fyi { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
.src { margin-top: 0.625rem; font-size: 0.8125rem; color: var(--muted); }
.src a { color: inherit; }
.src__k { font-weight: 600; }
.src__checked { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }

/* ── 캘린더: 해외 투어 ─────────────────────────────────── */
.tours { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.tour { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); scroll-margin-top: 1rem; }
.tour summary { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; align-items: center; padding: 0.875rem 1rem; cursor: pointer; list-style: none; }
.tour summary::-webkit-details-marker { display: none; }
.tour__head { display: flex; flex-direction: column; }
.tour__artist { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.tour__title { font-size: 0.875rem; color: var(--muted); }
.tour__next { grid-column: 1; font-size: 0.875rem; }
.tour summary .icon { grid-column: 2; grid-row: 1 / span 2; transition: transform 160ms var(--ease-out); }
.tour[open] summary .icon { transform: rotate(180deg); }
.tour__body { padding: 0 1rem 1rem; }

/* ── 가이드 허브 ─────────────────────────────────────── */
.stops { display: grid; gap: 1rem; margin-top: 1.75rem; }
.stop { display: grid; gap: 0.75rem; padding: 1.25rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); scroll-margin-top: 1rem; }
.stop__head { display: flex; align-items: center; gap: 0.75rem; }
.stop__head h2 { font-size: 1.375rem; }
.stop__ko { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.stop__desc { font-size: 0.9375rem; color: var(--muted); }
.stop__list { display: grid; align-content: start; list-style: none; padding: 0; }
.stop__list li { padding: 0 0 0.75rem; border-top: 1px solid var(--rule); }
.stop__list a { display: block; padding: 0.6875rem 0; font-weight: 700; line-height: 1.3; }
.stop__list li > span { margin-top: -0.25rem; }
.stop__list li > span { display: block; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 48rem) {
  .stop { grid-template-columns: 18rem 1fr; column-gap: 2.5rem; padding: 1.5rem; }
  .stop__head, .stop__desc { grid-column: 1; }
  .stop__list { grid-column: 2; grid-row: 1 / span 2; }
  .stop__list li:first-child { padding-top: 0; border-top: 0; }
}

/* ── 지도 ─────────────────────────────────────────────── */
.mapbox { margin-top: 1.5rem; }
.map { position: relative; z-index: 0; height: clamp(20rem, 60vh, 34rem); background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); }
/* 지도 라이브러리의 기본 모양을 사이트에 맞춘다: 글꼴, 손가락으로 누르기 쉬운 단추 크기 */
.map.leaflet-container { font-family: var(--font); font-size: 1rem; }
.map.leaflet-container .leaflet-bar a { width: 2.75rem; height: 2.75rem; line-height: 2.75rem; font-size: 1.375rem; color: #131c2e; }
.map .leaflet-popup-content { margin: 0.875rem 2.5rem 0.875rem 1rem; }
.map .leaflet-popup-content-wrapper { border-radius: var(--r); }
.map.leaflet-container a.leaflet-popup-close-button { width: 2.75rem; height: 2.75rem; font-size: 1.5rem; line-height: 2.75rem; color: #55607a; }
.map .leaflet-control-attribution { font-size: 0.6875rem; }
/* 지도 그림을 받지 못했을 때의 안내 문구 */
.map.is-offline::before {
  content: attr(data-offline); position: absolute; inset: 0; z-index: 500; display: grid; place-items: center;
  padding: 1.5rem; text-align: center; color: var(--muted); background: var(--panel); pointer-events: none;
}
.pin-wrap { background: none; border: 0; }
.pop { display: grid; gap: 0.125rem; min-width: 11rem; font-size: 0.9375rem; line-height: 1.35; }
.pop strong { font-size: 1rem; }
.pop span { font-size: 0.8125rem; color: #55607a; }
.map .pop a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: #0b4a9e; }
.legend { display: flex; flex-wrap: wrap; gap: 0.375rem 1.25rem; list-style: none; padding: 0; margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.pin { display: block; width: 1.25rem; height: 1.25rem; border-radius: var(--pill); border: 3px solid #fbfbf9; background: var(--navy); box-shadow: 0 1px 4px rgba(10, 17, 32, 0.5); }
.pin--venue { background: var(--led); border-color: var(--navy); }
.pin--broadcast { background: #0b78a8; }
.pin--agency { background: #55607a; }
.pin--station { background: #fbfbf9; border-color: var(--navy); }
.legend .pin { width: 0.875rem; height: 0.875rem; border-width: 2px; box-shadow: none; }
.places { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 48rem) { .places { grid-template-columns: 1fr 1fr; } }
.place { padding: 1.125rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); scroll-margin-top: 1rem; }
.place:target, .place.is-focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--led); }
.place h3 { font-size: 1.25rem; }
.place__ko { display: block; margin-top: 0.125rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.place .facts > div { grid-template-columns: 5.5rem 1fr; }
.place__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin-top: 0.875rem; font-size: 0.9375rem; font-weight: 600; }
.place__links a { display: inline-flex; align-items: center; gap: 0.25rem; min-height: 2.75rem; }

/* ── 긴 글 ─────────────────────────────────────────────── */
.doc { padding-block: 1.75rem 3.5rem; }
.crumb { margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.doc__meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.toc { margin-top: 1.75rem; padding: 1rem 1.125rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); }
.toc__h { font-weight: 700; font-size: 0.9375rem; }
.toc ol { display: grid; margin-top: 0.25rem; padding-left: 1.25rem; }
.toc a { display: inline-block; padding: 0.53125rem 0; }
.prose { margin-top: 2rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.75rem; font-size: 1.5rem; scroll-margin-top: 1rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1875rem; }
.prose ul, .prose ol { display: grid; gap: 0.5rem; padding-left: 1.25rem; }
.prose .steps { list-style: none; padding: 0; counter-reset: step; }
.prose .steps li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.75rem; counter-increment: step; }
.prose .steps li::before {
  content: counter(step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-top: 0.0625rem;
  background: var(--navy); color: var(--on-navy); border-radius: var(--pill); font-weight: 700; font-size: 0.875rem; line-height: 1;
}
.prose .steps li > :first-child { grid-column: 2; }
.prose .shows { border-top: 2px solid var(--ink); }
.prose .show--weekly .show__artist { margin-top: 0; font-size: 1.25rem; }
.doc__src, .doc__more { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.doc__src h2, .doc__more h2 { font-size: 1.25rem; }
.doc__src ul { display: grid; gap: 0.375rem; margin-top: 0.75rem; padding-left: 1.25rem; font-size: 0.9375rem; }
.doc__src .src__checked { margin-top: 0.75rem; }
.doc__more .stop__list { margin-top: 0.5rem; }

/* ── 광고 자리 ─────────────────────────────────────────── */
.ad { min-height: 17.5rem; margin-block: 0 2.5rem; }
.ad__label { margin-bottom: 0.25rem; text-align: center; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── 다음 정거장 ─────────────────────────────────────── */
.next { background: var(--navy); color: var(--on-navy); }
.next__link { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.5rem; align-items: center; padding-block: 2rem 2.25rem; color: inherit; text-decoration: none; }
.next__label { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--led); }
.next__to { display: flex; align-items: center; gap: 0.875rem; }
.next__to .roundel { box-shadow: 0 0 0 2px var(--on-navy); }
.next__name { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.next__hint { grid-column: 1; font-size: 0.9375rem; color: var(--on-navy-soft); }
.next__arrow {
  grid-column: 2; grid-row: 2 / span 2; display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  background: var(--led); color: var(--navy); border-radius: var(--pill);
  transition: transform 200ms var(--ease-out);
}
.next__link:active .next__arrow { transform: scale(0.95); }

/* ── 바닥 ─────────────────────────────────────────────── */
.foot { background: var(--navy-deep); color: var(--on-navy-soft); font-size: 0.9375rem; }
.foot__in { display: grid; gap: 0.75rem; padding-block: 2rem 2.5rem; }
.foot__name { font-weight: 700; font-size: 1.0625rem; color: var(--on-navy); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; padding: 0; }
.foot__links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-navy); font-weight: 600; }
.foot__small { max-width: 46rem; font-size: 0.8125rem; }

/* ── 마우스를 올렸을 때 (손가락으로 누르는 기기에서는 쓰지 않는다) ── */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background: rgba(244, 246, 250, 0.1); }
  .btn--led:hover { background: var(--led-hover); }
  .btn--navy:hover { background: var(--navy-deep); }
  .btn--line:hover { background: var(--bg); }
  .jump a:hover { border-color: var(--ink); }
  .line__stop a:hover, .sign__side:hover { color: var(--ink); }
  .route__body h3 a:hover { text-decoration: underline; }
  .board__rows a:hover .board__artist { text-decoration: underline; }
  .next__link:hover .next__arrow { transform: translateX(4px); }
  .tour summary:hover .tour__artist { text-decoration: underline; }
  /* 지도 위에 마우스를 올리면 휠 확대 방법을 알려 준다. 한 번 누르면 사라진다. */
  .map[data-zoom-hint]::after {
    content: attr(data-zoom-hint); position: absolute; top: 0.625rem; right: 0.625rem; z-index: 500;
    padding: 0.25rem 0.75rem; background: var(--navy); color: var(--on-navy); border-radius: var(--pill);
    font-size: 0.75rem; font-weight: 600; pointer-events: none; opacity: 0;
    transition: opacity 160ms var(--ease-out);
  }
  .map[data-zoom-hint]:hover::after { opacity: 1; }
  .map.is-active::after, .map.is-offline::after { display: none; }
}

/* ── 움직임 ─────────────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: no-preference) {
  .board__rows li { animation: rise 360ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .top, .line, .next, .foot, .map, .ad, .jump, .menu-btn { display: none; }
  body { background: none; }
}


/* 아래는 sitegen/line.py에서 자동으로 만든 부분 */
.st-find{--st:#0052a4;--st-on:#fbfbf9}
.st-fanclub{--st:#007f3a;--st-on:#fbfbf9}
.st-tickets{--st:#b9560a;--st-on:#fbfbf9}
.st-musicshow{--st:#0b78a8;--st-on:#fbfbf9}
.st-map{--st:#8a4fa6;--st-on:#fbfbf9}
.ln-1{--ln:#0052a4;--ln-on:#fbfbf9}
.ln-2{--ln:#00a84d;--ln-on:#0b1424}
.ln-3{--ln:#ef7c1c;--ln-on:#0b1424}
.ln-4{--ln:#00a5de;--ln-on:#0b1424}
.ln-5{--ln:#8a5aa6;--ln-on:#fbfbf9}
.ln-6{--ln:#cd7c2f;--ln-on:#0b1424}
.ln-7{--ln:#687200;--ln-on:#fbfbf9}
.ln-8{--ln:#d5125f;--ln-on:#fbfbf9}
.ln-9{--ln:#bdb092;--ln-on:#0b1424}
.ln-arex{--ln:#0079b3;--ln-on:#fbfbf9}
.ln-gyeongui{--ln:#77c4a3;--ln-on:#0b1424}
@media (prefers-color-scheme: dark){
.st-find{--st:#6ea8f2;--st-on:#0b1424}
.st-fanclub{--st:#2fbf71;--st-on:#0b1424}
.st-tickets{--st:#f08a35;--st-on:#0b1424}
.st-musicshow{--st:#35b4e6;--st-on:#0b1424}
.st-map{--st:#c29ad8;--st-on:#0b1424}
}
