/* Generated family: fixed corners, live labels and real interaction states. */
button {
  border-image-source: url("../button-normal.png");
  border-image-slice: 55 fill;
  border-width: 12px;
  border-image-width: 12px;
  padding: 0 10px;
  font-weight: 600;
}
button:hover {
  border-image-source: url("../button-hover.png");
  filter: none;
}
button[aria-pressed="true"] {
  border-image-source: url("../button-selected.png");
  outline: none;
  filter: none;
}
button:disabled {
  border-image-source: url("../button-disabled.png");
  opacity: 1;
  color: #93aaa2;
  transform: none;
}
button:disabled:hover {
  border-image-source: url("../button-disabled.png");
}
header {
  position: relative;
  justify-content: center;
  min-height: 110px;
  border-bottom: 1px solid #749a86;
}
header img {
  width: 270px;
  height: 100px;
}
header p {
  position: absolute;
  left: auto;
  inset-inline-start: 12px;
  max-width: 220px;
}
#toolbar {
  position: absolute;
  right: auto;
  inset-inline-end: 0;
  margin: 0;
}
#regions {
  max-width: 880px;
  margin: 12px auto;
}
#regions button[aria-pressed="false"] {
  border-image-source: url("../button-disabled.png");
  color: #f4e8c9;
}
#world {
  border-radius: 15px;
  border: 2px solid #d7b66a;
}
#maplabel {
  padding: 6px 11px;
  background: #07363dd9;
  border-radius: 5px;
  top: 10px;
  left: 10px;
}
#palette button {
  height: 126px;
  border: 0;
  border-image: none;
  background: url("../card-normal.png") center/100% 100% no-repeat;
  justify-content: flex-end;
  padding: 10px 5px 11px;
  position: relative;
  color: #183e3f;
  gap: 2px;
  line-height: 1.15;
}
#palette button:hover {
  background-image: url("../card-hover.png");
}
#palette button[aria-pressed="true"] {
  background-image: url("../card-selected.png");
  outline: none;
}
#palette button:disabled {
  background-image: url("../card-disabled.png");
}
#palette img {
  width: 72px;
  height: 81px;
  max-width: 95%;
  filter: drop-shadow(0 4px 2px #001b2333);
}
#selected {
  min-width: 150px;
  line-height: 1.5;
}
#edithead {
  flex-wrap: wrap;
  padding-top: 8px;
  gap: 4px;
}
#actions {
  margin-inline-start: auto;
  flex-wrap: wrap;
}
#steps button {
  min-height: 39px;
  border-width: 8px;
  border-image-width: 8px;
}
#steps button[aria-pressed="false"] {
  border-image-source: url("../button-disabled.png");
  filter: none;
  color: #bed2c4;
}
#steps button[aria-pressed="true"] {
  border-image-source: url("../button-selected.png");
  color: #173b3d;
}
#steps button.current {
  outline: 2px solid #9bfff1;
  filter: none;
}
#notes {
  font-size: 12px;
  line-height: 1.6;
  color: #ead29e;
  padding-inline-start: 18px;
  margin: 0;
}
#notes li {
  margin-bottom: 5px;
}
#blank {
  margin-top: 8px;
}
#boot .panel {
  background-color: transparent;
  margin-bottom: 24px;
}
#boot {
  place-items: start center;
  padding-top: 40px;
  overflow-y: auto;
}
progress {
  appearance: none;
  border: 0;
  background: transparent;
}
progress::-webkit-progress-bar {
  border: 4px solid transparent;
  border-image: url("../button-disabled.png") 55 fill/4px;
}
progress::-webkit-progress-value {
  border: 4px solid transparent;
  border-image: url("../button-selected.png") 55 fill/4px;
}
progress::-moz-progress-bar {
  background: url("../button-selected.png") center/100% 100%;
}
input[type="range"] {
  appearance: none;
  background: transparent;
  height: 28px;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 12px;
  border: 5px solid transparent;
  border-image: url("../button-disabled.png") 55 fill/5px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  background: url("../beacon.png") center/contain no-repeat;
  margin-top: -14px;
}
input[type="range"]::-moz-range-track {
  height: 12px;
  background: url("../button-disabled.png") center/100% 100%;
}
input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border: 0;
  background: url("../beacon.png") center/contain no-repeat;
}
@media (max-width: 700px) {
  header {
    min-height: 82px;
    justify-content: flex-start;
  }
  header img {
    width: 165px;
    height: 75px;
  }
  #toolbar {
    right: auto;
    inset-inline-end: 0;
  }
  #toolbar button {
    padding: 0 7px;
  }
  #regions {
    margin: 10px 0;
  }
  #palette button {
    height: 103px;
    padding-bottom: 10px;
    font-size: 10px;
  }
  #palette img {
    height: 64px;
    width: 60px;
  }
  #selected {
    flex: 0 0 100%;
    min-width: 0;
    font-size: 13px;
  }
  #actions {
    width: 100%;
    margin: 3px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  #actions button {
    padding: 0 4px;
    min-height: 40px;
    font-size: 11px;
  }
  #steps button {
    min-height: 40px;
  }
  #meta {
    flex-wrap: wrap;
    line-height: 1.5;
  }
  #position {
    max-width: 220px;
    text-align: end;
  }
  #maplabel {
    font-size: 10px;
    padding: 4px 7px;
  }
  #notes {
    font-size: 11px;
  }
}
