/* Local redesign: warm travel journal, with the original illustrated Busan map. */
:root {
  --ink: #263a35;
  --paper: #fffefb;
  --cream: #f4f3ed;
  --orange: #ed8052;
  --orange-deep: #b84d2a;
  --muted: #727a73;
  --line: #e4e6de;
  --green: #365b48;
  --shadow: 0 7px 24px #24352a0b;
  --shadow-sm: 0 2px 8px #24352a08;
  --radius: 20px;
}
body { background: #f7f6f1; font-family: 'Huninn', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; }
/* Clusters keep the real positions intact; labels appear only when they fit. */
.gukbap-cluster { background: none; border: 0; }
.cluster-disc { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border: 4px solid #fffefb; border-radius: 50%; background: #365b48; color: #fffefb; box-shadow: 0 0 0 1px #365b482e, 0 4px 12px #263a352b; line-height: 1; transition: background .15s; }
.cluster-disc b { font: 700 19px/1.1 'Noto Sans KR', sans-serif; }
.cluster-disc small { font-size: 9px; margin-top: 3px; letter-spacing: .05em; }
.gukbap-cluster:hover .cluster-disc { background: #244a37; }
.gukbap-cluster:focus-visible, .bowl-marker:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 50%; }
#map .bowl-label { display: block; visibility: hidden; max-width: 160px; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
#map .bowl-marker.has-map-label .bowl-label,
#map .bowl-marker:hover .bowl-label,
#map .bowl-marker:focus-visible .bowl-label { visibility: visible; }
#map .bowl-marker:focus-visible, #map .bowl-marker:hover { z-index: 2000001 !important; }
#map .bowl-marker.is-selected { z-index: 2000000 !important; }
#map .is-selected .bowl-label { max-width: 200px; }
#map .bowl-marker .steam-only { display: none; }
#map.is-mid .bowl-marker .mk { transform: scale(.88); }
#map.is-far .bowl-marker .mk { transform: scale(.76); }
#map.is-far .bowl-marker .bowl, #map.is-far .bowl-marker .photo-bowl { transform: none; }
#map.is-mid .marker-badges { display: none; }
.hero figcaption a { color: inherit; text-underline-offset: 3px; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #dc784b; outline-offset: 4px; }
button[hidden], [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 9999; background: var(--green); color: white; padding: 14px 20px; border-radius: 12px; }
.skip-link:focus { top: 12px; }
.topbar { inset: 0 0 auto; height: 88px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #f7f6f1; padding: 0 30px; box-shadow: none; gap: 28px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand-bowl { width: 48px; height: 48px; padding: 4px; border: 1px solid #e7d8c4; background: #f3e9d9; border-radius: 16px; transform: rotate(-5deg); }
.brand h1 { font-size: 23px; letter-spacing: .06em; line-height: 1.4; }
.brand p { font-family: 'Huninn', sans-serif; font-size: 10px; letter-spacing: .05em; color: #7d857c; margin-top: 2px; }
.brand-dot { margin: 0 5px; color: var(--orange-deep); }
.header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; height: 100%; }
.header-link { display: flex; position: relative; align-items: center; justify-content: center; gap: 7px; padding: 12px 0; min-height: 44px; background: none; border: 0; color: #69766d; font-size: 14px; }
.header-link .ico { width: 18px; height: 18px; }
.header-link.is-active { color: var(--green); }
.header-link.is-active::after { content: ''; position: absolute; bottom: -10px; width: 20px; height: 3px; background: var(--green); border-radius: 8px; }
.saved-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; background: #e8ebe2; font-size: 11px; border-radius: 6px; }
.topbar .btn-pill { display: flex; align-items: center; gap: 8px; background: var(--green); color: #fffef7; padding: 11px 17px; border: 1px solid var(--green); border-radius: 12px; box-shadow: none; min-height: 44px; }
.header-arrow { margin-left: 9px; font-size: 21px; line-height: 1; }
.ico { flex-shrink: 0; }
.explorer { position: fixed; left: 22px; top: 109px; bottom: 20px; width: 390px; display: flex; flex-direction: column; z-index: 950; }
.explorer-intro { position: relative; padding: 8px 9px 20px; }
.eyebrow { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.eyebrow > span { width: 6px; height: 6px; background: var(--orange); border-radius: 100%; }
.explorer-intro h2 { margin: 12px 0 11px; font-size: 34px; font-weight: 400; line-height: 1.3; letter-spacing: .06em; }
.explorer-intro h2 > span { color: var(--orange-deep); }
.intro-note { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.intro-stamp { position: absolute; top: 49px; right: 21px; width: 91px; height: 91px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #96794e; border: 1px dashed #bea987; outline: 1px solid #d8cbb4; outline-offset: 5px; border-radius: 50%; font-family: 'Noto Sans KR', sans-serif; font-size: 24px; line-height: 1.2; transform: rotate(11deg); }
.intro-stamp b { font-weight: 500; font-size: 12px; margin-top: 2px; }
.intro-stamp i { font: normal 7px 'Huninn', sans-serif; letter-spacing: .04em; margin-top: 9px; }
.explorer-controls { padding: 0 2px; }
.search-box { display: flex; align-items: center; gap: 11px; height: 48px; background: var(--paper); border: 1px solid #dce0d6; border-radius: 12px; padding: 0 13px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #365b4810; }
.search-box > .ico { width: 19px; color: #6a7a6e; }
.search-box input { min-width: 0; width: 100%; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 13px; outline: none; }
.search-box input::placeholder { color: #92978d; }
.search-box input:focus-visible { outline: 0; }
.search-box kbd { font-size: 12px; border: 1px solid var(--line); color: #879081; padding: 1px 6px; border-radius: 4px; }
.area-heading { display: flex; align-items: center; justify-content: space-between; padding: 10px 1px 2px; font-size: 11px; color: #7a8177; }
.area-heading button { border: 0; background: none; color: #7a8177; font-size: 11px; min-height: 32px; padding: 0 3px 0 15px; }
.filters { position: static; display: flex; flex-wrap: wrap; overflow: visible; gap: 7px; padding: 3px 0 12px; z-index: auto; }
.chip { min-height: 31px; border: 1px solid #e0e3d9; box-shadow: none; padding: 5px 11px; font-size: 12px; background: transparent; border-radius: 8px; color: #6b746b; transition: background .16s, border-color .16s; }
.chip.is-active { border-color: var(--green); background: var(--green); color: white; }
.chip:hover:not(.is-active) { background: #eaece3; border-color: #c8d0be; }
.quick-filters { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); padding: 0 0 15px; }
.quick-filters button { display: flex; gap: 5px; align-items: center; min-height: 33px; border: 1px solid #e0e3d9; border-radius: 7px; background: #fffefb; padding: 5px 9px; font-size: 11px; color: #677466; }
.quick-filters button[aria-pressed='true'] { border-color: var(--green); color: var(--green); background: #e5ebde; }
.quick-filters .ico { width: 13px; height: 13px; }
.status-dot, .footer-dot { width: 5px; height: 5px; border-radius: 50%; background: #688657; display: inline-block; flex-shrink: 0; }
.filter-caption { font-size: 10px; color: #82887e; margin-left: auto; }
.results-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px 12px; }
.results-heading h3 { font-size: 14px; font-weight: 400; margin: 0; }
.results-heading h3 span { margin-left: 5px; color: #93998b; font: 12px sans-serif; }
.results-heading select { max-width: 110px; background: transparent; border: 0; padding: 7px 1px; font-size: 11px; color: #74816d; cursor: pointer; }
.explore-results { flex: 1; overflow-y: auto; min-height: 0; padding: 2px 4px 4px 2px; scrollbar-width: thin; scrollbar-color: #d5dbc9 transparent; overscroll-behavior: contain; }
.place-card { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 13px; padding: 12px; background: var(--paper); border: 1px solid #e4e7dc; border-radius: 14px; margin-bottom: 10px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.place-card:hover { border-color: #b8c5a7; box-shadow: 0 5px 18px #33482c08; transform: translateY(-1px); }
.place-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.card-photo { width: 92px; height: 103px; border-radius: 9px; overflow: hidden; background: #eee9dc; position: relative; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.place-card:hover .card-photo img { transform: scale(1.04); }
.card-photo--illustration { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #edeadf; color: #958974; }
.card-photo--illustration .bowl { width: 57px; height: 57px; opacity: .85; }
.card-photo--illustration small { font-size: 8px; letter-spacing: .1em; }
.card-body { min-width: 0; padding: 2px 0; }
.card-topline { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #7e8a72; margin: 0 23px 5px 0; min-height: 14px; }
.card-topline .area-dot { color: #c2c8bb; }
.place-card h4 { margin: 0 0 4px; font-size: 15px; font-weight: 400; line-height: 1.3; letter-spacing: .01em; }
.card-open { display: block; background: none; border: 0; padding: 0; text-align: left; line-height: inherit; color: inherit; }
.card-open::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.card-open:focus-visible { outline: none; }
.place-card:has(.card-open:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.card-ko { font-size: 10px; color: #959b90; margin: 0 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.card-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.card-status { color: #668152; font-size: 10px; }
.card-status.closed { color: #958472; }
.card-status.unknown { color: #858c80; }
.card-price { font-size: 12px; color: #515e4d; margin-left: auto; }
.card-price small { font-size: 9px; color: #929987; margin-left: 2px; }
.card-save { position: absolute; top: 11px; right: 8px; display: grid; place-items: center; width: 31px; height: 31px; background: transparent; border: 0; border-radius: 8px; color: #9ea692; z-index: 2; }
.card-save .ico { width: 16px; height: 16px; }
.card-save:hover { background: #edf1e4; }
.card-save[aria-pressed='true'] { color: var(--green); background: #edf1e4; }
.card-save[aria-pressed='true'] svg { fill: #d1dfbd; }
.card-badge { position: absolute; left: 6px; bottom: 6px; font-size: 8px; padding: 3px 5px; border: 1px solid #ffffff90; border-radius: 5px; background: #fffefaed; color: #805e45; }
.results-loading, .empty-state { padding: 38px 24px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; }
.empty-state > svg { width: 35px; height: 35px; margin-bottom: 12px; opacity: .55; }
.empty-state h4 { font-weight: 400; font-size: 18px; color: var(--ink); margin: 0 0 7px; }
.empty-state p { margin: 0 0 15px; }
.empty-state button { border: 1px solid var(--green); color: white; background: var(--green); border-radius: 9px; min-height: 42px; padding: 8px 16px; }
.explorer-footer { display: flex; align-items: center; justify-content: space-between; min-height: 39px; border-top: 1px solid var(--line); padding: 9px 3px 0; color: #929885; font-size: 10px; }
.explorer-footer .footer-dot { margin-right: 4px; }
.footer-actions { display: flex; align-items: center; gap: 10px; }
.explorer-footer button { color: #79866b; border: 0; background: transparent; font-size: 10px; min-height: 28px; }
#map { --map-control-side: 16px; --map-control-bottom: 32px; --map-control-gap: 12px; top: 109px; left: 434px; right: 22px; bottom: 22px; border: 1px solid #cdd7c3; border-radius: 23px; background: #c6e2dc; overflow: hidden; }
#map::before { opacity: .08; }
#map::after { box-shadow: inset 0 0 65px #7584680b; border-radius: 23px; }
.map-heading { position: fixed; top: 135px; left: 461px; z-index: 600; pointer-events: none; background: #fffef0df; border: 1px solid #dce3cd; border-radius: 12px; padding: 12px 17px; box-shadow: 0 3px 12px #51604306; }
.map-heading .eyebrow { font: 9px Arial,sans-serif; color: #7b8c70; letter-spacing: .12em; }
.map-heading p { margin: 5px 0 0; font-size: 15px; letter-spacing: .025em; }
.map-info { position: fixed; right: 46px; top: 137px; z-index: 600; display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fffef5ee; border: 1px solid #dbe1ce; border-radius: 9px; font-size: 10px; color: #6c7b61; box-shadow: 0 3px 12px #51604306; }
.map-live-dot { width: 5px; height: 5px; background: #7b986b; border-radius: 50%; }
.map-info-divider { height: 10px; width: 1px; background: #d9dfca; margin: 0 1px; }
.map-info > span:last-child { font: 8px Arial,sans-serif; letter-spacing: .06em; }
.map-note { position: relative; z-index: 600; display: flex; gap: 11px; align-items: center; padding: 13px 14px; background: #fffef4f5; border: 1px solid #dce0ca; border-radius: 13px; box-shadow: 0 4px 18px #3d4e2910; }
.note-icon { width: 36px; height: 36px; background: #edf0df; border-radius: 10px; display: grid; place-items: center; color: #6b8051; }
.note-icon .ico { width: 20px; }
.map-note b { display: block; font-size: 12px; font-weight: 400; }
.map-note div > span { display: block; font-size: 10px; color: #929a83; margin-top: 4px; }
.map-note button { display: grid; place-items: center; flex-shrink: 0; margin-left: 18px; padding: 0; width: 34px; height: 36px; color: #768963; border: 1px solid #dfe5d0; border-radius: 9px; background: transparent; }
.map-note button .ico { display: block; width: 19px; height: 19px; }
.map-note button .note-compact-icon, .map-note .note-compact-label { display: none; }
.fabs { display: none; }
.leaflet-control-locate .btn-pill { border: 1px solid #d1dac4; border-radius: 10px; font-size: 11px; padding: 11px; min-height: 40px; background: #fffef5; box-shadow: var(--shadow-sm); }
#map .leaflet-bottom { bottom: var(--map-control-bottom); margin-bottom: 0; }
#map .leaflet-bottom.leaflet-left { left: var(--map-control-side); }
#map .leaflet-bottom.leaflet-right { right: var(--map-control-side); }
#map .leaflet-bottom .leaflet-control { margin: 0; }
#map .leaflet-bottom .leaflet-control-locate { margin-bottom: var(--map-control-gap); }
.leaflet-bar { border: 1px solid #c9d2bd !important; border-radius: 10px !important; box-shadow: var(--shadow-sm) !important; }
.leaflet-bar a { background: #fffef5 !important; color: #4e6448 !important; width: 37px !important; height: 37px !important; line-height: 37px !important; font-size: 19px !important; }
.leaflet-bar a:first-child { border-bottom: 1px solid #e0e4d6; }
.map-contact { display: none; }
#map .leaflet-control-attribution { position: absolute; right: 0; bottom: calc(6px - var(--map-control-bottom)); width: max-content; max-width: calc(100vw - 44px); padding: 2px 6px; background: rgb(243 245 238 / 88%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #53634f; border: 0; border-radius: 4px; box-shadow: none; font-size: 10px; line-height: 1.4; cursor: default; }
.bowl-label { border-width: 1.5px; font-size: 11px; box-shadow: 0 2px 3px #29351c15; }
.photo-rim { border-width: 2px; }
.landmark .lm-icon { border: 1px solid #496243; background: #fcfcef; box-shadow: 0 2px 4px #29351c1a; }
.landmark .lm-label { font-size: 10px; color: #526948; }
.connection-note { position: fixed; left: 50%; transform: translateX(-50%); bottom: 30px; z-index: 2800; width: max-content; max-width: calc(100% - 32px); background: #365b48; color: white; padding: 11px 16px; border-radius: 12px; font-size: 12px; }
.mobile-nav { display: none; }
.sheet { border: 1px solid #d5dccc; background: var(--paper); border-radius: 20px; box-shadow: 0 8px 28px #253d2d12; }
.sheet-close { width: 35px; height: 35px; background: #fffef9ef; color: var(--ink); border: 1px solid #dde2d2; box-shadow: none; font: 24px Arial,sans-serif; z-index: 5; }
.sheet-body { scrollbar-width: thin; scrollbar-color: #d5dbc9 transparent; }
.sheet .hero { margin-bottom: 22px; }
.sheet .hero img { max-height: 245px; object-fit: cover; }
.sheet .place-head h2 { font-size: 23px; font-weight: 400; }
.sheet .place-head .ko { font-size: 12px; }
.sheet .tags li { border: 1px solid #dee4d1; background: #eef1e6; border-radius: 6px; color: #738365; font-size: 11px; }
.sheet .tip { background: #f3f1e5; border: 1px solid #e7e4d2; box-shadow: none; }
.sheet .btn { border-width: 1px; box-shadow: none; border-radius: 10px; min-height: 44px; }
.sheet .taxi-box { border-width: 1px; border-color: #dddac9; border-radius: 13px; background: #f6f4e8; box-shadow: none; }
.place-save-row { display: flex; justify-content: flex-end; margin: 14px 0 4px; }
.save-place { border: 1px solid #ccd6be; border-radius: 9px; background: #f0f3e8; color: var(--green); min-height: 40px; padding: 8px 13px; font-size: 13px; }
.save-place.is-saved { color: white; background: var(--green); }
.place-list-row { display: flex; gap: 5px; align-items: stretch; }
.place-list-row > [data-open] { flex: 1; min-width: 0; border-width: 1px; border-radius: 10px; }
.place-list .save-place--compact { flex: 0 0 43px; width: 43px; min-width: 0; padding: 5px; justify-content: center; border-width: 1px; border-radius: 10px; font-size: 11px; }
.hours-note { font-size: 11px; color: #7e8478; line-height: 1.6; }
.modal { background: #23382e66; backdrop-filter: blur(7px); }
.modal-card { border: 1px solid #d2d7c6; box-shadow: 0 24px 80px #152b2929; border-radius: 22px; background: var(--paper); }
.modal-card .btn { border-width: 1px; box-shadow: none; border-radius: 11px; min-height: 44px; }
.map-licenses p { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.map-licenses b, .map-licenses span { display: block; }
.map-licenses span { color: var(--muted); font-size: 12px; }
.map-licenses a { display: flex; align-items: center; min-height: 44px; color: var(--green); text-underline-offset: 3px; }
.toast { background: var(--green); border: 1px solid #5d7856; color: white; box-shadow: 0 5px 18px #2c3d2222; border-radius: 12px; font-size: 13px; }
.loader { background: #f7f6f1; }
.loader p { color: var(--green); font-weight: 400; letter-spacing: .07em; }
.app-error { position: fixed; inset: 110px 25px auto; z-index: 5000; background: #fff7e1; color: #5c492a; border: 1px solid #cdb785; padding: 20px; border-radius: 15px; }
@media (min-width: 1024px) {
  .sheet { left: 22px; top: 109px; bottom: 22px; right: auto; width: 390px; height: auto; max-height: none; transform: translateX(calc(-100% - 30px)); z-index: 1100; }
  .sheet.is-open { transform: translateX(0); }
  .sheet-grip { display: none; }
}
@media (min-width: 1550px) {
  .explorer, .sheet { width: 414px; }
  #map { left: 458px; }
  .map-heading { left: 485px; }
  .explorer-intro h2 { font-size: 37px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .explorer-intro { padding-top: 0; padding-bottom: 15px; }
  .explorer-intro h2 { font-size: 29px; margin-top: 8px; margin-bottom: 8px; }
  .intro-stamp { top: 34px; width: 75px; height: 75px; font-size: 21px; }
  .intro-stamp i { font-size: 6px; }
  .quick-filters { padding-bottom: 10px; }
  .area-heading { padding-top: 4px; }
  .filters { gap: 6px; padding-bottom: 9px; }
  .results-heading { padding-top: 9px; padding-bottom: 7px; }
}
@media (max-width: 1200px) and (min-width: 1024px) {
  .header-nav { gap: 16px; }
  .map-heading { max-width: 225px; }
  .map-heading p { font-size: 13px; }
  .map-info { top: 219px; left: 461px; right: auto; }
  .map-note { max-width: 285px; }
  .map-note button { margin-left: 0; }
  .map-note div > span { max-width: 176px; line-height: 1.5; }
}
@media (max-width: 1023px) {
  .topbar { height: calc(72px + var(--safe-top)); padding: var(--safe-top) 18px 0; gap: 10px; }
  .brand { gap: 9px; }
  .brand-bowl { width: 39px; height: 39px; padding: 3px; border-radius: 13px; }
  .brand h1 { font-size: 20px; }
  .brand p { font-size: 8px; letter-spacing: .02em; }
  .brand-dot { margin: 0 2px; }
  .header-nav { display: none; }
  .topbar .btn-pill, .map-note button { font-size: 11px; padding: 8px 10px; border-radius: 10px; min-height: 38px; gap: 5px; }
  .topbar .btn-pill .ico { width: 15px; height: 15px; }
  .header-arrow { display: none; }
  .explorer { top: calc(85px + var(--safe-top)); left: 15px; right: 15px; width: auto; bottom: calc(78px + var(--safe-bottom)); pointer-events: none; }
  .explorer-controls { pointer-events: auto; padding: 0; }
  .explorer-intro, .area-heading, .explorer-footer { display: none; }
  .search-box { height: 44px; border-radius: 11px; }
  .search-box input { font-size: 13px; }
  .search-box kbd { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 0 9px; gap: 6px; }
  .chip { padding: 7px 12px; min-height: 36px; font-size: 12px; border-radius: 8px; }
  .quick-filters { border: 0; padding: 0 0 7px; gap: 6px; }
  .quick-filters button { min-height: 32px; padding: 5px 10px; font-size: 10px; }
  .filter-caption { font-size: 9px; }
  .results-heading, .explore-results { display: none; pointer-events: auto; }
  .explorer-list .results-heading { display: flex; margin-top: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
  .explorer-list .explore-results { display: block; padding: 2px 3px 10px; }
  .explorer-list .explorer { background: #f7f6f1; }
  .explorer-list .explorer-footer { display: flex; padding-top: 0; flex-shrink: 0; pointer-events: auto; }
  .explorer-list .explorer-footer button { min-height: 44px; }
  .explorer-list #map, .explorer-list .map-info, .explorer-list .fabs { visibility: hidden; }
  .explorer-list .map-note { display: none; }
  #map { top: calc(233px + var(--safe-top)); left: 10px; right: 10px; bottom: calc(82px + var(--safe-bottom)); border-radius: 18px; }
  #map::after { border-radius: 18px; }
  .map-heading { display: none; }
  .map-info { top: calc(249px + var(--safe-top)); left: 24px; right: auto; padding: 9px 10px; font-size: 10px; }
  .map-note { padding: 0; gap: 0; max-width: calc(100vw - 108px); border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
  .note-icon, .map-note > div, .map-note button .note-arrow { display: none; }
  .map-note button { display: flex; align-items: center; justify-content: center; width: auto; height: auto; margin-left: 0; background: var(--green); color: #fffef7; border-color: var(--green); font-family: 'Huninn', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; white-space: nowrap; }
  .map-note button .note-compact-icon { display: block; width: 15px; height: 15px; }
  .map-note .note-compact-label { display: inline; }
  #map .leaflet-control-attribution { padding: 1px 4px; font-size: 8.5px; line-height: 1.2; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .leaflet-control-locate .btn-pill { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; }
  .leaflet-control-locate .locate-label { display: none; }
  .leaflet-control-locate .btn-pill .ico { display: block; width: 20px; height: 20px; margin: 0; }
  .leaflet-control-zoom { width: 44px; }
  .leaflet-bar a { width: 100% !important; height: 42px !important; line-height: 42px !important; }
  .mobile-nav { position: fixed; display: grid; grid-template-columns: repeat(5, 1fr); inset: auto 0 0; height: calc(70px + var(--safe-bottom)); padding: 8px 10px calc(7px + var(--safe-bottom)); z-index: 1300; background: #fffefaf5; border-top: 1px solid #dfe4d5; backdrop-filter: blur(12px); }
  .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 12px; background: none; color: #8d9583; font-size: 10px; }
  .mobile-nav button .ico { width: 19px; height: 19px; }
  .mobile-nav button.is-active { background: #edf1e4; color: var(--green); }
  .sheet { left: 8px; right: 8px; top: auto; bottom: calc(78px + var(--safe-bottom)); width: auto; height: 73%; max-height: calc(100dvh - 150px - var(--safe-top) - var(--safe-bottom)); border-radius: 19px; transform: translateY(calc(100% + 110px)); z-index: 1200; }
  .sheet.is-open { transform: translateY(0); }
  .sheet-body { padding: 8px 17px 24px; }
  .sheet-grip { display: block; }
  .card-photo { height: 98px; }
  .place-card { grid-template-columns: 94px minmax(0,1fr); }
  .card-save { width: 38px; height: 38px; right: 7px; top: 7px; }
  .card-topline { margin-right: 30px; }
  .modal { z-index: 3000; }
  .toast { bottom: calc(88px + var(--safe-bottom)); max-width: calc(100% - 32px); }
  .connection-note { bottom: calc(83px + var(--safe-bottom)); font-size: 11px; line-height: 1.5; }
}
@media (max-width: 374px) {
  .topbar { padding-left: 13px; padding-right: 13px; }
  .brand h1 { font-size: 18px; }
  .brand p { font-size: 7px; }
  .brand-bowl { width: 33px; height: 33px; }
  .topbar .btn-pill, .map-note button { padding: 8px; font-size: 10px; }
  .filter-caption { font-size: 8px; }
  .place-card { grid-template-columns: 80px minmax(0,1fr); gap: 10px; padding: 10px; }
  .card-photo { width: 80px; }
  .place-card h4 { font-size: 14px; }
}
@media (max-height: 600px) and (min-width: 1024px) {
  .explorer-intro { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
