/* =========================================================================
   HUB — Page entité dynamique (mobile-first)
   ========================================================================= */

.hub-page {
  --cyber-cyan: #00d4ff;
  --cyber-violet: #8b5cf6;
  --cyber-success: #00ff88;

  position: relative;
  isolation: isolate;
  padding-top: 0;
  padding-bottom: 2.5rem;
  background-color: var(--color-void, #050508);
}

/* --- Shared sections --- */
.hub-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.hub-section__kicker {
  margin: 0 0 0.2rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyber-cyan);
}

.hub-section__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-pure, #fff);
}

.hub-section__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Hero --- */
/* --- Hero --- */
.hub-hero {
  position: relative;
  min-height: 100vh; /* Vrai Fullscreen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: none;
}

.hub-hero__cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top; /* Descend l'image pour voir les têtes */
  filter: saturate(0.8) brightness(0.6);
  transform: scale(1.05);
  animation: hub-zoom-out 20s ease-out forwards;
}

.hub-hero__cover--fallback {
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.06)),
    #050508;
}

.hub-hero__overlay {
  position: absolute;
  inset: 0;
  /* Exact same blend as article-hero-overlay */
  background:
    linear-gradient(
      to bottom,
      rgba(5, 5, 8, 0.55) 0%,
      rgba(5, 5, 8, 0.28) 22%,
      rgba(10, 10, 12, 0.45) 48%,
      rgba(10, 10, 12, 0.88) 78%,
      var(--color-void) 96%,
      var(--color-void) 100%
    ),
    radial-gradient(
      ellipse 90% 55% at 18% 28%,
      rgba(0, 0, 0, 0.55) 0%,
      transparent 70%
    );
  z-index: 1;
  pointer-events: none;
}

.hub-hero__shroud {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(
    to top,
    var(--color-void) 0%,
    var(--color-void) 15%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hub-hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.hub-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--flash-news-height, 0px) + 4rem) 0 4rem; /* Compense le bandeau */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hub-hero__type {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.6rem;
  color: var(--cyber-cyan);
  border: 1px solid var(--cyber-cyan);
  background: transparent;
  border-radius: 0;
}

.hub-hero__parent {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 0;
}

.hub-hero__parent:hover,
.hub-hero__parent:focus-visible {
  color: var(--text-pure, #fff);
  border-color: rgba(0, 212, 255, 0.3);
  outline: none;
}

.hub-hero__title {
  margin: 0 auto;
  position: relative;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-align: center;
  text-wrap: balance;
  max-width: 22ch;
  color: #f4f6f8;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
  opacity: 0;
  animation: hub-fade-in-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hub-hero__subtitle {
  margin: 1.5rem auto 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes hub-zoom-out {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

@keyframes hub-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hub-hero__anim-up {
  opacity: 0;
  animation: hub-fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hub-hero__title,
  .hub-hero__anim-up {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* --- Module body (unique page content) --- */
.hub-module-body {
  min-height: 12rem;
}

/* Align first module block with left cyan cards / right nav (no double top air) */
.hub-module-body > .hub-section:first-child,
.hub-module-body > .hub-module-empty:first-child {
  padding-top: 0;
  margin-top: 0;
}

.hub-module-empty__msg {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Rail droit Navigation (unique nav, pas de tabs top) --- */
.hub-page .hub-nav-rail {
  align-self: start;
}

.hub-page .hub-nav-rail__block {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(0, 212, 255, 0.22);
}

.hub-page .hub-nav-rail__title {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(139, 139, 143, 0.85);
  font-family: var(--font-mono), ui-monospace, monospace;
  margin-bottom: 0.9rem;
  opacity: 0.75;
}

/* Sticky right nav desktop — modules toujours accessibles */
@media (min-width: 1024px) {
  .hub-page .hub-nav-rail {
    position: sticky;
    top: calc(var(--flash-news-height, 0px) + 5.5rem);
  }
}

/* Mobile : nav modules en premier dans le flow après le contenu principal
   (order du article-layout géré plus bas si besoin) */
@media (max-width: 1023px) {
  .hub-page .hub-nav-rail {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .hub-page .hub-nav-rail__block {
    padding: 0.85rem 1rem;
    border-left: none;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.03);
  }

  /* Horizontal scroll pills on mobile — toujours dans le rail droit empilé */
  .hub-page .hub-nav-rail .hub-dynamic-nav--vertical .hub-dynamic-nav__track {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  .hub-page .hub-nav-rail .hub-dynamic-nav--vertical .hub-dynamic-nav__track::-webkit-scrollbar {
    display: none;
  }

  .hub-page .hub-nav-rail .hub-dynamic-nav--vertical .hub-dynamic-nav__item {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hub-page .hub-nav-rail .hub-dynamic-nav--vertical .hub-dynamic-nav__item--active {
    border-left-color: transparent;
    border-bottom-color: var(--cyber-cyan, #00d4ff);
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyber-cyan, #00d4ff);
  }
}

/* --- Dynamic nav (vertical rail only) --- */
.hub-dynamic-nav {
  z-index: 20;
}

.hub-dynamic-nav--vertical .hub-dynamic-nav__track {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hub-dynamic-nav__track {
  display: flex;
  gap: 0.35rem;
  padding: 0;
}

.hub-dynamic-nav__item {
  display: block;
  margin: 0;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.42);
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hub-dynamic-nav__item:hover,
.hub-dynamic-nav__item:focus-visible {
  color: var(--text-pure, #fff);
  background: rgba(0, 212, 255, 0.05);
  outline: none;
}

.hub-dynamic-nav__item--active {
  color: var(--cyber-cyan, #00d4ff);
  border-left-color: var(--cyber-cyan, #00d4ff);
  background: rgba(0, 212, 255, 0.08);
}

/* --- Overview --- */
.hub-overview {
  padding: 4rem 0;
  position: relative;
  background: var(--bg-dark, #050508);
}

.hub-overview__header {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hub-fade-in-up 0.8s ease forwards;
  /* Scroll-driven animation (modern browsers) */
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@supports not (animation-timeline: view()) {
  .hub-overview__header {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hub-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .hub-overview__grid {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

/* Synopsis Text */
.hub-overview__content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.hub-overview__text,
.hub-overview__html p {
  margin-bottom: 1.5rem;
}

.hub-overview__html strong {
  color: var(--cyber-cyan, #00d4ff);
  font-weight: 700;
}

/* Sidebar & Sticky Terminal Card */
.hub-overview__sidebar {
  position: relative;
}

@media (min-width: 992px) {
  .hub-overview__sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

/* The Meta Card (Terminal Aesthetics) */
.hub-meta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-meta-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.hub-meta-card__title {
  background: rgba(0, 212, 255, 0.05);
  color: var(--cyber-cyan, #00d4ff);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 1rem 1.5rem;
  margin: 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  text-transform: uppercase;
}

.hub-meta-card__body {
  padding: 1.5rem;
}

.hub-overview__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hub-overview__meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hub-overview__meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hub-overview__meta-key {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hub-overview__meta-val {
  margin: 0;
  font-weight: 500;
  color: #fff;
  font-size: 0.95rem;
}

.hub-meta-card__empty {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.hub-meta-card__poster {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-meta-card__poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hub-meta-card:hover .hub-meta-card__poster img {
  transform: scale(1.05);
}

/* ========== Hub left — cyan cards stack (espacées) ========== */
/*
 * Concept user-validé : box cyan type hub-meta-card.
 * Le fix moche = gap insuffisant → stack avec gap fort + sticky ok.
 */

.hub-page .article-sidebar.left.hub-cyan-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem; /* air entre les 3 box — god-tier breathing */
  width: 100%;
}

/*
 * Palette unifiée (cyan + blanc) — pas de rouge/cyan qui se battent
 *  chrome / titres //  → #00d4ff
 *  labels              → cyan muted
 *  valeurs (id, notes) → blanc
 */
.hub-cyan-card {
  --hub-cyan: #00d4ff;
  --hub-cyan-soft: rgba(0, 212, 255, 0.55);
  --hub-cyan-line: rgba(0, 212, 255, 0.14);
  --hub-cyan-border: rgba(0, 212, 255, 0.28);
  --hub-value: rgba(255, 255, 255, 0.96);
  --hub-muted: rgba(255, 255, 255, 0.38);

  width: 100%;
  border: 1px solid var(--hub-cyan-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 48%),
    rgba(8, 10, 14, 0.9);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.25) inset;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hub-cyan-card:hover {
  border-color: rgba(0, 212, 255, 0.48);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(0, 212, 255, 0.08);
}

.hub-cyan-card__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--hub-cyan-line);
  background: rgba(0, 212, 255, 0.05);
}

.hub-cyan-card__slash {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.7rem;
  color: var(--hub-cyan-soft);
  letter-spacing: 0.06em;
}

.hub-cyan-card__title {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-cyan);
}

.hub-cyan-card__body {
  padding: 1.1rem 0.95rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hub-cyan-card__body--id {
  padding-top: 1.05rem;
  padding-bottom: 1.15rem;
}

.hub-cyan-card__hub-id {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--hub-value);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
  text-align: center;
}

/* Jaquette — cadre cyan net */
.hub-cyan-card__poster {
  width: 100%;
  max-width: 148px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.45);
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.08), transparent 55%),
    #05060a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 18px rgba(0, 212, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-sizing: border-box;
}

.hub-cyan-card__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.45s ease;
}

.hub-cyan-card:hover .hub-cyan-card__poster {
  border-color: rgba(0, 212, 255, 0.7);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 22px rgba(0, 212, 255, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.hub-cyan-card:hover .hub-cyan-card__poster img {
  transform: scale(1.02);
}

.hub-cyan-card__poster-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 3;
  max-height: 180px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.hub-cyan-card__work {
  margin: 0.9rem 0 0;
  max-width: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hub-value);
  text-align: center;
}

/* Champs centrés : label dessus, valeur dessous */
.hub-cyan-card__fields {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.hub-cyan-card__field {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--hub-cyan-line);
}

.hub-cyan-card__field:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hub-cyan-card__label {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-cyan-soft);
}

.hub-cyan-card__value {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hub-value);
  word-break: break-word;
  text-align: center;
}

.hub-cyan-card__empty {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--hub-muted);
  font-style: italic;
  text-align: center;
}

/* Override article-sidebar.left gap:0 pour cette stack */
.hub-page .article-sidebar.left.hub-cyan-stack {
  gap: 1.75rem !important;
}

@media (max-width: 991px) {
  .hub-page .article-sidebar.left.hub-cyan-stack {
    gap: 1.25rem !important;
  }

  .hub-cyan-card__poster img {
    max-height: 200px;
  }
}

/* --- Editorial --- */
.hub-editorial__card {
  max-width: 52rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(8, 8, 12, 0.82);
  border-radius: 2px;
}

.hub-editorial__score-block {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hub-editorial__score-value {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 900;
  color: var(--cyber-cyan);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
}

.hub-editorial__score-label {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.hub-criterion {
  display: grid;
  grid-template-columns: minmax(5rem, 7rem) minmax(0, 1fr) 2.5rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
}

.hub-criterion--compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hub-criterion__label {
  color: rgba(255, 255, 255, 0.62);
}

.hub-criterion__bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.hub-criterion__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-violet));
  border-radius: 2px;
}

.hub-criterion__score {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-weight: 700;
  color: var(--text-pure, #fff);
  text-align: right;
}

.hub-editorial__criteria {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hub-editorial__excerpt {
  margin: 0 0 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(0, 212, 255, 0.35);
}

.hub-editorial__excerpt p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
}

.hub-editorial__cta {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-pure, #fff);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 2px;
}

/* --- Actus = blog feed clone, cyan hub --- */
.hub-actus-blog .blog-feed-hero {
  margin-bottom: 1.25rem;
}

.hub-actus-blog__hero-inner {
  padding: 0 0 0.35rem !important;
  text-align: left !important;
}

.hub-actus-blog .blog-feed-hero__grid-bg {
  background: radial-gradient(
    ellipse 120% 80% at 0% 0%,
    rgba(0, 212, 255, 0.07),
    transparent 68%
  );
}

.hub-actus-blog .blog-feed-hero__kicker,
.hub-actus-blog .blog-feed-hero__subtitle,
.hub-actus-blog .blog-feed-hero__meta-sep {
  color: #00d4ff;
}

.hub-actus-blog .blog-feed-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}

.hub-actus-blog .blog-feed-hero__meta {
  justify-content: flex-start;
}

.hub-actus-blog .blog-feed-grid {
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  .hub-actus-blog .blog-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1360px) {
  .hub-actus-blog .blog-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-actus-blog .blog-feed-card {
  border-color: rgba(0, 212, 255, 0.18);
}

.hub-actus-blog .blog-feed-card:hover,
.hub-actus-blog .blog-feed-card:focus-within {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 212, 255, 0.16);
}

.hub-actus-blog .blog-feed-card__node-tag {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.5);
}

.hub-actus-blog .blog-feed-card__blade {
  background:
    linear-gradient(rgba(10, 10, 12, 0.85), rgba(10, 10, 12, 0.85)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 212, 255, 0.1) 2px,
      rgba(0, 212, 255, 0.1) 4px
    );
  border-left-color: #00d4ff;
}

.hub-actus-blog .blog-feed-card__date,
.hub-actus-blog .blog-feed-card:hover .blog-feed-card__title a,
.hub-actus-blog .blog-feed-card:focus-within .blog-feed-card__title a,
.hub-actus-blog .blog-feed-card__title a:hover {
  color: #00d4ff;
}

.hub-actus-blog .blog-feed-card__sep {
  color: rgba(0, 212, 255, 0.5);
}

.hub-actus-blog .blog-feed-card__avatar {
  border-color: rgba(0, 212, 255, 0.35);
}

.hub-actus-blog .blog-feed-card__ph {
  color: rgba(0, 212, 255, 0.45);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.1), transparent 62%),
    #0d0d0f;
}

.hub-actus-blog .blog-feed-empty {
  border-color: rgba(0, 212, 255, 0.2);
}

.hub-actus-blog .blog-feed-empty__kicker,
.hub-actus-blog .blog-feed-empty__title {
  color: #00d4ff;
}

/* --- Member reviews --- */
.hub-reviews__summary {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.04);
  border-radius: 2px;
}

.hub-reviews__avg-value {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyber-violet);
}

.hub-reviews__avg-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

.hub-reviews__criteria {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hub-reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hub-review-card {
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

.hub-review-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hub-review-card__author {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyber-cyan);
}

.hub-review-card__score {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
}

.hub-review-card__title {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-pure, #fff);
}

.hub-review-card__excerpt {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.hub-review-card__spoiler {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: #ffb020;
}

.hub-reviews__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hub-reviews__empty {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono), ui-monospace, monospace;
}

.hub-reviews__error {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: #ff6b7a;
  font-family: var(--font-mono), ui-monospace, monospace;
}

.hub-reviews__ok {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: #00ff88;
  font-family: var(--font-mono), ui-monospace, monospace;
}

.hub-reviews__form {
  margin-top: 1rem;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.04);
  border-radius: 2px;
  display: grid;
  gap: 0.75rem;
}

.hub-reviews__form-kicker {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--cyber-cyan, #00d4ff);
  text-transform: uppercase;
}

.hub-reviews__field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono), ui-monospace, monospace;
}

.hub-reviews__field input[type="text"],
.hub-reviews__field textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 2px;
  resize: vertical;
}

.hub-reviews__field input:focus,
.hub-reviews__field textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.hub-reviews__score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hub-reviews__score-row input[type="range"] {
  flex: 1;
  accent-color: #a78bfa;
}

.hub-reviews__score-live {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 1.1rem;
  color: #a78bfa;
  min-width: 2.5rem;
  text-align: right;
}

.hub-reviews__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono), ui-monospace, monospace;
  cursor: pointer;
}

.hub-reviews__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hub-btn {
  min-height: 2.4rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: not-allowed;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hub-btn--active:not(:disabled) {
  cursor: pointer;
  opacity: 1;
}

.hub-btn--active:not(:disabled):hover {
  filter: brightness(1.12);
}

.hub-btn--active:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hub-btn--primary {
  color: var(--text-pure, #fff);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.28);
}

.hub-btn--primary.hub-btn--active:not(:disabled) {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}

.hub-btn--ghost {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-btn--ghost.hub-btn--active:not(:disabled):hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* --- Relations --- */
.hub-relations__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.hub-relation-tile__link {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.65rem;
  text-decoration: none;
  border: 1px solid rgba(0, 212, 255, 0.16);
  background: rgba(8, 8, 12, 0.78);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.hub-relation-tile__link:hover,
.hub-relation-tile__link:focus-visible {
  border-color: rgba(0, 212, 255, 0.32);
  outline: none;
}

.hub-relation-tile__cover {
  aspect-ratio: 1;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.hub-relation-tile__type {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--cyber-cyan);
  margin-bottom: 0.2rem;
}

.hub-relation-tile__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure, #fff);
}

.hub-related__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.hub-related__relation {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber-violet);
}

/* --- Hub card (réutilisable) --- */
.hub-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(8, 8, 12, 0.85);
  border-radius: 2px;
  overflow: hidden;
}

.hub-card--inline {
  max-width: 100%;
}

.hub-card__cover {
  height: 5.5rem;
  background-size: cover;
  background-position: center;
}

.hub-card--inline .hub-card__cover {
  height: 4.5rem;
}

.hub-card__cover--fallback {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.08));
}

.hub-card__body {
  padding: 0.75rem 0.85rem;
}

.hub-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.hub-card__type {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyber-cyan);
}

.hub-card__parent {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
}

.hub-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-pure, #fff);
}

.hub-card__desc {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.hub-card__scores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.hub-card__score {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyber-cyan);
}

.hub-card__score--members {
  color: var(--cyber-violet);
}

.hub-card__reviews {
  font-weight: 400;
  opacity: 0.75;
}

.hub-card__cta {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-pure, #fff);
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: rgba(0, 212, 255, 0.06);
  border-radius: 2px;
}

/* --- Article single integration --- */
.article-hub-card-wrap {
  margin: 1.5rem 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(0, 212, 255, 0.14);
}

.article-hub-card-wrap__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(0, 212, 255, 0.75);
}

/* --- Tablet+ --- */
@media (min-width: 640px) {
  .hub-score-strip__list {
    flex-wrap: wrap;
    overflow: visible;
  }



  .hub-relations__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-card {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .hub-card__cover {
    height: auto;
    min-height: 100%;
  }
}

@media (min-width: 1024px) {
  .hub-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================================================================
   GALERIE PHOTO — HUD grid 0.01% (avant Matrix Lightbox)
   ========================================================================= */
.hub-photo-gallery {
  --gal-cyan: #00d4ff;
  --gal-cyan-dim: rgba(0, 212, 255, 0.14);
  --gal-cyan-mid: rgba(0, 212, 255, 0.35);
  --gal-red: #ff2851;
  --gal-void: rgba(5, 5, 8, 0.72);
}

/*
 * Align main column with left cyan stack + right nav rail.
 * .hub-section defaults add clamp(2–3rem) top padding → gallery sat lower.
 */
.hub-section.hub-photo-gallery {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-top: 0;
}

/* --- HUD header frame --- */
.hub-photo-gallery__hud {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.15rem 1.1rem;
  border: 1px solid var(--gal-cyan-dim);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, rgba(0, 212, 255, 0.03), transparent 55%),
    rgba(8, 10, 14, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hub-photo-gallery__hud-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hub-photo-gallery__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gal-cyan);
  border-style: solid;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}
.hub-photo-gallery__corner--tl {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}
.hub-photo-gallery__corner--tr {
  top: 6px;
  right: 6px;
  border-width: 2px 2px 0 0;
}
.hub-photo-gallery__corner--bl {
  bottom: 6px;
  left: 6px;
  border-width: 0 0 2px 2px;
}
.hub-photo-gallery__corner--br {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

.hub-photo-gallery__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.hub-photo-gallery__kicker {
  margin: 0;
}

.hub-photo-gallery__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gal-cyan);
  opacity: 0.9;
}

.hub-photo-gallery__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gal-cyan);
  box-shadow: 0 0 8px var(--gal-cyan);
  animation: hub-gal-pulse 1.6s ease-in-out infinite;
}

@keyframes hub-gal-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.hub-photo-gallery__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem !important;
  letter-spacing: 0.06em !important;
}

.hub-photo-gallery__title-glitch {
  display: inline-block;
  position: relative;
}

/* soft chromatic edge on title */
.hub-photo-gallery__title-glitch::before,
.hub-photo-gallery__title-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.hub-photo-gallery__hud:hover .hub-photo-gallery__title-glitch::before {
  opacity: 0.35;
  color: var(--gal-red);
  transform: translate(-1px, 0);
  mix-blend-mode: screen;
}
.hub-photo-gallery__hud:hover .hub-photo-gallery__title-glitch::after {
  opacity: 0.3;
  color: var(--gal-cyan);
  transform: translate(1px, 0);
  mix-blend-mode: screen;
}

.hub-photo-gallery__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  position: relative;
  z-index: 1;
}

.hub-photo-gallery__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.88);
  border: 1px solid var(--gal-cyan-mid);
  background: rgba(0, 212, 255, 0.06);
  border-radius: 2px;
}

.hub-photo-gallery__chip--accent {
  color: #050508;
  background: var(--gal-cyan);
  border-color: var(--gal-cyan);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}

.hub-photo-gallery__chip--dim {
  color: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Filters --- */
.hub-photo-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.hub-photo-gallery__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hub-photo-gallery__filter:hover {
  color: var(--gal-cyan);
  border-color: var(--gal-cyan-mid);
}

.hub-photo-gallery__filter.is-active {
  color: #050508;
  background: linear-gradient(180deg, #33e0ff 0%, var(--gal-cyan) 100%);
  border-color: var(--gal-cyan);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.25),
    0 0 22px rgba(0, 212, 255, 0.35);
}

.hub-photo-gallery__filter-count {
  min-width: 1.4rem;
  padding: 0.05rem 0.28rem;
  text-align: center;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font-size: 0.62rem;
}

.hub-photo-gallery__filter.is-active .hub-photo-gallery__filter-count {
  background: rgba(0, 0, 0, 0.22);
  color: #050508;
}

.hub-photo-gallery__hint {
  margin: 0 0 1.15rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hub-photo-gallery__hint-key {
  color: rgba(0, 212, 255, 0.75);
}

/* --- Grid --- */
.hub-photo-gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

@media (min-width: 720px) {
  .hub-photo-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 1100px) {
  .hub-photo-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.hub-photo-gallery__cell {
  margin: 0;
  position: relative;
  opacity: 0;
  animation: hub-gal-cell-in 0.45s ease forwards;
  animation-delay: calc(min(var(--cell-i, 0), 24) * 28ms);
}

@keyframes hub-gal-cell-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-photo-gallery__cell {
    opacity: 1;
    animation: none;
  }
  .hub-photo-gallery__live-dot {
    animation: none;
  }
  .hub-photo-gallery__hud:hover .hub-photo-gallery__title-glitch::before,
  .hub-photo-gallery__hud:hover .hub-photo-gallery__title-glitch::after {
    opacity: 0;
    transform: none;
  }
}

.hub-photo-gallery__cell--backdrop {
  grid-column: span 2;
}

@media (min-width: 1100px) {
  .hub-photo-gallery__cell--backdrop {
    grid-column: span 2;
  }
}

.hub-photo-gallery__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 3px;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  background: rgba(0, 212, 255, 0.03);
  isolation: isolate;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hub-photo-gallery__cell--backdrop .hub-photo-gallery__link {
  aspect-ratio: 16 / 9;
}

.hub-photo-gallery__cell--logo .hub-photo-gallery__link {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08), transparent 60%),
    rgba(0, 0, 0, 0.45);
}

.hub-photo-gallery__link:hover,
.hub-photo-gallery__link:focus-visible {
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.2),
    0 0 28px rgba(0, 212, 255, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.45);
  outline: none;
  z-index: 2;
}

.hub-photo-gallery__link:focus-visible {
  outline: 2px solid var(--gal-cyan);
  outline-offset: 2px;
}

/* corner ticks on cell */
.hub-photo-gallery__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.hub-photo-gallery__link:hover .hub-photo-gallery__frame,
.hub-photo-gallery__link:focus-visible .hub-photo-gallery__frame {
  opacity: 1;
}
.hub-photo-gallery__frame-c {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--gal-cyan);
  border-style: solid;
}
.hub-photo-gallery__frame-c--tl {
  top: 4px;
  left: 4px;
  border-width: 1.5px 0 0 1.5px;
}
.hub-photo-gallery__frame-c--tr {
  top: 4px;
  right: 4px;
  border-width: 1.5px 1.5px 0 0;
}
.hub-photo-gallery__frame-c--bl {
  bottom: 4px;
  left: 4px;
  border-width: 0 0 1.5px 1.5px;
}
.hub-photo-gallery__frame-c--br {
  bottom: 4px;
  right: 4px;
  border-width: 0 1.5px 1.5px 0;
}

.hub-photo-gallery__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  top: -30%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 212, 255, 0.12),
    transparent
  );
  opacity: 0;
}
.hub-photo-gallery__link:hover .hub-photo-gallery__scanline {
  opacity: 1;
  animation: hub-gal-scan 1.1s ease-in-out infinite;
}

@keyframes hub-gal-scan {
  0% {
    top: -30%;
  }
  100% {
    top: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-photo-gallery__link:hover .hub-photo-gallery__scanline {
    animation: none;
    opacity: 0;
  }
}

.hub-photo-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
  will-change: transform;
}

.hub-photo-gallery__cell--logo .hub-photo-gallery__img {
  object-fit: contain;
  padding: 1.1rem;
}

.hub-photo-gallery__link:hover .hub-photo-gallery__img,
.hub-photo-gallery__link:focus-visible .hub-photo-gallery__img {
  transform: scale(1.055);
  filter: brightness(1.06) saturate(1.05);
}

.hub-photo-gallery__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.15) 0%,
    transparent 35%,
    transparent 55%,
    rgba(5, 5, 8, 0.75) 100%
  );
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.hub-photo-gallery__link:hover .hub-photo-gallery__overlay {
  opacity: 1;
}

.hub-photo-gallery__index {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 4;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.hub-photo-gallery__badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 4;
  padding: 0.22rem 0.45rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #050508;
  background: var(--gal-cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
  pointer-events: none;
}

.hub-photo-gallery__expand {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #050508;
  background: rgba(0, 212, 255, 0.92);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(-5px) scale(0.96);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.hub-photo-gallery__expand-icon {
  font-size: 0.75rem;
  line-height: 1;
}

.hub-photo-gallery__link:hover .hub-photo-gallery__expand,
.hub-photo-gallery__link:focus-visible .hub-photo-gallery__expand {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (hover: none) {
  .hub-photo-gallery__expand {
    opacity: 0.9;
    transform: none;
  }
}

.hub-photo-gallery__empty {
  margin: 1.5rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Community contribute --- */
.hub-gallery-contribute {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px dashed rgba(0, 212, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent 55%),
    rgba(8, 10, 14, 0.45);
  border-radius: 3px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-gallery-contribute.is-drag {
  border-color: #00d4ff;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.2);
}

.hub-gallery-contribute.is-busy {
  opacity: 0.75;
  pointer-events: none;
}

.hub-gallery-contribute__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.hub-gallery-contribute__kicker {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #00d4ff;
}

.hub-gallery-contribute__pipe {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(0, 212, 255, 0.7);
}

.hub-gallery-contribute__msg {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.hub-gallery-contribute__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hub-gallery-contribute__btn {
  border: 1px solid #00d4ff;
  background: rgba(0, 212, 255, 0.12);
  color: #00d4ff;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  border-radius: 2px;
}

.hub-gallery-contribute__btn:hover {
  background: #00d4ff;
  color: #050508;
}

.hub-gallery-contribute__input {
  display: none;
}

.hub-gallery-contribute__login {
  display: inline-block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #00d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.4);
}

.hub-gallery-contribute__preview {
  margin-top: 0.85rem;
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 2px;
}

.hub-gallery-contribute__ok {
  margin: 0.65rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  color: #00ff88;
}

.hub-gallery-contribute__err {
  margin: 0.65rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  color: #ff2851;
}

.hub-photo-gallery__chip--warn {
  color: #050508;
  background: #ffb020;
  border-color: #ffb020;
}

.hub-photo-gallery__cell.is-pending .hub-photo-gallery__badge {
  background: #ffb020;
}

.hub-photo-gallery__cell.is-pending .hub-photo-gallery__link {
  border-style: dashed;
}

/* --- Lexicon guide panel --- */
.hub-gallery-lexicon {
  margin: 0 0 1.15rem;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(8, 10, 14, 0.5);
  border-radius: 3px;
  overflow: hidden;
}

.hub-gallery-lexicon__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.hub-gallery-lexicon__toggle:hover {
  background: rgba(0, 212, 255, 0.04);
}

.hub-gallery-lexicon__toggle-kicker {
  grid-column: 1;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #00d4ff;
}

.hub-gallery-lexicon__toggle-title {
  grid-column: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.hub-gallery-lexicon__chev {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #00d4ff;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 1rem;
  border-radius: 2px;
}

.hub-gallery-lexicon__body {
  padding: 0 1rem 1.1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.hub-gallery-lexicon__intro {
  margin: 0.85rem 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.hub-gallery-lexicon__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .hub-gallery-lexicon__list {
    grid-template-columns: 1fr 1fr;
  }
}

.hub-gallery-lexicon__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 2px;
}

.hub-gallery-lexicon__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050508;
  background: #00d4ff;
  border-radius: 2px;
}

.hub-gallery-lexicon__name {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.hub-gallery-lexicon__help {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Placement radios --- */
.hub-gallery-contribute__placement {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.hub-gallery-contribute__placement-legend {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.75);
}

.hub-gallery-contribute__placement-grid {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 720px) {
  .hub-gallery-contribute__placement-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hub-gallery-contribute__place {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.55rem;
  align-items: start;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(0, 212, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hub-gallery-contribute__place input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hub-gallery-contribute__place.is-active {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.hub-gallery-contribute__place-badge {
  grid-column: 1;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050508;
  background: #00d4ff;
  border-radius: 2px;
}

.hub-gallery-contribute__place-help {
  grid-column: 2;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.hub-gallery-contribute__place-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.hub-gallery-contribute__place-hint strong {
  color: #00d4ff;
  font-weight: 600;
}

/* ========== Hub videos — same shell as photo gallery + play chrome ========== */
.hub-section.hub-video-gallery.hub-photo-gallery {
  padding-top: 0;
}

/*
 * God-tier thumbs: video grid is ALWAYS 16:9.
 * Photo gallery defaults link to 2/3 (posters) — that was cropping YT frames badly.
 */
.hub-video-gallery__grid .hub-photo-gallery__cell {
  /* cell itself doesn't need ratio — the link box does */
  min-width: 0;
}

.hub-video-gallery__grid .hub-photo-gallery__link {
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #05060a;
}

/* Fill vignette exactly — no letterbox, faces/action centered */
.hub-video-gallery__grid .hub-photo-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Soft ken-burns only on image, not play chrome */
.hub-video-gallery__grid .hub-photo-gallery__link:hover .hub-photo-gallery__img,
.hub-video-gallery__grid .hub-photo-gallery__link:focus-visible .hub-photo-gallery__img {
  transform: scale(1.04);
}

.hub-video-gallery__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0c10;
  color: rgba(0, 212, 255, 0.4);
  font-size: 1.75rem;
}

.hub-video-gallery__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.15s, transform 0.15s;
}

.hub-photo-gallery__link:hover .hub-video-gallery__play {
  opacity: 1;
  transform: scale(1.06);
}

.hub-video-gallery__play-tri {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.55);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
  position: relative;
}

.hub-video-gallery__play-tri::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent #00d4ff;
}

/*
 * Meta strip (god-tier): badge YOUTUBE + title in ONE bottom bar.
 * Old layout stacked .badge (bottom-left) under .caption → badge hidden.
 */
.hub-video-gallery__grid .hub-photo-gallery__badge {
  display: none; /* legacy photo badge slot unused on video cells */
}

.hub-video-gallery__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 1.65rem 0.55rem 0.5rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 5, 8, 0.55) 38%,
    rgba(5, 5, 8, 0.92) 100%
  );
}

.hub-video-gallery__meta-badge {
  display: inline-block;
  max-width: 100%;
  padding: 0.18rem 0.42rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #050508;
  background: var(--gal-cyan, #00d4ff);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-video-gallery__cell.is-pending .hub-video-gallery__meta-badge {
  background: #ffb020;
  box-shadow: 0 0 12px rgba(255, 176, 32, 0.35);
}

.hub-video-gallery__meta-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* Contribute sits in same vertical slot as photo contribute */
.hub-video-gallery .hub-gallery-contribute {
  margin: 0.85rem 0 0.5rem;
}

.hub-video-contribute__modes {
  display: flex;
  gap: 0.35rem;
  margin: 0.65rem 0;
}

.hub-video-contribute__modes button {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: transparent;
  color: rgba(230, 240, 255, 0.7);
  cursor: pointer;
  border-radius: 4px;
}

.hub-video-contribute__modes button.is-active {
  border-color: rgba(0, 212, 255, 0.7);
  color: #00d4ff;
}

.hub-video-contribute__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.45rem 0;
  font-size: 0.75rem;
  color: rgba(230, 240, 255, 0.6);
}

.hub-video-contribute__field input,
.hub-video-contribute__field select {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #e8eaf0;
  border-radius: 4px;
  font-size: 0.85rem;
}

.hub-video-contribute__hint {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(230, 240, 255, 0.55);
  margin: 0.35rem 0 0.65rem;
}

.hub-video-contribute__err {
  color: #ff6b6b !important;
}

/* Rail mark polish (kept) */
.hub-dynamic-nav__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-dynamic-nav__mark {
  flex-shrink: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(0, 212, 255, 0.35);
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
}

.hub-dynamic-nav__item--active .hub-dynamic-nav__mark {
  color: rgba(0, 212, 255, 0.9);
}

.hub-dynamic-nav__label {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1023px) {
  .hub-page .hub-nav-rail .hub-dynamic-nav--vertical .hub-dynamic-nav__mark {
    display: none;
  }
}

/* ========== Critique LPS v2 — ring + rates ========== */
.hub-section.hub-editorial--v2 {
  padding-top: 0;
}

.hub-editorial__hud {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    rgba(8, 10, 14, 0.55);
}

.hub-editorial__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-editorial__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(0, 212, 255, 0.85);
}

.hub-editorial__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
}

.hub-editorial__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.hub-editorial__chip {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(230, 240, 255, 0.65);
}

.hub-editorial__chip--accent {
  border-color: rgba(0, 212, 255, 0.45);
  color: #00d4ff;
  font-variant-numeric: tabular-nums;
}

.hub-editorial__chip-scale {
  opacity: 0.65;
  font-weight: 600;
}

.hub-editorial__chip--dim {
  opacity: 0.7;
}

.hub-editorial__chip--warn {
  border-color: rgba(255, 176, 32, 0.45);
  color: #ffb020;
}

.hub-editorial__deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem;
  border: 1px solid rgba(0, 212, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
}

@media (min-width: 780px) {
  .hub-editorial__deck {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
  }
}

.hub-editorial__ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hub-editorial__ring {
  position: relative;
  width: 180px;
  height: 180px;
}

.hub-editorial__ring-svg {
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.28));
}

.hub-editorial__ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

/* stroke animated via JS strokeDasharray — no CSS transition fight */
.hub-editorial__ring-fill {
  /* gradient via SVG url(#hub-ed-ring-grad) */
}

.hub-editorial__ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column; /* STACK: note then "sur 10" — never side-by-side */
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  pointer-events: none;
  padding-top: 0.15rem;
}

.hub-editorial__ring-value {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: clamp(2.4rem, 8vw, 2.85rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(0, 212, 255, 0.4);
}

/* Explicit "sur 10" under the score — no overlapping "/" */
.hub-editorial__ring-scale {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.8);
  line-height: 1;
  margin: 0;
}

.hub-editorial__ring-label {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.5);
}

.hub-editorial__rates-kicker,
.hub-editorial__verdict-kicker,
.hub-editorial__body-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(0, 212, 255, 0.7);
}

.hub-editorial--v2 .hub-criterion {
  grid-template-columns: minmax(5.5rem, 8rem) minmax(0, 1fr) 2.6rem;
  gap: 0.65rem;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transition-delay: calc(min(var(--ci, 0), 12) * 50ms);
}

.hub-editorial--v2 .hub-criterion.is-on {
  opacity: 1;
  transform: none;
}

.hub-editorial--v2 .hub-criterion__bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
}

.hub-editorial--v2 .hub-criterion__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #00d4ff, rgba(124, 92, 255, 0.85));
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(min(var(--ci, 0), 12) * 50ms + 80ms);
}

.hub-editorial--v2 .hub-criterion.is-on .hub-criterion__fill {
  width: var(--bar-w, 0%);
}

@media (prefers-reduced-motion: reduce) {
  .hub-editorial--v2 .hub-criterion {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hub-editorial--v2 .hub-criterion__fill {
    transition: none;
    width: var(--bar-w, 0%);
  }
}

.hub-editorial__rates-empty {
  margin: 0;
  color: rgba(230, 240, 255, 0.45);
  font-size: 0.85rem;
}

.hub-editorial__verdict {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-left: 3px solid #00d4ff;
  background: rgba(0, 212, 255, 0.04);
}

.hub-editorial__verdict-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
}

.hub-editorial__body {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 0;
}

.hub-editorial__body-p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(230, 240, 255, 0.78);
}

.hub-editorial__body-p:last-child {
  margin-bottom: 0;
}

.hub-editorial__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.hub-editorial__author {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hub-editorial__author-label {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.4);
}

.hub-editorial__author-name {
  font-weight: 700;
  color: #e8eaf0;
}

.hub-editorial__date {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  color: rgba(230, 240, 255, 0.45);
}

.hub-editorial--v2 .hub-editorial__cta {
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.08);
  color: #00d4ff;
  margin-left: auto;
}

.hub-editorial--v2 .hub-editorial__cta:hover {
  background: rgba(0, 212, 255, 0.14);
}

.hub-critique-h2 {
  margin: 1.35rem 0 0.65rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #00d4ff;
  font-weight: 650;
}

.hub-critique-h3 {
  margin: 1rem 0 0.45rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.72);
  font-weight: 600;
}

.hub-critique-quote {
  margin: 1rem 0;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 3px solid #00d4ff;
  font-style: italic;
  color: rgba(230, 240, 255, 0.82);
}

.hub-critique-quote cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(230, 240, 255, 0.4);
}

.hub-critique-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  color: rgba(230, 240, 255, 0.78);
}

.hub-critique-list li {
  margin: 0.25rem 0;
}

.hub-critique-list li::marker {
  color: #00d4ff;
}

.hub-critique-figure {
  margin: 1rem 0;
}

.hub-critique-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.22);
}

.hub-critique-figure figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgba(230, 240, 255, 0.42);
}

.hub-critique-sep {
  border: 0;
  height: 1px;
  margin: 1.25rem 0;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

/* ========== Hub Casting — portraits 2:3 + key crew ========== */
.hub-section.hub-casting {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hub-casting__hud {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 48%),
    rgba(8, 10, 14, 0.55);
}

.hub-casting__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-casting__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(0, 212, 255, 0.85);
}

.hub-casting__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
}

.hub-casting__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
}

.hub-casting__chip {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(230, 240, 255, 0.65);
}

.hub-casting__chip--accent {
  border-color: rgba(0, 212, 255, 0.45);
  color: #00d4ff;
}

.hub-casting__chip--dim {
  opacity: 0.7;
}

.hub-casting__section-kicker,
.hub-casting__key-kicker {
  margin: 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(0, 212, 255, 0.7);
}

.hub-casting__block {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.hub-casting__block:first-of-type {
  margin-top: 0.35rem;
}

.hub-casting__block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hub-casting__block-count {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(230, 240, 255, 0.38);
  font-variant-numeric: tabular-nums;
}

.hub-casting__key-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .hub-casting__key-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hub-casting__key-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hub-casting__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .hub-casting__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 1100px) {
  .hub-casting__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.hub-casting__card {
  margin: 0;
  opacity: 0;
  animation: hub-cast-in 0.4s ease forwards;
  animation-delay: calc(min(var(--cell-i, 0), 20) * 30ms);
}

@keyframes hub-cast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-casting__card {
    opacity: 1;
    animation: none;
  }
}

.hub-casting__card-inner {
  position: relative;
  display: block;
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.hub-casting__card.is-linked .hub-casting__card-inner {
  border-color: rgba(0, 212, 255, 0.38);
  cursor: pointer;
}

.hub-casting__hub-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.35rem;
  border: 1px solid rgba(0, 212, 255, 0.55);
  background: rgba(0, 8, 14, 0.75);
  color: #00d4ff;
}

.hub-casting__card-inner:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.12);
}

.hub-casting__portrait {
  display: block;
  aspect-ratio: 2 / 3;
  background: #0a0c10;
  overflow: hidden;
}

.hub-casting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-casting__card-inner:hover .hub-casting__img {
  transform: scale(1.04);
}

.hub-casting__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(0, 212, 255, 0.45);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.08), transparent 60%),
    #0a0c10;
}

.hub-casting__index {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.hub-casting__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.75rem 0.55rem 0.55rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 5, 8, 0.55) 35%,
    rgba(5, 5, 8, 0.94) 100%
  );
  pointer-events: none;
}

.hub-casting__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.hub-casting__role {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(0, 212, 255, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-casting__job {
  margin: 0 0 0.15rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.75);
}

.hub-casting__card--crew .hub-casting__portrait {
  aspect-ratio: 1 / 1;
}

.hub-casting__empty {
  margin: 1.25rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.8rem;
  color: rgba(230, 240, 255, 0.4);
}

.hub-casting__crew-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
}

.hub-casting__crew-list li {
  display: grid;
  grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.hub-casting__crew-list li:last-child {
  border-bottom: none;
}

.hub-casting__crew-job {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
}

.hub-casting__crew-name {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hub-casting__crew-name.is-linked {
  color: #00d4ff;
  text-decoration: none;
}

.hub-casting__crew-name.is-linked:hover {
  text-decoration: underline;
}

.hub-filmography__grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .hub-filmography__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-filmography__item {
  margin: 0;
}

.hub-filmography__roles {
  margin: 0.45rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.72);
}

/* ========== User reviews (avis membres) — violet, pas cyan LPS ========== */
.hub-user-reviews .hub-reviews__avg-value {
  color: #a78bfa;
  font-size: 2.2rem;
  font-variant-numeric: tabular-nums;
}

.hub-user-reviews .hub-reviews__avg-scale {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  color: rgba(167, 139, 250, 0.75);
}

.hub-user-bar,
.hub-user-popup__rates li {
  display: grid;
  grid-template-columns: minmax(6rem, 10rem) 1fr 2.4rem;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
}

.hub-user-bar__track {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.hub-user-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.hub-lps-range--member {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #a78bfa 0%,
    #a78bfa var(--range, 50%),
    rgba(255, 255, 255, 0.07) var(--range, 50%),
    rgba(255, 255, 255, 0.07) 100%
  );
}

.hub-lps-range--member::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.55);
}

.hub-user-gate {
  margin: 1.15rem 0;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(167, 139, 250, 0.35);
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.05);
}

.hub-user-gate p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hub-user-composer {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hub-user-composer.is-open {
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08),
    0 16px 40px rgba(10, 8, 20, 0.35);
}

.hub-user-composer__launch {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(167, 139, 250, 0.14),
    rgba(167, 139, 250, 0.05)
  );
  color: #fff;
  cursor: pointer;
  font: inherit;
  animation: hub-user-dock-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-user-composer__launch:hover {
  border-color: #a78bfa;
}

.hub-user-composer__launch strong {
  font-family: var(--font-mono), ui-monospace, monospace;
  color: #a78bfa;
}

.hub-user-composer.is-open .hub-user-composer__sheet {
  animation: hub-user-sheet-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-user-composer__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

@keyframes hub-user-dock-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hub-user-sheet-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hub-user-chip-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hub-user-composer__kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #a78bfa;
}

.hub-user-composer__deck {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
}

.hub-user-composer__ring {
  text-align: center;
}

.hub-user-composer__ring strong {
  display: block;
  font-size: 2rem;
  color: #fff;
}

.hub-user-composer__ring em,
.hub-user-composer__ring span {
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(167, 139, 250, 0.75);
}

.hub-user-composer__rates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hub-user-composer__rates li {
  display: grid;
  grid-template-columns: minmax(6rem, 10rem) 1fr 2.2rem;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
}

.hub-user-writer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hub-user-field {
  display: block;
}

.hub-user-field__label,
.hub-user-field__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
  margin-bottom: 0.4rem;
}

.hub-user-field__head button {
  background: none;
  border: 0;
  color: rgba(255, 40, 81, 0.75);
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-user-field input,
.hub-user-field textarea {
  width: 100%;
  background: rgba(8, 6, 14, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.18);
  color: #f4f1ff;
  padding: 0.75rem 0.9rem;
  font: 0.92rem/1.5 inherit;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-user-field input:focus,
.hub-user-field textarea:focus {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12);
}

.hub-user-field--block {
  padding: 0.7rem 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.12);
  animation: hub-user-chip-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-user-writer__stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

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

.hub-user-writer__chips button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(12, 10, 18, 0.7);
  color: #ded6ff;
  font-family: var(--font-mono), ui-monospace, monospace;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease, background 0.18s ease;
}

.hub-user-writer__chips button b {
  color: #a78bfa;
  font-size: 0.72rem;
}

.hub-user-writer__chips button span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-user-writer__chips button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
}

.hub-user-writer__chips button:disabled {
  opacity: 0.35;
}

.hub-user-writer__hint {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.45;
}

.hub-user-writer__hint em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: rgba(167, 139, 250, 0.55);
}

.hub-user-spoiler {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.hub-user-spoiler input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hub-user-spoiler i {
  width: 2.4rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.hub-user-spoiler i::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.16rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-user-spoiler.is-on i {
  background: #a78bfa;
}

.hub-user-spoiler.is-on i::after {
  transform: translateX(1.05rem);
}

.hub-user-spoiler span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.86rem;
  color: #eee;
}

.hub-user-spoiler em {
  font-style: normal;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .hub-user-composer__launch,
  .hub-user-composer.is-open .hub-user-composer__sheet,
  .hub-user-field--block,
  .hub-user-writer__chips button {
    animation: none;
    transition: none;
  }
}

.hub-user-body__title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: #fff;
}

.hub-user-body__h2 {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #a78bfa;
}

.hub-user-body__p {
  margin: 0 0 0.7rem;
  line-height: 1.6;
}

.hub-user-body__list {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

.hub-user-body__list li::marker {
  color: #a78bfa;
}

.hub-user-sep {
  border: 0;
  height: 4px;
  margin: 0.85rem 0;
  background: linear-gradient(90deg, #ff2851, #00d4ff, #00ff88);
  opacity: 0.85;
}

.hub-user-sep--preview {
  margin: 0.45rem 0;
}

.hub-user-card__title {
  display: block;
  margin: 0.35rem 0 0.15rem;
  color: #fff;
  font-size: 0.95rem;
}

.hub-user-composer__verdict {
  display: block;
  margin-top: 0.9rem;
}

.hub-user-composer__verdict span {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #a78bfa;
  margin-bottom: 0.35rem;
}

.hub-user-composer__verdict textarea {
  width: 100%;
  background: #050508;
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #fff;
  padding: 0.65rem 0.75rem;
  font: italic 0.95rem/1.5 inherit;
  border-radius: 4px;
}

.hub-user-feed-kicker {
  margin: 1.4rem 0 0.65rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #a78bfa;
}

.hub-user-feed {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-user-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-left: 3px solid #a78bfa;
  background: rgba(167, 139, 250, 0.04);
  color: inherit;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.hub-user-card.is-pending {
  border-style: dashed;
}

.hub-user-card__kicker {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #a78bfa;
}

.hub-user-card p {
  margin: 0.45rem 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-user-card__meta {
  font-size: 0.72rem;
  color: rgba(167, 139, 250, 0.7);
}

.hub-user-review-lightbox .matrix-lightbox-panel {
  width: min(90vw, 720px);
  max-height: 88dvh;
  overflow: auto;
  border-color: rgba(167, 139, 250, 0.45);
  background: #0a0c12;
  padding: 1.1rem 1.2rem;
}

.hub-user-popup__hud {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #a78bfa;
  margin-bottom: 0.85rem;
}

.hub-user-popup__hud button {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.hub-user-popup__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  color: #a78bfa;
}

.hub-user-popup__text {
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hub-user-popup__spoiler button {
  color: #ffb020;
  background: none;
  border: 0;
  cursor: pointer;
}

.hub-user-popup__rates {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 780px) {
  .hub-user-composer__deck {
    grid-template-columns: 1fr;
  }
}

/* Staff-only STREAMING desk on public hub */
.hub-stream-desk {
  padding: 0 0 2rem;
}

.hub-stream-desk__hint {
  margin: -0.8rem 0 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.hub-stream-desk__empty {
  margin: 0;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.5);
}

.hub-stream-desk__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hub-stream-desk__file {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 40, 81, 0.22);
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
}

.hub-stream-desk__file:hover,
.hub-stream-desk__file:focus-visible {
  border-color: #ff2851;
  outline: none;
}

.hub-stream-desk__name {
  font-size: 0.92rem;
}

.hub-stream-desk__meta {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

/* --- À propos compact (plus de content-box article) --- */
.hub-section.hub-overview-copy {
  padding: 0 0 0.35rem;
}

.hub-overview-copy__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.hub-overview-copy__text,
.hub-overview-copy__html {
  margin: 0;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.hub-overview-copy__html p {
  margin: 0 0 0.65rem;
}

.hub-overview-copy__html p:last-child {
  margin-bottom: 0;
}

/* --- Trailer : filet SIGNAL, pas de barres letterbox --- */
.hub-section.hub-trailer {
  padding-top: 1.65rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hub-trailer__card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 40, 81, 0.28);
  background: #0a0a0c;
  cursor: pointer;
  transition: border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-trailer__card:hover,
.hub-trailer__card:focus-visible {
  border-color: rgba(255, 40, 81, 0.55);
}

.hub-trailer__card:focus-visible {
  outline: 1px solid rgba(0, 212, 255, 0.55);
  outline-offset: 2px;
}

.hub-trailer__still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.03) brightness(0.94);
  transition: filter 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-trailer__card:hover .hub-trailer__still,
.hub-trailer__card:focus-visible .hub-trailer__still {
  filter: grayscale(0.02) contrast(1.05) brightness(1.02);
}

.hub-trailer__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.hub-trailer__frame {
  position: absolute;
  inset: 7px;
  pointer-events: none;
}

.hub-trailer__frame-c {
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: rgba(255, 40, 81, 0.55);
  border-style: solid;
  border-width: 0;
}

.hub-trailer__frame-c--tl {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.hub-trailer__frame-c--tr {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.hub-trailer__frame-c--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.hub-trailer__frame-c--br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.hub-trailer__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hub-trailer__play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(0, 212, 255, 0.82);
  transition: border-left-color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-trailer__card:hover .hub-trailer__play-tri,
.hub-trailer__card:focus-visible .hub-trailer__play-tri {
  border-left-color: #00d4ff;
}

@media (prefers-reduced-motion: reduce) {
  .hub-trailer__still,
  .hub-trailer__card,
  .hub-trailer__play-tri {
    transition: none;
  }
}

/* --- Sauvegarde publique : plaque d’accession (jamais un player) --- */
.hub-section.hub-archive {
  padding-top: 0;
}

.hub-archive__hud {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 1.15rem 1.1rem 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 48%),
    rgba(8, 10, 14, 0.55);
}

.hub-archive__hud-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.018) 2px,
    rgba(0, 212, 255, 0.018) 4px
  );
}

.hub-archive__title {
  position: relative;
  margin: 0 0 0.45rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.hub-archive__tagline {
  position: relative;
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hub-archive__plate,
.hub-archive__empty {
  position: relative;
  padding: 1.2rem 1.1rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.03);
  animation: hub-archive-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hub-archive__plate:hover {
  border-color: rgba(0, 212, 255, 0.42);
}

.hub-archive__scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 212, 255, 0.05) 50%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: hub-archive-scan 7.5s linear infinite;
  opacity: 0.55;
}

.hub-archive__frame {
  position: absolute;
  inset: 8px;
  pointer-events: none;
}

.hub-archive__frame-c {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(0, 212, 255, 0.5);
  border-style: solid;
  border-width: 0;
}

.hub-archive__frame-c--tl {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.hub-archive__frame-c--tr {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.hub-archive__frame-c--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.hub-archive__frame-c--br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.hub-archive__plate-head {
  position: relative;
  margin: 0 0 1rem;
}

.hub-archive__code {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: #f4f4f6;
  cursor: pointer;
}

.hub-archive__code:focus-visible {
  outline: 1px solid rgba(0, 212, 255, 0.55);
  outline-offset: 3px;
}

.hub-archive__code-id {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(0, 212, 255, 0.45);
}

.hub-archive__code-act {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
}

.hub-archive__code.is-copied .hub-archive__code-act {
  color: #00ff88;
}

.hub-archive__ico {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: #00d4ff;
}

.hub-archive__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.hub-archive__cells {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
  padding: 0;
  list-style: none;
}

.hub-archive__cells li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  row-gap: 0.12rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.hub-archive__cells li .hub-archive__ico {
  grid-row: 1 / span 2;
  align-self: center;
}

.hub-archive__fact-k {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hub-archive__fact-v {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

.hub-archive__chips {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.hub-archive__chip {
  padding: 0.1rem 0.38rem;
  border: 1px solid rgba(0, 212, 255, 0.28);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #00d4ff;
}

.hub-archive__muted {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
}

.hub-archive__seal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hub-archive__empty {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hub-archive__empty-k {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d4ff;
}

.hub-archive__empty p {
  margin: 0;
  max-width: 32rem;
}

.hub-archive__season {
  margin-top: 1.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(0, 212, 255, 0.28);
}

.hub-archive__season-k {
  margin: 0 0 0.7rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00d4ff;
}

.hub-archive__row {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-archive__ep {
  color: rgba(255, 255, 255, 0.4);
}

.hub-archive__facts {
  display: flex;
  gap: 0.85rem;
  margin: 0.2rem 0 0;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hub-archive__row-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

@keyframes hub-archive-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hub-archive-scan {
  from {
    background-position: 0 -40%;
  }
  to {
    background-position: 0 140%;
  }
}

@media (min-width: 720px) {
  .hub-archive__row {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-archive__plate,
  .hub-archive__empty,
  .hub-archive__scan {
    animation: none;
  }
}

/* =========================================================================
   HUB AMBIENT — CSS-only background (léger, pas de canvas lourd)
   ========================================================================= */

.hub-page > :not(.hub-bg) {
  position: relative;
  z-index: 1;
}

.hub-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--color-void, #0a0a0c);
}

.hub-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 40, 81, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 40, 81, 0.015) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
}

.hub-bg__aurora {
  position: absolute;
  inset: 0;
  /* Noir absolu pour le hero (0 - 100vh), puis dégradé vers le rouge (140vh), puis retour au noir (200vh) */
  background: linear-gradient(
    to bottom,
    var(--color-void) 0%,
    var(--color-void) 100vh,
    rgba(255, 40, 81, 0.08) 140vh,
    var(--color-void) 200vh
  );
  /* L'animation peut décaler légèrement le background pour un effet subtil */
  animation: hub-aurora 26s ease-in-out infinite alternate;
}

.hub-bg__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 40, 81, 0.28),
    transparent
  );
  opacity: 0.18;
  animation: hub-bg-scan 24s linear infinite;
}

.hub-bg--static {
  background:
    radial-gradient(circle at 22% 24%, rgba(0, 212, 255, 0.04), transparent 50%),
    radial-gradient(circle at 78% 72%, rgba(139, 92, 246, 0.03), transparent 48%);
}

@keyframes hub-aurora {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0.6%, -0.5%);
  }
}

@keyframes hub-bg-scan {
  0% {
    top: -2%;
    opacity: 0;
  }
  10% {
    opacity: 0.18;
  }
  90% {
    opacity: 0.18;
  }
  100% {
    top: 102%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-bg__aurora,
  .hub-bg__scan {
    animation: none;
    display: none;
  }
}
/* HubCard — extracted so / can mount the plaque without hub-page.css */

.hub-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(8, 8, 12, 0.85);
  border-radius: 2px;
  overflow: hidden;
}

.hub-card--inline {
  max-width: 100%;
}

.hub-card__cover {
  height: 5.5rem;
  background-size: cover;
  background-position: center;
}

.hub-card--inline .hub-card__cover {
  height: 4.5rem;
}

.hub-card__cover--fallback {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(139, 92, 246, 0.08)
  );
}

.hub-card__body {
  padding: 0.75rem 0.85rem;
}

.hub-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.hub-card__type {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyber-cyan);
}

.hub-card__parent {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
}

.hub-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-pure, #fff);
}

.hub-card__desc {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.hub-card__scores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.hub-card__score {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyber-cyan);
}

.hub-card__score--members {
  color: var(--cyber-violet);
}

.hub-card__reviews {
  font-weight: 400;
  opacity: 0.75;
}

.hub-card__cta {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-pure, #fff);
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: rgba(0, 212, 255, 0.06);
  border-radius: 2px;
}

@media (min-width: 640px) {
  .hub-card {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .hub-card__cover {
    height: auto;
    min-height: 100%;
  }
}

.lps-hubs-directory{padding-top:clamp(2.5rem,6vw,5rem);padding-bottom:5rem;min-height:65vh;color:#efeff4}.lps-hubs-directory>header{max-width:52rem;margin-bottom:2.4rem}.lps-hubs-kicker{font:600 .75rem ui-monospace,monospace;letter-spacing:.16em;color:#5bdeec}.lps-hubs-directory h1{font-size:clamp(2.5rem,7vw,4.5rem);line-height:1.08;margin:.75rem 0 1rem}.lps-hubs-directory>header>p:last-child{max-width:43rem;color:#aaaabb;line-height:1.7}.lps-hubs-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(9rem,13rem) auto;gap:1rem;align-items:end}.lps-hubs-filters label{display:grid;gap:.55rem;color:#bdbdc9;font-size:.85rem}.lps-hubs-filters input,.lps-hubs-filters select,.lps-hubs-filters button,.lps-hubs-pagination button{width:100%;min-height:46px;box-sizing:border-box;padding:.65rem .9rem;border:1px solid #41414e;border-radius:4px;background:#16161e;color:#f4f4fa;font:inherit}.lps-hubs-filters button,.lps-hubs-pagination button{cursor:pointer;background:#25343a;border-color:#4bc1cf}.lps-hubs-directory :focus-visible{outline:2px solid #74e4ef;outline-offset:4px}.lps-hubs-count{margin:1.6rem 0 1rem;color:#aaaabb;font:400 .8rem ui-monospace,monospace}.lps-hubs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.lps-hub-tile{overflow:hidden;background:#14141b;border:1px solid #2e333e;border-radius:6px}.lps-hub-tile-link{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}.lps-hub-tile-image{aspect-ratio:16/9;background:linear-gradient(135deg,#15393b,#201c35);overflow:hidden}.lps-hub-tile-image img{width:100%;height:100%;object-fit:cover}.lps-hub-tile-body{display:flex;flex:1;flex-direction:column;padding:1.2rem;gap:.6rem}.lps-hub-tile-body h2{font-size:1.3rem;line-height:1.25;margin:0}.lps-hub-tile-body p{margin:0;color:#acacbc;font-size:.87rem;line-height:1.6}.lps-hub-tile-body .lps-hub-tile-type{font:600 .67rem ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#65d6e0}.lps-hub-tile-scores{display:flex;flex-wrap:wrap;gap:.6rem;color:#e0ddf1;font-size:.75rem}.lps-hub-tile-action{margin-top:auto;padding-top:1rem;color:#92e6eb;font-size:.84rem}.lps-hub-tile-link:hover .lps-hub-tile-action{text-decoration:underline}.lps-hubs-empty,.lps-hubs-error{padding:1.5rem;border:1px solid #3c3c4b;color:#c0c0cd}.lps-hubs-error{color:#ffb3bb}.lps-hubs-pagination{display:flex;gap:1rem;align-items:center;justify-content:center;margin-top:2rem}.lps-hubs-pagination button{width:auto}.lps-hubs-directory button:disabled{opacity:.5;cursor:default}@media(max-width:900px){.lps-hubs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.lps-hubs-filters{grid-template-columns:1fr}.lps-hubs-grid{grid-template-columns:1fr}.lps-hubs-directory{padding-left:1rem;padding-right:1rem}.lps-hubs-pagination{gap:.6rem}.lps-hub-tile-body{padding:1rem}}
