/* Fire-only additions. Loaded after theme.css. Keep the gbt.fyi monochrome system. */

body[class] .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
body[class] .brand img {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
}

body[class] .preview-banner {
  background: #0a0a0a;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.6rem 1.25rem;
}

body[class] .notice {
  border: 1px solid var(--line-2);
  padding: 1.15rem 1.2rem;
  margin: 1.75rem 0 0;
  position: relative;
}
body[class] .notice::before,
body[class] .notice::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}
body[class] .notice::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--fg);
  border-left: 1px solid var(--fg);
}
body[class] .notice::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--fg);
  border-right: 1px solid var(--fg);
}
body[class] .notice p {
  margin: 0;
  max-width: 52rem;
}

body[class] .hero-logo {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 0 1.1rem;
}

body[class] .ledger-line {
  margin: 0.65rem 0 0;
  word-break: break-all;
  overflow-wrap: anywhere;
}

body[class] .ids {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
body[class] .ids li {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
body[class] .ids .role {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
body[class] .ids .id,
body[class] .wallets td.id,
body[class] code.id {
  word-break: break-all;
  overflow-wrap: anywhere;
}

body[class] .wallets-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
}
body[class] .wallets {
  min-width: 28rem;
}
body[class] .wallets th:nth-child(1) { width: 8rem; }
body[class] .placeholder {
  color: var(--faint);
  font-style: italic;
}

body[class] .copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

@media (max-width: 720px) {
  body[class] .preview-banner {
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    line-height: 1.45;
    text-wrap: balance;
  }
  body[class] .nav {
    padding: 0.55rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  body[class] .nav-links {
    flex: none;
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
  body[class] .nav-links a {
    padding: 0 0.55rem 0 0;
  }
  body[class] .wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  body[class] .hero {
    gap: 2rem;
    padding: 2.25rem 0 2rem;
  }
  body[class] h1.display {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  body[class] .section {
    padding: 3.25rem 0;
  }
  body[class] .actions .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  body[class] .brand span { display: none; }
}
