:root {
  color-scheme: light;
  --ink: #202322;
  --muted: #65706c;
  --line: #d8dfdc;
  --surface: #ffffff;
  --panel: #f7f8f5;
  --green: #2b7a5b;
  --coral: #d85c49;
  --amber: #bb7a18;
  --violet: #7459b5;
  --blue: #2f6d96;
  --shadow: 0 18px 45px rgba(37, 43, 39, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(72, 98, 86, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 98, 86, 0.05) 1px, transparent 1px),
    #f0eee5;
  background-size: 48px 48px;
  outline-offset: 1px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-imagery-pane {
  z-index: 350;
}

.leaflet-tile {
  border: 0;
  user-select: none;
}

.leaflet-zoom-animated {
  transform-origin: 0 0;
}

.leaflet-interactive {
  cursor: pointer;
}

.leaflet-grab {
  cursor: grab;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  clear: both;
  pointer-events: auto;
}

.leaflet-right .leaflet-control {
  float: right;
  margin-right: 12px;
}

.leaflet-top .leaflet-control {
  margin-top: 12px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 12px;
}

.leaflet-control-zoom {
  border: 1px solid rgba(28, 34, 31, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(28, 34, 31, 0.14);
}

.leaflet-control-zoom a {
  display: block;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 31px;
  text-align: center;
  text-decoration: none;
}

.leaflet-control-zoom a + a {
  border-top: 1px solid var(--line);
}

.leaflet-control-attribution {
  display: none;
}

.leaflet-control-attribution a {
  color: var(--blue);
}

.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 34, 31, 0.24);
  text-align: left;
}

.leaflet-popup-tip-container {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 16px;
  margin-left: -12px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 16px;
  height: 16px;
  margin: -8px auto 0;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 0 12px 28px rgba(28, 34, 31, 0.18);
}

.leaflet-popup-close-button {
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--muted);
  text-decoration: none;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  overflow: hidden;
}

body.is-resizing-roadview,
body.is-resizing-roadview * {
  cursor: col-resize !important;
  user-select: none;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.sidebar {
  position: absolute;
  z-index: 920;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 360px;
  max-width: calc(100vw - 28px);
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(calc(-100% - 24px));
  transition: transform 180ms ease;
  pointer-events: none;
}

.sidebar.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.right-sidebar {
  position: absolute;
  z-index: 930;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(340px, var(--pseudo-roadview-width, 50vw), calc(100vw - 28px));
  min-height: 0;
  overflow: hidden;
  padding: 16px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 24px));
  transition: transform 180ms ease;
  pointer-events: none;
}

.right-sidebar.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

body.is-panel-embed {
  background: #121513;
}

body.is-panel-embed .app-shell {
  background: #121513;
}

body.is-panel-embed .sidebar,
body.is-panel-embed .map-click-hint,
body.is-panel-embed .map-control,
body.is-panel-embed #status,
body.is-panel-embed .right-sidebar-resizer,
body.is-panel-embed #close-pseudo-roadview {
  display: none !important;
}

body.is-panel-embed .map-wrap {
  position: absolute;
  left: -100vw;
  top: 0;
  width: 1px;
  height: 1px;
  min-width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

body.is-panel-embed #map {
  width: 1px;
  height: 1px;
}

body.is-panel-embed .right-sidebar {
  inset: 0;
  width: auto;
  max-width: none;
  padding: 12px;
  border: 0;
  box-shadow: none;
  transform: translateX(0);
  pointer-events: auto;
}

body.is-panel-embed .right-sidebar > .sidebar-header {
  padding-right: 0;
}

body.is-panel-embed .pseudo-roadview-viewer {
  min-height: 0;
  border-radius: 6px;
}

body.is-panel-embed .pseudo-roadview-meta {
  max-height: 34%;
  overflow: auto;
}

.right-sidebar-resizer {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -6px;
  width: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: col-resize;
}

.right-sidebar-resizer::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 5px;
  width: 2px;
  border-radius: 999px;
  background: rgba(43, 122, 91, 0.24);
  opacity: 0.42;
  transition: opacity 120ms ease, background 120ms ease;
}

.right-sidebar-resizer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(43, 122, 91, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent 7px,
      rgba(43, 122, 91, 0.76) 7px,
      rgba(43, 122, 91, 0.76) 9px,
      transparent 9px,
      transparent 13px,
      rgba(43, 122, 91, 0.76) 13px,
      rgba(43, 122, 91, 0.76) 15px,
      transparent 15px,
      transparent 19px,
      rgba(43, 122, 91, 0.76) 19px,
      rgba(43, 122, 91, 0.76) 21px,
      transparent 21px
    ),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(28, 34, 31, 0.16);
  transform: translateY(-50%);
}

.right-sidebar-resizer:hover::before,
.right-sidebar-resizer:focus-visible::before,
body.is-resizing-roadview .right-sidebar-resizer::before {
  background: rgba(43, 122, 91, 0.72);
  opacity: 1;
}

.right-sidebar-resizer:hover::after,
.right-sidebar-resizer:focus-visible::after,
body.is-resizing-roadview .right-sidebar-resizer::after {
  border-color: rgba(43, 122, 91, 0.62);
  background:
    linear-gradient(
      90deg,
      transparent 7px,
      rgba(43, 122, 91, 0.92) 7px,
      rgba(43, 122, 91, 0.92) 9px,
      transparent 9px,
      transparent 13px,
      rgba(43, 122, 91, 0.92) 13px,
      rgba(43, 122, 91, 0.92) 15px,
      transparent 15px,
      transparent 19px,
      rgba(43, 122, 91, 0.92) 19px,
      rgba(43, 122, 91, 0.92) 21px,
      transparent 21px
    ),
    #fff;
}

.pseudo-roadview-close {
  position: absolute;
  z-index: 8;
  top: 10px;
  right: 16px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(28, 34, 31, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.pseudo-roadview-close:hover {
  background: #fff;
}

.pseudo-roadview-viewer {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  border: 1px solid rgba(28, 34, 31, 0.14);
  border-radius: 8px;
  background: #121513;
  overflow: hidden;
}

.google-streetview-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #121513;
}

.pseudo-roadview-share {
  position: absolute;
  z-index: 40;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f2c27;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.pseudo-roadview-share:hover,
.pseudo-roadview-share:focus-visible {
  background: #fff;
  color: #0f231b;
}

.pseudo-roadview-share svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pseudo-roadview-share-feedback {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  max-width: min(360px, calc(100vw - 92px));
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(20, 27, 24, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(8px, -50%);
  transition: opacity 0.48s ease, transform 0.48s ease;
  white-space: normal;
}

.pseudo-roadview-share.is-copied .pseudo-roadview-share-feedback {
  opacity: 1;
  transform: translate(0, -50%);
}

.pseudo-roadview-naver-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #121513;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pseudo-roadview-naver-stage.pnlm-container {
  position: absolute;
  width: var(--naver-roadview-stage-width, 100%);
  height: var(--naver-roadview-stage-height, 100%);
}

.pseudo-roadview-naver-stage .pnlm-ui,
.pseudo-roadview-naver-stage .pnlm-render-container,
.pseudo-roadview-naver-stage canvas {
  width: 100% !important;
  height: 100% !important;
}

.pseudo-roadview-naver-stage.is-low {
  z-index: 1;
}

.pseudo-roadview-naver-stage.is-high {
  z-index: 2;
}

.pseudo-roadview-naver-stage.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pseudo-roadview-viewer .pnlm-compass {
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, transparent 0 16px, rgba(255, 255, 255, 0.34) 16px 17px, transparent 18px),
    conic-gradient(
      from 45deg,
      rgba(255, 255, 255, 0.18) 0 1deg,
      transparent 1deg 89deg,
      rgba(255, 255, 255, 0.18) 89deg 91deg,
      transparent 91deg 179deg,
      rgba(255, 255, 255, 0.18) 179deg 181deg,
      transparent 181deg 269deg,
      rgba(255, 255, 255, 0.18) 269deg 271deg,
      transparent 271deg 360deg
    ),
    rgba(15, 18, 17, 0.58);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, transparent 0 16px, rgba(255, 255, 255, 0.34) 16px 17px, transparent 18px),
    conic-gradient(
      from 45deg,
      rgba(255, 255, 255, 0.18) 0 1deg,
      transparent 1deg 89deg,
      rgba(255, 255, 255, 0.18) 89deg 91deg,
      transparent 91deg 179deg,
      rgba(255, 255, 255, 0.18) 179deg 181deg,
      transparent 181deg 269deg,
      rgba(255, 255, 255, 0.18) 269deg 271deg,
      transparent 271deg 360deg
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(7px);
  cursor: default;
}

.pseudo-roadview-viewer .pnlm-compass::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7.5px;
  height: 28px;
  background: linear-gradient(180deg, #ff4f42 0 50%, rgba(255, 255, 255, 0.92) 50% 100%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.34));
  transform: translate(-50%, -50%);
}

.pseudo-roadview-viewer .pnlm-compass::after {
  content: none;
}

.pseudo-roadview-viewer.is-loading-panorama .pnlm-container,
.pseudo-roadview-viewer.is-loading-panorama .pnlm-render-container,
.pseudo-roadview-viewer.is-loading-panorama .pnlm-ui,
.pseudo-roadview-viewer.is-loading-panorama .pnlm-preview-img,
.pseudo-roadview-viewer.is-loading-panorama .pnlm-fade-img,
.pseudo-roadview-viewer.is-loading-panorama canvas,
.pseudo-roadview-viewer.is-loading-panorama > :not(.pseudo-roadview-transition-cover) {
  visibility: hidden !important;
  opacity: 0 !important;
}

.pseudo-roadview-viewer.has-transition-cover.is-loading-panorama::after {
  content: none;
}

.pseudo-roadview-viewer.is-loading-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2147483647;
  background: #121513;
  pointer-events: none;
}

.pseudo-roadview-viewer.is-loading-panorama > .pseudo-roadview-transition-cover {
  visibility: visible !important;
  opacity: 1 !important;
}

.pseudo-roadview-transition-cover {
  position: absolute;
  inset: 0;
  z-index: 2147483647;
  overflow: hidden;
  background: #121513;
  pointer-events: none;
  opacity: 1;
}

.pseudo-roadview-transition-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.01);
  transform-origin: 50% 56%;
  transition:
    transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 220ms ease;
}

.pseudo-roadview-transition-cover.is-leaving {
  opacity: 0;
  transition: opacity 220ms ease;
}

.pseudo-roadview-transition-cover.is-leaving img {
  transform: translate3d(var(--transition-x, 0px), var(--transition-y, -14px), 0) scale(1.045);
}

.pseudo-roadview-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  background: #121513;
}

.pseudo-roadview-loading.is-error {
  color: #ffd9d1;
}

.pseudo-roadview-meta {
  flex: 0 0 auto;
  padding: 12px;
}

.roadview-report-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.report-current-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 92, 73, 0.34);
  border-radius: 8px;
  background: #fff;
  color: #9d372c;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.1;
  cursor: pointer;
}

.report-current-button:disabled {
  border-color: rgba(28, 34, 31, 0.12);
  color: #9aa29d;
  cursor: default;
  background: #f2f4f1;
}

.report-current-button.is-reported {
  border-color: rgba(216, 92, 73, 0.68);
  background: #ffe8e3;
}

.report-current-button-affirm {
  border-color: rgba(43, 122, 91, 0.28);
  color: #24684b;
}

.report-current-button-affirm.is-confirmed-inferred {
  border-color: rgba(43, 122, 91, 0.58);
  background: #e5f6eb;
  color: #1e5b41;
}

.report-current-button-affirm:disabled {
  border-color: rgba(28, 34, 31, 0.12);
  color: #9aa29d;
  background: #f2f4f1;
}

.report-current-button-secondary {
  border-color: rgba(84, 96, 110, 0.28);
  color: #4d5865;
}

.report-current-button-secondary.is-wrong-inferred {
  border-color: rgba(84, 96, 110, 0.58);
  background: #eceff3;
  color: #303944;
}

.report-current-button-secondary:disabled {
  border-color: rgba(28, 34, 31, 0.12);
  color: #9aa29d;
  background: #f2f4f1;
}

.report-current-id {
  flex: 1 1 180px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.pseudo-roadview-date-groups {
  display: grid;
  gap: 10px;
}

.pseudo-roadview-date-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}

.pseudo-roadview-date-row.is-unified {
  grid-template-columns: minmax(0, 1fr);
}

.pseudo-roadview-date-label {
  padding-top: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}

.pseudo-roadview-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pseudo-roadview-choice {
  --choice-color: #2b7a5b;
  --choice-bg: #f7fbf8;
  --choice-active-shadow: rgba(43, 122, 91, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 32px;
  padding: 7px 8px;
  border: 1px solid color-mix(in srgb, var(--choice-color) 76%, white);
  border-radius: 8px;
  background: var(--choice-bg);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.pseudo-roadview-choice-logo {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.pseudo-roadview-choice-logo img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.pseudo-roadview-choice-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pseudo-roadview-streetview-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.pseudo-roadview-choice-report {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 999px;
  background: #c7382c;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
}

.pseudo-roadview-choice-report.is-inferred {
  background: #8b6713;
}

.pseudo-roadview-choice-report.is-confirmed-inferred {
  background: #24734f;
}

.pseudo-roadview-choice-report.is-wrong-inferred {
  background: #4d5865;
}

.pseudo-roadview-choice:disabled {
  color: #9aa29d;
  cursor: default;
  background: #f2f4f1;
}

.pseudo-roadview-choice:hover {
  border-color: var(--choice-color);
  background: color-mix(in srgb, var(--choice-color) 13%, white);
}

.pseudo-roadview-choice:disabled:hover {
  border-color: rgba(43, 122, 91, 0.22);
  background: #f2f4f1;
}

.pseudo-roadview-choice.is-active {
  border-color: var(--choice-color);
  background: color-mix(in srgb, var(--choice-color) 17%, white);
  color: var(--ink);
  box-shadow:
    0 0 0 3px var(--choice-active-shadow),
    0 6px 14px color-mix(in srgb, var(--choice-color) 20%, transparent);
}

.pseudo-roadview-choice.is-kakao {
  --choice-color: #fae100;
  --choice-bg: #fffdf0;
  --choice-active-shadow: rgba(250, 225, 0, 0.34);
}

.pseudo-roadview-choice.is-naver {
  --choice-color: #03c75a;
  --choice-bg: #f2fcf6;
  --choice-active-shadow: rgba(3, 199, 90, 0.25);
}

.pseudo-roadview-choice.is-google {
  --choice-color: #4285f4;
  --choice-bg: #f5f9ff;
  --choice-active-shadow: rgba(66, 133, 244, 0.24);
}

.pseudo-roadview-choice.is-reported {
  border-color: rgba(216, 92, 73, 0.72);
  background: #ffe8e3;
  color: #873126;
}

.pseudo-roadview-choice.is-reported:hover {
  border-color: rgba(216, 92, 73, 0.88);
  background: #ffd9d1;
}

.pseudo-roadview-choice.is-reported.is-active {
  border-color: rgba(199, 56, 44, 0.88);
  background: #ffe1dc;
  color: #7f2c24;
  box-shadow: 0 0 0 2px rgba(199, 56, 44, 0.14);
}

.pseudo-roadview-choice.is-inferred {
  border-color: rgba(180, 133, 24, 0.72);
  background: #fff3d4;
  color: #6f4d0c;
}

.pseudo-roadview-choice.is-inferred:hover {
  border-color: rgba(180, 133, 24, 0.88);
  background: #ffe9b0;
}

.pseudo-roadview-choice.is-inferred.is-active {
  border-color: rgba(157, 105, 12, 0.9);
  background: #ffe6a3;
  color: #5f4008;
  box-shadow: 0 0 0 2px rgba(180, 133, 24, 0.14);
}

.pseudo-roadview-choice.is-confirmed-inferred {
  border-color: rgba(43, 122, 91, 0.62);
  background: #e5f6eb;
  color: #1f5c42;
}

.pseudo-roadview-choice.is-confirmed-inferred:hover {
  border-color: rgba(43, 122, 91, 0.82);
  background: #d7f0df;
}

.pseudo-roadview-choice.is-confirmed-inferred.is-active {
  border-color: rgba(36, 115, 79, 0.9);
  background: #ccebd8;
  color: #184d36;
  box-shadow: 0 0 0 2px rgba(43, 122, 91, 0.16);
}

.pseudo-roadview-choice.is-wrong-inferred {
  border-color: rgba(84, 96, 110, 0.58);
  background: #edf0f3;
  color: #343d48;
}

.pseudo-roadview-choice.is-wrong-inferred:hover {
  border-color: rgba(84, 96, 110, 0.78);
  background: #e1e6eb;
}

.pseudo-roadview-choice.is-wrong-inferred.is-active {
  border-color: rgba(70, 79, 91, 0.86);
  background: #dce2e8;
  color: #2c3540;
  box-shadow: 0 0 0 2px rgba(84, 96, 110, 0.14);
}

.pseudo-roadview-meta dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.pseudo-roadview-meta dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.pseudo-roadview-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.pseudo-roadview-meta dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pseudo-roadview-move-hotspot {
  --hotspot-yaw: 0deg;
  --hotspot-screen-angle: 0deg;
  --hotspot-ground-angle: -90deg;
  --hotspot-side-tilt: 0deg;
  --hotspot-shadow-x: 0px;
  --hotspot-scale: 1;
  --hotspot-display-x: 50%;
  --hotspot-display-y: 75%;
  width: 96px;
  height: 72px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  visibility: visible !important;
  -webkit-transform: translate(
      calc(var(--hotspot-display-x) - 50%),
      calc(var(--hotspot-display-y) - 50%)
    )
    translateZ(9999px) !important;
  transform: translate(
      calc(var(--hotspot-display-x) - 50%),
      calc(var(--hotspot-display-y) - 50%)
    )
    translateZ(9999px) !important;
  opacity: 0.96;
  transition: opacity 120ms ease;
}

.pseudo-roadview-move-hotspot::before {
  content: none;
}

.pseudo-roadview-arrow-pad {
  position: absolute;
  inset: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform:
    scale(var(--hotspot-scale))
    perspective(180px)
    rotateX(70deg)
    rotateZ(var(--hotspot-ground-angle));
  transform-origin: 50% 56%;
  transition: none;
}

.pseudo-roadview-arrow-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 56px;
  height: 48px;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4))
    drop-shadow(0 5px 4px rgba(0, 0, 0, 0.56))
    drop-shadow(0 12px 12px rgba(0, 0, 0, 0.28));
  transform: translate(-50%, -50%);
}

.pseudo-roadview-arrow-symbol::before,
.pseudo-roadview-arrow-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 45px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), #ffffff 70%, #d8dce0);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 2px 3px rgba(0, 0, 0, 0.42);
  transform-origin: right center;
}

.pseudo-roadview-arrow-symbol::before {
  transform: translateY(-50%) rotate(34deg);
}

.pseudo-roadview-arrow-symbol::after {
  transform: translateY(-50%) rotate(-34deg);
}

.pseudo-roadview-move-hotspot:hover,
.pseudo-roadview-move-hotspot:focus-visible {
  opacity: 1;
}

.pseudo-roadview-move-hotspot:hover .pseudo-roadview-arrow-pad,
.pseudo-roadview-move-hotspot:focus-visible .pseudo-roadview-arrow-pad {
  background: transparent;
  box-shadow: none;
}

.pseudo-roadview-move-hotspot:hover .pseudo-roadview-arrow-symbol,
.pseudo-roadview-move-hotspot:focus-visible .pseudo-roadview-arrow-symbol {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55))
    drop-shadow(0 6px 5px rgba(0, 0, 0, 0.6))
    drop-shadow(0 14px 14px rgba(0, 0, 0, 0.32));
}

.pseudo-roadview-move-hotspot:active .pseudo-roadview-arrow-symbol {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.48))
    drop-shadow(0 4px 3px rgba(0, 0, 0, 0.58));
  transform: translate(-50%, -50%) scale(0.94);
}

.pseudo-roadview-viewer.is-roadview-hotspot-travel .pnlm-render-container,
.pseudo-roadview-viewer.is-roadview-hotspot-travel canvas {
  filter: brightness(1.06) contrast(1.03);
}

.pseudo-roadview-viewer.is-roadview-hotspot-travel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 74%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%);
  opacity: 0;
  animation: pseudo-roadview-hotspot-travel 220ms ease-out;
}

@keyframes pseudo-roadview-hotspot-travel {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

.pseudo-roadview-current-marker {
  --view-bearing: 0deg;
  position: relative;
  display: grid;
  width: 17.64px;
  height: 17.64px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 231, 132, 0.22);
  overflow: visible;
  isolation: isolate;
}

.pseudo-roadview-current-marker .pano-pin-beam {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(var(--view-bearing));
  transform-origin: 50% 50%;
  pointer-events: none;
}

.pseudo-roadview-current-marker .pano-pin-beam::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 75.6px;
  height: 92.4px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 231, 132, 0.58) 0%, rgba(255, 210, 66, 0.27) 42%, rgba(255, 210, 66, 0) 76%),
    linear-gradient(to top, rgba(255, 248, 206, 0.36), rgba(255, 214, 74, 0.08) 58%, rgba(255, 214, 74, 0));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: blur(1.2px);
  opacity: 0.92;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: pseudo-roadview-beam-pulse 1.8s ease-in-out infinite;
}

.pseudo-roadview-current-marker .pano-pin-shape {
  position: relative;
  z-index: 2;
  left: auto;
  bottom: auto;
  display: block;
  width: 13.86px;
  height: 13.86px;
  border: 1.26px solid #fff8ce;
  border-radius: 999px;
  background: #e0a825;
  box-shadow: 0 0 0 4.41px rgba(224, 168, 37, 0.24), 0 4.41px 11.34px rgba(0, 0, 0, 0.32);
  transform: none;
}

.photo-estimate-marker {
  --estimate-bearing: 0deg;
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  overflow: visible;
  isolation: isolate;
  pointer-events: none;
}

.photo-estimate-marker .photo-estimate-beam {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--estimate-bearing));
  transform-origin: 0 0;
  pointer-events: none;
}

.photo-estimate-marker .photo-estimate-beam::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 118px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224, 55, 45, 0.54) 0%, rgba(224, 55, 45, 0.24) 42%, rgba(224, 55, 45, 0) 78%),
    linear-gradient(to top, rgba(255, 238, 235, 0.28), rgba(224, 55, 45, 0.1) 58%, rgba(224, 55, 45, 0));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: blur(1px);
  opacity: 0.92;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.photo-estimate-marker .photo-estimate-pin {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: #d9362e;
  box-shadow: 0 0 0 5px rgba(217, 54, 46, 0.22), 0 5px 14px rgba(0, 0, 0, 0.34);
}

.photo-estimate-marker .photo-estimate-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: rgba(255, 247, 244, 0.9);
}

@keyframes pseudo-roadview-beam-pulse {
  0%,
  100% {
    opacity: 0.76;
    transform: translateX(-50%) scaleX(0.92);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.04);
  }
}

.sidebar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 2px;
}

.right-sidebar > .sidebar-header {
  padding-right: 36px;
}

.right-sidebar > .sidebar-header h1 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  line-height: 1.25;
}

.right-sidebar > .sidebar-header h1::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 3px;
  height: 21px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2b7a5b, rgba(43, 122, 91, 0.28));
}

.icon-button {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(28, 34, 31, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  border-color: #aab7b0;
  background: #eef2ee;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.15;
}

h2 {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.25;
}

.subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  min-height: 78px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid #e5ebe8;
}

.stat b {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 3.2vw, 30px);
  line-height: 1.05;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.loading-text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.layer-list {
  display: grid;
  gap: 8px;
}

.layer-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  color: var(--ink);
  font-size: 14px;
}

.layer-list label.is-disabled {
  color: #9aa29d;
}

.layer-list input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.layer-list input:disabled {
  accent-color: #b7c0ba;
}

[data-layer="daum-pano-points"] {
  accent-color: #d59a24;
}

[data-layer="naver-pano-points"] {
  accent-color: #1f9d61;
}

.calibration-step label {
  display: grid;
  gap: 6px;
}

.calibration-step span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.calibration-step input {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.calibration-step input[type="range"] {
  padding: 0;
  accent-color: var(--green);
}

.calibration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.calibration-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.calibration-grid button,
.calibration-actions button {
  min-height: 34px;
  padding: 7px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.calibration-grid button:hover,
.calibration-actions button:hover {
  border-color: #aab7b0;
  background: #eef2ee;
}

.bounds-readout {
  display: block;
  margin-top: 9px;
  padding: 8px;
  border: 1px solid #e5ebe8;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.value-readout {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.is-calibration-disabled {
  opacity: 0.55;
}

.is-calibration-disabled button,
.is-calibration-disabled input {
  cursor: not-allowed;
}

.meta-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.meta-list div {
  display: grid;
  gap: 3px;
}

.meta-list dt {
  color: var(--muted);
  font-size: 12px;
}

.meta-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.click-panel {
  padding: 12px;
}

.click-panel h2 {
  margin-bottom: 8px;
}

.provider-list {
  display: grid;
  gap: 12px;
}

.provider-card {
  padding: 13px;
  border: 1px solid rgba(28, 34, 31, 0.14);
  border-radius: 8px;
  background: #fbfcfa;
}

.provider-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.provider-card header strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(47, 109, 150, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
}

.provider-card-daum .provider-badge {
  background: rgba(187, 122, 24, 0.14);
  color: #8d5b10;
}

.provider-card-naver .provider-badge {
  background: rgba(43, 122, 91, 0.14);
  color: #23674c;
}

.provider-card code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 4px;
  border-radius: 5px;
  background: rgba(32, 35, 34, 0.06);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.provider-card h3 {
  margin: 12px 0 7px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.nearest-point-summary {
  margin: 0 -5px;
  padding: 8px 5px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.capture-list,
.recommendation-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capture-list li {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #e5ebe8;
  border-radius: 8px;
  background: #fff;
}

.capture-list b,
.capture-time-list time,
.recommendation-list b {
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.capture-list span,
.capture-list small,
.recommendation-list small,
.empty-text {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.recommendation-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  align-items: start;
  padding: 7px 8px;
  border: 1px solid #e5ebe8;
  border-radius: 8px;
  background: #fff;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.capture-time-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 38px;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.provider-card-daum .capture-time-list li,
.provider-card-naver .capture-time-list li {
  grid-template-columns: minmax(0, 1fr) auto;
}

.capture-time-list li.is-roadview-active {
  border-color: rgba(187, 122, 24, 0.62);
  background: #fff8db;
  box-shadow: 0 0 0 2px rgba(187, 122, 24, 0.12);
}

.capture-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-width: 0;
}

.capture-time-list time {
  color: var(--ink);
  white-space: nowrap;
}

.capture-id {
  display: inline-block;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(32, 35, 34, 0.06);
  color: #68726d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.provider-card-daum .capture-id {
  background: rgba(187, 122, 24, 0.1);
  color: #8d5b10;
}

.provider-card-naver .capture-id {
  background: rgba(43, 122, 91, 0.1);
  color: #23674c;
}

.roadview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid rgba(187, 122, 24, 0.32);
  border-radius: 8px;
  background: #fff8db;
  color: #70480c;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
}

.roadview-link:hover {
  border-color: rgba(187, 122, 24, 0.62);
  background: #ffeeb0;
}

.recommendation-list li > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: #303735;
  color: #fff;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
}

.recommendation-list div {
  min-width: 0;
}

.recommendation-list b {
  display: block;
  overflow-wrap: anywhere;
}

.capture-list li.is-pin-hover,
.nearest-point-summary.is-pin-hover,
.recommendation-list li.is-pin-hover {
  border-color: rgba(255, 202, 64, 0.92);
  background: #fff8db;
  box-shadow: 0 0 0 2px rgba(255, 202, 64, 0.2);
}

.capture-list li.is-pin-hover time,
.nearest-point-summary.is-pin-hover code,
.recommendation-list li.is-pin-hover > span {
  background: #202322;
  color: #fff;
}

.capture-list li.is-pin-hover time {
  display: inline-block;
  width: fit-content;
  padding: 2px 4px;
  border-radius: 5px;
}

.capture-list li.is-pin-selected,
.nearest-point-summary.is-pin-selected,
.recommendation-list li.is-pin-selected {
  border-color: rgba(47, 109, 150, 0.88);
  background: #e9f3f8;
  box-shadow: 0 0 0 2px rgba(47, 109, 150, 0.18);
}

.capture-list li.is-pin-selected time,
.nearest-point-summary.is-pin-selected code,
.recommendation-list li.is-pin-selected > span {
  background: var(--blue);
  color: #fff;
}

.capture-list li.is-pin-selected time {
  display: inline-block;
  width: fit-content;
  padding: 2px 4px;
  border-radius: 5px;
}

.empty-text {
  margin: 0;
}

.map-wrap {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-width: 0;
  min-height: 0;
}

#map {
  width: 100%;
  height: 100%;
  background: #f0eee5;
}

.map-click-hint {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 760;
  display: grid;
  gap: 3px;
  max-width: min(460px, calc(100% - 32px));
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(24, 31, 28, 0.58);
  box-shadow: 0 10px 28px rgba(20, 26, 23, 0.2);
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px) saturate(1.18);
}

.map-click-hint strong,
.map-click-hint span {
  display: block;
}

.map-click-hint strong {
  font-size: 15px;
  font-weight: 780;
  line-height: 1.28;
}

.map-click-hint span {
  font-size: 12px;
  font-weight: 650;
}

.dunchon-tiled-imagery {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  contain: layout paint;
  transform-origin: 0 0;
  will-change: transform;
}

.dunchon-tiled-imagery img {
  position: absolute;
  max-width: none;
  border: 0;
  pointer-events: none;
  user-select: none;
}

.map-control {
  position: absolute;
  z-index: 760;
  pointer-events: auto;
}

.zoom-step-control,
.opacity-control,
.compact-layer-control {
  left: 14px;
  width: 176px;
  padding: 9px 10px 8px;
  border: 1px solid rgba(28, 34, 31, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(29, 34, 31, 0.14);
  backdrop-filter: blur(8px);
}

.zoom-step-control {
  bottom: 14px;
}

.opacity-control {
  top: 104px;
}

.opacity-control .calibration-step {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(28, 34, 31, 0.1);
}

.opacity-control .calibration-step span {
  font-size: 11px;
}

.opacity-control .calibration-step input {
  min-height: 28px;
  padding: 4px 7px;
  font-size: 12px;
}

.zoom-step-control h2,
.opacity-control h2,
.compact-layer-control h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.zoom-step-row {
  display: block;
}

.zoom-step-control button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(28, 34, 31, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}

.zoom-step-control button:disabled {
  color: #a4aca7;
  cursor: default;
}

.zoom-step-control input[type="range"],
.opacity-control input[type="range"] {
  display: block;
  width: 100%;
  min-height: 22px;
  margin: 0;
  accent-color: var(--green);
}

.zoom-step-control .value-readout,
.opacity-control .value-readout {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
}

.opacity-control .opacity-inline-layer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(28, 34, 31, 0.1);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.opacity-control .opacity-inline-layer input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--coral);
}

.opacity-control .opacity-inline-layer.is-disabled {
  color: #9aa29d;
}

.zoom-step-control .zoom-label-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(28, 34, 31, 0.1);
  min-height: 22px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.zoom-step-control .zoom-label-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--coral);
}

.zoom-step-control .zoom-label-toggle.is-disabled {
  color: #9aa29d;
}

.opacity-control .calibration-grid {
  gap: 5px;
  margin-top: 8px;
}

.opacity-control .calibration-actions {
  gap: 5px;
  margin-top: 6px;
}

.opacity-control .calibration-grid button,
.opacity-control .calibration-actions button {
  min-height: 27px;
  padding: 4px 5px;
  border-radius: 6px;
  font-size: 11px;
}

.opacity-control .bounds-readout {
  margin-top: 7px;
  padding: 6px;
  border-radius: 6px;
  font-size: 10px;
}

.compact-layer-control {
  top: 428px;
  padding: 9px 10px;
  box-shadow: 0 8px 24px rgba(29, 34, 31, 0.12);
}

.compact-layer-control label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.compact-layer-control input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--coral);
}

.compact-layer-control label.is-disabled {
  color: #9aa29d;
}

.kakao-ocr-label-canvas {
  pointer-events: none;
  will-change: transform;
}

.kakao-ocr-building-label-icon {
  background: transparent;
  border: 0;
  pointer-events: none;
}

.kakao-ocr-building-label {
  display: inline-block;
  color: rgba(255, 244, 184, 0.96);
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    1px 0 1px rgba(0, 0, 0, 0.78),
    -1px 0 1px rgba(0, 0, 0, 0.78);
  pointer-events: none;
}

.pano-pin-icon {
  background: transparent;
  border: 0;
}

.pano-pin-shape {
  position: absolute;
  left: calc(50% + var(--pin-offset-x, 0px));
  bottom: calc(2px + var(--pin-offset-y, 0px));
  display: block;
  transform: translateX(-50%) rotate(-45deg);
  transform-origin: 50% 50%;
  border-radius: 50% 50% 50% 0;
}

.pano-pin-icon.is-primary .pano-pin-shape {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  background: #ffe66d;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.34),
    0 0 0 3px rgba(255, 230, 109, 0.34);
}

.pano-pin-icon.is-primary .pano-pin-shape::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #202322;
  content: "";
}

.pano-pin-icon.is-primary.is-daum .pano-pin-shape {
  background: #ffd05a;
}

.pano-pin-icon.is-primary.is-naver .pano-pin-shape {
  background: #8ff0ad;
}

.pano-pin-icon.is-recommendation .pano-pin-shape {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #252b2a;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.32);
}

.pano-pin-icon.is-recommendation.is-daum .pano-pin-shape {
  border-color: rgba(255, 208, 90, 0.9);
}

.pano-pin-icon.is-recommendation.is-naver .pano-pin-shape {
  border-color: rgba(143, 240, 173, 0.9);
}

.status {
  display: none;
}

.leaflet-popup-content {
  min-width: 220px;
  margin: 12px;
  font-family: inherit;
}

.popup-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 750;
}

.popup-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.tag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.tag-table th,
.tag-table td {
  padding: 4px 0;
  border-top: 1px solid #e7ece9;
  text-align: left;
  vertical-align: top;
}

.tag-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 650;
}

.viewer-actions {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.candidate-list {
  display: grid;
  gap: 5px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.candidate-list li {
  padding: 6px 7px;
  border: 1px solid #e1e7e4;
  border-radius: 7px;
  background: #fbfcfa;
}

.viewer-actions a,
.viewer-actions button {
  display: block;
  min-height: 34px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.viewer-actions a:hover,
.viewer-actions button:hover {
  border-color: #aab7b0;
  background: #eef2ee;
}

.popup-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 820px), (orientation: landscape) and (max-height: 540px) {
  .opacity-control {
    display: none;
  }

  .map-click-hint {
    left: 10px;
    top: 10px;
    max-width: min(320px, calc(100% - 20px));
    padding: 7px 9px;
    border-radius: 7px;
    box-shadow: 0 6px 18px rgba(20, 26, 23, 0.18);
    font-weight: 640;
    line-height: 1.3;
    backdrop-filter: blur(8px) saturate(1.08);
  }

  .map-click-hint strong {
    font-size: 12px;
  }

  .map-click-hint span {
    font-size: 10px;
  }

  .zoom-step-control {
    left: 10px;
    bottom: 10px;
    width: min(164px, calc(100% - 20px));
    padding: 7px 8px;
  }

  .zoom-step-control input[type="range"] {
    min-height: 20px;
  }

  .zoom-step-control .zoom-label-toggle {
    gap: 6px;
    margin-top: 5px;
    padding-top: 5px;
    font-size: 11px;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  body.is-resizing-roadview,
  body.is-resizing-roadview * {
    cursor: row-resize !important;
  }

  .sidebar {
    width: min(360px, calc(100vw - 28px));
    max-height: 100dvh;
    border-right: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .right-sidebar {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    padding: 10px;
    border-top: 0;
    border-left: 0;
    box-shadow: none;
    transform: translateY(calc(100% + 24px));
  }

  .right-sidebar.is-open {
    transform: translateY(0);
  }

  .right-sidebar-resizer {
    display: none;
  }

  .right-sidebar > .sidebar-header {
    flex: 0 0 auto;
    min-height: 24px;
    padding-right: 28px;
  }

  .right-sidebar > .sidebar-header h1 {
    font-size: 13px;
  }

  .pseudo-roadview-close {
    top: 8px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 16px;
  }

  .pseudo-roadview-viewer {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 6px;
  }

  .pseudo-roadview-share {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  .pseudo-roadview-share svg {
    width: 15px;
    height: 15px;
  }

  .pseudo-roadview-meta {
    flex: 0 0 33.333vh;
    flex-basis: 33.333dvh;
    max-height: 33.333vh;
    max-height: 33.333dvh;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 9px;
  }

  .pseudo-roadview-date-groups {
    gap: 9px;
  }

  .pseudo-roadview-date-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .pseudo-roadview-date-label {
    padding-top: 0;
  }

  .pseudo-roadview-choice-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  h1 {
    font-size: 24px;
  }

  .map-wrap {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  body.is-resizing-roadview,
  body.is-resizing-roadview * {
    cursor: col-resize !important;
  }

  .right-sidebar {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--pseudo-roadview-width, 33.333vw);
    min-width: 0;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    gap: 8px;
    padding: 9px;
    border-top: 0;
    border-left: 1px solid var(--line);
    transform: translateX(calc(100% + 24px));
  }

  .right-sidebar.is-open {
    transform: translateX(0);
  }

  .right-sidebar-resizer {
    top: 0;
    bottom: 0;
    left: -6px;
    width: 12px;
    height: auto;
    cursor: col-resize;
  }

  .right-sidebar-resizer::before {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 5px;
    width: 2px;
    height: auto;
  }

  .right-sidebar-resizer::after {
    top: 50%;
    left: -8px;
    width: 28px;
    height: 44px;
    background:
      linear-gradient(
        90deg,
        transparent 7px,
        rgba(43, 122, 91, 0.76) 7px,
        rgba(43, 122, 91, 0.76) 9px,
        transparent 9px,
        transparent 13px,
        rgba(43, 122, 91, 0.76) 13px,
        rgba(43, 122, 91, 0.76) 15px,
        transparent 15px,
        transparent 19px,
        rgba(43, 122, 91, 0.76) 19px,
        rgba(43, 122, 91, 0.76) 21px,
        transparent 21px
      ),
      rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
  }

  .right-sidebar > .sidebar-header {
    flex: 0 0 auto;
    min-height: 24px;
    padding-right: 28px;
  }

  .right-sidebar > .sidebar-header h1 {
    font-size: 12px;
  }

  .pseudo-roadview-close {
    top: 8px;
    right: 9px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 16px;
  }

  .pseudo-roadview-viewer {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 6px;
  }

  .pseudo-roadview-share {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  .pseudo-roadview-share svg {
    width: 15px;
    height: 15px;
  }

  .pseudo-roadview-meta {
    flex: 0 0 min(36vh, 36%);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
  }

  .pseudo-roadview-date-groups {
    gap: 8px;
  }

  .pseudo-roadview-date-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .pseudo-roadview-date-label {
    padding-top: 0;
    font-size: 11px;
  }

  .pseudo-roadview-choice-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .pseudo-roadview-choice {
    min-height: 28px;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 11px;
  }

  .map-wrap {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }
}
