.page-hero{
  overflow:visible;
}

.page-hero::after{
  content:none !important;
  border:0 !important;
  box-shadow:none !important;
}

.page-hero .eyebrow{
  color:var(--yellow) !important;
  text-shadow:0 0 12px var(--yellow),0 0 26px rgba(255,233,79,.42) !important;
}

.page-hero h1{
  line-height:1 !important;
  letter-spacing:0 !important;
  padding-bottom:.08em;
  -webkit-text-stroke:.8px #270038 !important;
  text-shadow:0 0 16px rgba(255,63,215,.62),0 0 32px rgba(139,92,255,.28) !important;
}

.quests-page .page-hero{
  background:
    radial-gradient(circle at 18% 28%, rgba(255,63,215,.14), transparent 28rem),
    radial-gradient(circle at 76% 34%, rgba(139,92,255,.13), transparent 28rem),
    linear-gradient(135deg, rgba(29,6,56,.62), rgba(8,1,20,.66)) !important;
}

.quests-page .stats.neon-panel::after,
.quests-page .page-hero::after{
  content:none !important;
}


/* Social/public shell cleanup: keep the glitch mood, remove accidental box-in-box frames. */
.hero::after,
.neon-panel::after,
.card::after,
.form-card::after,
.footer::after,
.stat-card::after,
.game-panel::after{
  content:none !important;
  border:0 !important;
  box-shadow:none !important;
}

.neon-panel::before,
.hero::before,
.footer::before,
.card::before,
.page-hero::before,
.game-portal::before{
  opacity:.2 !important;
}

.game-portal{
  border-color:rgba(255,45,197,.34) !important;
  box-shadow:0 0 24px rgba(255,45,197,.16), inset 0 0 26px rgba(255,45,197,.05) !important;
}

.game-portal-hero{
  min-height:320px;
}

.game-portal-title{
  line-height:1 !important;
  padding-bottom:.05em;
}

/* Let sticker glow breathe instead of clipping at the card/image bounds. */
.hero,
.hero-art,
.page-hero,
.start-hero,
.game-portal-hero,
.level-card,
.welcome-card,
.path-card,
.library-card{
  overflow:visible !important;
}

.hero-art,
.page-hero,
.game-portal-hero,
.library-art,
.game-panel-orbs,
.game-tile,
.game-action,
.game-shortcut,
.game-badge{
  isolation:isolate;
}

.hero-art img,
.page-hero img,
.welcome-card img,
.path-card img,
.library-art img,
.game-portal-mascot,
.game-panel-orbs img,
.game-tile img,
.game-action img,
.game-shortcut img,
.game-badge img{
  overflow:visible !important;
  transform:translateZ(0);
}

.library-card{
  padding:1px;
}

.library-art{
  margin:8px;
  border-radius:16px;
  overflow:visible !important;
}

.hero-art img{
  margin:12px;
}
