.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;
  overflow-wrap:normal !important;
  word-break:keep-all !important;
}

.game-portal-title span{
  display:block;
  white-space:nowrap;
}

/* 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;
}

.home-action{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:16px;
  color:#fff;
}

.home-action img{
  width:64px;
  height:64px;
  object-fit:contain;
  filter:drop-shadow(0 0 14px rgba(255,63,215,.62));
}

.home-action b{
  display:block;
  font-family:var(--display);
  text-transform:uppercase;
}

.home-action small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  line-height:1.35;
}

.chip.importance-critical,
.importance-critical{
  border-color:#ff4fd8;
  color:#fff;
  box-shadow:0 0 14px rgba(255,79,216,.45);
}

.chip.importance-high,
.importance-high{
  border-color:#7dff00;
  color:#eaffd8;
  box-shadow:0 0 12px rgba(125,255,0,.35);
}

.chip.importance-normal,
.importance-normal{
  border-color:#55e7ff;
  color:#dcfbff;
}

.chip.importance-low,
.importance-low{
  border-color:#b47cff;
  color:#eee2ff;
}

.supporter-home-summary{
  grid-template-columns:.8fr 1.2fr;
}

@media (max-width:760px){
  .home-action{
    grid-template-columns:52px minmax(0,1fr);
  }
  .home-action img{
    width:52px;
    height:52px;
  }
  .supporter-home-summary{
    grid-template-columns:1fr;
  }
}
