body {
  background-color: #0683B8;
  /*background-color: #AEF5CB;*/
  /*background-color: #73DBE6;*/
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #E0E0DA;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h1,
.tagline {
  margin-left: 0.6rem;
}

h1 {
  line-height: 1.1;
  margin-top: 0.3em;
  margin-bottom: 0.2em;
}

button,
input {
  font-family: inherit;
  font-size: 1em;
  letter-spacing: inherit;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topnav {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 1001;
  display: flex;
  align-items: baseline;
  gap: 1em;
}

.home-link,
.home-link:visited {
  display: block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.nav-link,
.nav-link:visited {
  color: #E0E0DA;
  text-decoration: none;
}

#login-trigger {
  background: none;
  border: none;
  color: #E0E0DA;
  padding: 0;
}

#login-panel {
  /* Starts hidden in CSS so it cannot paint open before DropdownUtil runs.
     JS sets display:block inline to open it, which wins over this rule. */
  display: none;
  position: fixed !important;
  top: 3em;
  right: 1em;
  background: #056a96;
  border: 1px solid rgba(224, 224, 218, 0.35);
  border-radius: 4px;
  padding: 1.25em;
  z-index: 1000 !important;
  min-width: 260px;
}

.auth-tabs {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.75em;
}

.auth-tab {
  background: none;
  border: none;
  color: #E0E0DA;
  cursor: pointer;
  padding: 0;
  opacity: 0.4;
}

.auth-tab.active {
  opacity: 1;
  text-decoration: underline;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.auth-form input {
  background: none;
  border: none;
  border-bottom: 1px solid #E0E0DA;
  color: #E0E0DA;
  padding: 0.25em 0;
  outline: none;
  width: 220px;
}

.auth-form input::placeholder {
  color: #E0E0DA;
  opacity: 0.5;
}

.captcha-box {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.captcha-img {
  cursor: pointer;
  border-radius: 4px;
  width: 220px;
}

.captcha-hint {
  font-size: 0.7em;
  opacity: 0.5;
}

.auth-submit {
  background: none;
  border: 1px solid #E0E0DA;
  color: #E0E0DA;
  padding: 0.3em 1em;
  cursor: pointer;
  margin-top: 0.25em;
  width: fit-content;
}

.auth-submit:hover {
  background: #E0E0DA;
  color: #0683B8;
}

.auth-message {
  margin-top: 0.5em;
  font-size: 0.85em;
  opacity: 0.8;
}

.download-link,
.download-link:visited {
  color: #F2F6FB;
}

.auth-message.error {
  color: #ffaaaa;
}

.tagline {
  text-align: left;
  font-size: 0.95em;
  margin-top: 0;
  margin-bottom: 1.5em;
}

.closing {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1em 2em;
  padding: 0 1em 2em;
}

.downloads {
  text-align: right;
}

.closing h3 {
  margin: 0.2em 0;
}

.shot {
  margin: 2.5em 0;
  text-align: center;
}

.shot img {
  width: min(90%, 900px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.shot figcaption {
  font-size: 0.85em;
  opacity: 0.8;
  margin-top: 0.6em;
}

.log {
  margin-left: 0.6rem;
  padding-bottom: 4em;
}

.log h2 {
  font-size: 1.6em;
  margin: 0 0 0.4em;
}

.log h3 {
  margin: 1.4em 0 0.3em;
}

.log p {
  margin: 0.2em 0;
}

.support {
  margin-left: 0.6rem;
  padding-bottom: 4em;
  max-width: 46em;
  padding-right: 1em;
}

.support h2 {
  font-size: 1.6em;
  margin: 0 0 0.4em;
}

.support h3 {
  margin: 1.6em 0 0.3em;
  font-size: 1.05em;
  opacity: 0.75;
}

.support p {
  margin: 0.4em 0;
}

.support-link,
.support-link:visited {
  color: #F2F6FB;
}

.support-button {
  display: inline-block;
  background: none;
  border: 1px solid #E0E0DA;
  color: #E0E0DA;
  text-decoration: none;
  padding: 0.5em 1.6em;
  margin-top: 1.2em;
  cursor: pointer;
}

.support-button:visited {
  color: #E0E0DA;
}

.support-button:hover {
  background: #E0E0DA;
  color: #0683B8;
}

.addrs {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  gap: 0.6em;
  margin-top: 1.6em;
  border: 1px solid #E0E0DA;
  padding: 0.9em 1.2em;
  width: fit-content;
  max-width: 100%;
}

.addr {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5em;
}

.addr-coin,
.addr-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
}

.addr-coin {
  min-width: 2.5em;
}

.addr-value {
  word-break: break-all;
}

.addr-trunc {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.addr-trunc:hover {
  text-decoration: underline;
}

.matrix-link,
.matrix-link:visited {
  margin-left: 0.5em;
  font-size: 0.75em;
  color: inherit;
  text-decoration: none;
}

.matrix-link:hover {
  text-decoration: underline;
}
