body.weekly-buys { overflow: visible; }
.weekly-buys .public-main article {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}
.weekly-buys .weekly-updated {
  font-size: .82rem;
  margin: 1rem 0 .55rem;
}
.weekly-scroll {
  position: relative;
  overflow-x: auto;
  border-block: 1px solid var(--cv-ring);
}
.weekly-scroll table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.weekly-scroll :is(th, td) {
  padding: .48rem .7rem;
  text-align: left;
}
.weekly-scroll thead { position: relative; z-index: 1; background: var(--bg-primary, Canvas); }
.weekly-scroll thead th {
  background: var(--cv-fill);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--cv-ring);
  font-weight: 600;
}
.weekly-scroll tbody tr:nth-child(even) { background: var(--cv-fill); }
.weekly-scroll tbody tr:is(:hover, :focus-within) { background: color-mix(in srgb, var(--text-primary) 10%, transparent); }
.weekly-scroll .number { text-align: right; }
.weekly-scroll .rank { color: var(--text-secondary); }
.weekly-scroll .value { font-weight: 600; }
.weekly-scroll .owner { min-width: 12rem; max-width: 22rem; white-space: normal; }
.weekly-scroll a { text-decoration: underline; text-underline-offset: .16em; }
.weekly-scroll:focus-visible, .weekly-scroll a:focus-visible { outline: 2px solid var(--text-primary); outline-offset: -2px; }
.weekly-method { max-width: 48rem; }
@media (max-width: 640px) {
  .weekly-scroll :is(th, td) { padding: .52rem .38rem; }
  .weekly-scroll th[scope="row"] { max-width: 4.5rem; white-space: normal; overflow-wrap: anywhere; }
  .weekly-scroll .owner { min-width: 10rem; }
}

.weekly-buys .weekly-hint { font-size: .82rem; margin-bottom: .35rem; }
.weekly-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.weekly-identity { display: inline-flex; gap: .3rem; align-items: center; }
.weekly-logo {
  position: relative; flex: none; width: 20px; height: 20px; display: grid;
  place-items: center; background: var(--cv-fill); border-radius: 4px; font-size: 11px;
}
.weekly-logo img { position: absolute; inset: 0; border-radius: inherit; opacity: 0; }
.weekly-logo img.loaded { opacity: 1; background: var(--bg-primary, Canvas); object-fit: contain; }
.weekly-scroll thead button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.weekly-scroll thead button:focus-visible { outline: 2px solid var(--text-primary); }
.weekly-scroll [aria-sort="ascending"] button::after { content: ' ↑'; }
.weekly-scroll [aria-sort="descending"] button::after { content: ' ↓'; }
:is(.weekly-scroll, .weekly-bottom-scroll)::-webkit-scrollbar { width: 14px; height: 14px; }
:is(.weekly-scroll, .weekly-bottom-scroll)::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 8px; }
:is(.weekly-scroll, .weekly-bottom-scroll)::-webkit-scrollbar-track { background: var(--cv-fill); }

.weekly-table-section { position: relative; }
.weekly-table-section .weekly-scroll { scrollbar-width: none; }
.weekly-table-section .weekly-scroll::-webkit-scrollbar { display: none; }
.weekly-bottom-scroll {
  position: sticky;
  z-index: 2;
  bottom: 0;
  overflow-x: scroll;
  overflow-y: hidden;
  height: 15px;
  background: var(--bg-primary, Canvas);
}
.weekly-bottom-scroll[hidden] { display: none; }
.weekly-bottom-scroll > div { height: 1px; }
.weekly-bottom-scroll:focus-visible { outline: 2px solid var(--text-primary); outline-offset: -2px; }
