/* wall.css — Proof Wall layout, layered on site.css. */

.wall-header {
  padding: 7rem 0 2rem;
  text-align: center;
}

.wall-header p {
  max-width: 46rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.72);
}

#wall-status {
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  min-height: 1.5rem;
  padding: 0 1rem;
}

#wall-ledger {
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.5rem 1rem 1.5rem;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 1rem 0 4rem;
}

.tile-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tile-canvas {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  display: block;
}

/* §10: partial reads stay loudly visible (warning amber). */
#wall-status.wall-status-partial {
  color: oklch(0.78 0.14 60);
}

.tile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

.tile-hash {
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}

.tile-status-declared { color: oklch(0.8 0.12 145); }
.tile-status-missing,
.tile-status-vague,
.tile-status-blurred,
.tile-status-stale,
.tile-status-timed-out,
.tile-status-withheld { color: oklch(0.78 0.14 60); }

.tile-link { color: oklch(0.75 0.15 200); text-decoration: none; }
.tile-link:hover { text-decoration: underline; }

/* Click-to-copy consensus timestamp — the value /witness's verify widget accepts. */
.tile-ts {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  background: none;
  border: none;
  padding: 0.15rem 0;
  text-align: left;
  cursor: copy;
  word-break: break-all;
  text-decoration: underline dotted rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}
.tile-ts:hover { color: oklch(0.75 0.15 200); }
.tile-ts-copied { color: oklch(0.8 0.14 145); }

.tile-card-verdict { border-color: oklch(0.55 0.16 25 / 0.55); }

/* Judgment lineage (§8): mandate at the root, verdicts as children. */
.wall-judgment { padding: 0 0 4rem; }

.lineage-root {
  border: 1px solid oklch(0.6 0.1 285 / 0.45);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.lineage-children {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 0.85rem 0 0 1.5rem;
  border-left: 2px solid oklch(0.6 0.1 285 / 0.35);
  margin-left: 0.5rem;
  margin-top: 0.6rem;
}
