.hero.map-heading {margin:26px 0 0;border-radius:0;background:transparent;color:var(--ink);overflow:visible}
.map-heading .hero-art,.map-heading .data-tag,.map-heading #hero-description {display:none}
.map-heading .hero-content {max-width:100%;padding:0;display:flex;justify-content:space-between;align-items:center;gap:18px}
.hero.map-heading h1 {margin:0;font-size:clamp(28px,3.3vw,40px);letter-spacing:-1.6px;white-space:nowrap}
.map-heading .search-box {margin:0;width:min(60%,480px);height:44px;border-color:var(--line)}
#map-slot {margin:21px 0 36px}
.am-coverage {margin:0 0 10px;font-size:14px;color:#465e68;font-weight:630;line-height:1.5}
.am-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,30%);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}
.am-map,.am-panel {min-width:0}
.am-stage {isolation:isolate;position:relative;overflow:hidden;height:clamp(420px,57vh,620px);background:#dae9e7;touch-action:none;cursor:grab}
.am-stage.am-dragging {cursor:grabbing}
.am-stage:focus-visible {outline-offset:-3px}
.am-stage > canvas,.am-kakao,.am-pins {position:absolute;inset:0;width:100%;height:100%}
.am-kakao {isolation:isolate;z-index:0;visibility:hidden}
.am-kakao.am-kakao-ready {visibility:visible}
.am-stage[data-map-frame="pending"] > .am-kakao {visibility:visible;opacity:0}
/* A picture of the base map as it last was, under our own map and in place of the base map while it loads. */
/* It is placed from its own corner, always: a picture that changed what it turns about part way through a move
   would jump. */
.am-map-still {position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;transform-origin:0 0}
.am-map-still.am-still-moving {transition:transform .23s cubic-bezier(.25,.7,.3,1);will-change:transform}
.am-map-still.am-still-moved > :not(canvas) {opacity:0;transition:opacity .1s}
@media (prefers-reduced-motion:reduce) {.am-map-still.am-still-moving {transition:none}}
.am-map-still > canvas {display:block;width:100%;height:100%}
/* A press that moves on the map pans it or does nothing: it neither lifts a link or picture nor marks words. */
.am-stage {-webkit-user-select:none;user-select:none}
.am-stage :is(a,img) {-webkit-user-drag:none}
.am-stage[data-map-frame="pending"] > :is(.am-pins,.am-onbid-pins,.am-boundary-layer,.am-location-guide,.am-location-highlight,.am-selection) {visibility:hidden}
.am-stage[data-map-frame="pending"] .am-provider-status {z-index:2;background:#dae9e7}
.am-boundary-layer {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.am-pins {pointer-events:none;z-index:1}
/* Onbid's public-sale properties. Where lots are only counted they are counted in with them; close in they are
   written as the court's lots are, and told apart by their colour alone. */
.am-onbid-pins {position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.am-stage:not([data-map-state="ready"]) .am-onbid-pins {visibility:hidden}
.am-onbid-pins .am-pin {text-decoration:none}
.am-onbid-pins .am-pin[hidden] {display:none}
/* Where there is no room even for a price: a small square of the public sales' colour, which still answers the
   pointer with its card. */
.am-onbid-pins .am-pin.am-onbid.am-onbid-dot {width:14px;min-width:0;max-width:none;height:14px;min-height:0;padding:0;border:2px solid #fff;box-sizing:border-box;background:#5b3cc4}
.am-onbid-link {--am-pin-ink:#4a2fa8}
.am-onbid-link[hidden] {display:none}
.am-onbid-pins .am-pin.am-onbid {background:rgb(74 47 168 / 88%)}
.am-onbid-pins .am-pin.am-onbid:is(:hover,:focus-visible) {background:#6a4bd6;box-shadow:inset 0 -2px 0 #ffd166,0 6px 14px rgb(31 18 77 / 30%)}
/* The map's own state, for whoever is working on it: in the corner, small and faint, just to be made out. */
.am-debug {position:absolute;z-index:0;right:6px;bottom:5px;max-width:calc(100% - 150px);color:rgb(14 38 50 / 46%);
  font:9.5px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-align:right;white-space:pre;overflow:hidden;
  text-shadow:0 0 2px rgb(255 255 255 / 85%),0 0 2px rgb(255 255 255 / 85%);pointer-events:none;user-select:none}
.am-stage:not([data-map-state="ready"]) .am-debug {visibility:hidden}
/* Under the markers, which must stay readable; over our own map where that covers everything. */
.am-stage[data-region-view="nation"] > .am-debug {z-index:2}
@media(max-width:620px) {.am-debug {font-size:8.5px;max-width:calc(100% - 96px)}}
.am-sale-legend {display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.am-sale-legend[hidden] {display:none}
.am-sale-note {color:#7a4a12;font-weight:650}
.am-sale-note[hidden] {display:none}
.am-onbid-list .am-parcel-preview-item a {text-decoration:none;color:inherit}
.am-onbid-list .am-parcel-preview-item strong {color:#5b3cc4}
.am-onbid-list .am-preview-close {margin-left:auto;font-size:18px;line-height:1}
.am-onbid-list .am-parcel-preview-item b {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}
.am-sale-legend i {width:10px;height:10px;margin-inline-start:5px}
.am-legend-court {background:rgb(11 39 51 / 78%)}
.am-legend-onbid {background:rgb(74 47 168 / 88%)}
.am-pin {display:grid;place-items:center;position:absolute;z-index:1;pointer-events:auto;transform:translate(-50%,-50%);width:30px;height:30px;padding:0;
  border-radius:7px;background:#0774a6;border:2px solid white;box-shadow:0 1px 5px #076d9c52;color:white;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
.am-pin .icon {width:16px;height:16px}
.am-group-count {white-space:nowrap;text-shadow:0 1px 2px white,0 0 3px white}
.am-pin:hover,.am-pin[aria-pressed=true],.am-pin:focus-visible {z-index:2}
.am-pin:focus-visible {outline:2px solid #5fd3ff;outline-offset:2px}
/* A marker stands off the place it is for, so the place itself is in sight: a dot on the place, ringed in white
   to show on any ground, and a line from it to the marker. A court lot's and a public sale's are the one
   drawing, each in its own colour. */
.am-pin-connector {--am-pin-ink:#0b2733;position:absolute;height:1.5px;margin-top:-.75px;background:color-mix(in srgb,var(--am-pin-ink) 72%,transparent);transform-origin:left center;pointer-events:none}
.am-pin-connector::before {position:absolute;left:-4px;top:-3.25px;width:8px;height:8px;content:"";border-radius:50%;background:var(--am-pin-ink);box-shadow:0 0 0 1.5px #fff,0 1px 3px rgb(6 46 66 / 35%)}
.am-pins .am-pin[data-linked] {z-index:5}
.am-location-highlight:not([hidden]) {display:block;position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-50%);
    width:11px;height:11px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px rgb(4 108 156 / 42%),0 2px 6px rgb(6 46 66 / 30%);background:#00aeef}
.am-stage[data-boundary-visible] .am-location-highlight {visibility:hidden}
.am-stage[data-guide-kind] {--am-guide-color:#005950}
.am-stage[data-guide-kind="building"] {--am-guide-color:#07488f}
.am-stage[data-guide-kind] .am-location-highlight,
.am-stage[data-guide-kind] .am-pin-connector:has(+ .am-pin[data-linked]) {visibility:hidden}
.am-stage[data-guide-kind] .am-pin:not(.am-group)[data-linked] {--am-pin-edge:#d9e6ea;background:var(--am-guide-color);box-shadow:inset 0 -2px 0 var(--am-pin-edge),0 6px 14px rgb(6 46 66 / 30%)}
.am-location-guide {position:absolute;inset:0;z-index:4;width:100%;height:100%;overflow:hidden;pointer-events:none;color:var(--am-guide-color)}
.am-location-guide[hidden] {display:none}
.am-guide-lines {fill:none;stroke-linecap:round;stroke-linejoin:round}
.am-guide-casing {stroke:white;stroke-width:5}
.am-guide-route {stroke:currentColor;stroke-width:2.5}
.am-guide-anchor-halo {fill:none;stroke:white;stroke-width:5.5}
.am-guide-anchor-ring {fill:none;stroke:currentColor;stroke-width:2.5}
.am-guide-anchor-center {fill:currentColor;stroke:white;stroke-width:1}
.am-row:is(:hover,:focus-within),.am-parcel-preview-item:is(:hover,:focus-within) {box-shadow:inset 3px 0 #a34112}
.am-zoom {display:flex;position:absolute;z-index:2;background:#fff;border:1px solid #a4b8c1;border-radius:7px;box-shadow:0 2px 6px #253d4830}
/* One column, as wide as the longest of the scales' names needs: the two steps, and under them, while the
   pointer is on the column, the scales by name from the closest to the widest, headed as the cards are. */
.am-zoom {right:12px;top:12px;flex-direction:column;align-items:stretch;width:44px;padding:0}
.am-zoom:has(.am-zoom-presets:not([hidden])) {z-index:5}
.am-zoom-presets {position:absolute;top:var(--am-presets-top,100%);right:var(--am-presets-right,-1px);display:flex;flex-direction:var(--am-presets-direction,column);width:max-content;padding:0;
  border:1px solid #a4b8c1;border-radius:6px;background:#fff;box-shadow:0 4px 10px #253d4833}
.am-zoom-presets::before {content:'축척';display:var(--am-presets-head,block);padding:3px 0 4px;background:#0b2733;color:#fff;font-size:10.5px;font-weight:700;line-height:14px;letter-spacing:.04em;text-align:center}
.am-zoom button {position:relative;display:grid;place-items:center;width:100%;height:36px;padding:0;border-radius:4px;color:#14303b;font-size:22px;line-height:1}
.am-zoom [data-map-level] {width:42px;height:31px;font-size:12.5px;font-weight:650;letter-spacing:-.02em;color:#2c4753;white-space:nowrap}
.am-zoom [data-map-level] + [data-map-level] {border-top:1px solid #e8eef1}
.am-zoom [data-map-level][aria-current="step"],.am-zoom [data-map-level][aria-current="step"] + [data-map-level] {border-top-color:transparent}
.am-zoom [data-map="in"] {border-bottom:1px solid var(--line);border-radius:4px 4px 0 0}
.am-zoom button:hover {background:#eaf5fa}
.am-zoom [aria-current="step"],.am-zoom [aria-current="step"]:hover {background:#076e9e;color:#fff}
.am-zoom button:focus-visible {outline:2px solid #076e9e;outline-offset:-2px}
.am-zoom [aria-current="step"]:focus-visible {outline-color:white}
@media (pointer:coarse) {
  .am-zoom {width:44px}
  .am-zoom button,.am-zoom [data-map-level] {min-height:32px}
}
.am-scale {position:absolute;bottom:8px;left:12px;padding:2px 5px 4px;background:#f3f9fbdc;color:#33454d;border-radius:3px;font-size:10px;font-weight:650;line-height:1.1;pointer-events:none}
.am-scale i {display:block;border:solid #42555d;border-width:0 1px 2px;height:4px;margin-top:1px}
.am-map-footer {padding:7px 10px;display:flex;gap:4px 12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--line);font-size:11px;line-height:1.5;color:var(--muted)}
.am-grouping {color:#314d59}
.am-credit a,.am-boundary-credit a,.am-retry,.am-row-foot a {text-decoration:underline;text-underline-offset:2px}
.am-base-status {padding:8px 12px;color:#88431e;font-size:12px}
.am-provider-status {position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;padding:20px;text-align:center;color:var(--muted);font-size:14px;pointer-events:none}
.am-provider-status :is(button,a) {pointer-events:auto}
.am-stage:not([data-map-state="ready"]) :is(.am-pins,.am-zoom,.am-scale) {visibility:hidden}
.am-group-preview {position:absolute;z-index:3;left:12px;bottom:26px;display:flex;gap:10px;align-items:center;max-width:calc(100% - 24px);padding:7px 8px 7px 10px;background:#fff;color:#23404d;font-size:13px;border:1px solid #8eabb7;border-radius:7px;box-shadow:0 2px 9px #066a9939}
.am-group-preview button {padding:5px 6px;background:#edf5f8;border-radius:4px;color:var(--forest);font-size:12px;font-weight:700;white-space:nowrap}
.am-group-preview .am-group-close {display:grid;place-items:center;background:transparent}
.am-group-close .icon {width:16px;height:16px}
.am-panel {border-left:1px solid var(--line);display:flex;flex-direction:column;height:clamp(449px,calc(57vh + 29px),649px)}
.am-panel-head {display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px;border-bottom:1px solid var(--line);gap:8px}
.am-panel-head h2 {font-size:17px;letter-spacing:-.5px;margin:0}
.am-list-toolbar {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:#f0f5f7}
.am-panel .am-list-toolbar .am-coverage {flex:1;min-width:0;margin:0;padding:0;background:transparent;font-size:11px}
.am-list-sort {flex:none;max-width:48%;border:1px solid #c4d1d7;border-radius:4px;padding:4px;background:#fff;color:#066997;font:inherit;font-size:12px}
.am-back,.am-more,.am-retry {font-size:12px;font-weight:660;color:var(--forest)}
.am-back {border:1px solid var(--line);padding:5px 7px;border-radius:5px;white-space:nowrap}
/* Lots being fetched: a bar runs along the foot of the toolbar and the list pales, neither of which moves
   anything. Both wait a moment, so an answer that comes at once shows nothing. */
.am-list-toolbar {position:relative}
.am-list-toolbar::after {content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;opacity:0;pointer-events:none;
  background:linear-gradient(90deg,transparent,#00aeef 35%,#046c9c 65%,transparent) no-repeat -60% 0/45% 100%}
.am-panel:has(.am-list[aria-busy="true"]) .am-list-toolbar::after {opacity:1;transition:opacity .12s .12s;animation:am-fetching 1.05s linear infinite}
.am-list {transition:opacity .15s}
.am-list[aria-busy="true"] {opacity:.55;transition:opacity .2s .18s}
@keyframes am-fetching {from{background-position:-60% 0}to{background-position:160% 0}}
@media(prefers-reduced-motion:reduce){.am-panel:has(.am-list[aria-busy="true"]) .am-list-toolbar::after {animation:none;background:#00aeef}}
.am-busy-note {position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.am-status {margin:0;flex:none;color:var(--muted);font-size:12px;padding:0 14px}
.am-status:not(:empty) {padding-block:8px}
.am-retry {padding:0 4px}
.am-list {overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
/* A lot in the list: its kind and how its sale stands, its name, then its price, largest of all; where it is
   filed comes last and small. */
.am-row {padding:12px 14px 10px;border-bottom:1px solid #e3e9ec}
.am-row:last-child {border-bottom:none}
.am-row:hover {background:#f6fafc}
.am-row[data-linked] {background:#e4f3fb;box-shadow:inset 4px 0 #046c9c}
.am-list-gap {padding:5px 12px;background:#eef3f5;border-block:1px solid var(--line);color:var(--muted);font-size:11px}
.am-row p {margin:0}
.am-row-top {display:flex;align-items:center;gap:6px;min-height:20px}
.am-kind {flex:none;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 6px;background:#0b2733;color:#fff;font-size:11px;font-weight:700}
.am-row-top .am-card-fail {font-size:11px}
.am-row-status {padding:1px 6px;background:#f3efdf;color:#5d4a12;font-size:11px;font-weight:700;white-space:nowrap}
.am-row-day {margin-inline-start:auto;color:#33505c;font-size:12px;font-weight:620;font-variant-numeric:tabular-nums;white-space:nowrap}
.am-row-day em {margin-inline-start:6px;padding:1px 5px;background:#fbeee6;color:#a34112;font-size:11px;font-style:normal;font-weight:800}
.am-row h3 {margin:7px 0 1px;font-size:15.5px;line-height:1.35;font-weight:750;letter-spacing:-.03em;overflow-wrap:anywhere}
.am-row h3 a:hover,.am-row h3 a:focus {text-decoration:underline;text-underline-offset:3px}
.am-row .am-address {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4d636d;font-size:12.5px;line-height:1.5}
.am-row .am-location-note {color:#3e6272;font-size:11px;line-height:1.5}
.am-row-price {display:flex;align-items:baseline;gap:6px;margin-top:8px !important;font-variant-numeric:tabular-nums}
.am-row-price small {color:#4d636d;font-size:11.5px}
.am-row-price b {color:#046c9c;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.04em}
.am-row-ratio {align-self:center;padding:1px 5px;background:#e4f2f9;color:#046c9c;font-size:11.5px;font-weight:750}
.am-row-appraisal {margin-inline-start:auto;color:#4d636d;font-size:12.5px;white-space:nowrap}
.am-row-size {display:flex;align-items:center;flex-wrap:wrap;margin-top:3px !important;color:#33505c;font-size:12.5px;line-height:1.5}
.am-row-size i {width:1px;height:9px;margin-inline:7px;background:#c9d5db}
.am-row-foot {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:7px;border-top:1px dashed #e3e9ec;color:#6b7f88;font-size:11.5px;line-height:1.4}
.am-row-foot span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-row-foot a {flex:none;display:inline-flex;align-items:center;gap:3px;color:#046c9c;font-weight:620}
.am-row-foot a:hover {text-decoration:underline;text-underline-offset:3px}
.am-row-foot .icon {width:12px;height:12px}
.am-empty {padding:26px 14px;font-size:14px;line-height:1.5;color:var(--muted)}
.am-more {margin:auto 10px 8px;padding:8px;border:1px solid var(--line);border-radius:5px;background:white;flex:none}
.am-more:disabled {color:var(--muted);cursor:default}
@media(max-width:1000px) and (min-width:621px) {
  .header-inner {gap:15px}
  .main-nav {gap:clamp(6px,1.2vw,12px)}
}
@media(max-width:760px) {
  #map-slot {margin:15px 0 25px}
  .am-layout {grid-template-columns:minmax(0,1fr)}
  .am-stage {height:clamp(330px,49vh,490px)}
  .am-panel {height:auto;border-left:0;border-top:1px solid var(--line)}
  .am-list {max-height:520px}
  .am-more {margin:8px 12px}
  .am-coverage {font-size:12px}
}
@media(max-width:620px) {
  .hero.map-heading {margin-top:19px}
  .map-heading .hero-content {display:block}
  .map-heading .search-box {margin-top:12px;width:100%}
  .main-nav {width:100%;min-width:0;gap:clamp(5px,2vw,10px);overflow-x:auto;scrollbar-width:none}
  .main-nav::-webkit-scrollbar {display:none}
  .main-nav a,.main-nav button {font-size:clamp(11px,3.3vw,14px);padding-inline:1px}
}
@media(max-width:680px) {
  .am-map-footer:has(.am-boundary-credit:not([hidden])) .am-grouping {display:none}
}
