/* Early old-browser fallback for public user pages. Keep this file plain CSS. */
html.legacy-browser,
html.legacy-browser body,
body.legacy-browser {
  min-width: 0;
  background-color: #f2eadf;
  color: #23170f;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html.legacy-browser *,
html.legacy-browser *:before,
html.legacy-browser *:after {
  box-sizing: border-box;
}

html.legacy-browser body {
  overflow-x: hidden;
}

html.legacy-browser select,
html.legacy-browser input,
html.legacy-browser textarea,
html.legacy-browser button {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html.legacy-browser select,
html.legacy-browser #versionSelect,
html.legacy-browser #versionInput {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 10px 12px !important;
  border: 1px solid #b99061 !important;
  border-radius: 8px !important;
  background: #fffaf3 !important;
  color: #23170f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  outline: none !important;
}

html.legacy-browser select option,
html.legacy-browser #versionSelect option,
html.legacy-browser #versionInput option {
  color: #23170f;
  background: #fffaf3;
}

html.legacy-browser .legacy-version-fallback {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
  clear: both !important;
}

html.legacy-browser .legacy-version-fallback-button,
html.legacy-browser .legacy-version-option {
  display: block !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 0 8px 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #a77a47 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #5d351a !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
}

html.legacy-browser .legacy-version-fallback-button {
  background: #a3342d !important;
  border-color: #a3342d !important;
  color: #ffffff !important;
  text-align: center !important;
}

html.legacy-browser .legacy-version-current {
  display: block !important;
  margin: 2px 0 8px 0 !important;
  color: #6a5548 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  word-break: break-all !important;
}

html.legacy-browser .legacy-version-panel {
  display: none;
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid #d8c0a3 !important;
  border-radius: 10px !important;
  background: #fff4e6 !important;
  color: #23170f !important;
}

html.legacy-browser .legacy-version-panel.is-open {
  display: block !important;
}

html.legacy-browser .legacy-version-option small {
  display: inline-block !important;
  margin-left: 8px !important;
  color: #8a5a2b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

html.legacy-browser .legacy-version-option.is-active {
  border-color: #16624d !important;
  background: #e8f4ef !important;
  color: #0f513f !important;
}

html.legacy-browser body.money-wa-theme.op-entry-redesign.black-gold-entry .money-cockpit-grid,
html.legacy-browser body.money-wa-theme.op-entry-redesign.black-gold-entry .money-side-rail {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.legacy-browser body.money-wa-theme.op-entry-redesign.black-gold-entry .money-side-panel {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px 0 !important;
}

html.legacy-browser sl-icon,
html.legacy-browser iconify-icon {
  display: inline-block !important;
  min-width: 1em !important;
  width: 1em !important;
  height: 1em !important;
  line-height: 1 !important;
  text-align: center !important;
  color: inherit !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  html.legacy-browser body {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html.legacy-browser .legacy-version-fallback-button,
  html.legacy-browser .legacy-version-option {
    font-size: 15px !important;
  }
}
