#chBtn {
  text-decoration: none;
  margin-left: 8px;
}

#themeBtn,
#chBtn {
  background-color: transparent;
  border: solid 2px rgb(42, 181, 199);
  border-radius: 8px;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

#themeBtn:hover,
#chBtn:hover {
  color: rgb(53, 185, 188);
  text-decoration: underline;
}

.m_title,
.conversion-hook h1 {
  /*mini life chart title*/
  font-size: 18px;
  font-weight: 800;
  color: rgb(28, 218, 218);
}

#ft_0 {
  width: 342px;
  text-align: center;
}

.button-top {
  margin-top: 8px;
  margin-left: 18px;
}
.conversion-hook {
  max-width: 980px;
  margin: auto;
  margin-top: 8px;
  margin-bottom: 16px;
  padding-top: 16px;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.conversion-hook h1 {
  font-size: 28px;
}

.conversion-hook h2 {
  margin-top: 12px;
  font-size: 18px;
  color: rgb(80, 208, 228);
}

.conversion-hook p {
  margin-top: 4px;
  margin-bottom: 8px;
}

.conversion-hook ul {
  list-style-type: none;
  margin-left: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.conversion-hook ul li {
  margin-top: 4px;
  margin-bottom: 4px;
}

.mplt {
  font-weight: 800;
  /*border: 1px solid rgb(116, 233, 235); chart mini palace*/
  padding: 1px;
  padding-left: 0px;
  padding-right: 4px;
  margin-top: 0px !important;
  margin-bottom: 6px;
}
.mplt p {
  margin-right: 2px;
}

#三甪形,
#三甪形_m {
  background-position: center center;
  background-repeat: no-repeat;
}

#legend_m,
.legend_m {
  text-align: center !important;
  margin-top: 4px;
  margin-bottom: 10px !important;
}

.legend_m span {
  margin-right: 4px;
}

.terra_m {
  margin-top: 4px;
}

.宮位_m {
  margin-bottom: 6px;
}

.terra_b {
  font-weight: 800;
  margin-bottom: 0px;
}

.terra_b p {
  margin-right: 2px;
}

.輔曜_m,
.佐曜_m,
.煞曜_m {
  margin-left: 2px;
  border-width: 2px;
  border-style: solid;
  border-radius: 4px;
  padding-left: 2px;
  padding-right: 2px;
}

.palace {
  border-color: 1px solid rgb(9, 153, 98);
}
/*
.terra_m {
  border-color: rgb(9, 153, 98);
}
*/
.主星_m {
  margin-left: 2px;
  border-radius: 4px;
  padding-left: 2px;
  padding-right: 2px;
}

.flex-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
  height: 0;
}

.flex-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
