.View-Canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.View-Inset-Canvas {
  display: block;
}

.View-Attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: calc(100% - 32px);
  padding: 9px 16px;
  color: #9a9a9a;
  font-size: 10px;
  line-height: 16px;
  text-align: right;
  word-break: break-all;
  pointer-events: none;
  z-index: 5;
}

.MapSelect {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  box-sizing: border-box;
  max-height: 240px;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}

.MapSelect-Option {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  height: 28px;
  flex-shrink: 0;
  padding: 0 20px 0 12px;
  font-size: 13px;
  font-family: inherit;
  color: #9a9a9a;
  text-decoration: none;
  appearance: none;
  border: none;
  background: none;
  border-radius: 2px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.MapSelect-Option:hover:not([data-current]) {
  background: #1d2025;
}
.MapSelect-Option[data-current] {
  color: #ededed;
  cursor: default;
}
.MapSelect-Option[data-active] {
  color: #ededed;
}

.MapSelect-Option-Check {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  visibility: hidden;
}
.MapSelect-Option-Check svg {
  display: block;
  width: 10px;
  height: 10px;
}

.MapSelect-Option[data-current] .MapSelect-Option-Check, .MapSelect-Option[data-active] .MapSelect-Option-Check {
  visibility: visible;
}

.MapSelect-Option-Label {
  white-space: nowrap;
}

.ViewPanel {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #24272c;
  border: 1px solid #363b43;
  border-radius: 12px 4px 4px 4px;
  overflow: hidden;
  z-index: 10;
}
.ViewPanel[data-hidden] {
  display: none;
}
.ViewPanel[data-minimized] .ViewPanel-Body {
  display: none;
}
.ViewPanel[data-minimized] .ViewPanel-Title {
  border-bottom-right-radius: 0;
}
.ViewPanel-Header {
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.ViewPanel-Header:active {
  cursor: grabbing;
}
.ViewPanel-Title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  background: #1d2025;
  border-bottom-right-radius: 12px;
  font-size: 11px;
  color: #ededed;
}
.ViewPanel-Close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ededed;
  cursor: pointer;
}
.ViewPanel-Close svg {
  width: 9px;
  visibility: hidden;
}
.ViewPanel-Close:hover svg {
  visibility: visible;
}
.ViewPanel-Body {
  flex: 1;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}

.MapData {
  padding: 8px 12px;
}
.MapData:not(:last-child) {
  border-bottom: 1px solid #363b43;
}
.MapData-Item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 21px;
}
.MapData-Item + .MapData-Item {
  margin-top: 6px;
}
.MapData-Item-Label {
  color: #9a9a9a;
}
.MapData-Item-Value {
  color: #ededed;
  font-variant-numeric: tabular-nums;
}

.SlideOverlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 32px 0;
  box-sizing: border-box;
  max-width: 600px;
  pointer-events: none;
  z-index: 10;
}
.SlideOverlay[data-hidden] {
  display: none;
}

.Slide {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  max-height: 100%;
  box-sizing: border-box;
  background: #24272c;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  pointer-events: auto;
}
.Slide[data-state=float], .Slide[data-state=collapse] {
  position: fixed;
  max-height: calc(100% - 64px);
  border-radius: 16px 4px 4px 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.Slide[data-state=collapse] {
  min-width: 96px;
}
.Slide[data-state=collapse] .Slide-Main {
  display: none;
}
.Slide[data-state=float] .Slide-Header, .Slide[data-state=collapse] .Slide-Header {
  cursor: move;
}
.Slide-Header {
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  touch-action: none;
  user-select: none;
}
.Slide-Main {
  flex: 1;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.Slide-Toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  color: #9a9a9a;
  cursor: pointer;
}
.Slide-Toggle:hover {
  color: #ededed;
}
.Slide-Icon {
  display: none;
  align-items: center;
  justify-content: center;
}
.Slide-Icon svg {
  display: block;
}
.Slide[data-state=dock] .Slide-Icon[data-icon=square], .Slide[data-state=float] .Slide-Icon[data-icon=line], .Slide[data-state=collapse] .Slide-Icon[data-icon=open] {
  display: flex;
}

.SlideContent-Title {
  margin: 0;
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #ededed;
}
.SlideContent-Subject {
  padding: 16px 28px;
  border-top: 1px solid #363b43;
}
.SlideContent-Breakdown {
  padding: 16px 28px;
  border-top: 1px solid #363b43;
}
.SlideContent-Item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 21px;
}
.SlideContent-Item + .SlideContent-Item {
  margin-top: 6px;
}
.SlideContent-Item-Label {
  color: #9a9a9a;
}
.SlideContent-Item-Value {
  color: #ededed;
  font-variant-numeric: tabular-nums;
}

.View-Resize {
  position: absolute;
  z-index: 1;
  touch-action: none;
}
.View-Resize[data-edge=n] {
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
}
.View-Resize[data-edge=s] {
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  cursor: ns-resize;
}
.View-Resize[data-edge=e] {
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.View-Resize[data-edge=w] {
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.View-Resize[data-edge=ne] {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}
.View-Resize[data-edge=nw] {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}
.View-Resize[data-edge=se] {
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}
.View-Resize[data-edge=sw] {
  left: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}

.Crime-Static {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  margin: 0;
  padding: 24px 20px;
  box-sizing: border-box;
  color: #ededed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  z-index: 1;
}
.Crime-Static-Title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.Crime-Static-Lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #9a9a9a;
}
.Crime-Static-Headline {
  margin: 0 0 16px;
  font-size: 15px;
  color: #ededed;
}
.Crime-Static-List {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 480px;
}
.Crime-Static-Item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid #24272c;
  font-size: 13px;
}
.Crime-Static-Name {
  color: #9a9a9a;
}
.Crime-Static-Value {
  color: #ededed;
  font-variant-numeric: tabular-nums;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  overflow: hidden;
}

#japan-crime {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #16181c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}