html {
  font: 18px/40px slice, sans-serif;
  background-color: #c5f9cb;
  color: #111;
}
body {
  margin: 0;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
svg #地名 {
  pointer-events: none;
}
a {
  color: #111;
  cursor: pointer;
  text-decoration: none;
}
#Set_Lang {
  display: none;
  position: absolute;
  z-index: 1;
  background: #fff;
  width: 150px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 6px 0 rgba(0, 0, 0, 0.1);
  border: 4px solid #000;
  text-align: center;
}
#Set_Lang h2 {
  margin: 0;
  font-weight: normal;
  font-size: 26px;
  line-height: 40px;
  cursor: default;
}
#Set_Lang a {
  line-height: 24px;
  font-size: 20px;
  cursor: pointer;
}
#Set_Lang h2,
#Set_Lang a {
  display: block;
  padding: 4px 10px;
}
#设置等级 {
  display: none;
  position: absolute;
  z-index: 1;
  background: #fff;
  width: 250px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 6px 0 rgba(0, 0, 0, 0.1);
  border: 4px solid #000;
  text-align: center;
}
#设置等级 h2 {
  margin: 0;
  font-weight: normal;
  font-size: 26px;
  line-height: 40px;
  cursor: default;
}
#设置等级 a {
  line-height: 24px;
  font-size: 18px;
  cursor: pointer;
}
#设置等级 h2,
#设置等级 a {
  display: block;
  padding: 4px 10px;
}
#设置等级 h2[data-level="5"],
#设置等级 a[data-level="5"] {
  background: #ff7e7e;
}
#设置等级 h2[data-level="4"],
#设置等级 a[data-level="4"] {
  background: #ffb57e;
}
#设置等级 h2[data-level="3"],
#设置等级 a[data-level="3"] {
  background: #ffe57e;
}
#设置等级 h2[data-level="2"],
#设置等级 a[data-level="2"] {
  background: #a8ffbe;
}
#设置等级 h2[data-level="1"],
#设置等级 a[data-level="1"] {
  background: #88aeff;
}
#设置等级 h2[data-level="0"][alt],
#设置等级 a[data-level="0"][alt] {
  background: #d6beff;
}
.按钮 {
  background: #fff;
  box-shadow: 0 0 0 2px #111;
  border-radius: 3px;
}
#Reset {
  background-color: #ffb;
}
footer {
  position: absolute;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0);
  margin: 16px;
  font-size: 16px;
  line-height: 24px;
  transition: opacity 1s ease;
}
footer a {
  float: left;
  padding: 4px 4px;
  margin-left: 3px;
}
footer a.按钮 {
  margin-left: 6px;
}
#输出图像 {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  text-align: center;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
#输出图像 img {
  display: block;
  width: 480px;
  height: 480px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
#输出图像 .按钮 {
  padding: 8px 12px;
  box-shadow: 0 0 0 2px #111;
}
@media (max-width: 800px), (max-height: 800px) {
  html {
    font-size: 14px;
  }
  footer {
    font-size: 16px;
    line-height: 24px;
    margin: 10px;
  }
  footer a {
    padding: 6px 8px;
  }
  .按钮 {
    box-shadow: 0 0 0 2px #111;
  }
  #设置等级 {
    width: 140px;
    border-width: 2px;
  }
  #设置等级 h2 {
    font-size: 12px;
    line-height: 30px;
  }
  #设置等级 a {
    font-size: 14px;
    line-height: 18px;
  }
  #Set_Lang {
    width: 140px;
    border-width: 2px;
  }
  #Set_Lang h2 {
    font-size: 12px;
    line-height: 30px;
  }
  #Set_Lang a {
    font-size: 14px;
    line-height: 18px;
  }
}
@media (max-width: 480px) and (min-height: 600px) {
  footer {
    bottom: 50px;
  }
  #输出图像 img {
    width: 100vw;
    height: 100vw;
  }
}
html[data-loading] footer {
  pointer-events: none;
  opacity: 0;
}
