/* Shared "Last updated" ticker (injected by last_updated.js) */
#last-updated-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 4px 16px;
  background: #fffbeb;
  color: #44403c;
  font-size: 0.8rem;
  border-bottom: 1px solid #fde68a;
  position: relative;
  z-index: 55;
}
#last-updated-bar .lu-label {
  font-weight: 600;
  color: #78350f;
}
#last-updated-bar .lu-date {
  font-weight: 700;
  color: #1c1917;
}
#last-updated-bar .lu-info {
  appearance: none;
  border: 1px solid #d6d3d1;
  background: #fff;
  color: #57534e;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#last-updated-bar .lu-info:hover,
#last-updated-bar .lu-info:focus-visible,
#last-updated-bar.open .lu-info {
  background: #fef3c7;
  border-color: #d97706;
  color: #92400e;
  outline: none;
}
#last-updated-bar .lu-pop {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 12px;
  right: 12px;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.18);
  padding: 10px 12px;
  z-index: 70;
}
#last-updated-bar.open .lu-pop,
#last-updated-bar:hover .lu-pop,
#last-updated-bar:focus-within .lu-pop {
  display: block;
}
/* On coarse pointers, hover alone is unreliable — .open from tap handles it.
   Still allow :hover for mouse users even without .open (desktop). */
@media (hover: none) {
  #last-updated-bar:hover .lu-pop { display: none; }
  #last-updated-bar.open .lu-pop,
  #last-updated-bar:focus-within .lu-pop { display: block; }
}
#last-updated-bar .lu-pop h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716c;
}
#last-updated-bar .lu-pop ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#last-updated-bar .lu-pop li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 6px 0;
  border-top: 1px solid #f5f5f4;
  font-size: 0.78rem;
}
#last-updated-bar .lu-pop li:first-of-type { border-top: none; }
#last-updated-bar .lu-pop .lu-ds-label {
  font-weight: 700;
  color: #1c1917;
  grid-column: 1 / -1;
}
#last-updated-bar .lu-pop .lu-ds-meta {
  color: #57534e;
}
#last-updated-bar .lu-pop .lu-ds-through {
  color: #92400e;
  font-weight: 600;
  text-align: right;
}
#last-updated-bar .lu-pop .lu-ds-missing {
  color: #a8a29e;
  font-style: italic;
  grid-column: 1 / -1;
}
html.mobile #last-updated-bar {
  padding: 4px 12px;
  font-size: 0.78rem;
}
html.mobile #last-updated-bar .lu-pop {
  left: 8px;
  right: 8px;
  max-width: none;
}
