/* Generated by the verified runtime partition on 2026-08-29. Keep selectors scoped to this surface. */

/* Contextual permission invitation — a compact live cue, not a technical banner. */
.street-world.is-game-hub .street-hub-feed > .push-invitation {
  --push-pane: color-mix(in srgb, var(--surface-glass) 92%, transparent);
  --push-pane-strong: color-mix(in srgb, var(--surface-primary) 84%, transparent);
  flex-shrink: 0;
  height: max-content;
  width: min(calc(100% - (2 * var(--space-4))), 64rem);
  margin: clamp(var(--space-5), 4vw, var(--space-7)) auto var(--space-7);
  padding: clamp(1.15rem, 3vw, 1.7rem);
  gap: var(--space-4);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--gold-highlight) 14%, transparent), transparent 34%),
    linear-gradient(145deg, var(--push-pane-strong), var(--push-pane));
  border: 1px solid color-mix(in srgb, var(--border-gold) 76%, transparent);
  border-radius: clamp(1.35rem, 3vw, 1.8rem);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--gold-highlight) 26%, transparent),
    var(--shadow-card),
    0 0 2.4rem color-mix(in srgb, var(--gold-primary) 8%, transparent);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.street-world.is-game-hub .push-invitation::before {
  inset: 0.7rem 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold-highlight) 82%, transparent), transparent);
}

.street-world.is-game-hub .push-invitation-glow {
  inset: -6.5rem auto auto -4rem;
  background: color-mix(in srgb, var(--gold-primary) 14%, transparent);
}

.street-world.is-game-hub .push-invitation-mark {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--text-on-gold);
  background: var(--button-primary);
  border-color: color-mix(in srgb, var(--gold-highlight) 80%, var(--border-gold));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 52%, transparent),
    0 0.65rem 1.4rem color-mix(in srgb, var(--gold-primary) 25%, transparent);
}

.street-world.is-game-hub .push-invitation-mark-orbit {
  position: absolute;
  inset: -0.34rem;
  border: 1px solid color-mix(in srgb, var(--gold-highlight) 46%, transparent);
  border-radius: 50%;
}

.street-world.is-game-hub .push-invitation-copy { min-width: 0; }

.street-world.is-game-hub .push-invitation .push-kicker {
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  font-size: max(var(--type-min), 0.78rem);
  letter-spacing: 0.13em;
}

.street-world.is-game-hub .push-invitation h2 {
  max-width: 22ch;
  color: var(--text-primary);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  text-wrap: balance;
}

.street-world.is-game-hub .push-invitation-copy > p:not(.push-kicker, .push-device-state) {
  max-width: 58ch;
  margin-top: 0.55rem;
  color: var(--text-secondary);
  font-size: max(var(--type-min), 0.9rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.street-world.is-game-hub .push-device-state {
  color: var(--text-muted);
  font-size: var(--type-min);
}

.street-world.is-game-hub .push-invitation-actions {
  gap: var(--space-2);
  align-content: center;
}

.street-world.is-game-hub .push-invitation-actions .btn {
  min-height: 3.25rem;
  padding: 0.72rem 1rem;
  border: 1px solid color-mix(in srgb, var(--gold-highlight) 72%, var(--border-gold));
  border-radius: 999px;
  background: var(--button-primary);
  color: var(--text-on-gold);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 48%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--hub-cta-depth) 72%, transparent),
    var(--hub-cta-shadow);
  font-size: max(var(--type-min), 0.9rem);
  font-weight: 800;
}

.street-world.is-game-hub .push-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  text-align: left;
}

.street-world.is-game-hub .push-primary-arrow {
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 180ms var(--ease-out);
}

.street-world.is-game-hub .push-primary:hover .push-primary-arrow,
.street-world.is-game-hub .push-primary:focus-visible .push-primary-arrow { transform: translateX(0.18rem); }

.street-world.is-game-hub .push-invitation-actions .quiet-link {
  min-width: 8rem;
  min-height: 2.75rem;
  color: var(--text-secondary);
  font-size: var(--type-min);
  text-decoration-color: color-mix(in srgb, var(--text-secondary) 48%, transparent);
  text-underline-offset: 0.28rem;
}

.street-world.is-game-hub .push-feedback {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface-glass) 84%, transparent);
  border: 1px solid var(--border-primary);
}

@media (min-width: 720px) {
  .street-world.is-game-hub .street-hub-feed > .push-invitation {
    grid-template-columns: 3.75rem minmax(0, 1fr) minmax(16rem, 21rem);
    align-items: center;
  }

  .street-world.is-game-hub .push-invitation-actions { grid-column: 3; }
  .street-world.is-game-hub .push-feedback { grid-column: 2 / -1; }
}

@media (max-width: 719px) {
  .street-world.is-game-hub .street-hub-feed > .push-invitation {
    width: calc(100% - (2 * var(--space-4)));
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .street-world.is-game-hub .push-invitation-mark {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .street-world.is-game-hub .push-primary-arrow { transition: none; }
}

@media (forced-colors: active) {
  .street-world.is-game-hub .street-hub-feed > .push-invitation,
  .street-world.is-game-hub .push-invitation-actions .btn {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
  }
}


body.is-street-hub:has(.street-world:not(.street-leaderboard-page)) {
  overflow: hidden;
  height: 100dvh;
}
body.is-street-hub.is-game-hub-page .sky {
  background: none;
}
.street-world {
  --street-hub-dock-clearance: calc(5.25rem + env(safe-area-inset-bottom));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
  max-width: var(--street-hub-col, 24.375rem);
  margin-inline: auto;
  min-height: 100dvh;
  padding: var(--chrome-head) var(--space-4) var(--street-hub-dock-clearance);
  isolation: isolate;
  background: transparent;
}
.street-world:not(.street-leaderboard-page):not(.street-map-page) {
  --street-hub-dock-clearance: calc(4.5rem + env(safe-area-inset-bottom));
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  gap: var(--space-3);
}
.street-world.is-game-hub:not(.street-map-page) {
  overflow: visible;
}
.street-hub-feed {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  padding-top: var(--space-2);
}
.street-hub-feed::-webkit-scrollbar { display: none; }
.street-world::before {
  content: "";
  position: fixed;
  top: var(--chrome-head);
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--street-hub-col, 24.375rem), 100vw);
  height: 17rem;
  pointer-events: none;
  z-index: 0;
  background:
    var(--temple-oculus-rings),
    radial-gradient(ellipse 70% 70% at 50% -12%, rgba(255, 252, 245, 0.5) 0%, transparent 72%);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 38%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 38%, transparent 100%);
}
.street-world::after { content: none; }
.street-world > * { position: relative; z-index: 1; }
@media (min-width: 720px) {
.street-world {
    padding-inline: var(--space-4);
  }
}
@media (prefers-reduced-motion: reduce) {
.street-world::before,
.street-world::after { opacity: 0.55; }
}
@media (min-width: 720px) and (max-height: 860px) {
.street-world:not(.street-leaderboard-page) {
    gap: 0;
  }
}
body.is-street-hub.is-game-hub-page {
  --street-hub-col: min(52rem, 100vw);
  --hub-hud-height: 5.3rem;
  --hub-hud-clearance: calc(max(var(--space-3), env(safe-area-inset-top)) + var(--hub-hud-height));
}

@media (min-width: 720px) {
body.is-street-hub.is-game-hub-page {
    --street-hub-col: min(72rem, 100vw);
  }
}
@media (min-width: 1200px) {
body.is-street-hub.is-game-hub-page {
    --street-hub-col: min(78rem, 100vw);
  }
}
.street-world.is-game-hub {
  --hub-background: var(--paper);
  --surface-primary: var(--temple-ivory, #fffef8);
  --surface-secondary: var(--temple-marble, #f3eee4);
  --surface-glass: color-mix(in srgb, var(--surface-primary) 78%, transparent);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --text-muted: color-mix(in srgb, var(--ink) 58%, transparent);
  --border-primary: var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 34%, transparent));
  --border-gold: color-mix(in srgb, var(--gold-deep) 55%, transparent);
  --gold-primary: var(--gold);
  --gold-highlight: var(--gold-bright, #f2d98a);
  --button-primary: linear-gradient(180deg, #f4e0a2 0%, #e0b83a 42%, #c9a23a 68%, #a37a12 100%);
  --button-primary-text: var(--ink);
  --button-secondary: color-mix(in srgb, var(--surface-primary) 88%, transparent);
  --hub-cta-face: var(--button-primary);
  --hub-cta-edge: color-mix(in srgb, var(--gold-deep) 72%, var(--gold-highlight));
  --hub-cta-specular: var(--gold-highlight);
  --hub-cta-depth: color-mix(in srgb, var(--gold-deep) 72%, var(--surface-primary));
  --hub-cta-contact: color-mix(in srgb, var(--gold-deep) 54%, var(--surface-primary));
  --hub-cta-shadow: 0 0.85rem 1.7rem color-mix(in srgb, var(--gold-primary) 28%, transparent);
  --shadow-card: 0 14px 36px rgba(28, 25, 21, 0.12);
  --glow: 0 10px 28px color-mix(in srgb, var(--gold-primary) 38%, transparent);
  --text-on-glass: var(--text-primary);
  --text-on-gold: var(--button-primary-text);
  --text-on-light-surface: var(--ink);
  --hub-muted: var(--text-muted);
  --street-hub-dock-clearance: calc(4.75rem + env(safe-area-inset-bottom));
}
.street-world.is-game-hub[data-hub-theme="dark"] {
  --hub-background: #0b0e16;
  --surface-primary: #161a26;
  --surface-secondary: #0f121c;
  --surface-glass: color-mix(in srgb, #12151f 74%, transparent);
  --text-primary: #f6f1e4;
  --text-secondary: color-mix(in srgb, #f6f1e4 78%, transparent);
  --text-muted: color-mix(in srgb, #f6f1e4 62%, transparent);
  --border-primary: color-mix(in srgb, var(--gold) 42%, transparent);
  --border-gold: color-mix(in srgb, var(--gold) 62%, transparent);
  --button-primary-text: #1a1408;
  --button-secondary: color-mix(in srgb, #1a1d27 86%, transparent);
  --hub-cta-edge: color-mix(in srgb, var(--gold-highlight) 78%, var(--surface-primary));
  --hub-cta-depth: color-mix(in srgb, var(--surface-primary) 72%, var(--gold-primary));
  --hub-cta-contact: color-mix(in srgb, var(--surface-primary) 80%, var(--gold-primary));
  --hub-cta-shadow:
    0 0.9rem 1.9rem color-mix(in srgb, var(--surface-primary) 68%, transparent),
    0 0 1.2rem color-mix(in srgb, var(--gold-primary) 19%, transparent);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.48);
  --glow: 0 12px 32px color-mix(in srgb, var(--gold) 28%, transparent);
  --text-on-glass: var(--text-primary);
  --text-on-gold: var(--button-primary-text);
  --text-on-light-surface: var(--ink);
}
.street-world.is-game-hub[data-hub-atmosphere="dramatic"] {
  --glow: 0 16px 40px color-mix(in srgb, var(--gold) 22%, transparent);
}
.street-world.is-game-hub[data-hub-atmosphere="glorious"] {
  --glow: 0 16px 46px color-mix(in srgb, var(--gold-highlight) 42%, transparent);
}
body.is-street-hub:has(.street-world.is-game-hub) .chrome-face {
  display: none;
}
.street-world > .street-world-art-picture {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  background: var(--hub-background);
}
.street-world-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.is-street-hub:has(.home-menu.is-hud) .street-world.is-game-hub {
  padding-top: var(--hub-hud-clearance);
}
.street-world.is-game-hub .street-hub-feed {
  gap: 0;
  padding-top: 0;
  padding-bottom: var(--street-hub-dock-clearance);
  scroll-padding-top: 0.25rem;
}
.street-world.is-game-hub .hub-hero,
.street-world.is-game-hub .hub-live,
.street-world.is-game-hub .hub-install {
  flex-shrink: 0;
}
.street-world.is-game-hub .hub-kicker {
  color: var(--text-secondary);
}
.hub-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.hub-hero {
  position: relative;
  min-height: 0;
  padding: 0;
  margin-inline: 0;
  border-radius: 0;
  overflow: visible;
  backdrop-filter: none;
  color: var(--text-primary);
}
.hub-hero-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 1.35rem;
  background: var(--surface-secondary);
  box-shadow: var(--shadow-card);
}
.hub-voyage {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  height: 16.75rem;
}
.hub-voyage::-webkit-scrollbar { display: none; }
.hub-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 16.75rem;
  border-radius: 0;
  overflow: hidden;
  opacity: 1;
  background: var(--surface-secondary);
}
.hub-slide.is-current { flex-basis: 100%; opacity: 1; }
.hub-slide-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  display: block;
}
.hub-slide.is-locked .hub-slide-still { filter: saturate(0.72) brightness(0.72); }
.hub-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--surface-primary) 98%, transparent) 0%,
      color-mix(in srgb, var(--surface-primary) 94%, transparent) 34%,
      color-mix(in srgb, var(--surface-primary) 68%, transparent) 52%,
      color-mix(in srgb, var(--surface-primary) 18%, transparent) 76%,
      transparent 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface-primary) 24%, transparent) 0%,
      transparent 48%,
      color-mix(in srgb, var(--surface-secondary) 30%, transparent) 100%);
}
.street-world.is-game-hub[data-hub-theme="dark"] .hub-slide::after {
  background:
    linear-gradient(90deg,
      rgba(8, 10, 18, 0.9) 0%,
      rgba(8, 10, 18, 0.62) 32%,
      rgba(8, 10, 18, 0.22) 58%,
      rgba(8, 10, 18, 0.02) 82%,
      transparent 100%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.2) 0%, transparent 26%, transparent 64%, rgba(8, 10, 18, 0.42) 100%);
}
.hub-slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 3.4rem var(--space-4) var(--space-4);
  pointer-events: none;
}
.hub-slide-copy-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}
.hub-slide-copy .hub-hero-actions,
.hub-slide-copy .hub-play-form,
.hub-slide-copy a,
.hub-slide-copy button {
  pointer-events: auto;
}
.street-world.is-game-hub .hub-hero-continue {
  color: var(--gold-deep);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-shadow: none;
}
.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero-continue {
  color: var(--gold-primary);
}
.hub-hero-title {
  margin: 0;
  /* The adventure name is real editorial content, not a clipped label. */
  max-width: min(100%, 28rem);
  overflow: visible;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text-primary);
  display: block;
  -webkit-line-clamp: unset;
}
.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hub-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hub-hero-step {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.72rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-secondary) 55%, transparent);
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hub-hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.hub-hero-lede {
  margin: 0;
  max-width: 22rem;
  font-size: var(--type-min);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 0;
  flex: 0 0 auto;
  min-height: 2.85rem;
}
.hub-slide-wait {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hub-slide-wait .picto { width: 1.05rem; height: 1.05rem; color: var(--gold-primary); }
.street-world.is-game-hub .hub-play {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: auto;
  min-width: 8.1rem;
  min-height: 2.85rem;
  margin: 0;
  padding: 0.55rem 1.15rem;
  overflow: hidden;
  border: 1px solid var(--hub-cta-edge);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--hub-cta-specular) 76%, transparent) 0%,
      color-mix(in srgb, var(--hub-cta-specular) 24%, transparent) 20%,
      transparent 45%
    ),
    var(--hub-cta-face);
  color: var(--text-on-gold);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  clip-path: none;
  filter: none;
  box-shadow:
    0 0.24rem 0 var(--hub-cta-depth),
    var(--hub-cta-shadow),
    inset 0 1px 0 color-mix(in srgb, var(--hub-cta-specular) 80%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hub-cta-depth) 66%, transparent);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) ease, filter var(--dur-press) ease;
}
.street-world.is-game-hub .hub-play::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.16rem;
  border: 1px solid color-mix(in srgb, var(--hub-cta-specular) 40%, transparent);
  border-radius: inherit;
  pointer-events: none;
}
.street-world.is-game-hub .hub-play :is(.hub-play__seal, .hub-play__label, .hub-play__arrow) {
  position: relative;
  z-index: 1;
}
.street-world.is-game-hub .hub-play__seal {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-inline-start: -0.3rem;
  border: 1px solid color-mix(in srgb, var(--text-on-gold) 38%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-on-gold) 9%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--hub-cta-specular) 42%, transparent);
}
.street-world.is-game-hub .hub-play__label { white-space: nowrap; }
.street-world.is-game-hub .hub-play__arrow {
  display: grid;
  place-items: center;
  margin-inline-start: 0.04rem;
}
.street-world.is-game-hub .hub-play__seal .picto {
  width: 0.82rem;
  height: 0.82rem;
}
.street-world.is-game-hub .hub-play__arrow .picto {
  width: 1rem;
  height: 1rem;
}
.street-world.is-game-hub .hub-play:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-highlight) 72%, transparent);
  outline-offset: 3px;
}
.street-world.is-game-hub .hub-play:is(:active, .is-pressed) {
  transform: translateY(0.18rem) scale(0.985);
  box-shadow:
    0 0.08rem 0 var(--hub-cta-contact),
    0 0.45rem 0.85rem color-mix(in srgb, var(--hub-cta-contact) 42%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--hub-cta-depth) 72%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hub-cta-specular) 58%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .street-world.is-game-hub .hub-play:hover {
    transform: translateY(-0.12rem);
    box-shadow:
      0 0.34rem 0 var(--hub-cta-depth),
      0 1.05rem 1.9rem color-mix(in srgb, var(--hub-cta-contact) 44%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--hub-cta-specular) 88%, transparent),
      inset 0 -1px 0 color-mix(in srgb, var(--hub-cta-depth) 66%, transparent);
  }
}
.street-world.is-game-hub .hub-panel,
.street-world.is-game-hub .hub-live {
  position: relative;
  margin: 0;
  padding: var(--space-3);
  background: var(--surface-glass);
  border: 1px solid var(--border-gold);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  color: var(--text-on-glass);
  overflow: hidden;
}
.street-world.is-game-hub .hub-live {
  margin-inline: var(--space-3);
  margin-bottom: var(--space-3);
  min-height: 13.25rem;
  padding: 1rem 0.85rem 0.95rem;
  backdrop-filter: none;
}
.street-world.is-game-hub .hub-live[data-hub-live-theme="light"] {
  --hub-live-paper: var(--temple-ivory, #fffef8);
  --hub-live-ink: var(--ink, #1c1915);
  --hub-live-muted: color-mix(in srgb, var(--ink, #1c1915) 58%, transparent);
  --hub-live-kicker: var(--gold-deep);
  --hub-live-digit-bg: #fff;
  --hub-live-digit-fg: var(--ink, #1c1915);
  --hub-live-digit-border: color-mix(in srgb, var(--ink, #1c1915) 14%, transparent);
  --hub-live-digit-shadow: 0 1px 0 #fff;
  --hub-live-program-bg: #fff;
  --hub-live-program-fg: var(--gold-deep);
  --hub-live-program-picto: var(--gold-deep);
  --hub-live-program-border: var(--border-gold);
  --hub-live-border: color-mix(in srgb, var(--gold-deep) 46%, transparent);
  --hub-live-command-glass: color-mix(in srgb, var(--hub-live-paper) 48%, transparent);
  --hub-live-command-fg: var(--hub-live-ink);
  --hub-live-command-edge: color-mix(in srgb, var(--gold-deep) 54%, transparent);
  --hub-live-command-specular: color-mix(in srgb, #fff 68%, transparent);
  --hub-live-command-depth: color-mix(in srgb, var(--hub-live-ink) 18%, transparent);
  --hub-live-command-inlay: color-mix(in srgb, var(--navy) 78%, transparent);
  --hub-live-command-inlay-fg: var(--gold-highlight);
  --hub-live-command-shadow: 0 12px 26px color-mix(in srgb, var(--hub-live-ink) 16%, transparent);
  --hub-live-command-text-shadow: 0 1px 12px color-mix(in srgb, var(--hub-live-paper) 82%, transparent);
  --hub-live-art-opacity: 1;
  --hub-live-art-wash: linear-gradient(
    90deg,
    var(--hub-live-paper) 0%,
    var(--hub-live-paper) 38%,
    color-mix(in srgb, var(--hub-live-paper) 82%, transparent) 52%,
    color-mix(in srgb, var(--hub-live-paper) 28%, transparent) 70%,
    transparent 88%
  );
  --hub-live-shadow: 0 12px 28px color-mix(in srgb, var(--ink, #1c1915) 16%, transparent);
  background: var(--hub-live-paper);
  color: var(--hub-live-ink);
  border-color: var(--hub-live-border);
  box-shadow: var(--hub-live-shadow);
}
.street-world.is-game-hub .hub-live[data-hub-live-theme="dark"] {
  --hub-live-paper: color-mix(in srgb, #0b0e16 94%, #161a26);
  --hub-live-ink: #f6f1e4;
  --hub-live-muted: color-mix(in srgb, #f6f1e4 62%, transparent);
  --hub-live-kicker: var(--gold-primary, var(--gold));
  --hub-live-digit-bg: color-mix(in srgb, #12151f 78%, transparent);
  --hub-live-digit-fg: #f6f1e4;
  --hub-live-digit-border: color-mix(in srgb, var(--gold) 42%, transparent);
  --hub-live-digit-shadow: inset 0 1px 0 color-mix(in srgb, #f6f1e4 8%, transparent);
  --hub-live-program-bg: color-mix(in srgb, #12151f 72%, transparent);
  --hub-live-program-fg: #f6f1e4;
  --hub-live-program-picto: var(--gold-primary, var(--gold));
  --hub-live-program-border: color-mix(in srgb, var(--gold) 62%, transparent);
  --hub-live-border: color-mix(in srgb, var(--gold) 62%, transparent);
  --hub-live-command-glass: color-mix(in srgb, #0b0e16 46%, transparent);
  --hub-live-command-fg: var(--hub-live-ink);
  --hub-live-command-edge: color-mix(in srgb, var(--gold-highlight) 58%, transparent);
  --hub-live-command-specular: color-mix(in srgb, var(--hub-live-ink) 16%, transparent);
  --hub-live-command-depth: color-mix(in srgb, #000 36%, transparent);
  --hub-live-command-inlay: color-mix(in srgb, #0b0e16 68%, transparent);
  --hub-live-command-inlay-fg: var(--gold-highlight);
  --hub-live-command-shadow: 0 14px 30px color-mix(in srgb, #000 54%, transparent);
  --hub-live-command-text-shadow: 0 1px 12px color-mix(in srgb, #000 58%, transparent);
  --hub-live-art-opacity: 0.94;
  --hub-live-art-wash: linear-gradient(
    90deg,
    color-mix(in srgb, var(--hub-live-paper) 94%, transparent) 0%,
    color-mix(in srgb, var(--hub-live-paper) 86%, transparent) 38%,
    color-mix(in srgb, var(--hub-live-paper) 52%, transparent) 52%,
    color-mix(in srgb, var(--hub-live-paper) 18%, transparent) 70%,
    transparent 88%
  );
  --hub-live-shadow: 0 18px 48px rgba(0, 0, 0, 0.48), 0 0 28px color-mix(in srgb, var(--gold) 18%, transparent);
  background: var(--hub-live-paper);
  color: var(--hub-live-ink);
  border-color: var(--hub-live-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--hub-live-shadow);
}
.street-world.is-game-hub .hub-live[data-hub-live-atmosphere="dramatic"] {
  --hub-live-art-opacity: 1;
  --hub-live-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 34px color-mix(in srgb, var(--gold) 20%, transparent);
}
.street-world.is-game-hub .hub-live[data-hub-live-atmosphere="glorious"] {
  --hub-live-shadow: 0 14px 38px color-mix(in srgb, var(--gold-highlight) 30%, transparent);
}
.street-world.is-game-hub .hub-live.is-still::before {
  content: "";
  position: absolute;
  inset: 0 0 0 32%;
  background: var(--hub-live-still) 78% 42% / cover no-repeat;
  opacity: var(--hub-live-art-opacity);
}
.street-world.is-game-hub .hub-live.is-still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hub-live-art-wash);
  opacity: 1;
}
.street-world.is-game-hub .hub-live > * { position: relative; z-index: 1; }
.street-world.is-game-hub .hub-live.is-empty {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.1rem;
  padding-block: 0.7rem;
  overflow: visible;
}
.street-world.is-game-hub .hub-live.is-ward_missing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  min-height: 8.25rem;
  padding: 0.9rem;
  overflow: hidden;
}
.hub-live-ward-mark {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid var(--hub-live-program-border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--hub-live-program-bg) 72%, transparent);
  color: var(--hub-live-program-picto);
  box-shadow: 0 0 22px color-mix(in srgb, var(--gold) 18%, transparent);
}
.hub-live-ward-mark .picto { width: 1.8rem; height: 1.8rem; }
.hub-live-ward-title {
  margin: 0.2rem 0 0;
  color: var(--hub-live-ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 750;
  line-height: 1.05;
  text-wrap: balance;
}
.street-world.is-game-hub .hub-live.is-ward_missing .hub-live-empty {
  margin-top: 0.3rem;
  color: var(--hub-live-muted);
  font-size: var(--type-min);
  line-height: 1.3;
}
.street-world.is-game-hub .hub-live.is-ward_missing .hub-live-program {
  position: relative;
  right: auto;
  bottom: auto;
  min-height: 3rem;
  max-width: 11.5rem;
  justify-content: center;
  font-size: var(--type-min);
}
.street-world.is-game-hub .hub-live.is-empty .hub-live-empty-copy {
  flex: 1;
  min-width: 0;
}
.street-world.is-game-hub .hub-live.is-empty .hub-kicker {
  flex: none;
  max-width: none;
}
.street-world.is-game-hub .hub-live.is-empty .hub-live-empty {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--hub-live-ink, var(--ink));
}
.street-world.is-game-hub .hub-play {
  color: var(--text-on-gold);
}
.hub-live.is-playing {
  box-shadow: var(--shadow-card);
}
.hub-live-join {
  isolation: isolate;
  justify-content: space-between;
  gap: var(--space-2);
  width: min(100%, 13rem);
  min-height: 3.35rem;
  margin-top: var(--space-3);
  padding: 0.42rem 0.48rem 0.42rem 1.05rem;
  border: 1px solid var(--hub-live-command-edge);
  border-radius: 0;
  clip-path: polygon(
    0.65rem 0,
    calc(100% - 0.22rem) 0,
    100% 0.22rem,
    100% calc(100% - 0.65rem),
    calc(100% - 0.65rem) 100%,
    0.22rem 100%,
    0 calc(100% - 0.22rem),
    0 0.65rem
  );
  background:
    linear-gradient(118deg, var(--hub-live-command-specular) 0%, transparent 34%),
    var(--hub-live-command-glass);
  color: var(--hub-live-command-fg);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  backdrop-filter: blur(16px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 var(--hub-live-command-specular),
    inset 0 -2px 0 var(--hub-live-command-depth),
    var(--hub-live-command-shadow);
  filter: drop-shadow(0 7px 10px color-mix(in srgb, var(--hub-live-command-depth) 46%, transparent));
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1;
  text-shadow: var(--hub-live-command-text-shadow);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--dur-press) var(--ease-out),
    box-shadow var(--dur-press) ease,
    filter var(--dur-press) ease;
}
.hub-live-join::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    var(--hub-live-command-specular) 0%,
    transparent 36%,
    transparent 72%,
    color-mix(in srgb, var(--hub-live-command-edge) 18%, transparent) 100%
  );
  opacity: 0.7;
}
.hub-live-join::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -32%;
  z-index: 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--hub-live-command-specular), transparent);
  transform: skewX(-18deg) translateX(0);
  opacity: 0;
}
.hub-live-join-label,
.hub-live-join-mark { position: relative; z-index: 1; }
.hub-live-join-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
  background: var(--hub-live-command-inlay);
  color: var(--hub-live-command-inlay-fg);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--hub-live-command-edge) 76%, transparent),
    0 0 14px color-mix(in srgb, var(--gold-primary) 14%, transparent);
}
.hub-live-join-mark .picto { width: 0.95rem; height: 0.95rem; }
.hub-live.is-playing .hub-live-join::after {
  animation: hub-live-command-glint 3.6s ease-in-out infinite;
}
.hub-live-join:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 var(--hub-live-command-specular),
    inset 0 -2px 0 var(--hub-live-command-depth),
    0 16px 34px color-mix(in srgb, var(--hub-live-command-depth) 56%, transparent);
  filter: drop-shadow(0 10px 13px color-mix(in srgb, var(--hub-live-command-depth) 52%, transparent));
}
.hub-live-join:active,
.hub-live-join.is-pressed {
  transform: translateY(2px) scale(0.985);
  box-shadow:
    inset 0 2px 0 var(--hub-live-command-depth),
    inset 0 -1px 0 var(--hub-live-command-specular);
  filter: drop-shadow(0 3px 4px color-mix(in srgb, var(--hub-live-command-depth) 44%, transparent));
}
.hub-live-join:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-highlight) 78%, transparent);
  outline-offset: 3px;
}
@keyframes hub-live-command-glint {
  0%, 62%, 100% { transform: skewX(-18deg) translateX(0); opacity: 0; }
  68% { opacity: 0.72; }
  82% { transform: skewX(-18deg) translateX(48rem); opacity: 0; }
}
.hub-play-form { flex: 0 0 auto; width: auto; margin: 0; }
.hub-play-form .hub-play { width: auto; }

.hub-hero-info {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text-primary) 38%, transparent);
  background: color-mix(in srgb, var(--surface-secondary) 42%, transparent);
  color: var(--text-primary);
  text-decoration: none;
}
.hub-hero-info .picto { width: 1.05rem; height: 1.05rem; }
.street-world.is-game-hub .hub-panel:not(.hub-live) .hub-kicker {
  color: var(--gold-deep);
}
.street-world.is-game-hub[data-hub-theme="dark"] .hub-panel:not(.hub-live) .hub-kicker {
  color: var(--gold-primary);
}
.hub-live-body {
  max-width: 13.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 2.6rem;
}
.hub-live-head { display: flex; align-items: center; gap: var(--space-2); }
.street-world.is-game-hub .hub-live .hub-kicker {
  max-width: none;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--hub-live-kicker, var(--gold-deep));
}
.hub-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: #c0392b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.hub-live-badge::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #fff;
}
.hub-live-when {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--hub-live-ink, var(--ink));
}
.hub-live-special {
  margin: 0.35rem 0 0;
  color: var(--hub-live-ink, var(--ink));
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.25;
}
.hub-live-clock {
  display: none;
  align-items: flex-start;
  gap: 0.22rem;
  margin-top: var(--space-3);
}
.hub-live-clock.is-on { display: flex; }
.hub-live-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
}
.hub-live-digit {
  min-width: 2.45rem;
  min-height: 2.45rem;
  padding: 0.22rem 0.28rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: var(--hub-live-digit-bg, #fff);
  color: var(--hub-live-digit-fg, var(--hub-live-ink, var(--ink)));
  border: 1px solid var(--hub-live-digit-border, color-mix(in srgb, var(--hub-live-ink, var(--ink)) 14%, transparent));
  border-radius: 0.65rem;
  box-shadow: var(--hub-live-digit-shadow, 0 1px 0 #fff);
}
.hub-live-colon {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 2.45rem;
  color: var(--hub-live-ink, var(--ink));
}
.hub-live-clock small {
  font-size: var(--type-min);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-live-muted, color-mix(in srgb, var(--hub-live-ink, var(--ink)) 48%, transparent));
}
.street-world.is-game-hub .hub-live .hub-live-program {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  max-width: 10.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hub-live-program-border, var(--border-gold));
  background: var(--hub-live-program-bg, #fff);
  color: var(--hub-live-program-fg, var(--gold-deep));
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 18px color-mix(in srgb, #1c1915 12%, transparent);
}
.street-world.is-game-hub .hub-live .hub-live-program .picto {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--hub-live-program-picto, var(--gold-deep));
}
.street-world.is-game-hub .hub-live.is-empty .hub-live-program {
  position: relative;
  right: auto;
  bottom: auto;
}
.street-world.is-game-hub[data-hub-theme] .hub-live.is-playing .hub-live-program {
  border-color: color-mix(in srgb, var(--gold-primary) 52%, transparent);
  background: color-mix(in srgb, var(--hub-live-paper) 76%, transparent);
  color: var(--hub-live-ink);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--hub-live-ink) 10%, transparent),
    0 8px 18px color-mix(in srgb, var(--hub-live-paper) 24%, transparent);
  backdrop-filter: blur(10px) saturate(1.05);
}
.street-world.is-game-hub[data-hub-theme] .hub-live.is-playing .hub-live-program .picto {
  color: var(--gold-primary);
}
@media (max-width: 35rem) {
.street-world.is-game-hub .hub-live.is-ward_missing {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 11.5rem;
  }
.street-world.is-game-hub .hub-live.is-ward_missing .hub-live-program {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
}
.street-world.is-game-hub[data-hub-theme="light"] .hub-panel:not(.hub-live) {
  color: var(--text-on-light-surface);
  text-shadow: none;
}
@media (max-height: 760px) {
.hub-voyage,
.hub-slide { height: 15.25rem; }
.street-world.is-game-hub .hub-hero-title { font-size: 1.55rem; }
}
@media (max-width: 380px) {
.street-world.is-game-hub .hub-live.is-empty { gap: var(--space-2); }
}
@media (prefers-reduced-motion: reduce) {
.hub-live.is-playing .hub-live-join::after { animation: none; }
.hub-live-join { transition: none; }
}
.hub-live-digit.is-digit-slide {
  animation: digit-slide-up 150ms ease-out both;
}
.hub-live-badge.is-live-start {
  animation: live-badge-pop 400ms var(--ease-out) both;
}
.hub-live-badge.is-breathe {
  animation: live-badge-breathe 2s ease-in-out infinite;
}
.hub-live.is-playing {
  border-image: linear-gradient(90deg, var(--gold-deep), transparent, var(--gold-deep), transparent, var(--gold-deep)) 1;
  background-size: 200% 100%;
  animation: live-border-propagate 3s linear infinite;
}
.hub-live-clock.is-urgent .hub-live-digit {
  color: var(--gold-deep);
  font-weight: 800;
}
@media (prefers-reduced-motion: reduce) {
.hub-live-digit.is-digit-slide {
    animation: none !important;
  }
.hub-live-badge.is-live-start,
.hub-live-badge.is-breathe {
    animation: none !important;
  }
.hub-live.is-playing {
    animation: none !important;
    border-image: none;
  }
}
.street-world.is-game-hub.is-entering-quiz .quiz-hud,
.street-world.is-game-hub.is-entering-quiz .hub-live,
.street-world.is-game-hub.is-entering-quiz .hub-slide-copy {
  opacity: 0;
  transition: opacity 220ms ease;
}
.hub-hero.is-portal-opening .hub-hero-stage {
  transform: scale(1.035);
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--surface-primary) 12%, transparent);
  transition: transform 360ms var(--ease-out), box-shadow 360ms ease;
}
@media (min-width: 720px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-voyage {
    height: 20rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature {
    min-height: 18rem;
    border-radius: 1.65rem;
  }

  .street-world.is-game-hub .hub-live.is-ward_missing {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "ward-mark ward-copy"
      "ward-action ward-action";
    align-content: center;
    align-items: center;
    row-gap: clamp(var(--space-3), 2vw, var(--space-5));
    block-size: max-content;
    min-block-size: 18rem;
    padding: clamp(var(--space-4), 2.2vw, var(--space-6));
  }

  .street-world.is-game-hub .hub-live.is-ward_missing .hub-live-ward-mark {
    grid-area: ward-mark;
  }

  .street-world.is-game-hub .hub-live.is-ward_missing .hub-live-empty-copy {
    grid-area: ward-copy;
    align-self: center;
  }

  .street-world.is-game-hub .hub-live.is-ward_missing .hub-live-program {
    grid-area: ward-action;
    justify-self: end;
    width: min(100%, 22rem);
    max-width: none;
  }
}
@media (min-width: 1200px) {
 .street-world.is-game-hub .hub-live.is-ward_missing {
    grid-template-columns: auto minmax(20rem, 1fr) minmax(13rem, 18rem);
    grid-template-areas: "ward-mark ward-copy ward-action";
    column-gap: clamp(var(--space-4), 2.2vw, var(--space-6));
    min-block-size: 14rem;
  }
 .street-world.is-game-hub .hub-live.is-ward_missing .hub-live-program {
    width: 100%;
  }
}
.hub-live-badge {
  background: color-mix(in srgb, var(--surface-primary) 78%, transparent);
  border: 1px solid var(--border-gold);
  color: var(--gold-deep);
}
.hub-live-badge::before { background: var(--gold-primary); }
.hub-live-badge.is-live { background: #a92c24; border-color: transparent; color: #fff; }
.hub-live-badge.is-live::before { background: #fff; }
.hub-live.is-live-start { animation: hub-live-border-once 650ms ease-out 1; }
@keyframes hub-live-border-once {
  0% { box-shadow: var(--shadow-card); }
  50% { box-shadow: var(--shadow-card), 0 0 0 2px color-mix(in srgb, var(--gold-highlight) 58%, transparent), 0 0 24px color-mix(in srgb, var(--gold-primary) 28%, transparent); }
  100% { box-shadow: var(--shadow-card); }
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-live[data-hub-live-theme="light"] {
  border-color: var(--hub-light-tile-border);
  box-shadow: var(--hub-light-tile-shadow);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero-stage {
  border-color: var(--hub-light-tile-border);
  box-shadow: var(--hub-light-tile-shadow);
}


/* Celestial Light — pearl, sky and living gold instead of a flat ivory wash. */
.street-world.is-game-hub[data-hub-theme="light"] {
  --hub-light-ink: #102a49;
  --hub-light-ivory: #fffaf0;
  --hub-light-pearl: #edf4f6;
  --hub-light-sky: #cfe3ee;
  --hub-light-gold: #d9aa22;
  --hub-light-gold-deep: #93620a;
  --hub-light-gold-glint: #fff0a6;
  --hub-light-type-on-paper-primary: #102a49;
  --hub-light-type-on-paper-secondary: #405d72;
  --hub-light-type-on-paper-muted: #5c7280;
  --surface-primary: var(--hub-light-ivory);
  --surface-secondary: var(--hub-light-pearl);
  --surface-glass: color-mix(in srgb, var(--hub-light-ivory) 84%, transparent);
  --text-primary: var(--hub-light-type-on-paper-primary);
  --text-secondary: var(--hub-light-type-on-paper-secondary);
  --text-muted: var(--hub-light-type-on-paper-muted);
  --text-on-glass: var(--hub-light-type-on-paper-primary);
  --text-on-light-surface: var(--hub-light-type-on-paper-primary);
  --gold-primary: var(--hub-light-gold);
  --gold-highlight: var(--hub-light-gold-glint);
  --gold-deep: var(--hub-light-gold-deep);
  --border-primary: color-mix(in srgb, var(--hub-light-ink) 18%, var(--hub-light-gold));
  --border-gold: color-mix(in srgb, var(--hub-light-gold-deep) 64%, transparent);
  --button-primary: linear-gradient(180deg, #fff0a3 0%, #f0c846 36%, #d7a516 68%, #ad7610 100%);
  --button-primary-text: #13233a;
  --button-secondary: color-mix(in srgb, var(--hub-light-pearl) 82%, transparent);
  --shadow-card:
    0 18px 44px color-mix(in srgb, var(--hub-light-ink) 18%, transparent),
    0 3px 12px color-mix(in srgb, var(--hub-light-gold) 14%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 92%, transparent);
  --glow:
    0 10px 26px color-mix(in srgb, var(--hub-light-gold) 34%, transparent),
    0 0 0 1px color-mix(in srgb, var(--hub-light-gold-glint) 32%, transparent);
  --hub-light-tile-border: color-mix(in srgb, var(--hub-light-gold-deep) 64%, transparent);
  --hub-light-tile-shadow: var(--shadow-card);
}

.street-world.is-game-hub[data-hub-theme="light"]::before {
  background:
    radial-gradient(circle at 76% 2%, color-mix(in srgb, var(--hub-light-gold-glint) 22%, transparent), transparent 31%),
    linear-gradient(90deg, color-mix(in srgb, var(--hub-light-ink) 8%, transparent), transparent 18% 82%, color-mix(in srgb, var(--hub-light-ink) 7%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, white 4%, transparent) 0%, transparent 48%, color-mix(in srgb, var(--hub-light-ink) 15%, transparent) 100%);
}

.street-world.is-game-hub[data-hub-theme="light"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--hub-light-sky) 22%, transparent), transparent 24%),
    radial-gradient(circle at 88% 32%, color-mix(in srgb, var(--hub-light-gold-glint) 16%, transparent), transparent 26%);
}

/* Desktop keeps one compact hero row; the wider copy lane carries long titles. */
@media (min-width: 720px) {
  .street-world.is-game-hub .hub-slide { height: 100%; }
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero-stage {
  background: var(--hub-light-pearl);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero-step {
  background: var(--button-primary);
  border-color: color-mix(in srgb, var(--hub-light-gold-deep) 68%, transparent);
  color: var(--button-primary-text);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 58%, transparent), 0 4px 12px color-mix(in srgb, var(--hub-light-gold) 22%, transparent);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-play {
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--hub-light-gold-deep) 28%, transparent),
    0 0 22px color-mix(in srgb, var(--hub-light-gold-glint) 26%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 72%, transparent);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-live.is-ward_missing .hub-live-program.is-ward-pick {
  border-color: color-mix(in srgb, var(--hub-light-gold-deep) 72%, transparent);
  background: var(--button-primary);
  color: var(--button-primary-text);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--hub-light-gold-deep) 24%, transparent), 0 0 20px color-mix(in srgb, var(--hub-light-gold-glint) 24%, transparent);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-live.is-ward_missing .hub-live-program.is-ward-pick .picto {
  color: var(--button-primary-text);
}


.home-menu.is-hud.is-compact[data-hud-theme="celestial-light"] .quiz-hud {
  --quiz-text: var(--hub-light-ink, #102a49);
  --quiz-muted: color-mix(in srgb, var(--hub-light-ink, #102a49) 66%, #71818a);
  --quiz-border: color-mix(in srgb, var(--hub-light-gold-deep, #93620a) 58%, transparent);
  background:
    radial-gradient(circle at 4rem 20%, color-mix(in srgb, var(--hub-light-gold-glint, #fff0a6) 30%, transparent), transparent 7rem),
    linear-gradient(112deg, color-mix(in srgb, var(--hub-light-ivory, #fffaf0) 94%, transparent), color-mix(in srgb, var(--hub-light-pearl, #edf4f6) 90%, transparent) 58%, color-mix(in srgb, var(--hub-light-gold-glint, #fff0a6) 16%, var(--hub-light-ivory, #fffaf0)));
  border-color: var(--quiz-border);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--hub-light-ink, #102a49) 20%, transparent),
    0 2px 10px color-mix(in srgb, var(--hub-light-gold, #d9aa22) 18%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 92%, transparent);
  backdrop-filter: blur(18px) saturate(1.18);
}

/* Empty social states keep the Hub's people and live-show fantasy visible. */
.street-world.is-game-hub .hub-live.is-ward_missing.is-still::before {
  inset: 0;
}

.street-world.is-game-hub .hub-live.is-ward_missing.is-still .hub-live-empty-copy {
  margin: -0.55rem;
  padding: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--hub-live-program-border) 42%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--hub-live-paper) 76%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, #07111f 18%, transparent);
  backdrop-filter: blur(9px) saturate(1.12);
}

/* Celestial Light art is authored high-key. Chrome protects copy locally without navy washes. */

/* Aventure: the generated gateway carries daylight and a naturally pale copy field. */
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide::after {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .52) 0%, rgba(255, 250, 240, .28) 36%, transparent 64%),
    linear-gradient(0deg, rgba(255, 250, 240, .14), transparent 42%);
}
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-still { object-position: 58% 48%; }
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-copy-top {
  width: min(100%, 28rem);
  margin: -0.45rem -0.65rem;
  padding: 0.45rem 0.65rem 0.55rem;
  border-left: 2px solid var(--hub-light-gold);
  border-radius: 0.2rem 1rem 1rem 0.2rem;
  background: color-mix(in srgb, var(--hub-light-ivory) 74%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--hub-light-ink) 14%, transparent);
  backdrop-filter: blur(8px) saturate(1.06);
}
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed :is(.hub-hero-title, .hub-hero-name) { color: var(--hub-light-type-on-paper-primary); }
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-hero-lede { color: var(--hub-light-type-on-paper-secondary); }
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-hero-continue { color: var(--hub-light-type-on-paper-primary); }
/* Pack names are editorial content: on a phone, the voyage must grow with
   their real line count instead of hiding the one decisive action below it. */
@media (max-width: 719px) {
  .street-world.is-game-hub .hub-voyage {
    height: auto;
  }

  .street-world.is-game-hub .hub-slide {
    display: grid;
    height: auto;
    min-height: 20rem;
  }

  .street-world.is-game-hub .hub-slide-copy {
    position: relative;
    min-height: 20rem;
  }

  .street-world.is-game-hub .hub-slide-still {
    position: absolute;
    inset: 0;
  }
}

/* Prochaine Noche Live: the stage itself is a radiant daylight spectacle. */
.street-world.is-game-hub[data-hub-theme="light"] .hub-light-tile--live[data-hub-live-theme="light"] {
  --hub-live-paper: var(--hub-light-pearl);
  --hub-live-ink: var(--hub-light-type-on-paper-primary);
  --hub-live-muted: var(--hub-light-type-on-paper-secondary);
  --hub-live-kicker: var(--hub-light-type-on-paper-primary);
  --hub-live-program-bg: var(--button-primary);
  --hub-live-program-fg: var(--button-primary-text);
  --hub-live-program-picto: var(--button-primary-text);
  --hub-live-art-opacity: 1;
  --hub-live-art-wash: linear-gradient(90deg, rgba(255, 250, 240, .78), rgba(255, 250, 240, .42) 38%, transparent 68%);
  background: var(--hub-light-pearl);
}
.street-world.is-game-hub[data-hub-theme="light"] .hub-light-tile--live.is-still::before {
  inset: 0;
  background-position: 62% 50%;
}

/*
 * Hub editorial foundation
 *
 * The Hub owns one horizontal interaction only: the adventure voyage. Every
 * following decision is stacked vertically, so this foundation intentionally
 * contains no rail card, rail state, or dashboard-grid API.
 */
.street-world.is-game-hub .hub-streaming-feed {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0 0 var(--street-hub-dock-clearance);
  overflow-x: clip;
  scrollbar-width: none;
}
.street-world.is-game-hub .hub-streaming-feed::-webkit-scrollbar { display: none; }
.street-world.is-game-hub .hub-streaming-feed > * { min-width: 0; }

@media (min-width: 1200px) {
  /* The shared desktop HUD removes the Hub's mobile dock clearance. */
  body.is-street-hub.is-game-hub-page,
  body.is-street-hub.is-game-hub-page .street-world.is-game-hub {
    --street-hub-dock-clearance: 0px;
  }
}

/*
 * Celestial Dark — editorial night pass
 *
 * Dark is a separate world, not Light's global painting under navy cards.
 * The active chapter owns the hero; the scroll settles into an indigo field
 * with a small, hopeful horizon glow so every rail has stable contrast.
 */
body.is-game-hub-page.is-celestial-dark {
  --hub-dark-abyss: #060b16;
  --hub-dark-depth: #0a1627;
  --hub-dark-panel: #11243b;
  --hub-dark-moonlight: #315272;
  --hub-dark-cream: #f6f1e4;
  --hub-dark-pearl-edge: #c6d6e2;
  --hub-dark-gold-specular: #f1db99;
  --hub-dark-glass: color-mix(in srgb, var(--hub-dark-depth) 76%, transparent);
  --hub-dark-elevation-1: 0 0.75rem 2rem color-mix(in srgb, var(--hub-dark-abyss) 72%, transparent);
  --hub-dark-elevation-2:
    0 1.15rem 3rem color-mix(in srgb, var(--hub-dark-abyss) 82%, transparent),
    0 0 1.45rem color-mix(in srgb, var(--gold-primary) 9%, transparent);
  --hub-dark-page-field:
    radial-gradient(ellipse 86% 28rem at 74% -7%, color-mix(in srgb, var(--gold-primary) 13%, transparent), transparent 72%),
    radial-gradient(ellipse 82% 35rem at -16% 26rem, color-mix(in srgb, var(--hub-dark-moonlight) 42%, transparent), transparent 76%),
    linear-gradient(180deg, var(--hub-dark-abyss) 0%, var(--hub-dark-depth) 44rem, var(--hub-dark-abyss) 100%);
  --hub-dark-editorial-field: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--hub-dark-abyss) 18%, transparent) 22rem, color-mix(in srgb, var(--hub-dark-abyss) 68%, transparent) 58rem);
  --hub-dark-hero-scrim:
    radial-gradient(ellipse 62% 128% at -8% 48%, color-mix(in srgb, var(--hub-dark-abyss) 96%, transparent) 0%, color-mix(in srgb, var(--hub-dark-abyss) 76%, transparent) 55%, transparent 88%),
    radial-gradient(ellipse 26% 42% at 57% 69%, color-mix(in srgb, var(--gold-primary) 9%, transparent), transparent 76%),
    linear-gradient(90deg, color-mix(in srgb, var(--hub-dark-abyss) 82%, transparent) 0%, color-mix(in srgb, var(--hub-dark-depth) 58%, transparent) 34%, color-mix(in srgb, var(--hub-dark-depth) 14%, transparent) 62%, transparent 86%),
    linear-gradient(0deg, color-mix(in srgb, var(--hub-dark-abyss) 52%, transparent), transparent 47%);
  background: var(--hub-dark-abyss);
}

.street-world.is-game-hub[data-hub-theme="dark"] {
  --hub-background: var(--hub-dark-abyss);
  --surface-primary: var(--hub-dark-panel);
  --surface-secondary: var(--hub-dark-depth);
  --surface-glass: var(--hub-dark-glass);
  --text-primary: var(--hub-dark-cream);
  --text-secondary: color-mix(in srgb, var(--hub-dark-cream) 76%, transparent);
  --text-muted: color-mix(in srgb, var(--hub-dark-cream) 59%, transparent);
  --border-primary: color-mix(in srgb, var(--hub-dark-pearl-edge) 19%, transparent);
  --border-gold: color-mix(in srgb, var(--gold-primary) 56%, transparent);
  --button-primary: linear-gradient(155deg, var(--hub-dark-gold-specular) 0%, var(--gold-highlight) 28%, var(--gold-primary) 62%, color-mix(in srgb, var(--gold-primary) 72%, var(--hub-dark-abyss)) 100%);
  --button-primary-text: var(--hub-dark-abyss);
  --button-secondary: color-mix(in srgb, var(--hub-dark-glass) 86%, transparent);
  --shadow-card: var(--hub-dark-elevation-1);
  --glow: 0 0.7rem 1.65rem color-mix(in srgb, var(--gold-primary) 17%, transparent);
  background: var(--hub-dark-page-field);
}

/* The background is an atmospheric light field, not a second unrelated scene. */
.street-world.is-game-hub[data-hub-theme="dark"] > .street-world-art-picture {
  display: none;
}

.street-world.is-game-hub[data-hub-theme="dark"]::before {
  top: 0;
  height: min(36rem, 62vh);
  background:
    radial-gradient(ellipse 58% 42% at 73% 0%, color-mix(in srgb, var(--gold-primary) 13%, transparent), transparent 76%),
    radial-gradient(ellipse 68% 54% at 16% 16%, color-mix(in srgb, var(--hub-dark-moonlight) 34%, transparent), transparent 76%);
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 32%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 32%, transparent 100%);
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-streaming-feed--editorial {
  background: var(--hub-dark-editorial-field);
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero-stage {
  border-color: color-mix(in srgb, var(--gold-primary) 54%, transparent);
  background: var(--hub-dark-abyss);
  box-shadow: var(--hub-dark-elevation-2), inset 0 1px 0 color-mix(in srgb, var(--hub-dark-pearl-edge) 10%, transparent);
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero--themed .hub-slide::after {
  background: var(--hub-dark-hero-scrim);
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero--themed .hub-slide-still {
  /* Wide desktop crops must retain Samuel's face, the visual anchor of the scene. */
  object-position: 72% 12%;
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-hero--themed .hub-hero-actions {
  justify-content: flex-start;
  gap: 0.72rem;
}

.street-world.is-game-hub[data-hub-theme="dark"] .hub-play {
  border-color: color-mix(in srgb, var(--hub-dark-gold-specular) 72%, var(--hub-dark-abyss));
  box-shadow:
    0 0.55rem 1.2rem color-mix(in srgb, var(--hub-dark-abyss) 76%, transparent),
    0 0 1.15rem color-mix(in srgb, var(--gold-primary) 19%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--hub-dark-gold-specular) 72%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hub-dark-abyss) 28%, transparent);
}

@media (forced-colors: active) {
  body.is-game-hub-page.is-celestial-dark,
  .street-world.is-game-hub[data-hub-theme="dark"] {
    background: Canvas;
  }

  .street-world.is-game-hub[data-hub-theme="dark"]::before {
    display: none;
  }
}

/*
 * Celestial Light — second pass
 *
 * Light is an illuminated world, not a white version of Dark. The narrative
 * artwork belongs to the hero; the rest of the scroll settles on a quiet
 * pearl field so real chapter, Rama and video artwork can each breathe without
 * becoming a collage of unrelated backdrops.
 */
.street-world.is-game-hub[data-hub-theme="light"] {
  --hub-light-page-field:
    radial-gradient(ellipse 94% 30rem at 78% -4rem, color-mix(in srgb, var(--hub-light-sky) 46%, transparent), transparent 72%),
    radial-gradient(ellipse 62% 20rem at 7% 18rem, color-mix(in srgb, var(--hub-light-gold-glint) 26%, transparent), transparent 76%),
    linear-gradient(180deg, var(--hub-light-pearl), var(--hub-light-ivory) 44rem);
  --hub-light-editorial-field: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--hub-light-ivory) 72%, transparent) 24rem, var(--hub-light-ivory) 42rem);
  background: var(--hub-light-page-field);
}

/* Never let a generic global painting compete with the active chapter. */
.street-world.is-game-hub[data-hub-theme="light"] > .street-world-art-picture {
  display: none;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-streaming-feed--editorial {
  background: var(--hub-light-editorial-field);
}

/* A small, local paper pane protects hero copy while the scene stays visible. */
.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide::after {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--hub-light-ivory) 70%, transparent) 0%,
      color-mix(in srgb, var(--hub-light-ivory) 42%, transparent) 40%,
      transparent 74%
    ),
    linear-gradient(0deg, color-mix(in srgb, var(--hub-light-ivory) 28%, transparent), transparent 48%);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-copy-top {
  width: min(100%, 25rem);
  margin: 0;
  padding: 0.7rem 0.8rem 0.78rem;
  border: 1px solid color-mix(in srgb, var(--hub-light-ink) 14%, transparent);
  border-left: 2px solid var(--hub-light-gold-deep);
  border-radius: 0.3rem 0.9rem 0.9rem 0.3rem;
  background: color-mix(in srgb, var(--hub-light-ivory) 80%, transparent);
  box-shadow: 0 0.55rem 1.5rem color-mix(in srgb, var(--hub-light-ink) 12%, transparent);
  backdrop-filter: blur(9px) saturate(1.04);
  -webkit-backdrop-filter: blur(9px) saturate(1.04);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-still {
  object-position: 72% 50%;
}

@media (min-width: 720px) {
  .street-world.is-game-hub[data-hub-theme="light"] {
    --hub-light-editorial-field: linear-gradient(
      180deg,
      transparent 0,
      transparent 27rem,
      color-mix(in srgb, var(--hub-light-ivory) 70%, transparent) 36rem,
      var(--hub-light-ivory) 49rem
    );
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-copy-top {
    padding: 0.9rem 1rem 0.95rem;
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-still {
    object-position: 78% 50%;
  }
}

/*
 * Editorial Hub flow
 *
 * The hero is the one cinematic carousel. Everything after it reads as a
 * short, vertical sequence of decisions: the next Live, one or two personal
 * actions, a compact install utility, then actual moments in the ward. The
 * modifier deliberately wins over the historical dashboard and rail passes
 * above without changing the Circle's independent reading rail.
 */
.street-world.is-game-hub .hub-streaming-feed--editorial {
  --hub-editorial-gutter: var(--space-4);
  --hub-editorial-surface: var(--surface-glass);
  --hub-editorial-ink: var(--text-primary);
  --hub-editorial-muted: var(--text-secondary);
  --hub-editorial-border: var(--border-primary);
  --hub-editorial-shadow: var(--shadow-card);
  --hub-editorial-scrim: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-primary) 8%, transparent) 0%,
    color-mix(in srgb, var(--surface-primary) 88%, transparent) 100%
  );
  gap: clamp(var(--space-5), 3vw, var(--space-7));
}

.street-world.is-game-hub .hub-streaming-feed--editorial > .hub-hero {
  margin-inline: var(--hub-editorial-gutter);
}

.street-world.is-game-hub .hub-streaming-feed--editorial > :is(
  .hub-live--feature,
  .hub-rama-block,
  .hub-install--compact
) {
  min-width: 0;
  margin-inline: var(--hub-editorial-gutter);
}

/* Live is one full-content-width moment, never a companion tile or rail. */
.street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature {
  width: auto;
  min-height: clamp(12.25rem, 44vw, 17.5rem);
  margin-top: 0;
  margin-bottom: 0;
  border-color: var(--hub-editorial-border);
  box-shadow: var(--hub-editorial-shadow);
}

.street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature.is-empty {
  min-height: 6.8rem;
}

.street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature.is-ward_missing {
  min-height: 9.25rem;
}

.street-world.is-game-hub .hub-streaming-feed--editorial .hub-live--feature.is-playing,
.street-world.is-game-hub .hub-streaming-feed--editorial .hub-live--feature.is-playing .hub-live-join::after,
.street-world.is-game-hub .hub-streaming-feed--editorial .hub-live--feature .hub-live-badge.is-breathe {
  animation: none;
}

.hub-rama-block {
  min-width: 0;
  display: grid;
  gap: var(--space-3);
}

.hub-rama-block__head {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.hub-rama-block__head .picto {
  width: 1rem;
  height: 1rem;
}

.hub-rama-block__head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  color: var(--hub-editorial-ink);
  font: 700 clamp(1.42rem, 5vw, 2rem) / 1.04 var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hub-rama-block__head h2 .picto { color: var(--gold-primary); }

.hub-rama-block__events {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  min-width: 0;
}

.hub-rama-event {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hub-editorial-border);
  border-radius: 1rem;
  background: var(--hub-editorial-surface);
  box-shadow: var(--hub-editorial-shadow);
  color: var(--hub-editorial-ink);
  text-align: start;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-press) ease, box-shadow var(--dur-press) ease;
}

.hub-rama-event {
  min-height: 11.25rem;
  display: grid;
}

.hub-rama-event:focus-visible {
  outline: 3px solid var(--gold-primary);
  outline-offset: 3px;
}

.hub-rama-event:active { transform: scale(0.985); }

.hub-rama-event__art,
.hub-rama-event__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hub-rama-event__art { z-index: -3; }
.hub-rama-event__scrim { z-index: -2; background: var(--hub-editorial-scrim); }

.hub-rama-event__art picture,
.hub-rama-event__art img {
  display: block;
  width: 100%;
  height: 100%;
}

.hub-rama-event__art img { object-fit: cover; object-position: 64% 50%; }
.hub-rama-event--circle .hub-rama-event__art img { object-position: 50% 40%; }

.hub-rama-event__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.38rem;
  padding: var(--space-4);
}

.hub-rama-event__kicker {
  max-width: 100%;
  color: var(--gold-primary);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.095em;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hub-rama-event strong {
  max-width: 100%;
  color: var(--hub-editorial-ink);
  font: 700 clamp(1.42rem, 5.8vw, 2.05rem) / 1.02 var(--font-display);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hub-rama-event__detail,
.hub-rama-event__meta {
  max-width: 100%;
  color: var(--hub-editorial-muted);
  font-size: var(--type-min);
  font-weight: 600;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.hub-rama-event__action {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 2.75rem;
  margin-top: auto;
  color: var(--hub-editorial-ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hub-rama-event__action .picto { width: 1rem; height: 1rem; color: var(--gold-primary); }

.hub-rama-event.is-cancelled { filter: saturate(0.72); }

.hub-rama-event__cancelled {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--hub-editorial-ink);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hub-rama-event__cancelled .picto { width: 0.95rem; height: 0.95rem; color: var(--hub-editorial-muted); }

/* The install offer stays a utility, immediately after the real decisions. */
.street-world.is-game-hub .hub-streaming-feed--editorial > .hub-install--compact {
  min-height: 0;
  margin-top: calc(var(--space-3) * -1);
  margin-bottom: calc(var(--space-2) * -1);
  padding: 0;
  border-color: var(--hub-editorial-border);
  border-radius: 1rem;
  background: var(--hub-editorial-surface);
  box-shadow: var(--hub-editorial-shadow);
}

/* The Hub owns its install tile. The PWA sheet is lazy-loaded only for the
   iOS guide, so keeping this material here prevents an unstyled first offer. */

.street-world.is-game-hub .hub-install-action {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-height: 8rem;
  padding: var(--space-4) calc(var(--space-4) + 2.25rem) var(--space-4) var(--space-4);
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.street-world.is-game-hub .hub-install-action:focus-visible,
.street-world.is-game-hub .hub-install-dismiss:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-highlight) 76%, transparent);
  outline-offset: -3px;
}

.street-world.is-game-hub .hub-install-action[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.street-world.is-game-hub .hub-install-dismiss {
  position: absolute;
  z-index: 2;
  top: max(0.35rem, env(safe-area-inset-top));
  right: 0.35rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border-gold) 78%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-primary) 76%, transparent);
  color: var(--text-primary);
  font: 700 1.35rem/1 var(--font-ui);
  cursor: pointer;
}

.street-world.is-game-hub .hub-install-emblem {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  border: 1px solid var(--border-gold);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--surface-primary) 78%, transparent);
  box-shadow: 0 0.6rem 1.4rem color-mix(in srgb, var(--gold-primary) 20%, transparent);
}

.street-world.is-game-hub .hub-install-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.street-world.is-game-hub .hub-install-copy {
  display: grid;
  min-width: 0;
  gap: var(--space-1);
}

.street-world.is-game-hub .hub-install-copy strong {
  color: var(--text-primary);
  font: 750 clamp(1.25rem, 3vw, 1.7rem)/1.05 var(--font-display);
  text-wrap: balance;
}

.street-world.is-game-hub .hub-install-copy > span:last-child {
  color: var(--text-secondary);
  font-size: var(--type-min);
  line-height: 1.35;
}

.street-world.is-game-hub .hub-install-status {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-size: var(--type-min);
  font-weight: 750;
  line-height: 1.35;
}

.street-world.is-game-hub .hub-install-status[hidden] { display: none; }

.street-world.is-game-hub .hub-install-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  gap: var(--space-2);
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  background: var(--button-secondary);
  font-size: var(--type-min);
  font-weight: 850;
  white-space: nowrap;
}

.street-world.is-game-hub .hub-install-cta .picto {
  width: 1rem;
  height: 1rem;
  color: var(--gold-primary);
}

.street-world.is-game-hub .hub-install[data-pwa-install-state="installing"] .hub-install-cta,
.street-world.is-game-hub .hub-install[data-pwa-install-state="awaiting_confirmation"] .hub-install-cta {
  display: none;
}

.street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-emblem {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.95rem;
}

.street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-emblem img { border-radius: 0.72rem; }

.street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-copy strong {
  font-size: clamp(1.05rem, 4vw, 1.3rem);
}

/* Light uses the same control structure, with a quieter material so the
   installation utility never competes with the gold play action. */
.street-world.is-game-hub[data-hub-theme="light"] .hub-install-action {
  min-height: 5.25rem;
  gap: var(--space-3);
  padding: 0.7rem calc(0.7rem + 2.25rem) 0.7rem 0.7rem;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-emblem {
  width: 3.15rem;
  height: 3.15rem;
  padding: 0.14rem;
  border-color: color-mix(in srgb, var(--hub-light-ink) 14%, transparent);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--hub-light-ivory) 78%, transparent);
  box-shadow: 0 0.35rem 0.9rem color-mix(in srgb, var(--hub-light-ink) 12%, transparent);
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-emblem img { border-radius: 0.72rem; }
.street-world.is-game-hub[data-hub-theme="light"] .hub-install-copy { gap: 0.12rem; }

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-copy strong {
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  line-height: 1.08;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-copy > span:last-child {
  font-size: 0.72rem;
  line-height: 1.2;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-cta {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border-color: color-mix(in srgb, var(--hub-light-ink) 16%, transparent);
  background: color-mix(in srgb, var(--hub-light-ivory) 88%, transparent);
  box-shadow: none;
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-install-cta .picto {
  width: 1.12rem;
  height: 1.12rem;
  color: var(--hub-light-gold-deep);
}

@media (max-width: 719px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-action {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    grid-template-areas: "emblem copy action";
    gap: 0.55rem;
    min-height: 4.75rem;
    padding: 0.5rem calc(0.5rem + 2.25rem) 0.5rem 0.5rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-emblem { grid-area: emblem; }
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-copy { grid-area: copy; }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-emblem {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.12rem;
    border-radius: 0.78rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-emblem img { border-radius: 0.58rem; }
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-copy { gap: 0.08rem; }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-copy .hub-kicker,
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact #hub_install_hint {
    display: none;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-copy strong {
    font-size: 1rem;
    line-height: 1.08;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-status:not([hidden]) {
    display: inline-flex;
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-cta {
    grid-area: action;
    justify-self: end;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.45rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-install--compact .hub-install-cta > span:first-child {
    display: none;
  }
}

@media (forced-colors: active) {
  .street-world.is-game-hub[data-hub-theme="light"] :is(.hub-install-emblem, .hub-install-cta, .hub-install-dismiss) {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hub-rama-event:hover {
    transform: translateY(-0.18rem);
    border-color: var(--border-gold);
    box-shadow: var(--hub-editorial-shadow), var(--glow);
  }
}

@media (min-width: 720px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial {
    --hub-editorial-gutter: clamp(var(--space-5), 4vw, var(--space-7));
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature {
    min-height: clamp(15.5rem, 30vw, 20rem);
  }

  .hub-rama-event { min-height: 13.25rem; }
}

@media (min-width: 1024px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature {
    min-height: clamp(18rem, 23vw, 23rem);
  }

  .hub-rama-event strong { font-size: clamp(1.48rem, 2.3vw, 2.05rem); }
}

@media (min-width: 1600px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial {
    --hub-editorial-gutter: var(--space-7);
  }
}

/* Light and Dark share the same layout; only the semantic material changes. */
.street-world.is-game-hub[data-hub-theme="dark"] .hub-streaming-feed--editorial {
  --hub-editorial-surface: color-mix(in srgb, var(--hub-dark-glass) 90%, transparent);
  --hub-editorial-ink: var(--hub-dark-cream);
  --hub-editorial-muted: var(--text-secondary);
  --hub-editorial-border: color-mix(in srgb, var(--hub-dark-pearl-edge) 22%, transparent);
  --hub-editorial-shadow: var(--hub-dark-elevation-2);
  --hub-editorial-hero-focus: 72% 42%;
  --hub-editorial-hero-scrim:
    radial-gradient(ellipse 76% 118% at -10% 54%, color-mix(in srgb, var(--hub-dark-abyss) 98%, transparent) 0%, color-mix(in srgb, var(--hub-dark-abyss) 81%, transparent) 55%, transparent 88%),
    linear-gradient(90deg, color-mix(in srgb, var(--hub-dark-abyss) 75%, transparent) 0%, color-mix(in srgb, var(--hub-dark-depth) 46%, transparent) 43%, transparent 70%),
    linear-gradient(0deg, color-mix(in srgb, var(--hub-dark-abyss) 88%, transparent) 0%, color-mix(in srgb, var(--hub-dark-abyss) 36%, transparent) 31%, transparent 62%);
  --hub-editorial-scrim: linear-gradient(
    180deg,
    color-mix(in srgb, var(--hub-dark-abyss) 10%, transparent) 0%,
    color-mix(in srgb, var(--hub-dark-abyss) 91%, transparent) 100%
  );
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-streaming-feed--editorial {
  --hub-editorial-surface: color-mix(in srgb, var(--hub-light-ivory) 91%, transparent);
  --hub-editorial-ink: var(--hub-light-type-on-paper-primary);
  --hub-editorial-muted: var(--hub-light-type-on-paper-secondary);
  --hub-editorial-border: color-mix(in srgb, var(--hub-light-ink) 14%, transparent);
  --hub-editorial-shadow: var(--hub-light-tile-shadow);
  --hub-editorial-hero-focus: 74% 35%;
  --hub-editorial-hero-scrim:
    radial-gradient(ellipse 74% 118% at -10% 54%, color-mix(in srgb, var(--hub-light-ivory) 92%, transparent) 0%, color-mix(in srgb, var(--hub-light-ivory) 68%, transparent) 53%, transparent 88%),
    linear-gradient(90deg, color-mix(in srgb, var(--hub-light-ivory) 65%, transparent) 0%, color-mix(in srgb, var(--hub-light-ivory) 34%, transparent) 46%, transparent 72%),
    linear-gradient(0deg, color-mix(in srgb, var(--hub-light-ivory) 72%, transparent) 0%, color-mix(in srgb, var(--hub-light-ivory) 16%, transparent) 31%, transparent 62%);
  --hub-editorial-scrim: linear-gradient(
    180deg,
    color-mix(in srgb, var(--hub-light-ivory) 4%, transparent) 0%,
    color-mix(in srgb, var(--hub-light-ivory) 26%, transparent) 42%,
    color-mix(in srgb, var(--hub-light-ivory) 74%, transparent) 100%
  );
}

.street-world.is-game-hub[data-hub-theme="light"] .hub-streaming-feed--editorial .hub-rama-event__kicker {
  color: var(--hub-light-gold-deep);
}

@media (prefers-reduced-motion: reduce) {
  .hub-rama-event,
  .hub-install--compact,
  .hub-live--feature,
  .hub-live--feature .hub-live-join {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/*
 * Desktop scene — the canonical hero is a world, not a dashboard banner.
 * This intentionally affects only the editorial Hub under the existing HUD:
 * all actionable information remains in the shared Hero markup and the first
 * following Live moment can emerge from its lower fade without becoming a
 * second carousel.
 */
@media (min-width: 1024px) {
  .street-world.is-game-hub .hub-streaming-feed--editorial {
    --hub-editorial-gutter: clamp(2rem, 4.25vw, 5.5rem);
    gap: clamp(2.5rem, 4.2vw, 5.5rem);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-hero {
    position: relative;
    z-index: 1;
    margin-inline: 0;
    padding-bottom: 0;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-stage,
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-voyage,
  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-slide {
    height: clamp(32rem, 49vw, 43rem);
    min-height: clamp(32rem, 49vw, 43rem);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-stage {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-slide-still {
    object-position: var(--hub-editorial-hero-focus, 72% 42%);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero--themed .hub-slide::after {
    background: var(--hub-editorial-hero-scrim);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-slide-copy {
    justify-content: flex-end;
    gap: clamp(1.35rem, 2.2vw, 2.35rem);
    padding: clamp(3rem, 6.2vw, 6.75rem) var(--hub-editorial-gutter) clamp(2.6rem, 5vw, 5rem);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-slide-copy-top {
    width: min(100%, 34rem);
    max-width: min(100%, 34rem);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-continue {
    font-size: 0.74rem;
    letter-spacing: 0.17em;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-title {
    max-width: 10ch;
    font-size: clamp(3.35rem, 5.3vw, 5.75rem);
    letter-spacing: -0.02em;
    line-height: 0.89;
    text-wrap: balance;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-title::after {
    content: "";
    display: block;
    width: min(100%, 12rem);
    height: 1px;
    margin-top: clamp(1rem, 1.8vw, 1.45rem);
    background: linear-gradient(90deg, var(--gold-primary), color-mix(in srgb, var(--gold-primary) 6%, transparent));
    box-shadow: 0 0 0.8rem color-mix(in srgb, var(--gold-primary) 24%, transparent);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-meta {
    gap: 0.7rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-step {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.82rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-name {
    font-size: clamp(1.02rem, 1.35vw, 1.35rem);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-lede {
    display: block;
    max-width: 31rem;
    font-size: clamp(0.98rem, 1.15vw, 1.18rem);
    line-height: 1.44;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-actions {
    width: auto;
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-play {
    min-width: 12.5rem;
    min-height: 3.65rem;
    padding-inline: 1.85rem;
    border-radius: 999px;
    font-size: 1.12rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-hero-info {
    top: clamp(1.25rem, 2.2vw, 2.2rem);
    right: var(--hub-editorial-gutter);
    background: color-mix(in srgb, var(--surface-secondary) 52%, transparent);
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature {
    z-index: 2;
    width: min(100% - (var(--hub-editorial-gutter) * 2), 76rem);
    min-height: clamp(10.5rem, 15vw, 14rem);
    margin: clamp(-3.6rem, -4vw, -2rem) auto 0;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > .hub-live--feature.is-empty {
    min-height: 7.4rem;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial > :is(.hub-rama-block, .hub-install--compact) {
    width: min(100% - (var(--hub-editorial-gutter) * 2), 76rem);
    margin-inline: auto;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial .hub-rama-block__head h2 {
    font-size: clamp(2rem, 2.65vw, 2.85rem);
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-streaming-feed--editorial .hub-slide-copy-top {
    text-shadow: 0 0.18rem 0.95rem color-mix(in srgb, var(--hub-light-ivory) 74%, transparent);
  }

  /* The Light world protects type with its local scene scrim, never a second
     opaque paper card. Match the authored theme selector's specificity so the
     desktop tableau keeps its sunlight, city, and focal figure visible. */
  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero--themed .hub-slide-copy-top {
    width: min(100%, 34rem);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-streaming-feed--editorial .hub-hero-title::after {
    background: linear-gradient(90deg, var(--hub-light-gold-deep), color-mix(in srgb, var(--hub-light-gold-deep) 6%, transparent));
  }
}

@media (forced-colors: active) {
  .hub-rama-event,
  .hub-install--compact {
    border-color: CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    color: CanvasText !important;
  }

  .hub-rama-event__art,
  .hub-rama-event__scrim { display: none; }

  .hub-rama-event :is(strong, span),
  .hub-rama-block__head h2 { color: CanvasText !important; }

  .hub-rama-event:focus-visible {
    outline-color: Highlight;
  }
}

/*
 * Mobile opening — cinematic without replacing the existing HUD.
 *
 * The first screen is a true story tableau: the current artwork owns the
 * height, the Noche mark establishes the world, and the real current quiz
 * remains the only actionable focal point. The markup is shared with every
 * size and theme; only the material supplied by the active artwork changes.
 */
.hub-hero-worldmark { display: none; }

@media (max-width: 719px) {
  /* The HUD keeps its own glass capsule. The world, rather than a padded
     card, begins at the physical edge beneath it. */
  body.is-street-hub:has(.home-menu.is-hud) .street-world.is-game-hub:has(.hub-streaming-feed--editorial) {
    padding-top: 0;
    padding-inline: 0;
  }

  .street-world.is-game-hub .hub-streaming-feed--editorial {
    --hub-editorial-gutter: var(--space-4);
    gap: clamp(var(--space-4), 5vw, var(--space-6));
    scroll-padding-top: calc(var(--hub-hud-clearance) + var(--space-3));
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial > .hub-hero {
    margin-inline: 0;
    padding-bottom: 0;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-stage {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial :is(.hub-hero-stage, .hub-voyage, .hub-slide) {
    height: calc(100svh - var(--street-hub-dock-clearance));
    min-height: calc(100svh - var(--street-hub-dock-clearance));
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-slide-still {
    object-position: var(--hub-editorial-hero-focus, 72% 44%);
    transform: scale(1.015);
  }

  .street-world.is-game-hub .hub-hero--themed .hub-slide::after {
    background: var(--hub-editorial-hero-scrim);
  }

  .hub-hero-worldmark {
    position: absolute;
    z-index: 2;
    top: calc(var(--hub-hud-clearance) + clamp(1.1rem, 4vw, 1.65rem));
    left: clamp(1.15rem, 5vw, 1.75rem);
    display: grid;
    gap: 0.14rem;
    pointer-events: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    filter: drop-shadow(0 0.35rem 0.9rem color-mix(in srgb, var(--surface-primary) 52%, transparent));
  }

  .hub-hero-worldmark strong {
    font-size: clamp(1.3rem, 7.6vw, 1.9rem);
    font-weight: 650;
    letter-spacing: 0.13em;
    line-height: 0.84;
    text-transform: uppercase;
  }

  .hub-hero-worldmark > span {
    padding-left: 0.16em;
    color: var(--gold-primary);
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.34em;
    line-height: 1;
    text-transform: uppercase;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-slide-copy {
    justify-content: flex-end;
    gap: var(--space-3);
    padding:
      calc(var(--hub-hud-clearance) + clamp(1.15rem, 5vw, 1.7rem))
      clamp(1.15rem, 5vw, 1.7rem)
      calc(var(--street-hub-dock-clearance) + clamp(1rem, 4vw, 1.45rem));
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-slide-copy-top {
    display: flex;
    gap: 0.55rem;
    max-width: min(100%, 22rem);
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-title {
    max-width: 12ch;
    font-size: clamp(2.25rem, 11.4vw, 3.35rem);
    letter-spacing: -0.015em;
    line-height: 0.91;
    text-wrap: balance;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-name {
    font-size: clamp(1.02rem, 4.6vw, 1.25rem);
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-lede {
    max-width: 19rem;
    font-size: 0.93rem;
    line-height: 1.38;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-actions > :is(.hub-play, .hub-play-form) {
    width: min(100%, 20rem);
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-play-form {
    display: flex;
    justify-content: center;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-play {
    width: 100%;
    inline-size: 100%;
    min-width: 0;
    min-height: 4.1rem;
    padding-inline: clamp(1.1rem, 7vw, 1.9rem);
    border-radius: 0.9rem;
    font-size: clamp(1.08rem, 5.2vw, 1.28rem);
    letter-spacing: 0.06em;
  }

  .street-world.is-game-hub[data-hub-theme] .hub-streaming-feed--editorial .hub-hero-info {
    top: calc(var(--hub-hud-clearance) + var(--space-3));
    right: var(--space-4);
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-hero--themed .hub-slide-copy-top {
    width: min(100%, 20rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: 0 0.16rem 0.75rem color-mix(in srgb, var(--hub-light-ivory) 82%, transparent);
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-hero-worldmark {
    color: var(--hub-light-type-on-paper-primary);
  }

  .street-world.is-game-hub[data-hub-theme="light"] .hub-hero-worldmark > span {
    color: var(--hub-light-gold-deep);
  }

  .street-world.is-game-hub[data-hub-theme="dark"] .hub-hero-worldmark {
    color: var(--hub-dark-cream);
  }
}

@media (max-width: 380px) {
  /* At the narrowest supported width, the decorative signature must yield
     to the real story, its title, and its single primary action. */
  .street-world.is-game-hub .hub-hero-worldmark { display: none; }

  .street-world.is-game-hub .hub-slide-copy {
    gap: 0.5rem;
    padding:
      calc(var(--hub-hud-clearance) + 0.75rem)
      1.05rem
      calc(var(--street-hub-dock-clearance) + 0.85rem);
  }

  .street-world.is-game-hub .hub-slide-copy-top { gap: 0.38rem; }

  .street-world.is-game-hub .hub-hero-title {
    max-width: 9ch;
    font-size: clamp(1.65rem, 9.4vw, 2rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .street-world.is-game-hub .hub-hero-name {
    font-size: 0.94rem;
  }

  .street-world.is-game-hub .hub-hero-lede {
    font-size: var(--type-min);
    line-height: 1.32;
  }

  .street-world.is-game-hub .hub-play {
    min-height: 3.75rem;
    padding-inline: 0.9rem;
    font-size: 1.02rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .street-world.is-game-hub .hub-slide-still,
  .street-world.is-game-hub .hub-play,
  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-card,
  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-event__art img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------
 * Editorial Home convergence
 *
 * One cinematic invitation leads. Everything after it is scheduled content,
 * not a second dashboard. These rules intentionally flatten the historical
 * panel stack while preserving the artwork-driven Light/Dark theme engine.
 * ---------------------------------------------------------------------- */
body.is-street-hub.is-game-hub-page {
  --street-hub-col: 100vw;
}

/* The Home owns the full viewport. Its editorial sections provide their own
   gutters, while the opening artwork starts at the physical screen edge. */
body.is-street-hub:has(.home-menu.is-hud)
  .street-world.is-game-hub:has(> .hub-streaming-feed--editorial) {
  padding-top: 0;
  padding-inline: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] {
  --hub-home-gutter: clamp(17px, 4vw, 56px);
  --hub-home-max: 1360px;
  --hub-home-cream: #fff8e8;
  --hub-home-night: #07111f;
  --hub-home-night-soft: rgba(7, 17, 31, 0.76);
  display: block !important;
  gap: 0;
  width: 100%;
  max-width: none;
  padding: 0 0 calc(var(--street-hub-dock-clearance) + 24px);
  background: var(--hub-cinematic-field, var(--surface-primary));
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > :is(
  .hub-today,
  .hub-expedition,
  .hub-rama-carousel,
  .hub-rama-presence,
  .hub-content-rail,
  .hub-watch-frame,
  .hub-identity-empty,
  .hub-install--compact,
  .push-invitation
) {
  flex: 0 0 auto;
  min-height: 0 !important;
  height: auto;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-hero {
  flex: 0 0 auto;
}

/* Hero ------------------------------------------------------------------ */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
  .hub-hero-stage,
  .hub-voyage,
  .hub-slide
) {
  width: 100%;
  height: clamp(590px, 72.5svh, 620px) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--hub-home-night);
  box-shadow: none;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-slide {
  position: relative;
  isolation: isolate;
}

.street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-hero--themed .hub-slide-still {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transform: none;
}

.street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-hero--themed .hub-slide::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.03) 22%, rgba(4, 10, 20, 0.2) 48%, rgba(4, 10, 20, 0.94) 100%),
    linear-gradient(90deg, rgba(4, 10, 20, 0.46), transparent 76%);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-slide-copy {
  position: absolute;
  z-index: 2;
  inset: auto var(--hub-home-gutter) 18px;
  display: grid;
  width: auto;
  gap: 10px;
  padding: 0;
  color: var(--hub-home-cream);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.street-world.is-game-hub[data-hub-theme]
  [data-hub-layout="hero-rama-carousel"]
  .hub-hero--themed
  .hub-slide-copy-top {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 39rem);
  max-width: none;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.street-world.is-game-hub[data-hub-theme]
  [data-hub-layout="hero-rama-carousel"]
  .hub-hero--themed
  .hub-slide-copy-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px -30px -22px -24px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 82% 72% at 12% 54%,
    rgba(2, 8, 17, 0.7) 0%,
    rgba(2, 8, 17, 0.42) 48%,
    transparent 78%
  );
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-gameops {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
}

.street-world.is-game-hub[data-hub-theme]
  [data-hub-layout="hero-rama-carousel"]
  .hub-hero--themed :is(
  .hub-hero-continue,
  .hub-hero-name,
  .hub-hero-title,
  .hub-hero-lede
) {
  margin: 0;
  color: var(--hub-home-cream);
  text-shadow: var(--story-shadow);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-continue {
  font: 820 0.875rem/1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-name {
  font: 700 0.93rem/1.2 var(--font-ui);
}

.street-world.is-game-hub[data-hub-theme]
  [data-hub-layout="hero-rama-carousel"]
  .hub-hero--themed .hub-hero-continue {
  color: #f3cd72;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
  .hub-hero-continue,
  .hub-hero-name
) {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(243, 205, 114, 0.4);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) 52%, transparent),
    rgba(4, 12, 25, 0.48);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.14),
    0 5px 18px rgba(2, 8, 17, 0.22);
  line-height: 1.25rem;
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-continue::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f3cd72;
  box-shadow:
    0 0 0 2px rgba(243, 205, 114, 0.16),
    0 0 9px rgba(243, 205, 114, 0.62);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-continue {
  gap: 6px;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-title {
  order: 3;
  max-width: 12ch;
  font: 590 clamp(2.45rem, 12vw, 3.55rem)/0.9 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
  -webkit-text-stroke: 0.45px rgba(2, 8, 17, 0.72);
  paint-order: stroke fill;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-title::after {
  display: none;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-lede {
  order: 4;
  display: -webkit-box;
  max-width: 35ch;
  overflow: hidden;
  color: rgba(255, 248, 232, 0.86);
  font: 560 0.89rem/1.35 var(--font-ui);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.street-world.is-game-hub[data-hub-theme]
  [data-hub-layout="hero-rama-carousel"]
  .hub-hero--themed .hub-hero-lede {
  color: rgba(255, 248, 232, 0.86);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-actions {
  position: static;
  display: block;
  width: min(100%, 39rem);
  margin: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-cockpit__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 64px !important;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(239, 200, 105, 0.38);
  border-radius: 14px;
  background: rgba(6, 15, 29, 0.7);
  color: var(--hub-home-cream);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__emblem {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--gold-highlight) 18%, transparent), rgba(8, 20, 38, 0.86));
  color: var(--gold-highlight, var(--gold-primary));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--gold-primary) 18%, transparent),
    inset 0 0 0 3px rgba(7, 17, 31, 0.62);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__emblem .picto {
  width: 24px;
  height: 24px;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__body {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__label,
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress > strong {
  color: var(--hub-home-cream);
  font-size: 0.875rem;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__rail {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-gold) 58%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-progress__rail i {
  display: block;
  min-width: 4px;
  height: 100%;
  border-radius: inherit;
  background: var(--button-primary);
  box-shadow: 0 0 10px color-mix(in srgb, var(--gold-highlight) 42%, transparent);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(.hub-play-form, .hub-play) {
  width: 100%;
  min-height: 64px !important;
}

.street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-play {
  border-radius: 14px;
  font-size: clamp(0.98rem, 4.5vw, 1.12rem);
  letter-spacing: 0.055em;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-play__seal,
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-play__arrow {
  flex: 0 0 auto;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-play__label {
  min-width: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-info {
  z-index: 3;
  top: calc(var(--hub-hud-clearance) + 12px);
  right: var(--hub-home-gutter);
}

/* Today ----------------------------------------------------------------- */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-today {
  position: relative;
  z-index: 3;
  width: min(calc(100% - (2 * var(--hub-home-gutter))), var(--hub-home-max));
  margin: 20px auto 0;
}

.hub-today__head h2,
.hub-content-rail__head h2 {
  margin: 0;
  color: var(--hub-cinematic-ink, var(--text-primary));
  font: 650 clamp(1.3rem, 5.4vw, 2rem)/1.05 var(--font-display);
  letter-spacing: -0.025em;
}

.hub-today__head h2 {
  font-size: clamp(1.75rem, 7vw, 2.35rem);
}

.hub-today__head {
  margin-bottom: 11px;
}

.hub-today__form {
  margin: 0;
}

.hub-today__story {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border-gold) 56%, transparent);
  border-radius: 18px;
  background: var(--hub-home-night);
  color: var(--hub-home-cream);
  box-shadow: 0 16px 42px color-mix(in srgb, var(--hub-home-night) 18%, transparent);
  text-align: left;
  text-decoration: none;
}

.hub-today__art,
.hub-today__scrim {
  position: absolute;
  inset: 0;
}

.hub-today__art :is(picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

.hub-today__art img {
  object-fit: cover;
  object-position: 58% 42%;
}

.hub-today__scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 11, 22, 0.96), rgba(4, 11, 22, 0.72) 58%, rgba(4, 11, 22, 0.1)),
    linear-gradient(0deg, rgba(4, 11, 22, 0.68), transparent 66%);
}

.hub-today__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(88%, 38rem);
  min-height: 360px;
  gap: 10px;
  padding: 24px;
}

.hub-today__eyebrow {
  color: #f3cd72;
  font: 820 1rem/1.1 var(--font-ui);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hub-today__copy > strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hub-home-cream);
  font: 650 clamp(2rem, 7vw, 2.75rem)/1.02 var(--font-display);
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hub-today__copy > :is(.hub-today__setup, .hub-today__body, em) {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 248, 232, 0.82);
  font: 560 1.0625rem/1.45 var(--font-ui);
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hub-today[data-today-kind="daily_discovery"] .hub-today__copy > :is(.hub-today__setup, .hub-today__body, em) {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.hub-today__copy em {
  font-family: var(--font-display);
  font-style: italic;
}

.hub-today__meta {
  overflow: hidden;
  color: rgba(255, 248, 232, 0.62);
  font: 650 1rem/1.35 var(--font-ui);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-today__action,
.hub-rama-event__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #f3cd72;
  font: 800 1rem/1.1 var(--font-ui);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hub-today__action .picto,
.hub-rama-event__action .picto {
  width: 18px;
  height: 18px;
}

.hub-today[data-today-kind="fallback"] .hub-today__story {
  height: auto;
  min-height: 8.25rem;
  border-inline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hub-today[data-today-kind="fallback"] :is(.hub-today__art, .hub-today__scrim) {
  display: none;
}

.hub-today[data-today-kind="fallback"] .hub-today__copy {
  position: relative;
  width: 100%;
  min-height: 8.25rem;
  padding: 1.15rem 0;
  justify-content: center;
}

.hub-today[data-today-kind="fallback"] .hub-today__copy > strong {
  max-width: 22ch;
  color: var(--hub-cinematic-ink, var(--text-primary));
}

.hub-today[data-today-kind="fallback"] .hub-today__copy > :is(.hub-today__body, .hub-today__meta) {
  color: var(--hub-cinematic-muted, var(--text-secondary));
}

/* Weekly expedition ----------------------------------------------------- */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-expedition {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 520px !important;
  margin: clamp(36px, 7vw, 80px) 0 0;
  overflow: hidden;
  background: var(--hub-home-night);
  color: var(--hub-home-cream);
}

.hub-expedition__art,
.hub-expedition__veil {
  position: absolute;
  inset: 0;
}

.hub-expedition__art :is(picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

.hub-expedition__art img {
  object-fit: cover;
  object-position: 58% 34%;
}

.hub-expedition__veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 9, 19, 0.02) 16%, rgba(3, 9, 19, 0.42) 48%, rgba(3, 9, 19, 0.96) 100%),
    linear-gradient(90deg, rgba(3, 9, 19, 0.72), transparent 82%);
}

.hub-expedition__copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 46rem);
  gap: 7px;
  padding: 28px var(--hub-home-gutter);
}

.hub-expedition__copy > p,
.hub-expedition__copy :is(h2, strong, span, time) {
  margin: 0;
}

.hub-expedition__copy > p {
  color: #f3cd72;
  font: 820 0.875rem/1 var(--font-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-expedition__copy h2 {
  max-width: 12ch;
  color: var(--hub-home-cream);
  font: 620 clamp(2.3rem, 10.5vw, 3.65rem)/0.92 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hub-expedition__copy > strong {
  color: #f2d68d;
  font: 730 0.92rem/1.2 var(--font-ui);
}

.hub-expedition__copy > span {
  display: -webkit-box;
  max-width: 46ch;
  overflow: hidden;
  color: rgba(255, 248, 232, 0.8);
  font: 540 0.875rem/1.4 var(--font-ui);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hub-expedition__copy > time {
  color: rgba(255, 248, 232, 0.62);
  font: 680 0.875rem/1.2 var(--font-ui);
}

.hub-expedition__progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 30rem);
  gap: 10px;
  margin-top: 4px;
}

.hub-expedition__progress > span {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.19);
}

.hub-expedition__progress i {
  display: block;
  width: var(--hub-expedition-progress);
  height: 100%;
  background: linear-gradient(90deg, #b58224, #f5d77d);
}

.hub-expedition__progress b {
  color: rgba(255, 248, 232, 0.72);
  font: 730 0.875rem/1 var(--font-ui);
}

.hub-expedition__cta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 46px;
  gap: 8px;
  margin-top: 5px;
  padding: 9px 14px;
  border: 1px solid rgba(244, 207, 115, 0.58);
  border-radius: 999px;
  background: rgba(5, 15, 29, 0.58);
  color: #f3cd72;
  font: 820 0.875rem/1 var(--font-ui);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Rama: one presence, never a KPI board ------------------------------- */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-rama-presence--missing {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  width: min(calc(100% - (2 * var(--hub-home-gutter))), var(--hub-home-max));
  gap: 14px;
  margin: clamp(38px, 7vw, 76px) auto 0;
  padding: 20px 0;
  border-block: 1px solid color-mix(in srgb, var(--border-gold) 44%, transparent);
  color: var(--hub-cinematic-ink, var(--text-primary));
}

.hub-rama-presence__emblem {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--border-gold) 62%, transparent);
  border-radius: 50%;
  color: var(--gold-primary);
}

.hub-rama-presence__emblem .picto {
  width: 23px;
  height: 23px;
}

.hub-rama-presence--missing :is(p, h2, span) {
  margin: 0;
}

.hub-rama-presence--missing p {
  color: var(--gold-primary);
  font: 800 0.875rem/1 var(--font-ui);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hub-rama-presence--missing h2 {
  margin-top: 4px;
  color: var(--hub-cinematic-ink, var(--text-primary));
  font: 650 clamp(1.45rem, 6vw, 2rem)/1 var(--font-display);
}

.hub-rama-presence--missing div > span {
  display: block;
  margin-top: 6px;
  color: var(--hub-cinematic-muted, var(--text-secondary));
  font: 540 0.875rem/1.35 var(--font-ui);
}

.hub-rama-presence__action,
.hub-content-rail__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--gold-primary);
  font: 800 0.875rem/1 var(--font-ui);
  text-decoration: none;
}

.hub-rama-presence__action {
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 0 3px;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > :is(.hub-rama-carousel, .hub-content-rail) {
  display: grid;
  width: min(100%, var(--hub-home-max));
  gap: 14px;
  margin: clamp(40px, 7vw, 76px) auto 0;
  padding: 0;
  background: transparent;
  color: var(--hub-cinematic-ink, var(--text-primary));
}

.hub-content-rail__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--hub-home-gutter);
}

.hub-content-rail__head :is(p, h2) {
  margin: 0;
}

.hub-content-rail__kicker {
  margin-bottom: 5px !important;
  color: var(--gold-primary);
  font: 800 0.875rem/1 var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-rail__track {
  display: flex;
  min-width: 0;
  gap: 11px;
  padding: 6px var(--hub-home-gutter) 16px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--hub-home-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-rail__track::-webkit-scrollbar {
  display: none;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
  .hub-rama-card,
  .hub-rama-challenge-form,
  .hub-content-card
) {
  flex: 0 0 min(260px, 70vw);
  scroll-snap-align: start;
}

.hub-rama-challenge-form {
  height: 326px;
  margin: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 326px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border-gold) 48%, transparent);
  border-radius: 14px;
  background: var(--hub-home-night);
  color: var(--hub-home-cream);
  box-shadow: none;
  text-align: left;
  text-decoration: none;
}

.hub-rama-challenge-form > .hub-rama-card {
  height: 100%;
}

.hub-rama-event__art,
.hub-rama-event__scrim {
  position: absolute;
  inset: 0;
}

.hub-rama-event__art :is(picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

.hub-rama-event__art img {
  object-fit: cover;
  object-position: 50% 42%;
}

.hub-rama-event__scrim {
  z-index: 1;
  background: linear-gradient(180deg, transparent 28%, rgba(4, 11, 22, 0.36) 52%, rgba(4, 11, 22, 0.96) 100%);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-event__copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: transparent;
  color: var(--hub-home-cream);
}

.street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-rama-event__kicker {
  position: static;
  width: max-content;
  max-width: 100%;
  padding: 0.34rem 0.55rem 0.3rem;
  overflow: hidden;
  border: 1px solid rgba(243, 205, 114, 0.34);
  border-radius: 999px;
  background: rgba(3, 9, 19, 0.62);
  color: var(--gold-highlight, #f3cd72);
  font: 790 0.875rem/1.15 var(--font-ui);
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(3, 9, 19, 0.92);
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
  backdrop-filter: blur(7px) saturate(1.08);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-event strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hub-home-cream);
  font: 630 1.62rem/1 var(--font-display);
  text-shadow:
    0 2px 3px rgba(3, 9, 19, 0.98),
    0 0 16px rgba(3, 9, 19, 0.94),
    0 0 32px rgba(3, 9, 19, 0.72);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
  .hub-rama-event__detail,
  .hub-rama-event__meta,
  .hub-rama-circle-freshness,
  .hub-rama-event__cancelled
) {
  width: max-content;
  max-width: 100%;
  padding: 0.25rem 0.45rem;
  border-radius: 0.42rem;
  background: rgba(3, 9, 19, 0.56);
  color: rgba(255, 248, 232, 0.72);
  font: 580 0.875rem/1.3 var(--font-ui);
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.96);
  -webkit-backdrop-filter: blur(6px) saturate(1.06);
  backdrop-filter: blur(6px) saturate(1.06);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-rama-card--live .hub-live {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-body {
  position: absolute;
  z-index: 2;
  inset: 14px 16px 58px;
  display: grid;
  align-content: start;
  gap: 5px;
  max-width: none;
  overflow: hidden;
  padding: 0;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-head {
  min-width: 0;
  min-height: 1.75rem;
  overflow: visible;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-head .hub-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 1.75rem;
  padding: 0.34rem 0.55rem 0.3rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold-highlight) 38%, transparent);
  border-radius: 999px;
  background: rgba(3, 9, 19, 0.64);
  color: var(--gold-highlight, #f3cd72);
  font: 790 0.75rem/1 var(--font-ui);
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(3, 9, 19, 0.92);
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
  backdrop-filter: blur(7px) saturate(1.08);
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-badge[hidden] {
  display: none;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-special {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hub-home-cream);
  font: 630 1.35rem/1.02 var(--font-display);
  text-shadow:
    0 2px 3px rgba(3, 9, 19, 0.98),
    0 0 18px rgba(3, 9, 19, 0.9);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-live-program {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 10px;
  left: 12px;
  min-height: 42px;
  margin: 0;
  border-radius: 999px;
  background: rgba(5, 15, 29, 0.72);
  color: var(--hub-home-cream);
}

/* Artwork-led content rails -------------------------------------------- */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-card {
  position: relative;
  isolation: isolate;
  display: block;
  height: 300px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-gold) 42%, transparent);
  border-radius: 13px;
  background: var(--hub-home-night);
  color: var(--hub-home-cream);
  text-decoration: none;
}

.hub-content-card__link {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hub-content-card__art,
.hub-content-card__scrim {
  position: absolute;
  inset: 0;
}

.hub-content-card__art :is(picture, img),
.hub-content-card > :is(picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

.hub-content-card__art img,
.hub-content-card > img {
  object-fit: cover;
  object-position: 50% 40%;
}

.hub-content-card__scrim {
  z-index: 1;
  background: linear-gradient(180deg, transparent 32%, rgba(4, 11, 22, 0.34) 55%, rgba(4, 11, 22, 0.98) 100%);
}

.hub-content-card__copy {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 15px;
  color: var(--hub-home-cream);
}

.hub-content-card__copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hub-home-cream);
  font: 630 1.35rem/1.02 var(--font-display);
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hub-content-card__copy :is(span, small, time) {
  overflow: hidden;
  color: rgba(255, 248, 232, 0.68);
  font: 620 0.875rem/1.25 var(--font-ui);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-content-card__copy small {
  color: #f3cd72;
  text-transform: uppercase;
}

.hub-content-card__progress {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 9px;
  left: 14px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.hub-content-card__progress i {
  display: block;
  width: var(--hub-card-progress);
  height: 100%;
  background: #f3cd72;
}

.hub-content-card--video .hub-content-card__art {
  position: relative;
  min-height: 0;
}

.hub-content-card--video .hub-content-card__copy {
  position: relative;
  inset: auto;
  align-content: start;
  padding: 12px 14px 14px;
  background: var(--hub-home-night);
}

.hub-content-card--video .hub-content-card__art img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.hub-content-card--video .hub-content-card__play,
.hub-content-card--video .hub-content-card__duration {
  position: absolute;
  z-index: 2;
}

.hub-content-card--video .hub-content-card__play {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--gold-highlight) 68%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--gold-highlight) 12%, transparent), transparent 58%),
    rgba(4, 11, 22, 0.82);
  color: var(--gold-highlight, #f3cd72);
  --picto-cutout: var(--hub-home-night);
  box-shadow:
    0 8px 22px rgba(3, 9, 19, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
}

.hub-content-card--video .hub-content-card__play .picto {
  width: 24px;
  height: 24px;
}

.hub-content-card--video .hub-content-card__duration {
  right: 7px;
  bottom: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(4, 11, 22, 0.8);
  color: white;
  font: 720 0.875rem/1 var(--font-ui);
}

.hub-watch-frame {
  display: block;
}

.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-watch-frame:has(> .hub-watch-rail) {
  width: min(100%, var(--hub-home-max));
  margin: clamp(58px, 8vw, 96px) auto 0;
}

.hub-watch-frame > .hub-watch-rail {
  display: grid;
  width: 100%;
  gap: 14px;
}

/* Low-priority identity and install surfaces stay below the programme. */
.street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > :is(
  .hub-identity-empty,
  .hub-install--compact,
  .push-invitation
) {
  width: min(calc(100% - (2 * var(--hub-home-gutter))), var(--hub-home-max));
  margin: 42px auto 0;
}

.hub-identity-empty {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-glass) 92%, transparent), color-mix(in srgb, var(--surface-secondary) 58%, transparent));
  color: var(--text-primary);
  box-shadow: var(--shadow-card), inset 0 1px 0 color-mix(in srgb, var(--text-primary) 10%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.hub-identity-empty__emblem {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-primary) 76%, transparent);
  color: var(--gold-primary);
}

.hub-identity-empty__emblem .picto {
  width: 27px;
  height: 27px;
}

.hub-identity-empty__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.hub-identity-empty__copy :is(p, h2, span) {
  margin: 0;
}

.hub-identity-empty__copy p {
  color: var(--gold-primary);
  font: 820 0.875rem/1 var(--font-ui);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hub-identity-empty__copy h2 {
  color: var(--text-primary);
  font: 660 clamp(1.25rem, 5.4vw, 1.75rem)/1 var(--font-display);
}

.hub-identity-empty__copy > span {
  color: var(--text-secondary);
  font: 540 0.875rem/1.3 var(--font-ui);
}

.hub-identity-empty__action {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-primary) 68%, transparent);
  color: var(--text-primary);
  font: 800 var(--type-min)/1 var(--font-ui);
  text-decoration: none;
}

.hub-identity-empty__action .picto {
  width: 17px;
  height: 17px;
  color: var(--gold-primary);
}

@media (min-width: 768px) {
  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
    .hub-hero-stage,
    .hub-voyage,
    .hub-slide
  ) {
    height: min(70svh, 650px) !important;
    min-height: 570px !important;
  }

  .street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-hero--themed .hub-slide-still {
    object-position: 58% 42%;
  }

  .street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-hero--themed .hub-slide::after {
    background:
      linear-gradient(90deg, rgba(3, 9, 19, 0.94), rgba(3, 9, 19, 0.62) 40%, rgba(3, 9, 19, 0.08) 76%),
      linear-gradient(0deg, rgba(3, 9, 19, 0.54), transparent 52%);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-slide-copy {
    inset: auto auto clamp(38px, 5vw, 66px) var(--hub-home-gutter);
    width: min(calc(100% - (2 * var(--hub-home-gutter))), 54rem);
    gap: 17px;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-slide-copy-top {
    gap: 7px;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-title {
    max-width: 11ch;
    font-size: clamp(3.5rem, 5.1vw, 5.1rem);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-name {
    font-size: 1.05rem;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-lede {
    max-width: 42ch;
    font-size: 1rem;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-hero-cockpit__row {
    grid-template-columns: minmax(310px, 1.05fr) minmax(340px, 0.95fr);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(.hub-play-form, .hub-play, .hub-hero-progress) {
    min-height: 64px !important;
  }

  .street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-play {
    border-radius: 12px;
    font-size: clamp(0.92rem, 1.18vw, 1.08rem);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-today {
    margin-top: 28px;
  }

  .hub-today__story {
    height: auto;
    min-height: 360px;
    border-radius: 20px;
  }

  .hub-today__copy {
    width: min(68%, 43rem);
    min-height: 360px;
    gap: 12px;
    padding: 32px clamp(32px, 4vw, 52px);
  }

  .hub-today__copy > strong {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  }

  .hub-today__copy > :is(.hub-today__setup, .hub-today__body, em) {
    font-size: 1.125rem;
    line-height: 1.45;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-expedition {
    min-height: 500px !important;
  }

  .hub-expedition__veil {
    background:
      linear-gradient(90deg, rgba(3, 9, 19, 0.96), rgba(3, 9, 19, 0.64) 49%, rgba(3, 9, 19, 0.08) 80%),
      linear-gradient(0deg, rgba(3, 9, 19, 0.62), transparent 58%);
  }

  .hub-expedition__copy {
    align-self: center;
    padding: clamp(34px, 5vw, 70px) var(--hub-home-gutter);
  }

  .hub-expedition__copy h2 {
    font-size: clamp(3.2rem, 5.2vw, 5rem);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > .hub-rama-presence--missing {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 22px 0;
  }

  .hub-rama-presence__action {
    grid-column: auto;
    justify-content: flex-start;
    padding: 0 4px 0 20px;
  }

  .hub-identity-empty {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 20px;
  }

  .hub-identity-empty__emblem {
    width: 62px;
    height: 62px;
  }

  .hub-identity-empty__action {
    grid-column: auto;
    min-width: 176px;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > :is(.hub-rama-carousel, .hub-content-rail) {
    width: 100%;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(
    .hub-rama-card,
    .hub-rama-challenge-form
  ) {
    flex-basis: clamp(290px, 26vw, 360px);
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] :is(.hub-rama-card, .hub-rama-challenge-form) {
    height: 235px;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-card {
    flex-basis: clamp(235px, 21vw, 300px);
    height: 205px;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-card--video {
    height: 225px;
  }

  .hub-content-card__copy strong {
    font-size: 1.2rem;
  }
}

@media (min-width: 1440px) {
  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] > :is(.hub-rama-carousel, .hub-content-rail) {
    max-width: var(--hub-home-max);
  }

  .hub-content-rail__head,
  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-content-rail__track {
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
}

@media (max-width: 380px) {
  .street-world.is-game-hub[data-hub-theme] [data-hub-layout="hero-rama-carousel"] .hub-play {
    gap: 0.35rem;
    padding-inline: 0.72rem;
    font-size: 0.875rem;
    letter-spacing: 0.035em;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-play__seal {
    width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: 0;
  }

  .street-world.is-game-hub [data-hub-layout="hero-rama-carousel"] .hub-play__arrow {
    margin-inline-start: 0;
  }
}

:is(
  .hub-today__story,
  .hub-expedition__cta,
  .hub-rama-presence__action,
  .hub-rama-card,
  .hub-content-card__link,
  .hub-content-rail__all
):focus-visible,
.hub-content-card:focus-within,
.hub-rama-challenge-form:focus-within {
  outline: 3px solid var(--gold-highlight, var(--gold-primary));
  outline-offset: 3px;
}

.hub-content-card__link:focus-visible {
  outline: 0;
}

.street-world.is-game-hub[data-hub-theme="light"] :is(
  .hub-today[data-today-kind="fallback"] .hub-today__eyebrow,
  .hub-rama-presence--missing p,
  .hub-rama-presence--missing .hub-rama-presence__emblem,
  .hub-rama-presence--missing .hub-rama-presence__action,
  .hub-content-rail__kicker,
  .hub-content-rail__all,
  .hub-identity-empty__copy p,
  .hub-identity-empty__action
) {
  color: var(--gold-deep, #93620a);
}

.street-world.is-game-hub[data-hub-theme="light"] :is(
  .hub-today__story,
  .hub-expedition__cta,
  .hub-rama-presence__action,
  .hub-rama-card,
  .hub-content-card,
  .hub-content-rail__all
):focus-visible,
.street-world.is-game-hub[data-hub-theme="light"] :is(
  .hub-content-card,
  .hub-rama-challenge-form
):focus-within {
  outline-color: var(--gold-deep, #93620a);
}

@media (hover: hover) and (pointer: fine) {
  .hub-today__story,
  .hub-expedition__cta,
  .hub-rama-card,
  .hub-content-card,
  .hub-content-card__link {
    transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
  }

  .hub-today__story:hover,
  .hub-rama-card:hover,
  .hub-content-card:hover {
    border-color: color-mix(in srgb, var(--gold-highlight) 76%, transparent);
  }

  .hub-today__story:hover .hub-today__art img,
  .hub-rama-card:hover .hub-rama-event__art img,
  .hub-content-card:hover .hub-content-card__art img {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-today__story,
  .hub-today__art img,
  .hub-expedition__cta,
  .hub-rama-card,
  .hub-rama-event__art img,
  .hub-content-card,
  .hub-content-card__art img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .hub-today__story,
  .hub-expedition,
  .hub-expedition__cta,
  .hub-rama-presence--missing,
  .hub-rama-card,
  .hub-content-card {
    border-color: CanvasText !important;
    background: Canvas !important;
    color: CanvasText !important;
    box-shadow: none !important;
  }
}
