:root {
  --ink: #16231e;
  --paper: #f5f1e6;
  --paper-deep: #e8e0cf;
  --line: #c9c0ad;
  --muted: #6f756f;
  --yellow: #f2b544;
  --red: #e85d4a;
  --blue: #397a9b;
  --green: #3d7c61;
  --violet: #8b6fa9;
  --brown: #91623f;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(22, 35, 30, .18);
  --sans: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --serif: "Gowun Batang", "AppleMyungjo", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 520px) minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 12px clamp(20px, 4vw, 68px);
  background: rgba(245, 241, 230, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; gap: 12px; align-items: center; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 50%;
  font-family: var(--serif); font-weight: 700; letter-spacing: -.1em;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 3px; font-size: 11px; color: var(--muted); }
.search-box {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  height: 46px; padding: 0 14px; border: 1px solid var(--ink); background: var(--white);
}
.search-box > span { font-size: 25px; line-height: 1; transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.search-box kbd { padding: 3px 6px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 10px; }
.top-actions { justify-self: end; display: flex; gap: 8px; }
.quiet-button, .route-button, .filter-chip, .view-toggle button, .map-mode-toggle button, .section-title button, footer button, .empty-state button {
  border: 1px solid var(--ink); background: transparent; cursor: pointer;
}
.quiet-button, .route-button { min-height: 42px; padding: 0 16px; }
.route-button { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--paper); }
.route-button b { min-width: 21px; height: 21px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; font-size: 11px; }

main { padding: 0 clamp(20px, 4vw, 68px) 42px; }
.intro {
  min-height: 248px; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 40px;
  padding: 52px 0 36px; border-bottom: 1px solid var(--ink);
}
.kicker { margin: 0 0 13px; color: var(--green); font-size: 13px; font-weight: 700; }
h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 5.1vw, 72px); line-height: 1.08; letter-spacing: -.055em; font-weight: 700; }
.intro-note { align-self: end; padding-bottom: 7px; }
.intro-note > p { max-width: 340px; margin: 0 0 21px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.summary-line { display: flex; gap: 25px; }
.summary-line span { font-size: 12px; color: var(--muted); }
.summary-line b { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 27px; color: var(--ink); }

.filter-strip { padding: 22px 0 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row.secondary { margin-top: 10px; padding-top: 11px; border-top: 1px dashed var(--line); }
.filter-chip { padding: 9px 14px; border-color: var(--line); background: transparent; font-size: 13px; }
.filter-chip:hover, .filter-chip:focus-visible { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-chip .dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.filter-chip.active .dot { outline: 1px solid rgba(255,255,255,.7); outline-offset: 2px; }
.filter-chip em { margin-left: 7px; opacity: .7; font-size: 11px; font-style: normal; }
.city-chip { padding-block: 7px; }
.switch-label { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; cursor: pointer; color: var(--muted); font-size: 12px; }
.switch-label input { position: absolute; opacity: 0; }
.switch-label span { position: relative; width: 34px; height: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.switch-label span::after { content: ""; position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; border-radius: 50%; background: var(--muted); transition: transform .2s ease, background .2s ease; }
.switch-label input:checked + span::after { transform: translateX(15px); background: var(--yellow); }
.switch-label input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.workspace { min-height: 660px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, .7fr); border: 1px solid var(--ink); background: var(--white); }
.map-panel { min-width: 0; border-right: 1px solid var(--ink); }
.map-toolbar, .list-heading { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }
.map-toolbar strong { font-size: 14px; }
.map-toolbar span { margin-left: 10px; color: var(--muted); font-size: 11px; }
.toolbar-actions { display: flex; align-items: center; gap: 9px; }
.map-mode-toggle { display: flex; }
.map-mode-toggle button { padding: 6px 9px; border-color: var(--line); background: var(--white); font-size: 11px; }
.map-mode-toggle button + button { border-left: 0; }
.map-mode-toggle button.active { background: var(--green); color: white; border-color: var(--green); }
.view-toggle { display: flex; }
.view-toggle button { padding: 6px 9px; border-color: var(--line); font-size: 11px; }
.view-toggle button + button { border-left: 0; }
.view-toggle button.active { background: var(--ink); color: var(--paper); }
.map-stage { position: relative; height: 600px; overflow: hidden; background: #dfe8df; }
.detail-map { position: absolute; z-index: 1; inset: 0; background: #e4e7df; }
.seoul-map { width: 100%; height: 100%; display: block; }
.map-stage.detail-mode .seoul-map, .map-stage.detail-mode .map-compass { display: none; }
.map-stage.overview-mode .detail-map { display: none; }
.map-stage.overview-mode .seoul-map { display: block; }
.leaflet-container { font-family: var(--sans); color: var(--ink); }
.leaflet-control-zoom a { color: var(--ink); }
.leaflet-control-attribution { font-size: 8px; }
.leaflet-tooltip.place-tooltip { padding: 7px 9px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); box-shadow: 3px 3px 0 rgba(22,35,30,.17); color: var(--ink); font-size: 11px; font-weight: 700; }
.leaflet-tooltip.place-tooltip::before { display: none; }
.city-shadow { fill: rgba(22, 35, 30, .16); transform: translate(7px, 8px); }
.city-shape { fill: #f7f3e8; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.texture { fill: url(#paperDots); pointer-events: none; }
.han-river { fill: none; stroke: #9ecbd5; stroke-width: 19; stroke-linecap: round; opacity: .95; }
.district-line { fill: none; stroke: #bdb5a3; stroke-width: 1.2; stroke-dasharray: 4 6; }
.area-labels { fill: #68736d; font-family: var(--serif); font-size: 12px; text-anchor: middle; pointer-events: none; }
.pin { cursor: pointer; outline: 0; }
.pin .pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin:hover .pulse, .pin:focus .pulse, .pin.active .pulse { opacity: .26; animation: pinPulse 1.25s ease-out infinite; }
.pin .marker { stroke: var(--white); stroke-width: 2.5; filter: drop-shadow(0 3px 3px rgba(22,35,30,.22)); }
.pin .pin-number { fill: white; font-size: 8px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.route-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 7; opacity: .75; }
.map-compass { position: absolute; top: 24px; left: 24px; display: grid; justify-items: center; font-family: var(--serif); font-size: 11px; }
.map-compass i { width: 1px; height: 28px; display: block; margin-top: 3px; background: var(--ink); }
.map-compass i::before { content: ""; display: block; width: 7px; height: 7px; border-left: 1px solid; border-top: 1px solid; transform: translate(-3px, 1px) rotate(45deg); }
.map-legend { position: absolute; z-index: 500; left: 18px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 7px 13px; max-width: calc(100% - 36px); padding: 10px 12px; background: rgba(255,253,247,.88); border: 1px solid rgba(22,35,30,.25); backdrop-filter: blur(8px); pointer-events: none; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; }
.outside-map { position: absolute; z-index: 650; inset: 0; display: grid; place-content: center; text-align: center; padding: 30px; background: #dfe8df; }
.outside-map[hidden] { display: none; }
.outside-map::before { content: ""; width: 145px; height: 145px; justify-self: center; margin-bottom: 22px; border: 1px solid var(--ink); border-radius: 50% 44% 52% 46%; box-shadow: 13px 11px 0 var(--yellow); transform: rotate(-8deg); }
.outside-map span { color: var(--muted); font-size: 12px; }
.outside-map strong { margin-top: -110px; margin-bottom: 90px; font-family: var(--serif); font-size: 24px; }
.outside-map p { margin: 0; color: var(--muted); font-size: 13px; }

.list-panel { min-width: 0; max-height: 658px; display: flex; flex-direction: column; background: var(--white); }
.list-heading > span { font-size: 13px; font-weight: 700; }
.list-heading select { max-width: 145px; border: 0; background: transparent; color: var(--muted); outline: 0; font-size: 11px; text-align: right; }
.place-list { overflow-y: auto; overscroll-behavior: contain; }
.place-card { position: relative; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: start; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.place-card:hover, .place-card:focus-visible, .place-card.active { background: #f3efdf; outline: 0; }
.place-card .index { width: 58px; height: 58px; display: grid; place-items: center; color: white; font-family: var(--serif); font-size: 12px; font-weight: 700; }
.place-card .place-thumb { position: relative; overflow: hidden; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(22,35,30,.1); }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-thumb b { position: absolute; top: 5px; left: 5px; min-width: 22px; padding: 3px 5px; border-radius: 7px; background: rgba(22,35,30,.76); color: white; text-align: center; font-size: 9px; line-height: 1; backdrop-filter: blur(4px); }
.place-card h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.3; }
.place-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.place-card .meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag { display: inline-block; padding: 3px 6px; background: var(--paper-deep); color: #5e645e; font-size: 9px; }
.tag.warning { background: #f8dfaa; color: #6c4b15; }
.place-card .favorite { width: 26px; height: 26px; border: 0; background: transparent; color: #9c9c92; cursor: pointer; font-size: 17px; }
.place-card .favorite.on { color: var(--red); }
.empty-state { margin: auto; padding: 30px; text-align: center; }
.empty-state p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-state button { padding: 8px 12px; }

.memo-section { margin-top: 64px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-title span { color: var(--green); font-size: 12px; font-weight: 700; }
.section-title h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); letter-spacing: -.04em; }
.section-title button, footer button { padding: 10px 13px; }
.memo-grid { grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); }
.memo-grid:not([hidden]) { display: grid; }
.memo-card { min-height: 170px; padding: 20px; border-right: 1px solid var(--line); }
.memo-card:last-child { border-right: 0; }
.memo-card span { color: var(--red); font-size: 10px; }
.memo-card h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 19px; }
.memo-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.memo-card a { display: inline-block; margin-top: 12px; color: var(--ink); font-size: 11px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 0; color: var(--muted); font-size: 11px; }

.scrim { position: fixed; z-index: 60; inset: 0; background: rgba(16, 26, 21, .48); backdrop-filter: blur(3px); }
.detail-drawer, .route-drawer { position: fixed; z-index: 70; top: 0; right: 0; width: min(510px, 100vw); height: 100vh; overflow-y: auto; background: var(--paper); box-shadow: var(--shadow); transform: translateX(105%); transition: transform .32s cubic-bezier(.2,.85,.25,1); }
.detail-drawer.open, .route-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; z-index: 10; top: 17px; right: 17px; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: rgba(245,241,230,.92); cursor: pointer; font-size: 24px; }
.detail-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink); }
.photo-grid { position: absolute; z-index: 1; inset: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--ink); }
.photo-grid.photo-count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.photo-grid.photo-count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.photo-grid.photo-count-3 .photo-tile:first-child { grid-row: 1 / -1; }
.photo-tile { display: block; min-width: 0; min-height: 0; overflow: hidden; background: var(--paper-deep); }
.photo-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.035); }
.detail-photo .photo-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(transparent 55%, rgba(8,15,11,.62)); }
.detail-photo .photo-credit { position: absolute; z-index: 3; left: 14px; bottom: 12px; padding: 6px 8px; border-radius: 8px; background: rgba(8,15,11,.66); color: rgba(255,255,255,.92); font-size: 10px; text-decoration: none; backdrop-filter: blur(5px); }
.photo-fallback { height: 100%; display: grid; place-items: center; overflow: hidden; background: var(--fallback, var(--green)); color: rgba(255,255,255,.92); }
.photo-fallback::before, .photo-fallback::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.photo-fallback::before { transform: translate(-100px, -80px); }
.photo-fallback::after { transform: translate(130px, 130px); }
.photo-fallback span { position: relative; z-index: 1; font-family: var(--serif); font-size: 76px; font-weight: 700; }
.detail-body { padding: 30px 30px 44px; }
.detail-category { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.detail-category i { width: 9px; height: 9px; border-radius: 50%; }
.detail-body h2 { margin: 13px 0 7px; font-family: var(--serif); font-size: 34px; line-height: 1.18; letter-spacing: -.04em; }
.detail-address { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.station-card { display: flex; align-items: center; gap: 9px; margin: -12px 0 24px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 11px; }
.station-card b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: white; font-size: 10px; }
.station-card small { margin-left: auto; color: var(--muted); font-size: 9px; }
.reason-card { margin: 0 -30px; padding: 24px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.reason-card span, .detail-links > span, .visit-block > span { display: block; margin-bottom: 10px; color: var(--green); font-size: 10px; font-weight: 700; }
.reason-card p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.must-try { display: grid; grid-template-columns: 86px 1fr; gap: 12px; margin: 23px 0; padding-bottom: 23px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.must-try span { color: var(--muted); }
.must-try strong { font-weight: 600; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-actions button { min-height: 44px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.detail-actions button.primary { background: var(--ink); color: var(--paper); }
.detail-actions button.on { background: var(--yellow); color: var(--ink); }
.detail-links { margin-top: 28px; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.link-grid a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 11px; }
.link-grid a:hover, .link-grid a:focus-visible { border-color: var(--ink); }
.visit-block { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.visit-row { display: flex; gap: 8px; }
.visit-row button { flex: 1; min-height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.visit-row button.on { background: var(--green); color: white; border-color: var(--green); }
.source-note { margin-top: 23px; padding: 12px; background: #ece5d6; color: var(--muted); font-size: 10px; line-height: 1.6; }

.route-drawer { z-index: 75; padding: 30px; }
.route-head { display: flex; align-items: start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.route-head span { color: var(--green); font-size: 11px; font-weight: 700; }
.route-head h2 { margin: 7px 0 0; font-family: var(--serif); font-size: 34px; }
.route-head button { width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.route-list { margin-top: 17px; }
.route-item { position: relative; display: grid; grid-template-columns: 31px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.route-item::after { content: ""; position: absolute; left: 15px; top: 46px; height: 17px; border-left: 1px dashed var(--muted); }
.route-item:last-child::after { display: none; }
.route-item > span { width: 31px; height: 31px; display: grid; place-items: center; background: var(--yellow); border-radius: 50%; font-family: var(--serif); font-size: 12px; }
.route-item h3 { margin: 0 0 3px; font-size: 13px; }
.route-item p { margin: 0; color: var(--muted); font-size: 10px; }
.route-item button { border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.route-empty { padding: 90px 20px; text-align: center; color: var(--muted); }
.route-empty b { color: var(--ink); }
.route-empty p { font-size: 12px; }
.route-summary { margin-top: 18px; padding: 16px; background: var(--paper-deep); font-size: 12px; line-height: 1.6; }
.route-actions { position: sticky; bottom: -30px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin: 24px -30px -30px; padding: 18px 30px 26px; background: var(--paper); border-top: 1px solid var(--line); }
.route-actions button { min-height: 45px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.route-actions .primary { background: var(--ink); color: var(--paper); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; padding: 11px 16px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.workspace.view-map { grid-template-columns: 1fr; }
.workspace.view-map .map-panel { border-right: 0; }
.workspace.view-map .list-panel { display: none; }
.workspace.view-list { grid-template-columns: 1fr; }
.workspace.view-list .map-panel { display: none; }
.workspace.view-list .list-panel { max-height: none; }
.workspace.view-list .place-list { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
.workspace.view-list .place-card:nth-child(3n+1), .workspace.view-list .place-card:nth-child(3n+2) { border-right: 1px solid var(--line); }

@keyframes pinPulse { from { transform: scale(.8); } to { transform: scale(1.9); opacity: 0; } }

@media (max-width: 1020px) {
  .topbar { grid-template-columns: 1fr auto; }
  .search-box { grid-column: 1 / -1; grid-row: 2; }
  .intro { min-height: 220px; }
  .workspace { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); }
  .memo-grid { grid-template-columns: 1fr 1fr; }
  .memo-card:nth-child(2) { border-right: 0; }
  .memo-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .topbar { min-height: 66px; padding: 10px 15px; gap: 10px; }
  .brand small, .quiet-button, .search-box kbd { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  .top-actions { gap: 0; }
  .route-button { min-height: 38px; padding: 0 11px; }
  .search-box { height: 42px; }
  main { padding: 0 14px 28px; }
  .intro { min-height: 220px; display: block; padding: 34px 0 25px; }
  h1 { font-size: 39px; }
  .intro-note { margin-top: 23px; }
  .intro-note > p { display: none; }
  .summary-line { gap: 23px; }
  .filter-strip { padding: 15px 0; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; }
  .switch-label { flex: none; }
  .workspace { display: block; border-left: 0; border-right: 0; }
  .map-panel { border-right: 0; }
  .map-stage { height: 430px; }
  .map-toolbar { padding-inline: 11px; }
  .map-toolbar > div:first-child { display: none; }
  .toolbar-actions { width: 100%; justify-content: space-between; gap: 6px; }
  .map-mode-toggle button, .view-toggle button { padding-inline: 8px; }
  .list-panel { max-height: 470px; border-top: 1px solid var(--ink); }
  .workspace.view-list .place-list { grid-template-columns: 1fr; }
  .workspace.view-list .place-card { border-right: 0 !important; }
  .map-legend { left: 10px; bottom: 10px; }
  .area-labels { font-size: 14px; }
  .memo-section { margin-top: 45px; }
  .section-title { align-items: start; }
  .section-title h2 { font-size: 27px; }
  .memo-grid { grid-template-columns: 1fr; }
  .memo-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .memo-card:last-child { border-bottom: 0; }
  footer { align-items: start; }
  footer p { max-width: 230px; line-height: 1.5; }
  .detail-body { padding: 24px 22px 40px; }
  .reason-card { margin-inline: -22px; padding-inline: 22px; }
  .detail-body h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
