/* ─────────────────────────────────────────────────────────────
   Jazzly — jazzly.virtuonweb.com  (v4)
   Magazine grid: square corners, rule lines, no pills, no dots,
   no shadows, no hover lifts. Color is used as TEXT and THIN RULES only:
   midnight navy for structure, vermilion (the logo's dot) for "vocal".
   ───────────────────────────────────────────────────────────── */
:root {
  --paper: #FAF7F1;
  --surface: #FFFFFF;
  --ink: #1A1C27;
  --ink-2: #4B4E5C;
  --ink-3: #8B8D98;
  --line: #E8E3D8;
  --line-2: #D6CFC0;
  --night: #232A45;
  --night-2: #313A5C;
  --vermilion: #D9573B;
  --vermilion-2: #C2472C;
  --sun: #B0344E;
  --sat: #3354A8;
  --wrap: 1180px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--night); color: #fff; padding: 8px 12px; z-index: 100; }
.muted { color: var(--ink-3); }
.fineprint { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin-top: 12px; }
.fineprint a, .prose a, .legend-note a { text-decoration: underline; text-underline-offset: 3px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

/* ── Header ─────────────────────────────────────────────────── */
.masthead { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--ink); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand-sub { font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding-left: 12px; border-left: 1px solid var(--line-2); }
.nav { display: flex; align-self: stretch; font-size: 15px; font-weight: 600; }
.nav a { display: flex; align-items: center; padding: 0 14px; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.nav a.nav-ig { gap: 6px; color: var(--ink-2); border-left: 1px solid var(--line-2); margin-left: 6px; padding-left: 16px; }
.nav a.nav-ig:hover { color: var(--ink); }
.nav-ig-text { font-size: 13.5px; font-weight: 600; }
.ig-line { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.ig-line a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .nav-ig-text { display: none; }
  .nav a.nav-ig { padding-left: 10px; margin-left: 2px; }
  .brand-sub { display: none; }
  .brand img { height: 30px; }
  .masthead-inner { height: 54px; }
  .nav { font-size: 14px; }
  .nav a { padding: 0 9px; }
}
.main { padding: 30px 20px 72px; }

/* ── Type ───────────────────────────────────────────────────── */
.kicker { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.h1 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.22; color: var(--ink); }
.h1-en { font-size: 15px; color: var(--ink-3); margin-top: 4px; font-weight: 500; }
.lede { max-width: 640px; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.lede-mark { font-weight: 700; color: var(--vermilion-2); }
.hero { padding-bottom: 26px; }
.hero--compact { padding-bottom: 22px; }
.h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.h2-sub { font-weight: 500; font-size: 13px; color: var(--ink-3); margin-left: 8px; }
.h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 2px solid var(--ink); margin-bottom: 16px; }
.section-link { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.section-link:hover { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; background: var(--night); color: #fff; font-weight: 700; font-size: 14px; border: 1px solid var(--night); cursor: pointer; font-family: var(--font); }
.btn:hover { background: var(--night-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--surface); }

/* ── Featured: 오늘 보컬 무대 (flat grid; text never sits on the photo) ── */
.featured { margin: 0 0 46px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pcard-media { aspect-ratio: 3 / 2; background: var(--night); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--vermilion); }
.pcard-venue { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.pcard:hover .pcard-venue { text-decoration: underline; text-underline-offset: 4px; }
.pcard-when { margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pcard-title { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.pcard-vo { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--vermilion-2); }
.pcard-foot { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .featured-grid { grid-template-columns: 1fr; }
  .pcard { display: grid; grid-template-columns: 108px 1fr; }
  .pcard-media { aspect-ratio: auto; height: 100%; min-height: 108px; }
  .pcard-body { padding: 12px 14px; border-top: 0; border-left: 3px solid var(--vermilion); }
}

/* ── Weekly grid: 이번 주 한눈에 (7 columns, rule lines) ─────── */
.weekgrid-wrap { margin: 0 0 48px; }
.weekgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 18px; }
.wcol { min-width: 0; }
.wcol-head { display: flex; align-items: baseline; gap: 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.wcol-head a { display: contents; }
.wcol-date { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.wcol-dow { font-size: 15px; font-weight: 700; color: var(--ink); }
.wcol.is-sun .wcol-dow { color: var(--sun); }
.wcol.is-sat .wcol-dow { color: var(--sat); }
.wcol.is-today { border: 2px solid var(--night); margin: -12px -12px 0; padding: 10px 10px 4px; background: var(--surface); }
.wcol.is-today .wcol-date, .wcol.is-today .wcol-dow { color: var(--night); }
.wcol.is-today .wcol-dow { font-weight: 800; }
.wcol.is-today .wcol-head { border-bottom-color: var(--night); }
.wcol-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.wvenue { padding: 11px 0 10px; border-bottom: 1px solid var(--line-2); }
.wvenue-name { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.wvenue-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.wvenue.is-vo .wvenue-name { color: var(--vermilion-2); }
.wshow { display: block; margin-top: 6px; }
.wshow + .wshow { padding-top: 6px; border-top: 1px dotted var(--line-2); }
.wshow-time { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wshow-title { display: block; font-size: 13px; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.wshow-vo { display: block; font-size: 12.5px; font-weight: 700; color: var(--vermilion-2); }
.wmore { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.wempty { font-size: 13px; color: var(--ink-3); padding: 10px 0; }
@media (max-width: 1020px) {
  .weekgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .weekgrid::-webkit-scrollbar { display: none; }
  .wcol { flex: 0 0 min(64vw, 220px); scroll-snap-align: start; }
}

/* ── Layout: date rail + list ───────────────────────────────── */
.board-layout { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.board-layout > * { min-width: 0; }
@media (max-width: 860px) { .board-layout { grid-template-columns: 1fr; gap: 16px; } }
.rail { position: sticky; top: 84px; }
.rail-title { font-size: 14px; font-weight: 800; color: var(--ink); padding-bottom: 10px; }
.week { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.week-day { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line-2); }
.week-day:hover .week-date { text-decoration: underline; text-underline-offset: 3px; }
.week-day.is-current { background: var(--night); color: #fff; padding-left: 10px; padding-right: 10px; }
.week-dow { font-size: 12px; font-weight: 600; color: var(--ink-3); display: block; }
.week-day.is-current .week-dow { color: #c3c9dd; }
.week-date { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.week-count { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.week-day.is-current .week-count { color: #d6dbea; }
.week-count-unit { font-weight: 500; margin-left: 1px; }
.rail-more { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .rail { position: static; }
  .rail-title { display: none; }
  .week { flex-direction: row; overflow-x: auto; border-top: 0; padding-bottom: 4px; scrollbar-width: none; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .week::-webkit-scrollbar { display: none; }
  .week-day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; border: 1px solid var(--line-2); border-right: 0; min-width: 86px; }
  .week-day:last-child { border-right: 1px solid var(--line-2); }
  .week-day.is-current { border-color: var(--night); padding-left: 12px; padding-right: 12px; }
  .rail-more { margin-top: 8px; }
}

/* ── Filters: text tabs ─────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 0 18px; }
.chip { font-size: 14px; font-weight: 600; padding: 10px 0 9px; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.chip:hover { color: var(--ink); }
.chip.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0 0 11px; border: 0; background: none; font-family: inherit; cursor: pointer; }
.toggle:hover { color: var(--ink); }
.toggle-box { width: 16px; height: 16px; border: 1.5px solid var(--ink-2); position: relative; background: var(--surface); }
.toggle.is-on { color: var(--ink); }
.toggle.is-on .toggle-box { background: var(--vermilion); border-color: var(--vermilion); }
.toggle.is-on .toggle-box::after { content: ''; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* client-side toggle: hide non-vocal rows in place (no navigation) */
.board.vocal-only .entries .entry:not(.entry--vo) { display: none; }
.board.vocal-only .fold:not(:has(.entry--vo)) { display: none; }
.empty--vocal { display: none; }
.board.vocal-empty .empty--vocal { display: block; }
.board.vocal-empty .entries, .board.vocal-empty .fold { display: none; }

/* ── Board list: rule-lined rows ────────────────────────────── */
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 18px 0 6px; }
.notice { font-size: 12.5px; color: var(--ink-3); }
.empty { padding: 40px 0; color: var(--ink-3); text-align: center; }
.entries { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.entry { display: grid; grid-template-columns: 72px 1fr 84px; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.entry--closed { opacity: 0.55; }
.entry-time { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--ink); padding-top: 1px; }
.entry-time time.is-assumed { color: var(--ink-3); }
.assumed-mark { color: var(--vermilion); font-size: 0.6em; vertical-align: super; margin-left: 1px; }
.entry-time-closed, .entry-time-unknown { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.entry-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.entry-venue { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.entry-venue:hover { text-decoration: underline; text-underline-offset: 3px; }
.entry-area { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.entry-badge { justify-self: end; padding-top: 3px; text-align: right; }
/* status labels: plain text, no boxes */
.badge { display: inline-block; font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge.is-yes { color: var(--vermilion-2); }
.badge.is-maybe { color: var(--ink-2); font-weight: 600; }
.badge.is-no { color: var(--ink-3); font-weight: 600; }
.badge.is-unk { color: var(--ink-3); font-weight: 500; }
.shows { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.show { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; font-size: 14.5px; }
.show-time { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 14px; }
.show-time.is-assumed { color: var(--ink-3); }
.show-title { font-weight: 600; }
.show-performers { color: var(--ink-2); font-size: 13.5px; }
.entry--vo .show-performers { color: var(--vermilion-2); }
.show-note { color: var(--ink-3); font-size: 12.5px; }
.entry-empty { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.entry-empty a { text-decoration: underline; text-underline-offset: 3px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.entry-src, .entry-map { text-decoration: underline; text-underline-offset: 3px; }
.entry-src:hover, .entry-map:hover { color: var(--ink); }
@media (max-width: 560px) {
  .entry { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 14px 0; }
  .badge { font-size: 12px; }
  .entry-time { font-size: 15.5px; }
  .entry-venue { font-size: 16px; }
}
.fold { margin-top: 0; }
.fold-summary { cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); list-style: none; border-bottom: 1px solid var(--line-2); }
.fold-summary::-webkit-details-marker { display: none; }
.fold-summary::after { content: ' 펼치기'; color: var(--ink-3); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.fold[open] .fold-summary::after { content: ' 접기'; }
.fold-count { color: var(--ink-3); font-weight: 500; }

/* ── Legend / ad ────────────────────────────────────────────── */
.legend { margin-top: 36px; padding-top: 12px; border-top: 2px solid var(--ink); }
.legend-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.legend-list > div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.legend-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.ad-slot { margin: 30px 0 0; min-height: 100px; }

/* ── Calendar ───────────────────────────────────────────────── */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--ink); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cal-nav a:hover { background: var(--surface); }
.cal-month { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.cal { border: 1px solid var(--line-2); background: var(--surface); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 2px solid var(--ink); }
.cal-dow span { padding: 10px 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.cal-dow span:first-child { color: var(--sun); }
.cal-dow span:last-child { color: var(--sat); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-day { min-height: 120px; padding: 8px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.is-other, .cal-day.is-past { background: #FBF9F4; }
.cal-day.is-other .cal-num { color: var(--line-2); }
.cal-num { align-self: flex-end; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cal-day.is-sun .cal-num { color: var(--sun); }
.cal-day.is-sat .cal-num { color: var(--sat); }
.cal-day.is-today { outline: 2px solid var(--night); outline-offset: -2px; background: var(--surface); }
.cal-day.is-today .cal-num { color: var(--night); font-weight: 900; }
.cal-total { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.cal-total span { color: var(--ink-3); font-weight: 500; }
.cal-chip { display: block; font-size: 12px; font-weight: 600; line-height: 1.35; padding: 2px 0 2px 7px; border-left: 2px solid var(--line-2); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-chip--vo { border-left-color: var(--vermilion); color: var(--vermilion-2); }
.cal-chip-name { overflow: hidden; text-overflow: ellipsis; }
.cal-more { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .cal-day { min-height: 74px; padding: 6px 4px; }
  .cal-chip { display: none; }
  .cal-total { font-size: 11px; }
}
.cal-legend { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
.cal-legend .lg-vo { color: var(--vermilion-2); font-weight: 700; }
.cal-legend .lg-reg { color: var(--ink); font-weight: 700; }

/* ── Venues list ────────────────────────────────────────────── */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.anchor-nav a { font-size: 14px; font-weight: 600; padding: 10px 0 9px; color: var(--ink-2); }
.anchor-nav a:hover { color: var(--ink); }
.anchor-count { color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.area-group { margin-bottom: 40px; }
.area-title { padding-top: 12px; padding-bottom: 4px; border-top: 2px solid var(--ink); }
.venue-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 28px; }
.venue-card { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.venue-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.venue-card-name { font-size: 17px; font-weight: 800; color: var(--ink); }
.venue-card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.profile--vocal-first { color: var(--vermilion-2); font-weight: 700; }
.profile--mixed, .profile--jam { color: var(--ink-2); }
.venue-card-blurb { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.dots { display: flex; margin-top: 10px; border: 1px solid var(--line-2); width: max-content; }
.dot { width: 28px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-3); border-right: 1px solid var(--line-2); }
.dot:last-child { border-right: 0; }
.dot--vo { color: #fff; background: var(--vermilion); }
.dot--maybe { color: var(--ink); }
.dot--inst { color: var(--ink-3); }
.dot--closed { color: var(--line-2); text-decoration: line-through; }
.venue-card-meta { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }

/* ── Venue page ─────────────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
/* /venues map (Leaflet, CARTO light tiles) — square, thin rule, no shadow */
.venue-map-wrap { margin: 22px 0 8px; }
.venue-map { height: 440px; border: 1px solid var(--line-2); background: var(--surface); }
.venue-map-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { border-radius: 0; box-shadow: none; border: 1px solid var(--line-2); background: var(--surface); }
.leaflet-popup-content { margin: 10px 14px; font-family: inherit; font-size: 14px; }
.venue-map-pop { font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-right: 8px; }
.leaflet-popup-content span { color: var(--ink-3); font-size: 12px; }
.leaflet-container { font-family: inherit; background: var(--paper); }
.venue-map-tiles { filter: grayscale(1) contrast(0.92) brightness(1.04); }
@media (max-width: 720px) { .venue-map { height: 320px; } }
.photo-credit { display: block; font-size: 11.5px; color: var(--ink-3); padding-top: 6px; }

.venue-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-bottom: 26px; }
.venue-hero-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); }
.venue-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
@media (max-width: 860px) { .venue-hero { grid-template-columns: 1fr; gap: 18px; } .venue-hero-media { order: -1; aspect-ratio: 16 / 9; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 36px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.panel { padding-top: 12px; border-top: 2px solid var(--ink); }
.panel .h2 { margin-bottom: 8px; }
.outlook { display: flex; flex-direction: column; }
.outlook-day { display: grid; grid-template-columns: 84px 1fr 72px; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.outlook-day.is-today { outline: 2px solid var(--night); outline-offset: -2px; padding-left: 10px; padding-right: 10px; background: var(--surface); }
.outlook-day.is-today .outlook-dow, .outlook-day.is-today .outlook-date { color: var(--night); font-weight: 800; }
.outlook-day.is-closed { opacity: 0.5; }
.outlook-day .badge { justify-self: end; }
.outlook-date { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.outlook-dow { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.outlook-body { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.outlook-show { display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: baseline; }
.info { display: flex; flex-direction: column; font-size: 14px; }
.info > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.info a { text-decoration: underline; text-underline-offset: 3px; }
.panel .h3 { margin-top: 24px; }
.pattern { display: flex; flex-direction: column; font-size: 13.5px; }
.pattern li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pattern li.is-closed { color: var(--ink-3); }
.pattern-dow { color: var(--ink-3); font-weight: 700; }
.table-panel { margin-top: 36px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 700; font-size: 12.5px; color: var(--ink-3); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--ink); }
.table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .table th:nth-child(4), .table td:nth-child(4) { display: none; } }

/* ── Prose / forms ──────────────────────────────────────────── */
.prose { max-width: 700px; }
.prose .h2 { margin: 32px 0 10px; padding-top: 12px; border-top: 2px solid var(--ink); }
.prose p { color: var(--ink-2); margin-bottom: 12px; font-size: 15px; }
.prose .plain { margin: 0 0 14px 0; color: var(--ink-2); font-size: 14.5px; }
.prose .plain li { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.prose ol.plain { counter-reset: n; }
.prose ol.plain li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.prose ol.plain li::before { content: counter(n, decimal-leading-zero); font-weight: 800; color: var(--ink-3); }
.credits { font-size: 12.5px; color: var(--ink-3); columns: 2 280px; column-gap: 24px; }
.credits li { break-inside: avoid; padding: 3px 0; }
.form { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.field-label { font-weight: 700; color: var(--ink); }
.field-opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-family: var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); padding: 10px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-errors { border-left: 3px solid var(--vermilion); background: var(--surface); color: var(--vermilion-2); padding: 10px 14px; font-size: 13.5px; }
.hp { position: absolute; left: -9999px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-foot { background: var(--night); color: #d6dbea; }
.site-foot-inner { padding: 36px 20px 40px; }
.site-foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 640px) { .site-foot-cols { grid-template-columns: 1fr; } }
.site-foot-brand img { height: 34px; width: auto; margin-bottom: 12px; }
.site-foot-copy { font-size: 13px; color: #aeb5cc; max-width: 520px; line-height: 1.7; }
.site-foot-links { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; }
.site-foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-foot-legal { margin-top: 24px; font-size: 12px; color: #8a92ad; }

/* calendar view switch: current view marked like the nav tabs */
.cal-nav a.is-on { background: var(--night); color: #fff; border-color: var(--night); }
/* AdSense: collapse the slot when Google has nothing to show (no blank band) */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.cal-day.is-other a.cal-num { color: var(--ink-3); }

/* hero at-a-glance numbers: flat, rule-separated (no cards, no pills) */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.glance > div { padding: 12px 16px 12px 0; }
.glance > div + div { padding-left: 16px; border-left: 1px solid var(--line-2); }
.glance dt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.glance dd { margin: 2px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.glance > div:first-child dd { color: var(--vermilion-2); }
.glance small { font-size: 14px; font-weight: 700; margin-left: 2px; color: var(--ink-2); }
@media (max-width: 720px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .glance > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .glance dd { font-size: 22px; }
}

/* ── 재즈 이야기 (연재) ─────────────────────────────────────── */
@media (max-width: 420px) { .nav a { padding: 0 7px; } .nav { font-size: 13.5px; } }
.story-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--ink); max-width: 860px; }
.story-row { border-bottom: 1px solid var(--line-2); }
.story-row a { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 22px 0; color: inherit; }
.story-row a:hover .story-row-title { text-decoration: underline; text-underline-offset: 4px; }
.story-no { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.story-row-body { display: flex; flex-direction: column; gap: 6px; }
.story-row-title { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.35; color: var(--ink); }
.story-row-desc { font-size: 14.5px; color: var(--ink-2); }
.story-row-meta { font-size: 12.5px; color: var(--ink-3); }
.story-ig { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.story-ig a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.story { max-width: 700px; }
.story-head { padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.story-meta { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.story-meta a { color: var(--ink-2); font-weight: 700; }
.story-lede { font-size: 17px !important; line-height: 1.75; color: var(--ink) !important; margin: 18px 0 8px !important; }
.story-body p { font-size: 16px; line-height: 1.8; }
.story-body .h2 { font-size: 19px; }
.story-cta { margin: 40px 0 0; padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.story-cta-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.story-cta-text { margin: 4px 0 14px; font-size: 14.5px; color: var(--ink-2); }
.story-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.story-nav a { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 12px 0; }
.story-nav a span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.story-nav-newer { text-align: right; align-items: flex-end; }
@media (max-width: 520px) {
  .story-row a { grid-template-columns: 48px 1fr; gap: 12px; }
  .story-no { font-size: 26px; }
  .story-row-title { font-size: 17px; }
  .story-body p { font-size: 15.5px; }
}
.story-head .h1, .story-row-title { text-wrap: balance; }
/* 연재 사진: 흑백 한 톤, 사각 모서리, 사진 위 글씨 없음 */
.story-fig { margin: 26px 0 8px; }
.story-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.06); background: var(--night); }
.story-fig figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.story-fig figcaption a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.story-fig--wide { margin: 0 0 6px; }
.story-row a { grid-template-columns: 72px 1fr 200px; }
.story-thumb { width: 200px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.06); align-self: start; }
@media (max-width: 720px) {
  .story-row a { grid-template-columns: 48px 1fr; }
  .story-thumb { grid-column: 2; grid-row: 1; width: 100%; margin-bottom: 4px; }
  .story-row-body { grid-column: 2; }
  .story-no { grid-row: 1 / span 2; }
}
/* 사진 출처 미주 */
.story-notes { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.story-notes-title { font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.story-notes ol { margin: 0 0 6px 18px; padding: 0; }
.story-notes li { padding: 1px 0; }
.story-notes a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
