/* MemeGraph · Record · one coin or address, links with receipts. */

body.report-page {
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.report { padding-bottom: 2rem; }
.report-head { padding: 1.4rem 0 1rem; max-width: 44rem; }
.report-head h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--paper); margin: 0.1rem 0 0.3rem;
}
.report-search { display: grid; gap: 0.35rem; max-width: 26rem; position: relative; margin-top: 0.9rem; }
.report-search input {
  width: 100%; min-height: var(--tap); font: inherit; font-size: 0.95rem;
  color: var(--paper); background: var(--ink-raised);
  border: 1px solid var(--ink-line); border-radius: 999px; padding: 0.5rem 1rem;
}
.report-search input::placeholder { color: var(--muted-dark); opacity: 0.8; }
.report-search input:focus-visible { outline: 3px solid var(--halo); outline-offset: 2px; }
.report-search-hint { margin: 0; font-size: 0.78rem; color: var(--muted-dark); }
.report-search .atlas-results { z-index: 50; }

.report-card {
  max-width: 44rem; margin: 0.4rem 0 1.4rem;
  background: var(--ink-raised); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem 1.4rem;
}
.report-kind {
  margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-dark);
}
.report-name {
  margin: 0.4rem 0 0.4rem; font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.08; color: var(--paper); overflow-wrap: anywhere; outline: none;
}
.report-id { margin: 0 0 0.6rem; color: var(--muted-dark); font-size: 0.78rem; overflow-wrap: anywhere; }

.report-stats {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  margin: 0.9rem 0 0.4rem; padding: 0.7rem 0.9rem;
  border: 1px dashed var(--ink-line); border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.report-stats b { color: var(--halo); font-weight: 600; }
.report-stats .rs { color: var(--muted-dark); }

.report-links { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.rl {
  border: 1px solid var(--ink-line); border-radius: var(--radius-sm);
  background: var(--ink); padding: 0.6rem 0.75rem;
}
.rl-head { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; align-items: center; }
.rl-head a {
  color: var(--paper); font-weight: 600; text-decoration: none;
  border-bottom: 1px dotted var(--brass); overflow-wrap: anywhere;
}
.rl-head a:hover { color: var(--halo); }
.rl-kind { color: #e6ddc6; font-size: 0.88rem; margin: 0.45rem 0 0; }
.rl-basis { color: var(--muted-dark); font-size: 0.82rem; margin: 0.25rem 0 0; }
.rl-refs { margin: 0.45rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; }
.rl-refs li { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-dark); overflow-wrap: anywhere; }
.rl-refs .rl-src-name { color: #d9d2bd; font-family: var(--sans); font-size: 0.8rem; }

.report-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.report-actions .btn { font-size: 0.85rem; min-height: 2.5rem; }

.report-fail {
  max-width: 34rem; margin: 1rem 0; padding: 0.9rem 1.1rem;
  border: 1px dashed var(--failure); border-radius: var(--radius-sm);
  font-size: 1.05rem; line-height: 1.4;
}
.report-foot p { margin: 0.3rem 0; color: var(--muted-dark); font-size: 0.85rem; }
.report-foot .mono { font-size: 0.74rem; }

@media (max-width: 640px) {
  .report-head { padding-top: 0.9rem; }
  .report-card { padding: 1rem 0.95rem 1.1rem; }
  .report-stats { gap: 0.3rem 1rem; font-size: 0.84rem; }
}
