.wiki-hub {
  --hub-line: rgba(255, 255, 255, 0.09);
  --hub-line-bright: rgba(34, 211, 238, 0.38);
  --hub-panel: rgba(13, 14, 17, 0.82);
  --hub-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;

  --hub-font-title: "LEMON MILK", "MADE TOMMY", var(--font-wiki-heading), system-ui, sans-serif;
  --hub-tile: 182px;
  padding-top: 0;
}

.wiki-hub .wrap {
  position: relative;
}

.hub-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 0 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--hub-line);
}

.hub-hero__mosaic {
  position: absolute;
  inset: -10% -4%;
  z-index: -3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  filter: saturate(0.34) brightness(1.12) contrast(1.02);
  pointer-events: none;
}

.hub-hero__mosaic-row {
  display: flex;
  gap: 10px;
  flex: 1 1 0;
  min-height: 0;
  width: max-content;
  will-change: transform;
}

.hub-hero__mosaic img {
  width: clamp(110px, 10vw, 180px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 6px;
  flex: none;
}

.hub-hero__mosaic-row--a {
  animation: hub-drift-left 150s linear infinite;
}

.hub-hero__mosaic-row--b {
  animation: hub-drift-right 190s linear infinite;
}

@keyframes hub-drift-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes hub-drift-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.hub-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 95% at 10% 10%, rgba(34, 211, 238, 0.16), transparent 55%),
    linear-gradient(100deg, rgba(5, 6, 9, 0.99) 38%, rgba(5, 6, 9, 0.92) 48%, rgba(5, 6, 9, 0.58) 66%, rgba(5, 6, 9, 0.46) 86%, rgba(5, 6, 9, 0.72) 100%),
    linear-gradient(to top, var(--bg) 1%, rgba(10, 10, 11, 0.3) 42%, rgba(10, 10, 11, 0.72) 100%);
}

.hub-hero__scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0 1px,
    transparent 1px 4px
  );
}

.hub-hero__inner {
  position: relative;
  z-index: 1;
}

.wiki-hub .wiki-breadcrumb {
  margin-bottom: 1.5rem;
}

.hub-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
}

.hub-hero__pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
  animation: hub-pulse 2.8s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14); }
  50% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
}

.wiki-hub .hub-hero__title {
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 1rem;
  padding: 0;
  border-bottom: none;
  max-width: none;
  background: linear-gradient(176deg, #ffffff 18%, #b9c3c7 62%, #65757c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wiki-hub .hub-hero__title::after {
  content: none;
}

.hub-hero__intro {
  max-width: 56ch;
  margin: 0 0 1.9rem;
  color: var(--muted);
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 300;
}

.hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--hub-line);
  border-radius: var(--radius);
  background: rgba(10, 11, 14, 0.6);
  backdrop-filter: blur(6px);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}

.hub-stat {
  padding: 0.8rem 1.4rem;
  border-right: 1px solid var(--hub-line);
  min-width: 7.5rem;
}

.hub-stat:last-child {
  border-right: none;
}

.hub-stat dt {
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 0.3rem;
  font-weight: 300;
}

.hub-stat dd {
  margin: 0;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hub-deck {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--hub-line);
  border-bottom: 1px solid var(--hub-line);
  background: var(--hub-panel);
  backdrop-filter: blur(14px) saturate(1.2);
}

.hub-deck.is-stuck {
  border-bottom-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.hub-deck__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
}

.hub-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 260px;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--hub-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.hub-search:focus-within {
  border-color: var(--hub-line-bright);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.hub-search__icon {
  flex: none;
  color: rgba(255, 255, 255, 0.4);
}

.hub-search:focus-within .hub-search__icon {
  color: var(--accent);
}

.hub-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-nav);
  font-size: 0.98rem;
  padding: 0;
}

.hub-search__input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.hub-search__input::-webkit-search-cancel-button {
  appearance: none;
}

.hub-search__key {
  flex: none;
  font-family: var(--font-nav);
  font-size: 0.68rem;
  line-height: 1;
  padding: 0.28rem 0.42rem;
  border-radius: 5px;
  border: 1px solid var(--hub-line);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.45);
}

.hub-search:focus-within .hub-search__key,
.hub-search.has-value .hub-search__key {
  display: none;
}

.hub-search__clear {
  flex: none;
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}

.hub-search.has-value .hub-search__clear {
  display: block;
}

.hub-search__clear:hover {
  background: rgba(34, 211, 238, 0.25);
}

.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.44rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hub-line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-nav);
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}

.hub-chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.hub-chip__n {
  font-family: var(--font-nav);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
}

.hub-chip[aria-pressed="true"] {
  color: #04161a;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.hub-chip[aria-pressed="true"] .hub-chip__n {
  color: rgba(4, 22, 26, 0.65);
}

.hub-tools {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
}

.hub-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.44rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--hub-line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-nav);
  font-size: 0.84rem;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}

.hub-tool:hover {
  color: var(--accent);
  border-color: var(--hub-line-bright);
}

.hub-tool svg {
  flex: none;
}

.hub-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0 0 0.6rem;
}

.hub-alpha__btn {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 5px;
  background: none;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-nav);
  font-size: 0.72rem;
  cursor: pointer;
  transition: color 0.14s, background 0.14s;
}

.hub-alpha__btn:hover:not(:disabled) {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
}

.hub-alpha__btn:disabled {
  color: rgba(255, 255, 255, 0.12);
  cursor: default;
}

.hub-alpha__btn[aria-pressed="true"] {
  color: #04161a;
  background: var(--accent);
}

.hub-results {
  padding-bottom: 1rem;
}

.hub-shelf {
  margin: 0 0 2.75rem;
}

.hub-shelf[hidden] {
  display: none;
}

.hub-shelf__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hub-line);
}

.hub-shelf__head::before {
  content: "";
  align-self: center;
  width: 3px;
  height: 1.15em;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
}

.hub-shelf__title {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: none;
  margin: 0;
  color: var(--text);
}

.hub-shelf__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hub-shelf__count {
  margin-left: auto;
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 300;
}

.hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(var(--hub-tile), 1fr));
}

.hub-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.hub-grid li[hidden] {
  display: none;
}

.hub-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--hub-line);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover,
.hub-card:focus-visible {
  border-color: var(--hub-line-bright);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 211, 238, 0.18);
  outline: none;
}

.hub-card__art {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0d0e11;
}

.hub-grid--wide .hub-card__art,
.hub-grid--square .hub-card__art {
  aspect-ratio: 1 / 1;
}

.hub-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s;
  filter: saturate(0.88) contrast(1.02);
}

.hub-grid--wide .hub-card__art img,
.hub-grid--square .hub-card__art img {
  object-position: 50% 50%;
}

.hub-card:hover .hub-card__art img,
.hub-card:focus-visible .hub-card__art img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}

.hub-card__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(85% 75% at 32% 12%, hsla(var(--hub-hue, 190), 38%, 28%, 0.55), transparent 72%),
    linear-gradient(150deg, hsla(var(--hub-hue, 190), 26%, 14%, 0.96), #0a0b0e 78%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.hub-card__mono::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 7px
  );
}

.hub-card__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.93) 0%, rgba(6, 7, 9, 0.72) 30%, rgba(6, 7, 9, 0.32) 62%, transparent 100%);
  transition: height 0.3s ease;
}

.hub-card:hover .hub-card__scrim,
.hub-card:focus-visible .hub-card__scrim {
  height: 66%;
}

.hub-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hub-card__kicker {
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(34, 211, 238, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.hub-card__name {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.hub-grid--wide .hub-card__name {
  font-size: 1.22rem;
}

.hub-card__blurb {
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
  font-weight: 300;
}

.hub-card:hover .hub-card__blurb,
.hub-card:focus-visible .hub-card__blurb {
  max-height: 4.5em;
  opacity: 1;
  margin-top: 0.1rem;
}

.hub-card__frame {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 14px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 14px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 1px 14px no-repeat;
}

.hub-card:hover .hub-card__frame,
.hub-card:focus-visible .hub-card__frame {
  opacity: 0.9;
}

.hub-card__badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  background: rgba(4, 6, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  font-family: var(--font-nav);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.hub-card mark,
.hub-row mark {
  background: rgba(34, 211, 238, 0.26);
  color: #eafdff;
  border-radius: 2px;
  padding: 0 1px;
}

body.hub-view-index .hub-grid {
  display: block;
  border-top: 1px solid var(--hub-line);
}

body.hub-view-index .hub-card {
  display: grid;
  grid-template-columns: 2.6rem 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  height: auto;
  border: none;
  border-bottom: 1px solid var(--hub-line);
  border-radius: 0;
  background: none;
  padding: 0.5rem 0.6rem;
  transform: none;
  box-shadow: none;
}

body.hub-view-index .hub-card:hover,
body.hub-view-index .hub-card:focus-visible {
  background: rgba(34, 211, 238, 0.06);
  transform: none;
  box-shadow: none;
}

body.hub-view-index .hub-card::before {
  content: attr(data-ord);
  font-family: var(--font-nav);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.28);
  font-variant-numeric: tabular-nums;
}

body.hub-view-index .hub-card__art {
  aspect-ratio: 1 / 1;
  width: 44px;
  border-radius: 6px;
}

body.hub-view-index .hub-card__mono {
  font-size: 0.8rem;
}

body.hub-view-index .hub-card__scrim,
body.hub-view-index .hub-card__frame,
body.hub-view-index .hub-card__badge {
  display: none;
}

body.hub-view-index .hub-card__body {
  position: static;
  padding: 0;
  gap: 0.1rem;
  min-width: 0;
}

body.hub-view-index .hub-card__kicker {
  display: none;
}

body.hub-view-index .hub-card__name {
  font-size: 0.98rem;
  color: var(--accent);
}

body.hub-view-index .hub-card:hover .hub-card__name {
  color: var(--accent-hover);
}

body.hub-view-index .hub-card__blurb {
  max-height: none;
  opacity: 1;
  margin: 0;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-weight: 300;
}

body:not(.site-admin-session) .hub-grid li.is-wiki-private {
  display: none !important;
}

.hub-grid li.is-unreleased .hub-card__name {
  color: rgba(255, 255, 255, 0.55);
}

.hub-grid li.is-unreleased .hub-card__art img,
.hub-grid li.is-unreleased .hub-card__mono {
  filter: saturate(0.2) brightness(0.7);
}

body.site-admin-session .hub-grid li.is-unreleased .hub-card {
  border-color: rgba(234, 179, 8, 0.4);
}

body.site-admin-session .hub-grid li.is-unreleased .hub-card__name {
  color: #fff;
}

body.site-admin-session .hub-grid li.is-unreleased .hub-card__art img,
body.site-admin-session .hub-grid li.is-unreleased .hub-card__mono {
  filter: none;
}

.hub-elsewhere {
  margin: 0 0 2.5rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--hub-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.hub-elsewhere[hidden] {
  display: none;
}

.hub-elsewhere__label {
  margin: 0 0 0.6rem;
  font-family: "Lexend", "Futura PT", "Futura", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.hub-elsewhere__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hub-elsewhere__list a {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hub-line);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
}

.hub-elsewhere__list a:hover {
  border-color: var(--hub-line-bright);
  color: var(--accent-hover);
}

.hub-empty {
  margin: 2.5rem 0 3rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--hub-line);
  border-radius: var(--radius);
  color: var(--muted);
}

.hub-empty[hidden] {
  display: none;
}

.hub-empty strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

body.hub-live .wiki-categories {
  display: none;
}

.wiki-hub .wiki-categories {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hub-hero__mosaic-row--a,
  .hub-hero__mosaic-row--b,
  .hub-hero__pip {
    animation: none;
  }

  .hub-card,
  .hub-card__art img,
  .hub-card__blurb {
    transition: none;
  }

  .hub-card:hover,
  .hub-card:focus-visible {
    transform: none;
  }
}

@media (max-width: 900px) {
  .wiki-hub {
    --hub-tile: 146px;
  }

  .hub-hero {
    padding: 1.5rem 0 2.25rem;
  }

  .hub-tools {
    margin-left: 0;
  }

  .hub-stat {
    padding: 0.65rem 1rem;
    min-width: 6rem;
  }

  .hub-stat dd {
    font-size: 1.6rem;
  }
}

@media (max-width: 620px) {
  .wiki-hub {
    --hub-tile: 132px;
  }

  .hub-hero__mosaic {
    opacity: 0.3;
  }

  .hub-deck__inner {
    gap: 0.6rem;
  }

  .hub-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .hub-filters::-webkit-scrollbar {
    display: none;
  }

  .hub-alpha {
    display: none;
  }

  .hub-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hub-stat:nth-child(odd) {
    border-right: 1px solid var(--hub-line);
  }

  .hub-stat:nth-child(even) {
    border-right: none;
  }

  .hub-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hub-line);
  }

  .hub-shelf__note {
    display: none;
  }

  .hub-grid--wide {
    grid-template-columns: 1fr;
  }

  body.hub-view-index .hub-card {
    grid-template-columns: 2rem 36px minmax(0, 1fr);
  }

  body.hub-view-index .hub-card__art {
    width: 36px;
  }
}

@media (min-width: 1600px) {
  .wiki-hub {
    --hub-tile: 204px;
  }
}

body:not(.hub-live) .wiki-hub .wiki-categories {
  opacity: 0;
  animation: hub-failsafe 0.25s linear 3.5s forwards;
}

@keyframes hub-failsafe {
  to { opacity: 1; }
}
