/* ---- reach ---- */
.reach-hero {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.reach-hero b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 5.5rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.reach-hero span {
  color: var(--muted);
}
.progress {
  height: 4px;
  background: var(--sunken);
  border-radius: 2px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: var(--pin);
  border-radius: 2px;
  transform-origin: left;
  transition: width 0.8s var(--ease);
}
.screen.active .progress i {
  animation: grow-x 1s var(--ease);
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.tile {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.tile:nth-child(odd) {
  border-right: 1px solid var(--border);
}
.tile:nth-child(even) {
  padding-left: 18px;
}
.tile b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}
.tile span {
  color: var(--muted);
  font-size: 0.8rem;
}
.bars {
  list-style: none;
}
.bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40% 24px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.bars .bar {
  height: 3px;
  background: var(--sunken);
  border-radius: 2px;
  overflow: hidden;
}
.bars .bar i {
  display: block;
  height: 100%;
  width: var(--p);
  background: var(--text);
  border-radius: 2px;
  transform-origin: left;
}
.screen.active .bars .bar i {
  animation: grow-x 0.8s var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 12) * 40ms);
}
.bars .n {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bars .country {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.milestones {
  list-style: none;
}
.milestones li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.milestones .icon {
  font-size: 1.15rem;
  text-align: center;
}
.milestones .when {
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.milestones .next .what {
  color: var(--muted);
}
.dex-continent {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--border);
}
.dex-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.dex-progress .n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 4px;
  margin-top: 10px;
}
.dex-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: var(--sunken);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: default;
}
.dex-tile:not(.got) {
  filter: grayscale(1);
  opacity: 0.28;
}
.dex-tile.got {
  background: var(--accent-dim);
  cursor: pointer;
}
.screen.active .dex-tile.got {
  animation: pop-in 0.45s var(--ease) both;
}
.dex-tile.extra {
  outline: 1px dashed var(--muted);
  outline-offset: -1px;
}
.dex-continent.bonus .dex-progress .n {
  font-style: italic;
}
.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.region-tile {
  width: auto;
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: default;
  opacity: 0.6;
}
.region-tile.got {
  background: var(--accent-dim);
  color: var(--text);
  opacity: 1;
  cursor: pointer;
}
.region-tile.extra {
  outline: 1px dashed var(--muted);
  outline-offset: -1px;
}
