.dash {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 2.5rem;
}

.ink {
  color: var(--muted);
}

.lede {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.2rem 0 0.9rem;
}

.load-state {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 18rem;
  color: var(--muted);
}

.load-state[hidden] {
  display: none;
}

.snap {
  position: relative;
  height: 5.5rem;
  width: 7rem;
}

.snap-brick {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5.2rem;
  height: 1.35rem;
  margin-left: -2.6rem;
  background: var(--yellow);
  border: 1px solid #b58f12;
  border-radius: 2px;
  animation: brick-snap 1.15s ease-in infinite;
}

.snap-brick span {
  position: absolute;
  top: -0.38rem;
  width: 0.72rem;
  height: 0.42rem;
  border-radius: 0.12rem 0.12rem 0 0;
  background: #f6de6a;
  border: 1px solid #b58f12;
  border-bottom: 0;
}

.snap-brick span:nth-child(1) { left: 0.28rem; }
.snap-brick span:nth-child(2) { left: 1.55rem; }
.snap-brick span:nth-child(3) { left: 2.82rem; }
.snap-brick span:nth-child(4) { left: 4.09rem; }

.snap-plate {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 6.4rem;
  height: 0.55rem;
  margin-left: -3.2rem;
  background: var(--red);
  border-radius: 2px;
}

@keyframes brick-snap {
  0% { transform: translateY(-1.6rem); opacity: 0.2; }
  55% { transform: translateY(2.35rem); opacity: 1; }
  70% { transform: translateY(2.05rem); }
  100% { transform: translateY(2.2rem); }
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.9fr);
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-value,
.trivia {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
}

.hero-value {
  border-top: 4px solid var(--yellow);
}

.hero-num {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0.35rem 0 0.45rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.trivia {
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-value .quiet,
.trivia .quiet {
  align-self: start;
}

.trivia p:last-of-type {
  flex: 1;
}

.podium-wrap h2 {
  font-size: 1.05rem;
  font-weight: 650;
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: 0.7rem;
  padding: 1rem 0.6rem 0;
}

.stand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stand-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.stand .thumb {
  height: 7.5rem;
}

.stand-1 .thumb {
  height: 9rem;
}

.stand-body {
  padding: 0.65rem 0.7rem 0.75rem;
}

.stand-body h3 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
}

.stand-body p {
  color: var(--muted);
  font-size: 0.75rem;
  font-family: var(--mono);
}

.stand-value {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.riser {
  position: relative;
  border-radius: 2px 2px 0 0;
  color: #fff;
  text-align: center;
  padding-top: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.riser::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: -0.32rem;
  height: 0.32rem;
  background:
    radial-gradient(circle at 12% 50%, #f6de6a 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 37% 50%, #f6de6a 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 62% 50%, #f6de6a 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 87% 50%, #f6de6a 0.22rem, transparent 0.24rem);
}

.stand-2 .riser {
  height: 4.2rem;
  background: #8a847a;
}

.stand-2 .riser::before {
  background:
    radial-gradient(circle at 12% 50%, #b9b3a8 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 37% 50%, #b9b3a8 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 62% 50%, #b9b3a8 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 87% 50%, #b9b3a8 0.22rem, transparent 0.24rem);
}

.stand-1 .riser {
  height: 6.1rem;
  background: var(--yellow);
  color: #161513;
}

.stand-3 .riser {
  height: 3.2rem;
  background: var(--red);
}

.podium-rest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 0.85rem 0 1.6rem;
  padding: 0.75rem;
  list-style: none;
  background: #ece9e2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.podium-rest li {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
}

.podium-rest img {
  width: 4.2rem;
  height: 3.2rem;
  object-fit: contain;
  background: #f0ece4;
}

.podium-rest h3 {
  margin: 0;
  font-size: 0.88rem;
}

.podium-rest p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}

.podium-rest b {
  font-variant-numeric: tabular-nums;
}

.value-grid-wrap .field-inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.value-grid-wrap input[type="search"] {
  width: 14rem;
}

.thumb-sm {
  width: 3.4rem;
  height: 2.6rem;
  object-fit: contain;
  background: #f0ece4;
  border-radius: 2px;
}

.source {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.copies {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #b9b3a8;
}

.tip:hover::after,
.tip:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.4rem);
  z-index: 5;
  width: max-content;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  border-radius: var(--radius);
}

.unknown {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 860px) {
  .hero-row,
  .podium,
  .podium-rest {
    grid-template-columns: 1fr;
  }

  .stand-1 { order: -1; }

  .value-grid-wrap input[type="search"] {
    width: 11rem;
  }
}
