:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #27292d;
  --muted: #687078;
  --accent: #79506e;
  --purple: #603b58;
  --pink: #f6f2f5;
  --soft: #f7f8f8;
  --line: #e4e6e8;
  --max-width: 1120px;
  --gutter: 32px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
body:has(.image-dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .4; }
a { color: var(--purple); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #452a40; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a37496; outline-offset: 3px; }
main:focus { outline: none; }
img { display: block; width: 100%; height: auto; }
iframe { display: block; width: 100%; border: 0; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.4; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; }
p, dd { word-break: keep-all; overflow-wrap: anywhere; }
strong { font-weight: 700; }
small { font-size: 13px; }
ul, ol { padding-left: 1.25em; }
summary { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #ecdfE8; color: var(--ink); }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 10px 16px; color: white; background: var(--purple); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100%, 1184px); margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: inline-flex; align-items: baseline; flex-shrink: 0; min-height: 44px; color: var(--ink); text-decoration: none; font: 700 23px/44px Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.brand > span { color: var(--accent); }
.brand small { margin-left: 10px; font-family: "Noto Sans KR", sans-serif; font-size: 10px; letter-spacing: .18em; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--purple); }
.date-navigation { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day-nav { display: flex; width: min(100%, var(--max-width)); gap: 4px; margin: 0 auto; padding: 8px var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d4cbd2 transparent; }
.day-nav a { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; align-items: center; gap: 1px; min-height: 50px; padding: 7px 11px; border-radius: 7px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.day-nav small { color: inherit; font-size: 12px; font-weight: 400; }
.day-nav a:hover { color: var(--purple); background: #f8f5f7; }
.day-nav a[aria-current="page"] { color: var(--purple); background: #f0e7ed; }
main { min-height: 55vh; }
.page, .overview { max-width: var(--max-width); margin: 0 auto; padding: 32px var(--gutter) 48px; }
.loading { max-width: var(--max-width); margin: 0 auto; padding: 60px var(--gutter); color: var(--muted); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: var(--max-width); margin: 0 auto; padding: 24px var(--gutter) 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.site-footer > span { flex: 1 1 300px; }
.site-footer > a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p + p { margin-top: 5px; }
.site-footer a { color: inherit; }
.eyebrow, .kicker { margin-bottom: 9px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid #d9d5d9; border-radius: 7px; color: var(--purple); background: white; text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.6; }
.button:hover { border-color: #a98b9f; color: var(--purple); background: #f8f4f7; }
.button.primary { color: white; background: var(--purple); border-color: var(--purple); }
.button.primary:hover { color: white; background: #4d2f47; border-color: #4d2f47; }
.text-button { min-height: 44px; padding: 6px 0; border: 0; background: none; color: var(--purple); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.guide-intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.guide-intro h1 { font-size: clamp(30px,3vw,40px); font-weight: 800; letter-spacing: -.045em; }
.travel-dates { margin-top: 8px; color: #525b63; font-size: 17px; font-weight: 600; }
.intro-description { max-width: 520px; margin-top: 14px; color: #515960; font-size: 16px; line-height: 1.85; }
.trip-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.trip-facts span { display: inline-flex; align-items: center; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.guide-cover { min-width: 0; }
.guide-cover img { height: 220px; object-fit: cover; border-radius: 9px; }
.guide-cover figcaption { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.overview-section { margin-top: 32px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 28px; margin-bottom: 17px; }
.section-title h2 { font-size: 23px; }
.section-title p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.overview-days { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.overview-day { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 20px; min-height: 109px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.overview-day:hover { color: var(--ink); background: #faf9fa; }
.overview-date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.45; }
.overview-date strong { color: var(--purple); font-size: 21px; font-weight: 750; letter-spacing: -.04em; }
.overview-date small { color: var(--muted); font-size: 13px; }
.overview-day-copy { min-width: 0; }
.overview-day-copy > span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 13px; }
.overview-day-copy h3 { font-size: 19px; }
.overview-day-copy p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.overview-day-photo { width: 112px; }
.overview-day-photo img { width: 112px; height: 76px; object-fit: cover; border-radius: 7px; }
.overview-essentials { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.essential-item { padding-top: 16px; border-top: 2px solid #e6dce3; }
.essential-item h3, .essential-item strong { display: block; margin-bottom: 7px; font-size: 16px; font-weight: 700; }
.essential-item p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.day-header { margin-bottom: 24px; }
.day-header h1 { font-size: clamp(28px,3vw,36px); font-weight: 800; }
.day-description { max-width: 880px; margin-top: 10px; color: #525b63; font-size: 16px; line-height: 1.85; }
.day-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.day-meta > span { display: inline-flex; align-items: center; }
.day-plan { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 30px; margin-top: 30px; }
.day-sidebar { position: sticky; top: 88px; min-width: 0; }
.day-sidebar h2, .day-sidebar h3 { margin-bottom: 12px; color: var(--muted); font-size: 14px; font-weight: 650; }
.day-stop-nav { display: grid; gap: 2px; }
.day-stop-nav a { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; padding: 9px 10px 9px 12px; border-left: 2px solid var(--line); color: #61686f; text-decoration: none; font-size: 14px; line-height: 1.65; }
.day-stop-nav a:hover, .day-stop-nav a[aria-current], .day-stop-nav a.active { color: var(--purple); background: #f8f5f7; border-left-color: var(--accent); }
.day-stop-nav a > span { min-width: 18px; font-weight: 700; }
.daily-timeline { min-width: 0; }
.guide-stop { position: relative; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 14px; padding-bottom: 24px; scroll-margin-top: 94px; }
.guide-stop::before { content: ""; position: absolute; z-index: 0; top: 34px; bottom: 0; left: 15px; width: 2px; background: #e7e1e6; }
.daily-timeline > .guide-stop:last-child::before { display: none; }
.timeline-number { position: relative; z-index: 1; display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; margin-top: 16px; border-radius: 50%; color: white; background: var(--purple); font-size: 14px; font-weight: 750; line-height: 1; }
.timeline-number.optional { color: var(--purple); background: #f4eef2; border: 1px dashed #94778b; }
.stop-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.stop-card-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.stop-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.stop-kicker span:first-child { color: var(--purple); font-weight: 650; }
.stop-card-main { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 18px; }
.stop-card-main:has(.stop-photo) { grid-template-columns: minmax(0,1fr) 190px; }
.stop-card-copy { min-width: 0; }
.stop-card-copy h2 { margin-bottom: 5px; font-size: 22px; line-height: 1.45; }
.stop-card-copy .jp { margin-bottom: 10px; }
.place-summary { color: #4d565e; font-size: 16px; line-height: 1.85; }
.stop-photo { min-width: 0; }
.stop-photo button { display: block; width: 100%; padding: 0; border: 0; border-radius: 7px; background: #f0f1f1; overflow: hidden; }
.stop-photo img { width: 100%; height: 130px; object-fit: cover; }
.stop-photo .credit { margin-top: 6px; }
.jp { display: block; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tag { display: inline-flex; align-items: center; width: fit-content; padding: 3px 8px; border-radius: 5px; color: var(--purple); background: #f0e7ed; font-size: 14px; font-weight: 650; line-height: 1.6; white-space: nowrap; }
.tag.optional { color: #697078; background: #f0f1f2; }
.quick-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 20px; padding: 13px 15px; margin-top: 16px; border-radius: 7px; background: var(--soft); font-size: 14px; line-height: 1.75; }
.quick-facts > div { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 8px; }
.quick-facts dt { color: var(--muted); }
.quick-facts dd { min-width: 0; color: #454d54; }
.stop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guide-details { margin-top: 17px; border-top: 1px solid var(--line); }
.guide-details > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; min-height: 48px; padding: 10px 0 2px; color: var(--purple); font-size: 14px; font-weight: 650; list-style: none; }
.guide-details > summary::-webkit-details-marker { display: none; }
.guide-details > summary::before { content: "+"; display: inline-flex; justify-content: center; align-items: center; width: 18px; font-size: 18px; font-weight: 400; }
.guide-details[open] > summary::before { content: "−"; }
.guide-details > summary > span { color: var(--muted); font-size: 13px; font-weight: 400; }
.expanded-content { padding-top: 14px; font-size: 16px; line-height: 1.9; }
.expanded-content > p { color: #4d565e; }
.expanded-content > p + p { margin-top: 12px; }
.story { padding: 18px 0; border-top: 1px solid var(--line); }
.story:first-child { padding-top: 0; border-top: 0; }
.story h3 { margin-bottom: 8px; font-size: 18px; }
.story p { color: #4d565e; font-size: 16px; line-height: 1.9; }
.story-list { margin-top: 16px; }
.story > small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 10px; }
.source-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.notice, .day-travel-note { padding: 16px 18px; margin: 18px 0; color: #50575f; background: var(--soft); border-left: 3px solid #b39aaa; border-radius: 0 7px 7px 0; font-size: 14px; line-height: 1.85; }
.notice strong, .day-travel-note strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 15px; }
.notice p + p, .day-travel-note p + p { margin-top: 8px; }
.notice small, .day-travel-note small { color: var(--muted); font-size: 13px; }
.day-travel-note { margin-top: 0; }
.day-travel-note details { margin-top: 8px; }
.day-travel-note summary { min-height: 44px; padding: 8px 0; color: var(--purple); font-size: 14px; }
.visit-facts { display: grid; gap: 10px; margin-bottom: 15px; font-size: 14px; line-height: 1.8; }
.visit-facts > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.visit-facts dt { color: var(--muted); }
.visit-facts dd { color: #4d565e; }
.artifact-list > h3 { margin-bottom: 12px; font-size: 20px; }
.artifact { padding: 18px 0; border-top: 1px solid var(--line); }
.artifact h3 { margin-bottom: 6px; font-size: 18px; }
.artifact .jp { margin-bottom: 9px; }
.artifact p { color: #4d565e; font-size: 16px; line-height: 1.9; }
.artifact-photo { display: block; width: 100%; max-width: 360px; padding: 0; margin-bottom: 8px; border: 0; background: white; cursor: zoom-in; }
.artifact-photo img { width: 100%; height: auto; max-height: 200px; object-fit: contain; }
.past-exhibitions { padding: 10px 14px; margin-top: 12px; background: var(--soft); border-radius: 7px; font-size: 14px; }
.past-exhibitions summary { min-height: 44px; padding: 7px 0; font-weight: 650; }
.past-exhibitions p { padding-bottom: 8px; font-size: 14px; }
.timeline-break { margin: 0 0 20px 46px; padding: 4px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.timeline-break strong { color: #50575f; font-weight: 600; }
.timeline-break span, .timeline-break small { margin-right: 10px; }
.day-prev-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line); }
.day-prev-next a { display: inline-flex; align-items: center; min-height: 44px; max-width: 48%; font-size: 14px; }
.rest-guide { max-width: 820px; margin-top: 28px; }
.rest-guide h2 { margin-bottom: 14px; font-size: 24px; }
.rest-guide > p { color: #4d565e; }
.rest-steps { display: grid; gap: 14px; margin: 18px 0 24px; padding-left: 23px; }
.rest-steps li { padding-left: 4px; font-size: 16px; }
.rest-steps strong { display: block; }
.rest-steps p { color: var(--muted); font-size: 14px; }
.practical-box { padding: 18px 20px; margin-top: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.practical-box h3, .practical-box strong { display: block; margin-bottom: 6px; font-size: 16px; }
.practical-box p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.page-heading { max-width: 820px; margin-bottom: 26px; }
.page-heading h1 { margin-bottom: 12px; font-size: 32px; }
.page-heading p { color: #58616a; font-size: 16px; line-height: 1.85; }
.architecture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.architecture-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.architecture-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.architecture-copy { padding-top: 16px; }
.architecture-copy h2 { margin: 9px 0 11px; font-size: 22px; }
.architecture-copy p, .look-points { color: #58616a; font-size: 16px; line-height: 1.85; }
.look-points { padding-left: 20px; margin: 14px 0; }
.look-points li + li { margin-top: 7px; }
.architecture-copy .button { margin-top: 14px; }
.architecture-scope { margin-top: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.photo-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.photo-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: #f1f2f2; overflow: hidden; cursor: zoom-in; }
.photo-button img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-meta { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.photo-meta h2 { margin-bottom: 5px; color: var(--ink); font-size: 17px; }
.photo-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.photo-meta small { display: block; font-size: 12px; }
.credit { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; }
.credit a { color: inherit; }
.video-reference { max-width: 780px; margin-top: 35px; }
.video-reference h2 { margin-bottom: 14px; font-size: 23px; }
.video-reference iframe, .place-visual iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f0f1f2; border-radius: 7px; }
.video-reference p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.place-visual { margin-bottom: 8px; }
.place-visual img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 7px; }
.media-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 16px; margin-bottom: 15px; }
.media-toolbar a, .media-toolbar button { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.summary-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 32px; align-items: start; }
.summary-copy { min-width: 0; }
.summary-copy label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.summary-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.summary-copy textarea, #summary-text { display: block; width: 100%; min-height: 420px; resize: vertical; padding: 18px; border: 1px solid #d8dcdf; border-radius: 8px; color: #424a52; background: #fcfcfc; font-size: 15px; line-height: 1.9; }
.summary-aside { border-left: 1px solid var(--line); padding-left: 25px; }
.summary-aside h2 { margin-bottom: 17px; font-size: 22px; }
.summary-aside p, .summary-aside li { color: #58616a; font-size: 15px; line-height: 1.85; }
.summary-aside .notice { padding: 0; margin: 20px 0; border: 0; background: none; }
.summary-aside .notice strong { font-size: 16px; }
.verified-date { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.all-sources { padding-top: 18px; margin-top: 28px; border-top: 1px solid var(--line); }
.all-sources > summary { min-height: 44px; padding: 6px 0; color: var(--muted); font-size: 14px; }
.sources-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin-top: 14px; }
.sources-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.info-block { border-top: 1px solid var(--line); padding-top: 16px; }
.info-block small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.info-block strong { display: block; margin-bottom: 8px; font-size: 17px; }
.info-block p { color: #58616a; font-size: 15px; }
.image-dialog { width: min(1100px,94vw); max-width: 94vw; max-height: 92svh; padding: 0; color: var(--ink); background: white; border: 0; border-radius: 10px; box-shadow: 0 12px 60px #0004; }
.image-dialog::backdrop { background: #182028cf; }
.image-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr); }
.dialog-close { justify-self: end; min-height: 44px; padding: 10px 18px; color: var(--purple); background: white; border: 0; font-size: 14px; }
.image-dialog figure { min-height: 0; overflow: auto; }
.image-dialog img { width: 100%; max-height: 72svh; object-fit: contain; background: #f4f5f5; }
.image-dialog figcaption { padding: 13px 18px 20px; font-size: 13px; line-height: 1.8; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 22px; max-width: min(90vw,500px); padding: 12px 18px; border-radius: 8px; color: white; background: #33363b; box-shadow: 0 4px 18px #0002; font-size: 14px; line-height: 1.7; text-align: center; transform: translate(-50%,8px); opacity: 0; pointer-events: none; transition: opacity .15s ease,transform .15s ease; }
.toast.visible, .toast.show, .toast.active, .toast[data-visible="true"] { opacity: 1; transform: translate(-50%,0); }
.print-summary { display: none; }

/* The first visual on every day remains a real geographic route map. */
.daily-route { margin: 0 0 26px; }
.route-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 12px; }
.route-map-heading .eyebrow { display: none; }
.route-map-heading h2 { font-size: 21px; }
.map-view-controls { display: flex; gap: 6px; }
.map-view-controls button { min-height: 44px; padding: 8px 13px; border: 1px solid #dcd9dc; border-radius: 6px; color: var(--purple); background: white; font-size: 14px; font-weight: 600; }
.map-view-controls button[aria-pressed="true"] { color: white; background: var(--purple); border-color: var(--purple); }
.daily-route-map { position: relative; isolation: isolate; z-index: 0; width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 8px; background: #eceeea; overflow: hidden; }
.daily-route-map.leaflet-container { font-family: "Noto Sans KR",sans-serif; }
.map-loading { padding: 25px; color: var(--muted); font-size: 16px; }
.route-map-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 24px; padding: 12px 0 5px; }
.route-map-caption p { max-width: 500px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.route-legend { display: flex; flex-wrap: wrap; gap: 6px 17px; color: #61686f; font-size: 14px; line-height: 1.75; }
.route-legend > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.route-legend i { width: 22px; height: 0; border-top: 3px solid var(--route-color); }
.route-legend i.dashed { border-top-style: dashed; }
.map-extras { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line); }
.map-extras > summary { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.map-stop-list { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; margin: 8px 0 0; list-style: none; }
.map-stop-list li { min-width: 0; }
.map-stop-list button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0; border: 0; color: #505860; background: none; text-align: left; font-size: 14px; line-height: 1.65; }
.map-stop-list button:hover { color: var(--purple); }
.map-stop-list small { margin-left: 6px; color: var(--muted); font-size: 14px; }
.map-list-number { display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; color: white; background: var(--purple); font-size: 12px; font-weight: 700; }
.map-list-number.optional { color: var(--purple); background: #f3edf1; border: 1px dashed #94778b; }
.map-plan-note, .map-status { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.map-status:empty { display: none; }
.map-sources { margin-top: 8px; color: var(--muted); font-size: 13px; }
.map-sources summary { min-height: 44px; padding: 8px 0; }
.map-sources > div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.map-sources a { display: inline-flex; align-items: center; min-height: 44px; }
.map-sources p { flex-basis: 100%; }
.route-pin { display: flex !important; align-items: center; justify-content: center; border-radius: 50%; color: white; background: var(--purple); border: 3px solid white; box-shadow: 0 2px 6px #28303c40; font: 750 14px/1 "Noto Sans KR",sans-serif; }
.route-pin.hub { background: #305f79; }
.route-pin.optional { color: var(--purple); background: white; border: 2px dashed var(--purple); }
.daily-route-map .leaflet-popup-content { font-size: 14px; line-height: 1.7; }
.daily-route-map .leaflet-popup-content p { margin: 8px 0; }
.daily-route-map .leaflet-popup-content a { display: inline-flex; align-items: center; min-height: 44px; color: var(--purple); }
.daily-route-map .leaflet-control-zoom a { display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; color: var(--purple); }
.daily-route-map .leaflet-control-attribution { background: rgba(255,255,255,.94); color: #343a40; font-size: 11px; }

@media (max-width: 900px) {
  .day-plan { grid-template-columns: minmax(0,1fr); gap: 0; }
  .day-sidebar { display: none; }
  .architecture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summary-layout { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .summary-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .route-map-caption { flex-direction: column; gap: 7px; }
}
@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .site-header { padding-top: 9px; padding-bottom: 9px; gap: 12px; }
  .brand { font-size: 21px; }
  .brand small { font-size: 9px; margin-left: 8px; }
  .site-header nav { gap: 5px 15px; }
  .site-header nav a { font-size: 14px; }
  .day-nav { padding: 6px 15px; gap: 3px; }
  .day-nav a { flex: 1 0 47px; min-height: 44px; padding: 8px 10px; }
  .day-nav small { display: none; }
  .page, .overview { padding-top: 24px; padding-bottom: 36px; }
  .guide-intro { grid-template-columns: minmax(0,1fr); gap: 22px; padding-bottom: 25px; }
  .guide-intro h1 { font-size: 32px; }
  .guide-cover img { height: 180px; }
  .trip-facts { gap: 5px 12px; margin-top: 13px; }
  .intro-actions { margin-top: 17px; }
  .overview-section { margin-top: 26px; }
  .section-title { display: block; margin-bottom: 14px; }
  .section-title h2 { font-size: 22px; }
  .section-title p { margin-top: 7px; }
  .overview-day { grid-template-columns: 51px minmax(0,1fr) auto; gap: 12px; min-height: 97px; padding: 15px 0; }
  .overview-date strong { font-size: 19px; }
  .overview-date small { font-size: 12px; }
  .overview-day-copy h3 { font-size: 17px; }
  .overview-day-copy p { font-size: 14px; line-height: 1.75; }
  .overview-day-photo, .overview-day-photo img { width: 76px; }
  .overview-day-photo img { height: 66px; }
  .overview-essentials { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 26px; }
  .essential-item { padding-top: 14px; }
  .day-header { margin-bottom: 20px; }
  .day-header h1 { font-size: 28px; }
  .day-meta { gap: 5px 14px; margin-top: 10px; }
  .day-plan { margin-top: 25px; }
  .guide-stop { grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding-bottom: 20px; }
  .guide-stop::before { left: 13px; top: 31px; }
  .timeline-number { width: 28px; height: 28px; margin-top: 15px; font-size: 13px; }
  .stop-card { padding: 16px; border-radius: 8px; }
  .stop-card-heading { margin-bottom: 10px; gap: 6px 12px; }
  .stop-kicker { gap: 3px 10px; font-size: 14px; }
  .stop-card-main, .stop-card-main:has(.stop-photo) { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .stop-card-copy h2 { font-size: 21px; }
  .stop-photo img { height: 140px; }
  .quick-facts { grid-template-columns: minmax(0,1fr); padding: 12px; gap: 7px; }
  .stop-actions { gap: 7px; }
  .stop-actions .button { padding-inline: 12px; }
  .guide-details > summary > span { flex-basis: 100%; padding-left: 27px; }
  .expanded-content { padding-top: 12px; }
  .story { padding: 15px 0; }
  .story h3, .artifact h3 { font-size: 18px; }
  .artifact-list > h3 { font-size: 19px; }
  .timeline-break { margin-left: 38px; margin-bottom: 16px; }
  .notice, .day-travel-note { padding: 14px 15px; }
  .day-prev-next { gap: 8px 14px; margin-top: 20px; }
  .page-heading { margin-bottom: 22px; }
  .page-heading h1 { font-size: 28px; }
  .architecture-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .architecture-copy h2 { font-size: 23px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px; }
  .photo-meta h2 { font-size: 16px; }
  .summary-copy textarea, #summary-text { min-height: 420px; padding: 14px; font-size: 15px; }
  .sources-list { grid-template-columns: minmax(0,1fr); }
  .info-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .route-map-heading { flex-wrap: wrap; gap: 10px; }
  .route-map-heading h2 { font-size: 20px; }
  .map-view-controls { gap: 5px; }
  .map-view-controls button { padding-inline: 11px; }
  .daily-route-map { height: 280px; }
  .map-extras { margin-top: 5px; }
  .map-stop-list { display: block; }
  .site-footer { padding-top: 20px; padding-bottom: 28px; }
}
@media (max-width: 480px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 7px; padding-bottom: 6px; }
  .site-header nav { justify-content: space-between; width: 100%; gap: 10px; }
  .site-header nav a { min-height: 44px; }
  .day-nav { padding-inline: 12px; }
  .day-nav a { flex-basis: 46px; padding-inline: 8px; }
  .intro-actions .button { flex: 1 1 auto; }
  .overview-day-photo, .overview-day-photo img { width: 65px; }
  .overview-day-photo img { height: 62px; }
  .overview-day { grid-template-columns: 46px minmax(0,1fr) auto; gap: 10px; }
  .route-map-heading { align-items: center; }
  .map-view-controls button { font-size: 14px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { --gutter: 0; }
  @page { size: A4; margin: 15mm; }
  html, body { color: black !important; background: white !important; font-size: 10pt; }
  .site-header, .date-navigation, .site-footer, .day-sidebar, .skip-link, .toast, .image-dialog, .intro-actions, .summary-toolbar, .stop-actions, .map-view-controls, .leaflet-control-zoom, .day-prev-next { display: none !important; }
  main, .page, .overview { max-width: none; padding: 0 !important; margin: 0; }
  .guide-intro { gap: 20px; }
  .guide-intro h1 { font-size: 25pt; }
  .guide-cover img { height: 50mm; }
  .day-header h1, .page-heading h1 { font-size: 23pt; }
  .day-plan { display: block; }
  .guide-stop { grid-template-columns: 24px minmax(0,1fr); gap: 10px; }
  .timeline-number { width: 24px; height: 24px; margin-top: 12px; font-size: 10pt; }
  .guide-stop::before { left: 11px; }
  .stop-card { padding: 12px; }
  .stop-card-main, .stop-card-heading, .overview-day, .essential-item, .quick-facts, .story, .artifact, .architecture-card, .photo-card { break-inside: avoid; }
  .stop-card-copy h2 { font-size: 17pt; }
  .daily-route-map { height: 65mm; break-inside: avoid; }
  .daily-route { break-inside: avoid; }
  .photo-grid, .architecture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .place-visual:has(iframe), .video-reference { display: none; }
  .summary-layout { display: block; }
  .summary-copy textarea, .summary-copy label { display: none !important; }
  .print-summary { display: block; white-space: pre-wrap; font: 10pt/1.7 "Noto Sans KR",sans-serif; color: black; }
  .summary-aside { padding-left: 0; border-left: 0; }
  .sources-list a, .source-links a { min-height: 0; padding: 3px 0; }
  a { color: black; }
}
