/* Download actions and readable game copy, retaining the existing artwork. */
#Download button {
  cursor: pointer;
}

#Download button:hover,
#Download button:focus-visible {
  filter: brightness(1.16);
  outline: 2px solid #f0d28d;
  outline-offset: 2px;
}

.apple-download-dialog {
  box-sizing: border-box;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 34px 28px 22px;
  overflow: auto;
  color: #ecdbb9;
  background: linear-gradient(145deg, #302218, #120e0a);
  border: 1px solid #bd9657;
  border-radius: 6px;
  box-shadow: 0 20px 80px #0009, inset 0 0 0 4px #b38b4820;
  font: 15px/1.8 "Microsoft YaHei", sans-serif;
}

.apple-download-dialog::backdrop {
  background: #000b;
}

.apple-download-dialog h2 {
  margin: 6px 0 16px;
  color: #f2cf88;
  font: bold 24px/1.5 "SimSun", serif;
}

.apple-dialog-kicker {
  margin: 0;
  color: #b39668;
  font-size: 12px;
  letter-spacing: 3px;
}

.apple-dialog-close {
  position: absolute;
  top: 8px;
  right: 10px;
  transform: none;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #dac393;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.apple-download-dialog label {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: #bea77d;
}

#apple-download-url {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 6px 0 16px;
  padding: 10px;
  border: 1px solid #7d633c;
  border-radius: 3px;
  color: #f4e5c7;
  background: #0c0907;
  font: 16px/1.5 Arial, sans-serif;
  user-select: text;
  -webkit-user-select: text;
}

.apple-copy-button {
  position: static;
  transform: none;
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #ebce87;
  border-radius: 3px;
  color: #412b10;
  background: linear-gradient(135deg, #f2d999, #d8ad58);
  font: bold 16px/1.5 "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.apple-copy-status {
  min-height: 2em;
  margin: 10px 0 0;
  color: #c9b58e;
  font-size: 13px;
}

.sm1.game-intro {
  box-sizing: border-box;
  position: relative;
  left: auto;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 38px 20px 50px;
  background: radial-gradient(ellipse at 50% 30%, #342219, #1b130d 75%);
}

.game-intro-heading {
  position: relative;
  z-index: 1;
  margin: 0 auto 10px;
  color: #dfc573;
  text-align: center;
  font-family: "SimSun", "STSong", serif;
}

.game-intro-heading > span {
  display: inline-grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid #786039;
  border-radius: 50%;
  color: #aa8b54;
  font-size: 36px;
}

.game-intro-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 2px 2px #090705;
}

.game-intro-panel {
  box-sizing: border-box;
  position: relative;
  width: min(1100px, 100%);
  margin: auto;
  padding: 48px 110px 35px;
  border-image: url("../images/intro-dragon-frame-v2.png") 48 110 35 110 / 48px 110px 35px 110px stretch;
  background: linear-gradient(135deg, #39261d, #1a100e);
  background-clip: content-box;
}

.game-intro-copy {
  margin: 0;
  padding: 0 4px;
  color: #e8cb87;
  font: 18px/1.85 "SimSun", "STSong", serif;
  text-shadow: 0 2px 2px #000;
}

.game-intro-copy > div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  padding: 8px 0;
  border-bottom: 1px dashed #9a7a44;
}

.game-intro-copy > div:last-child {
  border-bottom: 0;
}

.game-intro-copy dt {
  font-weight: bold;
  white-space: nowrap;
}

.game-intro-copy dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .sm1.game-intro {
    padding: 28px 12px 38px;
  }

  .game-intro-heading h2 {
    letter-spacing: 1px;
  }

  .game-intro-panel {
    padding: 32px 25px 24px;
    border-image-width: 32px 25px 24px 25px;
  }

  .game-intro-copy {
    font-size: 16px;
    line-height: 1.85;
  }

  .game-intro-copy > div {
    display: block;
    padding: 10px 0;
  }

  .game-intro-copy dd {
    padding: 4px 8px 0;
  }

  #Download .btn_down_s2 small {
    font-size: 9px;
    white-space: normal;
  }
}
