:root {
  --app-bg: #f4f6f8;
  --app-surface: #ffffff;
  --app-text: #18212b;
  --app-muted: #6d7884;
  --app-line: #e4e8ec;
  --app-blue: #3374e0;
  --app-blue-soft: #edf4ff;
  --app-red: #ef5b55;
  --app-font: 'Noto Sans KR', sans-serif;
  --app-latin: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--app-text); background: var(--app-bg); font-family: var(--app-font); }
body.modal-open { overflow: hidden; }
button, select { font: inherit; }
.view-hidden, .result-section.hidden, .detail-section.hidden { display: none !important; }

.site-header { position: fixed; z-index: 40; inset: 0 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px,5vw,64px); border: 0; border-bottom: 1px solid var(--app-line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.brand { color: var(--app-text); font: 800 21px/1 var(--app-latin); letter-spacing: -.8px; text-decoration: none; }
.brand span { margin-left: 2px; color: var(--app-blue); font-size: 9px; vertical-align: 4px; }
.site-header nav { position: absolute; left: 50%; display: flex; gap: 8px; margin: 0; transform: translateX(-50%); }
.site-header nav a { padding: 9px 14px; border-radius: 7px; color: var(--app-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.site-header nav a::after { display: none !important; }
.site-header nav a.active { color: var(--app-blue); background: var(--app-blue-soft); }
.profile-button { padding: 8px 13px; border: 1px solid #d9dfe4; border-radius: 7px; color: #46515d; background: #fff; font-size: 12px; font-weight: 600; }

.dart-section { min-height: 100svh; padding: 102px 20px 72px; color: var(--app-text); background: var(--app-bg); }
.dart-section::before, .dart-section::after { display: none; }
.section-heading { width: min(100%,560px); margin: 0 auto; text-align: center; }
.section-kicker { margin: 0 0 9px; color: var(--app-blue); font: 700 12px/1 var(--app-font); letter-spacing: 0; }
.section-heading h2, .explore-header h2, .passport-copy h2, .detail-intro h2 { margin: 0; color: var(--app-text); font: 700 clamp(28px,4vw,42px)/1.3 var(--app-font); letter-spacing: -1.8px; transform: none; }
.section-heading > p:last-of-type { margin: 13px 0 0; color: var(--app-muted); font-size: 14px; line-height: 1.65; }
.filter-toggle { margin-top: 15px; padding: 8px 12px; border: 1px solid #dbe1e6; border-radius: 7px; color: #596571; background: #fff; font-size: 12px; font-weight: 600; }
.filter-toggle span { margin-left: 6px; color: var(--app-blue); }
.filter-collapsed { display: none; }

.dart-layout, .dart-layout.filters-open { display: grid; grid-template-columns: 1fr; gap: 16px; width: min(100%,720px); margin: 24px auto 0; }
.filters { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--app-line); border-radius: 12px; background: #fff; overflow: hidden; transform: none; }
.filters fieldset { min-width: 0; margin: 0; padding: 16px; border: 0; border-right: 1px solid var(--app-line); }
.filters fieldset:last-of-type { border-right: 0; }
.filters legend { padding: 0 0 10px; color: #4d5964; font-size: 12px; font-weight: 700; }
.chip-group { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { padding: 6px 8px; border: 1px solid #e1e6ea; border-radius: 6px; color: #66717c; background: #fff; font-size: 11px; }
.chip.selected { border-color: #bed2f5; color: var(--app-blue); background: var(--app-blue-soft); }
.filters select { width: 100%; border: 0; color: #4d5964; background: #fff; font-size: 12px; }
.filter-note { display: none; }

.dart-stage { min-height: 540px; position: relative; display: grid; place-items: center; }
.throw-copy { position: static; transform: none; text-align: center; }
.throw-copy span { display: block; margin-bottom: 3px; color: var(--app-muted); font-size: 11px; }
.throw-copy strong { color: #45515c; font-size: 13px; font-weight: 500; }
.dartboard.mapboard { --hit-x: 50%; --hit-y: 50%; position: relative; width: min(100%,460px); aspect-ratio: 1.04; margin: 8px auto 20px; overflow: visible; border: 1px solid var(--app-line); border-radius: 18px; background: var(--app-surface); box-shadow: 0 8px 28px rgba(36,50,65,.08); transition: transform .2s, box-shadow .2s; }
.dartboard.mapboard:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(36,50,65,.11); }
.mapboard-label { position: absolute; top: 18px; left: 20px; color: #46525e; font-size: 13px; font-weight: 700; }
.throw-map { position: absolute; top: 45px; left: 50%; width: 72%; height: calc(100% - 110px); object-fit: contain; transform: translateX(-50%); filter: none; }
.mapboard-action { position: absolute; z-index: 6; left: 16px; right: 16px; bottom: 14px; width: auto; padding: 13px; border-radius: 9px; color: #fff; background: var(--app-blue); font-size: 14px; font-weight: 700; text-align: center; transform: none; }
.map-source { position: absolute; z-index: 2; right: 18px; top: 20px; color: #9aa3ab; font-size: 8px; }
.throw-hint { position: static; margin: -5px 0 0; color: #8a949d; font-size: 11px; letter-spacing: 0; transform: none; }
.dart-flying { position: absolute; z-index: 8; left: var(--hit-x); right: auto; top: var(--hit-y); width: 86px; height: 18px; opacity: 0; transform-origin: right center; pointer-events: none; }
.dart-flying i { width: 60px; background: var(--app-red); }
.hit-marker { position: absolute; z-index: 7; left: var(--hit-x); top: var(--hit-y); width: 18px; height: 18px; border: 3px solid var(--app-red); border-radius: 50%; opacity: 0; transform: translate(-50%,-50%); }
.dartboard.throwing .dart-flying { animation: mapDartThrow 1.05s cubic-bezier(.16,.84,.34,1) forwards; }
.dartboard.throwing .hit-marker { animation: mapTargetHit 1.2s .72s ease forwards; }
.dartboard.hit { animation: mapBoardHit .3s .76s ease-in-out; }

.result-section { position: fixed; z-index: 80; inset: 0; min-height: 0; display: grid; place-items: center; padding: 20px; color: var(--app-text); background: rgba(17,27,36,.56); backdrop-filter: blur(5px); }
.result-background, .quick-place-card { display: none; }
.result-card { position: relative; width: min(100%,480px); max-width: none; padding: 30px; border-radius: 18px; color: var(--app-text); background: #fff; box-shadow: 0 24px 80px rgba(12,22,32,.24); }
.close-result { top: 18px; right: 18px; width: 30px; height: 30px; color: #68737d; font-size: 24px; }
.result-card .section-kicker { color: var(--app-muted); }
.result-overline { margin: 24px 0 8px; color: var(--app-blue); font: 700 11px var(--app-latin); }
.result-card h2 { margin-bottom: 15px; color: var(--app-text); font: 700 38px/1.2 var(--app-font); letter-spacing: -2px; transform: none; }
.result-summary { color: #5f6b76; font-size: 14px; line-height: 1.7; }
.result-tags { margin-top: 18px; }
.result-tags span { padding: 7px 10px; border: 0; border-radius: 6px; color: #4169a8; background: var(--app-blue-soft); font-size: 11px; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.result-actions .button-primary, .button-primary { padding: 13px 15px; border: 0; border-radius: 8px; color: #fff; background: var(--app-blue); font-weight: 700; }
.result-actions .button-primary span { color: #fff; }
.result-actions .button-ghost { padding: 12px; border: 1px solid #dce2e7; border-radius: 8px; color: #56616c; background: #fff; }

.detail-section, .explore-section, .passport-section { min-height: 100svh; padding: 104px max(20px,8vw) 90px; color: var(--app-text); background: var(--app-bg); }
.detail-topline { padding-top: 10px; border-top: 1px solid var(--app-line); color: var(--app-muted); }
.detail-intro { display: block; margin: 48px 0 38px; }
.detail-intro h2 { font-size: clamp(25px,3vw,40px); white-space: nowrap; }
.guide-grid { gap: 12px; border: 0; }
.guide-card, .guide-card:nth-child(n) { min-height: 210px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; }
.guide-card h3 { margin-top: 55px; font: 700 19px/1.4 var(--app-font); letter-spacing: -.7px; }
.guide-card p { color: var(--app-muted); font-weight: 400; }
.guide-icon { display: none; }
.benefit-strip { margin-top: 12px; border: 0; border-radius: 12px; background: #263746; }
.benefit-strip h3 { font: 700 23px/1.45 var(--app-font); }
.benefit span { color: #a9c8ff; }
.benefit-detail { width: 100%; grid-template-columns: 93px minmax(0,1fr) auto; color: inherit; border: 0; border-bottom: 1px solid #536058; background: transparent; text-align: left; cursor: pointer; transition: background .18s ease; }
.benefit-detail:hover, .benefit-detail:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.benefit-more { align-self: center; color: #dce8f4; font-size: 11px; font-style: normal; font-weight: 600; white-space: nowrap; }
.save-trip { border-bottom: 1px solid #7f8a94; font-weight: 600; }

.explore-header { align-items: end; }
.explore-header > p { color: var(--app-muted); }
.explore-tabs { margin: 36px 0 18px; }
.explore-tabs button { padding: 8px 11px; border: 0; border-radius: 7px; color: var(--app-muted); background: transparent; }
.explore-tabs button.selected { color: var(--app-blue); background: var(--app-blue-soft); }
.city-grid { grid-template-columns: repeat(3,1fr); gap: 12px; border: 0; }
.city-card, .city-card:nth-child(n) { min-height: 220px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; }
.city-card .card-index { position: absolute; top: 18px; right: 18px; color: #c1c8cf; font: 700 12px var(--app-latin); }
.city-card .card-region, .city-card p { color: var(--app-muted); font-weight: 400; }
.city-card h3 { margin-top: 68px; font: 700 25px var(--app-font); letter-spacing: -1px; }
.city-card button { border: 0; color: #fff; background: var(--app-blue); }

.passport-section { background: #eef2f5; }
.passport-copy h2 { color: var(--app-text); }
.passport-copy > p:not(.section-kicker) { color: var(--app-muted); font-weight: 400; }
.passport-map { width: 350px; max-height: 430px; object-fit: contain; filter: none; }
.passport-stamp { border: 1px solid #aab4bd; color: #5f6b76; background: #fff; }
.map-pin { color: var(--app-blue); text-shadow: none; }
dialog { width: min(620px,calc(100% - 32px)); border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 80px rgba(12,22,32,.24); }
dialog h2 { font: 700 34px var(--app-font); }
.culture-dialog { width: min(960px,calc(100% - 32px)); max-width: 960px; max-height: 90vh; padding: 0; overflow: hidden; }
.culture-dialog .dialog-close { z-index: 2; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); }
.culture-detail-layout { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); height: min(720px,90vh); min-height: 510px; }
.culture-detail-image { width: 100%; height: 100%; min-height: 510px; object-fit: cover; background: #e7ebee; }
.culture-detail-image[hidden] { display: none; }
.culture-detail-image[hidden] + .culture-detail-copy { grid-column: 1 / -1; }
.culture-detail-copy { padding: clamp(30px,4vw,48px); overflow-y: auto; }
.culture-detail-copy h2 { margin: 10px 0 15px; font-size: clamp(26px,3.3vw,38px); line-height: 1.32; letter-spacing: -1.5px; }
.culture-detail-description { max-height: 110px; overflow: auto; color: var(--app-muted); font-size: 13px; line-height: 1.75; }
.culture-detail-meta { margin: 26px 0; border-top: 1px solid var(--app-line); }
.culture-detail-meta div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--app-line); }
.culture-detail-meta dt { color: var(--app-muted); font-size: 12px; font-weight: 600; }
.culture-detail-meta dd { margin: 0; font-size: 13px; line-height: 1.55; }
.culture-detail-link { display: inline-block; text-decoration: none; }
.culture-detail-link[hidden] { display: none; }
.culture-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin: 24px 0 22px; padding: 4px; border-radius: 10px; background: #eef2f5; }
.culture-tabs button { padding: 10px 7px; border: 0; border-radius: 7px; color: var(--app-muted); background: transparent; font-size: 12px; font-weight: 700; }
.culture-tabs button.selected { color: #fff; background: var(--app-blue); }
.culture-tab-panel[hidden] { display: none; }
.detail-source-badge { display: inline-flex; margin: 0 0 12px; padding: 5px 8px; border-radius: 5px; color: #375b85; background: #edf4ff; font-size: 10px; font-weight: 700; }
.detail-source-badge.recommendation { color: #6b5520; background: #fff5cf; }
.culture-panel-intro { margin: 0 0 16px; color: var(--app-muted); font-size: 13px; line-height: 1.6; }
.culture-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.culture-detail-actions .button-ghost { padding: 12px 14px; border-color: var(--app-line); border-radius: 8px; color: #4f5b66; text-decoration: none; }
.culture-map-link[hidden] { display: none; }
.culture-nearby-list { display: grid; gap: 8px; }
.culture-nearby-card { min-width: 0; display: grid; grid-template-columns: 72px minmax(0,1fr) 18px; gap: 12px; align-items: center; padding: 9px; border: 1px solid var(--app-line); border-radius: 10px; color: inherit; background: #fff; text-decoration: none; transition: border-color .18s, transform .18s; }
.culture-nearby-card:hover { border-color: #a9c5ef; transform: translateY(-1px); }
.culture-nearby-card > img, .culture-nearby-placeholder { width: 72px; height: 62px; object-fit: cover; border-radius: 7px; background: #edf2f6; }
.culture-nearby-placeholder { display: grid; place-items: center; color: #91a0ad; font: 700 9px var(--app-latin); }
.culture-nearby-copy { min-width: 0; }
.culture-nearby-copy small, .culture-nearby-copy strong, .culture-nearby-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.culture-nearby-copy small { color: var(--app-blue); font-size: 10px; }
.culture-nearby-copy strong { margin: 5px 0 3px; font-size: 14px; }
.culture-nearby-copy em { color: var(--app-muted); font-size: 10px; font-style: normal; }
.culture-nearby-card > b { color: var(--app-blue); }
.culture-empty { color: var(--app-muted); font-size: 13px; }
.culture-plan-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.culture-plan-duration { flex: 0 0 auto; display: flex; padding: 3px; border-radius: 7px; background: #eef2f5; }
.culture-plan-duration button { padding: 7px 9px; border: 0; border-radius: 5px; color: var(--app-muted); background: transparent; font-size: 10px; font-weight: 700; }
.culture-plan-duration button.selected { color: #fff; background: var(--app-blue); }
.culture-plan-list { display: grid; gap: 14px; }
.culture-plan-day > strong { display: block; margin-bottom: 7px; color: var(--app-blue); font: 700 11px var(--app-latin); }
.culture-plan-day > div { display: grid; gap: 6px; }
.culture-plan-stop { position: relative; padding: 10px 12px 10px 28px; border-left: 2px solid #dce5ed; background: #f7f9fa; }
.culture-plan-stop::before { content: ''; position: absolute; left: -6px; top: 17px; width: 8px; height: 8px; border: 1px solid #b9c6d0; border-radius: 50%; background: #fff; }
.culture-plan-stop.selected-event { border-left-color: var(--app-blue); background: #edf4ff; }
.culture-plan-stop.selected-event::before { border-color: var(--app-blue); background: var(--app-blue); }
.culture-plan-stop small, .culture-plan-stop b, .culture-plan-stop span { display: block; }
.culture-plan-stop small { color: var(--app-muted); font-size: 9px; }
.culture-plan-stop b { margin: 3px 0; font-size: 13px; }
.culture-plan-stop span { color: var(--app-muted); font-size: 9px; }
.culture-save-plan { width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 8px; color: #fff; background: #263746; font-size: 12px; font-weight: 700; }
.toast { border: 0; border-radius: 8px; }

@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .site-header { height: 58px; padding: 0 18px; }
  .site-header nav { position: fixed; z-index: 90; inset: auto 0 0; height: 66px; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; padding: 7px 8px 6px; border-top: 1px solid var(--app-line); background: rgba(255,255,255,.98); transform: none; }
  .site-header nav a { display: grid; place-items: center; padding: 7px 4px; border-radius: 8px; font-size: 11px; }
  .profile-button { display: none; }
  .dart-section { padding: 82px 16px 30px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p:last-of-type { font-size: 13px; }
  .filters { grid-template-columns: 1fr; }
  .filters fieldset { border-right: 0; border-bottom: 1px solid var(--app-line); }
  .filters fieldset:last-of-type { border-bottom: 0; }
  .dart-stage { min-height: 500px; }
  .dartboard.mapboard { width: min(100%,430px); margin-top: 6px; border-radius: 15px; }
  .map-source { display: none; }
  .result-section { align-items: end; padding: 0; }
  .result-card { width: 100%; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .result-card h2 { font-size: 34px; }
  .detail-section, .explore-section, .passport-section { padding: 84px 18px 86px; }
  .detail-intro, .explore-header, .passport-section { grid-template-columns: 1fr; }
  .guide-grid, .city-grid { grid-template-columns: 1fr; }
  .guide-card, .city-card:nth-child(n) { min-height: 190px; border: 1px solid var(--app-line); }
}

@media (max-width: 390px) {
  .brand { font-size: 19px; }
  .dart-stage { min-height: 455px; }
  .mapboard-label { top: 14px; left: 15px; }
  .throw-map { top: 37px; height: calc(100% - 100px); }
  .mapboard-action { left: 12px; right: 12px; bottom: 11px; padding: 12px; }
  .result-actions { grid-template-columns: 1fr; }
}

@keyframes regionShapeIn {
  from { opacity: 0; transform: translate(-50%,-50%) scale(.78); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* Reference-led home: one canvas, one map, one action. */
.site-header { border-bottom: 0; background: #ffe600; backdrop-filter: none; }
.site-header nav a { color: #3f4548; background: transparent; }
.site-header nav a.active { color: #17212b; background: transparent; }
.site-header nav a.active::after { content: ''; display: block !important; width: 22px; height: 2px; margin: 6px auto -8px; background: #17212b; }
.profile-button { border-color: #17212b; color: #17212b; background: transparent; }

.dart-section { position: relative; min-height: 100svh; padding: 78px 0 0; overflow: hidden; background: #ffe600; }
.section-heading { position: absolute; z-index: 10; top: 88px; left: 50%; width: min(90vw,620px); transform: translateX(-50%); text-align: center; pointer-events: none; }
.section-heading .section-kicker { margin-bottom: 8px; color: #26313a; font: 700 11px var(--app-latin); letter-spacing: 1.4px; }
.section-heading h2 { color: #17212b; font-size: clamp(42px,5.4vw,72px); line-height: .98; letter-spacing: -4px; }
.dart-layout { width: 100%; max-width: none; margin: 0; }
.dart-stage { min-height: calc(100svh - 78px); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.dartboard.mapboard { width: min(720px,82vw); max-width: none; aspect-ratio: 1; margin: 150px 0 -125px; flex: 0 0 auto; overflow: visible; border: 0; border-radius: 50%; background: #087cf0; box-shadow: none; }
.dartboard.mapboard:hover { border: 0; transform: translateY(-3px); box-shadow: none; }
.mapboard-label { top: 73px; left: 50%; color: #fff; font-size: 12px; font-weight: 600; transform: translateX(-50%); }
.throw-map { top: 102px; width: 60%; height: 59%; }
.mapboard-action { left: 50%; right: auto; bottom: 142px; width: 170px; padding: 14px 18px; border-radius: 0; color: #17212b; background: #ffe600; transform: translateX(-50%); }
.mapboard-action b { margin-left: 12px; color: #17212b; }
.map-source { top: auto; right: auto; bottom: 115px; left: 50%; color: rgba(255,255,255,.72); transform: translateX(-50%); }
.dart-flying { width: 110px; height: 22px; }
.dart-flying i { width: 80px; height: 6px; background: #ef4937; }
.hit-marker { width: 22px; height: 22px; border-width: 4px; border-color: #ef4937; }

@media (max-width: 720px) {
  .site-header { background: #ffe600; }
  .site-header nav { border-top: 1px solid #e3e7ea; background: rgba(255,255,255,.98); }
  .site-header nav a.active { color: var(--app-blue); background: var(--app-blue-soft); }
  .site-header nav a.active::after { display: none !important; }
  .dart-section { padding-top: 58px; padding-bottom: 0; }
  .section-heading { top: 81px; }
  .section-heading .section-kicker { font-size: 10px; }
  .section-heading h2 { font-size: 45px; letter-spacing: -3px; }
  .dart-stage { min-height: calc(100svh - 124px); }
  .dartboard.mapboard { width: min(620px,116vw); margin: 154px 0 -112px; border-radius: 50%; }
  .mapboard-label { top: 13%; }
  .throw-map { top: 19%; width: 60%; height: 55%; }
  .mapboard-action { bottom: 19%; width: 158px; padding: 13px 15px; }
  .map-source { display: none; }
}

@media (max-width: 390px) {
  .section-heading { top: 76px; }
  .section-heading h2 { font-size: 40px; }
  .dartboard.mapboard { width: 122vw; margin-top: 145px; margin-bottom: -105px; }
  .mapboard-label { top: 12%; }
  .throw-map { top: 18%; height: 56%; }
  .mapboard-action { bottom: 18%; }
}

@keyframes mapDartThrow {
  0% { opacity: 0; transform: translate(240px,-210px) rotate(149deg) scale(1.4); }
  12% { opacity: 1; }
  76%,100% { opacity: 1; transform: translate(-110px,-9px) rotate(149deg) scale(.88); }
}

@keyframes mapTargetHit {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.3); }
  35% { opacity: 1; transform: translate(-50%,-50%) scale(2.3); }
  100% { opacity: .9; transform: translate(-50%,-50%) scale(1); }
}

@keyframes mapBoardHit {
  50% { transform: translateY(-4px) scale(1.005); }
}

/* The map is the hero; the result keeps geographic context instead of opening a modal. */
.dartboard.mapboard { width: min(860px,90vw); margin-top: 132px; margin-bottom: -190px; }
.mapboard-label { top: 7%; }
.throw-map { top: 10%; width: 74%; height: auto; }
.mapboard-action { bottom: 205px; }
.map-source { bottom: 178px; }

.result-section { --region-x: 50%; --region-y: 50%; position: relative; inset: auto; min-height: 100svh; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); gap: clamp(28px,5vw,80px); place-items: center; padding: 88px clamp(24px,7vw,110px); color: var(--app-text); background: #087cf0; backdrop-filter: none; }
.result-map-panel { position: relative; width: 100%; height: min(720px,78vh); overflow: hidden; }
.result-map-canvas { position: absolute; left: 50%; top: 50%; width: min(660px,88%); aspect-ratio: 800/759; transform: translate(-50%,-50%); transform-origin: var(--region-x) var(--region-y); animation: regionMapFocus 1.15s cubic-bezier(.2,.75,.25,1) both; }
.result-map-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; }
.result-map-pin { position: absolute; left: var(--region-x); top: var(--region-y); width: 18px; height: 18px; border: 5px solid #ef4937; border-radius: 50%; background: #ffe600; transform: translate(-50%,-50%); animation: resultPinPulse 1.5s .8s ease-out infinite; }
.result-map-caption { position: absolute; left: 50%; bottom: 22px; z-index: 4; width: max-content; margin: 0; padding: 10px 14px; color: #17212b; background: #ffe600; font-size: 13px; font-weight: 700; transform: translateX(-50%); }
.result-map-caption span { color: #d73f35; }
.result-section .result-card { position: relative; width: min(100%,470px); max-width: none; padding: 34px; border-radius: 0; color: var(--app-text); background: #fff; box-shadow: none; }
.result-section .close-result { top: 18px; right: 18px; color: #65717b; }
.result-section .result-card .section-kicker { color: #66727e; }
.result-section .result-overline { color: #2868d8; }
.result-section .result-card h2 { color: var(--app-text); }
.result-section .result-summary { color: #5f6b76; }
.result-section .result-tags span { color: #4169a8; background: #edf4ff; }
.result-section .result-actions .button-primary { color: #fff; background: #2868d8; }
.result-section .result-actions .button-ghost { color: #56616c; border-color: #dce2e7; background: #fff; }

@keyframes regionMapFocus {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.72); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1.32); }
}

@keyframes resultPinPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,230,0,.7); }
  70%,100% { box-shadow: 0 0 0 18px rgba(255,230,0,0); }
}

@media (max-width: 720px) {
  .dartboard.mapboard { width: 136vw; margin-top: 142px; margin-bottom: -145px; }
  .mapboard-label { top: 11%; }
  .throw-map { top: 10%; width: 74%; height: auto; }
  .mapboard-action { bottom: 17%; }
  .result-section { min-height: 100svh; display: block; padding: 58px 0 66px; background: #087cf0; }
  .result-map-panel { height: 54vh; min-height: 380px; }
  .result-map-canvas { width: min(640px,112vw); }
  .result-map-caption { bottom: 15px; }
  .result-section .result-card { width: calc(100% - 24px); margin: 0 auto; padding: 28px 20px; border-radius: 14px; }
  .result-section .result-card h2 { font-size: 34px; }
}

@media (max-width: 390px) {
  .dartboard.mapboard { width: 145vw; margin-top: 138px; margin-bottom: -135px; }
  .mapboard-action { bottom: 16%; }
  .result-map-panel { height: 50vh; min-height: 340px; }
}

/* Final map geometry: visible province borders and an isolated result outline. */
.dartboard.mapboard { width: min(700px,90vw); margin: 132px 0 0; }
.throw-map { top: 5%; width: 82%; height: auto; }
.mapboard-action { bottom: 6%; }
.map-source { bottom: 3%; }
.hit-marker, .result-map-pin { display: none; }
.result-map-canvas {
  width: min(680px,85%);
  height: 68%;
  aspect-ratio: auto;
  transform-origin: center;
  animation: regionShapeIn .8s cubic-bezier(.2,.75,.25,1) both;
}
.result-map-canvas img { width: 100%; height: 100%; object-fit: contain; }
.dart-flying {
  left: calc(var(--hit-x) - 118px);
  top: calc(var(--hit-y) - 11px);
  width: 118px;
  transform-origin: right center;
}
.dart-flying i { right: 8px; }
.dart-flying b {
  left: 1px;
  top: 2px;
  width: 28px;
  height: 18px;
  border: 0;
  background: #ef4937;
  clip-path: polygon(0 0,100% 28%,100% 72%,0 100%,22% 50%);
}

@keyframes mapDartThrow {
  0% { opacity: 0; transform: translate(350px,-210px) rotate(149deg) scale(1.4); }
  12% { opacity: 1; }
  76%,100% { opacity: 1; transform: translate(0,0) rotate(149deg) scale(.88); }
}

@media (max-width: 720px) {
  .dartboard.mapboard { width: 136vw; margin: 142px 0 0; }
  .throw-map { top: 5%; width: 82%; }
  .mapboard-action { bottom: 6%; }
  .map-source { bottom: 3%; }
  .result-map-canvas { width: 90%; height: 70%; }
}

@media (max-width: 390px) {
  .dartboard.mapboard { margin-bottom: 0; }
  .mapboard-action { bottom: 6%; }
}

/* Keep the hero layers separate: headline, board label, city map, then action. */
html, body { overflow-x: hidden; }
.section-heading { top: 96px; }
.section-heading h2 { font-size: clamp(42px,4.8vw,60px); line-height: 1; }
.dart-stage { align-items: flex-start; min-height: 900px; }
.dartboard.mapboard { width: min(1080px,96vw); margin: 220px 0 28px; overflow: hidden; }
.mapboard-label { top: 4%; z-index: 6; }
.throw-map { top: 4%; width: 90%; }
.throw-map-hit { position: absolute; z-index: 5; top: 4%; left: 50%; width: 90%; height: auto; opacity: 0; transform: translateX(-50%); pointer-events: none; }
.dartboard.show-region-hit .throw-map-hit { animation: selectedRegionHit 1.9s ease both; }
.mapboard-action { bottom: 4%; z-index: 9; }
.map-source { bottom: 3.2%; }

@media (max-width: 720px) {
  .dart-section { overflow: visible; }
  .section-heading { top: 82px; }
  .section-heading h2 { font-size: clamp(36px,11vw,45px); letter-spacing: -3px; }
  .dart-stage { min-height: 680px; overflow: visible; }
  .dartboard.mapboard { width: min(104vw,540px); margin: 175px 0 86px; }
  .mapboard-label { top: 4%; }
  .throw-map { top: 5%; width: 85%; }
  .throw-map-hit { top: 5%; width: 85%; }
  .mapboard-action { bottom: 2%; }
}

@keyframes selectedRegionHit {
  0%,55% { opacity: 0; }
  68%,100% { opacity: .86; }
}

@media (max-width: 390px) {
  .dart-stage { min-height: 620px; }
  .dartboard.mapboard { width: 104vw; margin-top: 170px; }
}

.guide-card.tour-place { padding: 0; display: flex; flex-direction: column; background: #fff; }
.tour-thumb { width: 100%; height: 145px; display: block; object-fit: cover; background: #e7e1d5; }
.tour-place-copy { padding: 18px 20px 20px; }
.guide-card.tour-place .guide-no { position: static; }
.guide-card.tour-place h3 { margin: 12px 0 8px; font-size: 20px; }
.guide-card.tour-place p { min-height: 36px; }

.trip-planner { margin-top: 18px; padding: clamp(22px,3vw,34px); border: 1px solid var(--app-line); border-radius: 14px; background: #fff; }
.planner-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.planner-head h3 { margin: 0; font: 700 clamp(23px,3vw,32px)/1.35 var(--app-font); letter-spacing: -1.4px; }
.planner-duration { display: flex; gap: 6px; padding: 4px; border-radius: 9px; background: #eef2f5; }
.planner-duration button { padding: 9px 12px; border: 0; border-radius: 7px; color: #69747e; background: transparent; font-size: 12px; }
.planner-duration button.selected { color: #fff; background: var(--app-blue); }
.planner-summary { margin: 18px 0 22px; color: var(--app-muted); font-size: 13px; line-height: 1.7; }
.itinerary-grid { display: grid; gap: 12px; }
.itinerary-day { overflow: hidden; border: 1px solid var(--app-line); border-radius: 11px; }
.itinerary-day > header { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: #f4f7f9; }
.itinerary-day > header span { color: var(--app-blue); font: 700 11px var(--app-latin); }
.itinerary-day > header strong { font-size: 14px; }
.itinerary-stops { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.itinerary-stop { min-width: 0; padding: 16px; border-right: 1px solid var(--app-line); }
.itinerary-stop:last-child { border-right: 0; }
.itinerary-stop img { width: 100%; height: 82px; margin-bottom: 12px; border-radius: 7px; object-fit: cover; background: #e7e1d5; }
.stop-dot { display: block; width: 9px; height: 9px; margin: 4px 0 18px; border-radius: 50%; background: var(--app-blue); }
.itinerary-stop small { display: block; margin-bottom: 7px; color: var(--app-blue); font-size: 10px; font-weight: 700; }
.itinerary-stop strong { display: block; overflow: hidden; font-size: 14px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.itinerary-stop p { margin: 7px 0 0; color: var(--app-muted); font-size: 10px; line-height: 1.55; }

@media (max-width: 720px) {
  .benefit-detail { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .benefit-detail span { grid-column: 1 / -1; }
  .culture-dialog { overflow-y: auto; }
  .culture-detail-layout { display: block; height: auto; min-height: 0; }
  .culture-detail-image { height: 210px; min-height: 0; }
  .culture-detail-copy { padding: 28px 22px 30px; overflow: visible; }
  .culture-detail-copy h2 { padding-right: 30px; }
  .culture-plan-head { display: block; }
  .culture-plan-duration { width: max-content; margin-bottom: 14px; }
}

@media (max-width: 720px) {
  .planner-head { align-items: stretch; flex-direction: column; }
  .planner-duration { align-self: stretch; }
  .planner-duration button { flex: 1; }
  .itinerary-stops { grid-template-columns: 1fr; }
  .itinerary-stop { display: grid; grid-template-columns: 84px 1fr; gap: 12px; border-right: 0; border-bottom: 1px solid var(--app-line); }
  .itinerary-stop:last-child { border-bottom: 0; }
  .itinerary-stop img { width: 84px; height: 74px; margin: 0; grid-row: 1 / span 3; }
}

/* Keep the map artwork, title, action, and source in separate visual rows. */
.dart-stage { min-height: 980px; overflow: visible; }
.mapboard-shell { width: min(1080px,96vw); margin: 220px 0 40px; display: grid; justify-items: center; }
.mapboard-shell .dartboard.mapboard { width: 100%; margin: 0; overflow: visible; }
.mapboard-shell .mapboard-label { top: 5%; z-index: 7; }
.mapboard-shell .throw-map, .mapboard-shell .throw-map-hit { top: 50%; left: 50%; width: 82%; height: 78%; object-fit: contain; transform: translate(-50%,-50%); }
.dart-impact { position: absolute; z-index: 7; left: var(--hit-x); top: var(--hit-y); width: 13px; height: 13px; border: 3px solid #17212b; border-radius: 50%; background: #ffe600; opacity: 0; transform: translate(-50%,-50%) scale(.4); pointer-events: none; }
.dartboard.throwing .dart-impact { animation: dartImpactIn .42s .92s ease-out forwards; }
.dartboard.dart-landed .dart-flying { opacity: 1; transform: translate(0,0) rotate(149deg) scale(.88); }
.dartboard.throwing .dart-flying { animation-duration: 1.15s; }
.mapboard-controls { display: grid; justify-items: center; gap: 9px; margin-top: 18px; }
.mapboard-shell .mapboard-action { position: static; width: 176px; padding: 14px 18px; border: 0; border-radius: 0; color: #17212b; background: #ffe600; font-weight: 700; transform: none; }
.mapboard-shell .map-source { position: static; display: block; color: #68737d; font-size: 9px; line-height: 1.4; transform: none; }
.mapboard-shell .dart-flying { left: calc(var(--preview-x,50%) - 118px); top: calc(var(--preview-y,50%) - 11px); transition: opacity .16s ease, transform .16s ease; }
.mapboard-shell .dartboard:not(.throwing):hover .dart-flying { opacity: .88; transform: rotate(149deg) scale(.76); }
.mapboard-shell .dartboard.throwing .dart-flying { left: calc(var(--hit-x) - 118px); top: calc(var(--hit-y) - 11px); transition: none; }
.dart-screen-hint { margin: 18px 0 0; color: #4f5b66; font-size: 12px; font-weight: 600; text-align: center; }
.dart-screen-hint span { margin-right: 7px; color: #2868d8; font: 700 10px var(--app-latin); letter-spacing: .8px; }

@media (max-width: 720px) {
  .dart-stage { min-height: 760px; }
  .mapboard-shell { width: min(104vw,540px); margin: 175px 0 58px; }
  .mapboard-shell .mapboard-label { top: 5%; }
  .mapboard-shell .throw-map, .mapboard-shell .throw-map-hit { top: 50%; width: 84%; height: 78%; }
  .mapboard-controls { margin-top: 14px; }
  .mapboard-shell .map-source { display: block; max-width: 90vw; text-align: center; }
  .dart-screen-hint { max-width: 88vw; margin-top: 15px; font-size: 11px; }
}

@media (max-width: 390px) {
  .dart-stage { min-height: 710px; }
  .mapboard-shell { margin-top: 170px; }
}

@keyframes dartImpactIn {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(2.6); }
  55% { opacity: 1; transform: translate(-50%,-50%) scale(.72); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* Mobile app flow: open, see the map, and throw with one thumb. */
@media (max-width: 720px) {
  html { overscroll-behavior-y: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .site-header { height: calc(58px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .site-header nav { height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  .dart-section { min-height: 100dvh; padding-top: calc(58px + env(safe-area-inset-top)); overflow: hidden; touch-action: manipulation; }
  .section-heading { top: calc(74px + env(safe-area-inset-top)); }
  .section-heading .section-kicker { margin-bottom: 6px; }
  .section-heading h2 { font-size: clamp(35px,10.5vw,43px); line-height: 1.02; }
  .dart-stage { min-height: calc(100dvh - 58px - env(safe-area-inset-top)); }
  .mapboard-shell { width: min(94vw,calc(100dvh - 330px),470px); min-width: 300px; margin: 148px 0 28px; }
  .mapboard-shell .dartboard.mapboard { width: 100%; }
  .mapboard-controls { width: min(100%,380px); margin-top: 12px; gap: 7px; }
  .mapboard-shell .mapboard-action { width: 100%; min-height: 56px; border-radius: 14px; font-size: 15px; box-shadow: 0 9px 0 rgba(23,33,43,.16); -webkit-tap-highlight-color: transparent; }
  .mapboard-shell .mapboard-action:active { box-shadow: 0 3px 0 rgba(23,33,43,.16); transform: translateY(6px); }
  .mapboard-shell .mapboard-action:disabled { color: #53606b; background: #f4dd1b; box-shadow: none; transform: translateY(4px); }
  .mapboard-shell .map-source { font-size: 8px; }
  .dart-screen-hint { margin-top: 12px; }
  .result-section { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .result-section .result-card { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .result-actions .button-primary, .result-actions .button-ghost { min-height: 48px; }
}

@media (max-width: 390px), (max-height: 720px) and (max-width: 720px) {
  .section-heading { top: calc(68px + env(safe-area-inset-top)); }
  .section-heading h2 { font-size: 34px; }
  .mapboard-shell { width: min(86vw,330px); min-width: 280px; margin-top: 130px; }
  .mapboard-shell .mapboard-action { min-height: 52px; }
  .dart-screen-hint { margin-top: 9px; }
}

.travel-map-section { margin-top: 18px; padding: clamp(22px,3vw,34px); border: 1px solid var(--app-line); border-radius: 14px; background: #fff; }
.travel-map-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.travel-map-head h3 { margin: 0; font: 700 clamp(23px,3vw,32px)/1.35 var(--app-font); letter-spacing: -1.4px; }
.travel-map-head > strong { color: var(--app-blue); font-size: 12px; white-space: nowrap; }
.travel-map-filters { display: flex; gap: 6px; margin: 20px 0 12px; overflow-x: auto; scrollbar-width: none; }
.travel-map-filters::-webkit-scrollbar { display: none; }
.travel-map-filters button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--app-line); border-radius: 18px; color: var(--app-muted); background: #fff; font-size: 11px; font-weight: 700; }
.travel-map-filters button.selected { border-color: #17212b; color: #fff; background: #17212b; }
.travel-map { position: relative; z-index: 1; width: 100%; height: 560px; overflow: hidden; border-radius: 12px; background: #e8edf0; }
.travel-map > p { display: grid; height: 100%; place-items: center; color: var(--app-muted); font-size: 13px; }
.poi-marker-wrap { background: transparent; border: 0; }
.poi-marker { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #17212b; border-radius: 50% 50% 50% 4px; color: #fff; background: var(--poi-color); box-shadow: 0 3px 8px rgba(17,28,38,.3); font: 800 10px var(--app-latin); transform: rotate(-45deg); }
.poi-marker b { font: inherit; transform: rotate(45deg); }
.poi-marker-wrap .poi-marker { line-height: 1; }
.poi-marker-wrap .poi-marker { text-indent: 0; }
.poi-popup { min-width: 170px; font-family: var(--app-font); }
.poi-popup small, .poi-popup strong, .poi-popup span { display: block; }
.poi-popup small { color: var(--app-blue); font-size: 10px; font-weight: 700; }
.poi-popup strong { margin: 5px 0; font-size: 14px; }
.poi-popup span { color: var(--app-muted); font-size: 10px; line-height: 1.5; }
.poi-popup a { display: inline-block; margin-top: 9px; color: var(--app-blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.travel-map-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.travel-map-list button { min-width: 0; display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 2px 8px; padding: 11px; border: 1px solid var(--app-line); border-radius: 9px; color: inherit; background: #fff; text-align: left; }
.travel-map-list button > span { grid-row: 1 / span 3; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--poi-color); font: 800 9px var(--app-latin); }
.travel-map-list small { color: var(--app-blue); font-size: 9px; }
.travel-map-list strong, .travel-map-list em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.travel-map-list strong { font-size: 12px; }
.travel-map-list em { color: var(--app-muted); font-size: 9px; font-style: normal; }

@media (max-width: 720px) {
  .travel-map-section { margin-inline: -6px; padding: 20px 14px; }
  .travel-map-head { align-items: start; }
  .travel-map-head h3 { font-size: 23px; }
  .travel-map { height: 440px; border-radius: 10px; }
  .travel-map-list { display: flex; margin-right: -14px; padding-right: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .travel-map-list::-webkit-scrollbar { display: none; }
  .travel-map-list button { flex: 0 0 230px; scroll-snap-align: start; }
}

/* DARTRIP outline board: no roads or buildings, only the selected region and POIs. */
.travel-map { height: 620px; display: flex; align-items: center; justify-content: center; padding: clamp(24px,4vw,48px); background: #087cf0; }
.outline-map-canvas { position: relative; max-width: 100%; max-height: 100%; }
.outline-map-canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(8px 12px 0 rgba(23,33,43,.13)); }
.outline-map-canvas > svg path { fill: #fffdf1; stroke: #17212b; stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.outline-map-name { position: absolute; right: 8px; bottom: 6px; margin: 0; padding: 7px 10px; color: #17212b; background: #ffe600; font-size: 11px; font-weight: 800; }
.outline-poi-marker { position: absolute; z-index: 4; width: 30px; height: 30px; padding: 0; border: 0; color: #fff; background: transparent; transform: translate(-50%,-100%); overflow: visible; }
.outline-poi-marker > span { position: relative; width: 30px; height: 26px; display: grid; place-items: center; border: 2px solid #17212b; border-radius: 5px; color: #fff; background: var(--poi-color); box-shadow: 3px 4px 0 rgba(23,33,43,.2); font: 800 10px var(--app-latin); }
.outline-poi-marker > span::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 9px; height: 9px; border-right: 2px solid #17212b; border-bottom: 2px solid #17212b; background: var(--poi-color); transform: translateX(-50%) rotate(45deg); }
.outline-poi-marker > em { position: absolute; left: 50%; bottom: 39px; min-width: 132px; max-width: 190px; padding: 8px 10px; border: 2px solid #17212b; border-radius: 6px; color: #17212b; background: #fff; box-shadow: 5px 6px 0 rgba(23,33,43,.18); font-style: normal; text-align: left; opacity: 0; transform: translate(-50%,7px); transition: opacity .15s, transform .15s; pointer-events: none; }
.outline-poi-marker > em::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; border-right: 2px solid #17212b; border-bottom: 2px solid #17212b; background: #fff; transform: translateX(-50%) rotate(45deg); }
.outline-poi-marker > em small, .outline-poi-marker > em b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.outline-poi-marker > em small { color: var(--poi-color); font-size: 9px; font-weight: 800; }
.outline-poi-marker > em b { margin-top: 3px; font-size: 11px; }
.outline-poi-marker:hover, .outline-poi-marker:focus, .outline-poi-marker.selected { z-index: 20; outline: none; }
.outline-poi-marker:hover > em, .outline-poi-marker:focus > em, .outline-poi-marker.selected > em { opacity: 1; transform: translate(-50%,0); }
.outline-poi-marker:hover > span, .outline-poi-marker:focus > span, .outline-poi-marker.selected > span { color: #17212b; background: #ffe600; transform: translateY(-3px); }
.outline-poi-marker:hover > span::after, .outline-poi-marker:focus > span::after, .outline-poi-marker.selected > span::after { background: #ffe600; }
.travel-map-list button.selected { border-color: #17212b; background: #fff9d6; }

@media (max-width: 720px) {
  .travel-map { height: 500px; padding: 24px 16px; }
  .outline-poi-marker { width: 27px; height: 27px; }
  .outline-poi-marker > span { width: 27px; height: 24px; font-size: 9px; }
  .outline-poi-marker > em { min-width: 118px; max-width: 150px; bottom: 36px; padding: 7px 8px; }
  .outline-map-name { right: 4px; bottom: 3px; }
}
