/* 페스타캘 — 종이 · 먹 · 주홍 한 색. 한글은 시스템 서체, 숫자 · 라틴 원제는 Newsreader(OFL, 자체 호스팅).
   모바일 우선, 화면 폭 600 / 768 / 1024 / 1200. 다크 모드는 prefers-color-scheme. JS 없이 동작. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader/newsreader-latin-583056aab1e010f8b1f60644d4b41ee9.woff2") format("woff2"); font-weight: 300 500; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2212, U+20AC; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader/newsreader-latin-ext-87d120ed13a5e6b237a1715bf3b7ce71.woff2") format("woff2"); font-weight: 300 500; font-display: swap; unicode-range: U+0100-017F, U+0218-021B; }

:root {
  color-scheme: light;
  --paper: #F6F3EC; --paper-2: #EDE8DC; --card: #FBF9F4;
  --ink: #1A1814; --ink-2: #55514A; --ink-3: #69645B;
  --rule: #D8D0C0; --rule-soft: #E6E0D3; --map-land: #CEC6B5;
  --accent: #B5361B; --accent-ink: #FFFFFF; --accent-soft: #F6E2D9;
  --field: #FFFFFF; --field-line: #857D6E;
  --notice: #8A5A00; --notice-bg: #FBF0D9; --error: #A3261B; --error-bg: #F9E1DC;
  --t-festival: #B0503A; --t-market: #3D6A4F; --t-concert: #4A4E8E; --t-exhibition: #8C6A1F; --t-sports: #2D7373; --t-other: #736D64;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: 16px; --max: 1200px; --head: 56px; --sec: 48px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #151412; --paper-2: #1E1C19; --card: #1A1916;
    --ink: #F1EDE5; --ink-2: #BDB6AA; --ink-3: #A29C91;
    --rule: #3A3631; --rule-soft: #2A2723; --map-land: #4A453E;
    --accent: #EE7A5A; --accent-ink: #1A1814; --accent-soft: #3A221A;
    --field: #1E1C19; --field-line: #837C70;
    --notice: #F0C46A; --notice-bg: #33280F; --error: #FF9C8A; --error-bg: #3A1915;
    --t-festival: #E08A72; --t-market: #7FB394; --t-concert: #A6AAE6; --t-exhibition: #D2AE5E; --t-sports: #6FB8B8; --t-other: #A8A196;
  }
}
@media (min-width: 768px) { :root { --gutter: 24px; --sec: 64px; --head: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --sec: 80px; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline 1px var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* sr-only 를 품는 요소는 기준 위치가 돼야 해요 — 아니면 가로 스크롤 줄 밖에서 문서 폭을 늘려요 */
.chip, .ev, .field, .tripbar, .exportbar { position: relative; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.latin { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink-3)); flex: none; }
.t-festival { --c: var(--t-festival); } .t-market { --c: var(--t-market); } .t-concert { --c: var(--t-concert); }
.t-exhibition { --c: var(--t-exhibition); } .t-sports { --c: var(--t-sports); } .t-other { --c: var(--t-other); }
main { display: block; min-height: 50vh; }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; min-height: var(--head); color: var(--ink); text-decoration: none; }
.brand svg { height: 30px; width: auto; }
.loop { fill: var(--accent); }
.head-cta { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); border-top: 1px solid var(--rule-soft); }
.nav ul { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .sep { width: 1px; align-self: center; height: 14px; background: var(--rule); flex: none; }
@media (min-width: 900px) {
  .site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); }
  @supports (backdrop-filter: blur(1px)) { .site-head { background: rgb(246 243 236 / .9); backdrop-filter: saturate(160%) blur(12px); } }
  html { scroll-padding-top: calc(var(--head) + 16px); }
  .site-head .wrap { flex-wrap: nowrap; gap: 24px; }
  .head-cta { display: none; }
  .nav { order: 0; width: auto; margin: 0; border: 0; }
  .nav ul { gap: 20px; padding: 0; overflow: visible; mask-image: none; }
  .nav a { min-height: var(--head); font-size: 15px; }
  .brand svg { height: 36px; }
}
@media (min-width: 900px) and (prefers-color-scheme: dark) { @supports (backdrop-filter: blur(1px)) { .site-head { background: rgb(21 20 18 / .88); } } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--paper-2); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-2); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(1.06); background: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.ext::after { content: "↗"; font-size: .9em; margin-left: 2px; }

/* trip search form */
.search { display: grid; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.search__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field select, .field input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--field); color: var(--ink); font: inherit; font-size: 16px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[type="search"] { -webkit-appearance: none; appearance: none; }
.field input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.choices { display: grid; gap: 10px; margin-top: 14px; }
.choices p { font-size: 14px; color: var(--ink-2); }
.choices .chips, .filters .chips, .jump .chips { flex-wrap: wrap; overflow: visible; }
.jump { margin-top: 18px; }
.jump p { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.jump .chip .num { color: var(--accent); font-size: 15px; }
.search__hint { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-current="true"], .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .chips { flex-wrap: wrap; overflow: visible; }
  .search { padding: 20px; }
}
@media (min-width: 1024px) {
  .search { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 14px; }
  .search__row { display: contents; }
  .search .btn { min-width: 168px; }
  .search__hint { grid-column: 1 / -1; }
}

/* notices */
.note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.55; background: var(--notice-bg); color: var(--notice); }
.note--error { background: var(--error-bg); color: var(--error); }

/* home hero */
.hero { padding: 28px 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }
.hero h1 { font-size: 30px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; }
.hero h1 .tone { display: block; color: var(--ink-3); font-weight: 650; }
.lede { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.hero .search { margin-top: 22px; }
.hero__cta { margin-top: 18px; }
.hero--home { padding-bottom: 0; }
@media (min-width: 768px) { .hero { padding-top: 48px; } .hero h1 { font-size: 42px; } .lede { font-size: 18px; } }
@media (min-width: 1024px) { .hero { padding-top: 72px; } .hero h1 { font-size: 52px; } .hero .search { margin-top: 32px; } }

/* sections */
.sec { padding-top: var(--sec); }
.sec__head { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 18px; }
.sec__head h2 { font-size: 23px; line-height: 1.3; font-weight: 750; letter-spacing: -0.03em; }
.sec__head h2 .num { color: var(--accent); font-weight: 400; margin-left: 4px; }
.sec__dek { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.sec__aside { font-size: 14px; }
.atlas__dek { margin: -6px 0 16px; }
@media (min-width: 768px) {
  .sec__head { margin-bottom: 24px; }
  .sec__head h2 { font-size: 30px; }
}
@media (min-width: 1024px) {
  .sec__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
  .sec__head--solo { grid-template-columns: minmax(0, 1fr); }
  .sec__aside { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

/* month header + picker */
.month { display: grid; gap: 18px; }
.month__mark { display: flex; align-items: flex-end; gap: 14px; }
.month__num { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: .8; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.month__cap { display: grid; gap: 2px; padding-bottom: 4px; }
.month__cap b { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.month__cap span { font-size: 14px; color: var(--ink-2); }
.picker { display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; border-block: 1px solid var(--ink); max-width: 520px; }
.picker > a, .picker summary { display: flex; align-items: center; gap: 6px; min-height: 48px; text-decoration: none; font-size: 15px; font-weight: 500; }
.picker > a { padding-inline: 4px; color: var(--ink-2); }
.picker > a:hover { color: var(--ink); }
.picker > a:last-child { justify-content: flex-end; }
.picker details { position: relative; border-inline: 1px solid var(--rule); margin-inline: 12px; }
.picker summary { justify-content: center; list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding-inline: 10px; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.picker details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.months { position: absolute; z-index: 15; top: calc(100% + 1px); left: -1px; right: -1px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--ink); }
.months a { padding: 12px 6px; text-align: center; font-size: 14px; text-decoration: none; border-top: 1px solid var(--rule-soft); white-space: nowrap; }
.months a:hover { background: var(--paper-2); }
.months a[aria-current="page"] { font-weight: 700; color: var(--accent); }
@media (min-width: 768px) {
  .month { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 40px; }
  .month__num { font-size: 104px; }
  .month .picker { justify-self: end; width: 100%; }
}

/* type count strip */
.toc ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 22px; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc li:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.toc a, .toc span.cell { display: grid; gap: 2px; padding: 12px 12px 14px; text-decoration: none; min-height: 44px; }
.toc a:hover { background: var(--paper-2); }
.toc__n { font-size: 32px; font-weight: 300; line-height: 1; }
.toc__l { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.toc .is-zero .toc__n { color: var(--ink-3); }
@media (min-width: 768px) {
  .toc ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .toc li { border-right: 1px solid var(--rule); }
  .toc li:last-child { border-right: 0; }
  .toc a, .toc span.cell { padding: 16px 18px; }
  .toc__n { font-size: 40px; }
}

/* city map + country list (홈). 지도는 서버가 그린 SVG — 넓은 화면은 이름표, 좁은 화면은 숫자 동그라미 */
.atlas { display: grid; gap: 20px; }
.atlas__map { margin: 0; }
.eumap { display: block; width: 100%; height: auto; overflow: hidden; }
.eumap a { text-decoration: none; }
.eumap--wide { display: none; }
.eumap__land { fill: none; stroke: var(--map-land); stroke-width: 3.6; stroke-linecap: round; }
.eumap__lead { stroke: var(--ink-3); stroke-width: 1; }
.eumap--narrow .eumap__lead { stroke-width: 2; }
.eumap__dot { fill: var(--ink); }
.eumap__dot.is-zero { fill: var(--ink-3); }
.mk__box { fill: var(--card); stroke: var(--rule); stroke-width: 1; }
.mk.is-zero .mk__box { fill: var(--paper-2); stroke: var(--rule-soft); }
.mk__name { font-size: 14px; font-weight: 650; fill: var(--ink); letter-spacing: 0; }
.mk.is-zero .mk__name { fill: var(--ink-3); font-weight: 500; }
.mk__n { font-size: 14px; font-weight: 750; fill: var(--accent); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.eumap--narrow .mk__box { stroke-width: 2; }
.eumap--narrow .mk__name, .eumap--narrow .mk__n { font-size: 25px; }
.atlas__cap { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.atlas__cap--wide { display: none; }
@media (hover: hover) {
  .mk:hover .mk__box { stroke: var(--accent); stroke-width: 1.5; }
  .ev:hover .ev__title, .country__cities a:hover span { text-decoration: underline 1px var(--accent); text-underline-offset: 4px; }
}
.atlas__list { border-top: 1px solid var(--rule); }
.country { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.country__name { display: flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.country__name .num { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.country__cities { display: flex; flex-wrap: wrap; gap: 0 16px; }
.country__cities a { display: inline-flex; align-items: baseline; gap: 5px; min-height: 30px; padding-top: 3px; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; }
.country__cities b { font-size: 17px; font-weight: 400; color: var(--accent); }
.country__cities .is-zero { color: var(--ink-3); font-weight: 500; }
@media (min-width: 640px) {
  .eumap--wide { display: block; }
  .eumap--narrow { display: none; }
  .atlas__cap--wide { display: inline; }
  .atlas__cap--narrow { display: none; }
  .atlas__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
}
@media (min-width: 1024px) {
  .atlas { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .atlas__map { position: sticky; top: calc(var(--head) + 16px); }
  .atlas__list { grid-template-columns: minmax(0, 1fr); }
}

/* event rows */
.evs { border-top: 1px solid var(--ink); }
.evs > li { border-bottom: 1px solid var(--rule-soft); }
.ev { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 14px; padding: 14px 0 15px; text-decoration: none; color: var(--ink); }
.ev__date { display: grid; align-content: start; gap: 2px; }
.ev__date b { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.ev__date small { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.ev__main { display: grid; gap: 2px; min-width: 0; }
.ev__city { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ev__title { font-size: 16px; line-height: 1.45; font-weight: 650; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ev__main > * { min-width: 0; }
.overlap, .ev__city { overflow-wrap: anywhere; }
.ev__orig { font-family: var(--serif); font-size: 14.5px; line-height: 1.4; color: var(--ink-3); letter-spacing: 0; overflow-wrap: anywhere; }
.ev__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.tag--free { border-color: var(--t-market); color: var(--t-market); }
.tag--book { border-color: var(--accent); color: var(--accent); }
.tag--cancel { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ev--check { grid-template-columns: 2rem 6.2rem minmax(0, 1fr); }
.ev--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.pick { display: flex; align-items: flex-start; justify-content: center; margin: -12px -6px -12px -12px; padding: 12px 6px 12px 12px; cursor: pointer; }
@media (min-width: 768px) { .ev--check > .pick { grid-column: 1; grid-row: 1; } }
@media (min-width: 768px) {
  .ev { grid-template-columns: 10rem 6.5rem minmax(0, 1fr); column-gap: 20px; padding: 16px 0 17px; }
  .ev--check { grid-template-columns: 2rem 10rem 6.5rem minmax(0, 1fr); }
  .ev > .ev__date { grid-column: 1; grid-row: 1; }
  .ev > .ev__city--col { grid-column: 2; grid-row: 1; padding-top: 3px; font-size: 14px; }
  .ev > .ev__main { grid-column: 3; grid-row: 1; }
  .ev--check > .pick { grid-column: 1; grid-row: 1; }
  .ev--check > .ev__date { grid-column: 2; }
  .ev--check > .ev__city--col { grid-column: 3; }
  .ev--check > .ev__main { grid-column: 4; }
  .ev__main .ev__city { display: none; }
  .ev__date b { font-size: 19px; white-space: nowrap; }
  .ev__title { font-size: 17px; }
}
.ev--nocity { grid-template-columns: 6.2rem minmax(0, 1fr); }
.ev--check.ev--nocity { grid-template-columns: 2rem 6.2rem minmax(0, 1fr); }
@media (min-width: 768px) {
  .ev.ev--nocity { grid-template-columns: 10rem minmax(0, 1fr); }
  .ev.ev--nocity > .ev__main { grid-column: 2; }
  .ev--check.ev--nocity { grid-template-columns: 2rem 10rem minmax(0, 1fr); }
  .ev--check.ev--nocity > .ev__main { grid-column: 3; }
}
a.ev__title { text-decoration: none; }
a.ev__title:hover { text-decoration: underline 1px var(--accent); text-underline-offset: 4px; }
.ev__city--col { display: none; }
@media (min-width: 768px) { .ev__city--col { display: block; } }

/* type preview blocks */
.tblock { padding-top: 28px; }
.tblock__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; }
.tblock__head h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: -0.03em; }
.tblock__head .num { font-size: 21px; color: var(--ink-3); }
.tblock__more { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sub { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.sub small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.sub + .evs { border-top: 0; }
@media (min-width: 1200px) {
  .tblock { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 40px; padding-top: 36px; }
  .tblock__head { position: sticky; top: calc(var(--head) + 24px); align-self: start; flex-direction: column; align-items: flex-start; padding: 0; }
  .tblock__head h3 { font-size: 26px; }
  .tblock__head .num { font-size: 56px; font-weight: 300; line-height: 1; color: var(--ink); }
  .tblock__more { margin-left: 0; }
}

/* season card */
.season { display: grid; gap: 6px; margin-top: 28px; padding: 20px; border: 1px solid var(--ink); border-radius: 16px; text-decoration: none; background: var(--card); }
.season strong { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.season span { font-size: 14.5px; color: var(--ink-2); }
.season:hover { background: var(--paper-2); }
@media (min-width: 768px) { .season { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 24px 28px; } .season strong { font-size: 24px; } .season .arrow { grid-row: 1 / span 2; grid-column: 2; font-size: 26px; } }

/* page heads (city, month, theme, trip) */
.crumbs { padding-top: 6px; font-size: 13px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline 1px var(--accent); }
.page-head { padding: 12px 0 8px; }
.month__cap h1 { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.3; }
.page-head h1 { font-size: 28px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; }
.page-head .lede { margin-top: 8px; }
@media (min-width: 768px) { .page-head { padding-top: 24px; } .page-head h1 { font-size: 40px; } }

/* day groups */
.day { padding-top: 22px; }
.day h2, .day h3 { position: sticky; top: 0; z-index: 5; display: flex; align-items: baseline; gap: 10px; padding: 10px 0 8px; background: var(--paper); border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 750; }
.day h2 .num, .day h3 .num { font-size: 20px; font-weight: 400; color: var(--accent); }
.day h2 small, .day h3 small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.day h2 + .evs, .day h3 + .evs { border-top: 0; }
@media (min-width: 900px) { .day h2, .day h3 { top: var(--head); } }
.empty { padding: 18px 0 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule-soft); font-size: 15px; color: var(--ink-2); }
.empty a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ink); }

/* trip results */
.tripbar { position: sticky; top: 0; z-index: 12; min-height: 44px; margin: 16px calc(-1 * var(--gutter)) 0; padding: 8px var(--gutter); display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); font-size: 14px; }
.tripbar b { font-weight: 700; }
.tripbar a:focus-visible { outline-color: var(--paper); }
.tripbar a { margin-left: auto; color: var(--paper); font-weight: 600; text-decoration-color: var(--accent); white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
/* 모바일 검색 결과에서는 고정 요소를 요약 막대 하나만 둬요 (날짜 제목은 고정하지 않음) */
@media (max-width: 899px) { .has-tripbar .day h3 { position: static; } html:has(.tripbar) { scroll-padding-top: 64px; } }
@media (max-height: 500px) { .tripbar { position: static; } }
@media (min-width: 900px) { .tripbar { position: static; margin: 16px 0 0; border-radius: 12px; padding: 12px 16px; } }
.filters { margin-top: 16px; }
.filters p { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 24px; }
.result-head h2 { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.result-head p { font-size: 14px; color: var(--ink-2); }
.period-note { margin: 6px 0 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.overlap { font-size: 13px; color: var(--ink-2); }
.overlap b { color: var(--ink); font-weight: 650; }
.exportbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); margin-inline: calc(-1 * var(--gutter)); background: var(--card); border-top: 1px solid var(--ink); }
.exportbar p { font-size: 13px; color: var(--ink-2); flex: 1 1 240px; }
@media (min-width: 900px) { .exportbar { margin-inline: 0; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; } }

/* event detail */
.detail { display: grid; gap: 28px; padding-top: 16px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kicker .badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); }
.detail h1 { margin-top: 14px; font-size: 30px; line-height: 1.28; font-weight: 750; letter-spacing: -0.035em; }
.orig { margin-top: 6px; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink-2); letter-spacing: 0; overflow-wrap: anywhere; }
.when { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ink); }
.when__big { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: lining-nums; }
.when__full { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.when__note { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.facts { border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.facts dd { font-size: 15.5px; line-height: 1.55; }
.facts dd small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.facts dd a { font-weight: 600; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.prose-block h2 { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.prose-block p { font-size: 16.5px; line-height: 1.8; max-width: 38em; }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.backlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
.trust { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
@media (min-width: 1024px) {
  .detail { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 64px; padding-top: 28px; }
  .detail h1 { font-size: 42px; }
  .when__big { font-size: 64px; }
  .aside { position: sticky; top: calc(var(--head) + 24px); align-self: start; }
}

/* theme pages */
.citysec { padding-top: 28px; }
.citysec h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 8px; font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.citysec h2 a { text-decoration: none; }
.citysec h2 small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.citysec h2 .more { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: underline 1px var(--accent); }

/* prose pages */
.prose { max-width: 760px; padding-bottom: 8px; }
.prose h1 { font-size: 30px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; margin-top: 12px; }
.prose h2 { font-size: 19px; font-weight: 750; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--rule); }
.prose p, .prose li { font-size: 16px; line-height: 1.8; color: var(--ink); }
.prose p { margin-top: 10px; }
.prose ul { margin-top: 10px; padding-left: 1.1rem; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose .lede { color: var(--ink-2); }

/* error */
.errorpage { padding-block: 64px 24px; }
.errorpage .num { font-size: 96px; font-weight: 300; line-height: 1; color: var(--accent); }
.errorpage h1 { margin-top: 12px; font-size: 26px; font-weight: 750; }
.errorpage p { margin-top: 8px; color: var(--ink-2); }
.errorpage .presets { margin-top: 20px; }

/* footer */
.site-foot { margin-top: calc(var(--sec) + 16px); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--paper-2); }
.site-foot .wrap { display: grid; gap: 22px; }
.foot__brand svg { height: 28px; width: auto; color: var(--ink); }
.foot__brand p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14px; font-weight: 500; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot__note { font-size: 13px; line-height: 1.65; color: var(--ink-2); max-width: 44em; }
.foot__copy { font-size: 12px; color: var(--ink-3); }
@media (min-width: 768px) {
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 48px; }
  .foot__links, .foot__note { grid-column: 2; }
  .foot__brand { grid-row: 1 / span 2; }
  .foot__copy { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--rule); }
}

.ad-slot:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .ev, .toc a, .country__cities a, .btn, .chip, .season { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@media print {
  .site-head, .site-foot, .search, .presets, .tripbar, .exportbar, .actions { display: none !important; }
  body { background: #fff; color: #000; }
}

/* detail grid areas */
.detail__head, .detail__body { min-width: 0; }
.detail__body { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .detail__head, .detail__body { grid-column: 1; }
  .aside { grid-column: 2; grid-row: 1 / span 2; }
}
