/* Reuse the actual home-entry illustrations as modal header art. Crop only
   the left pictogram from each approved tile; never fall back to old glyphs. */
#home-screen ~ #official-announcement-panel .official-announcement-emblem,
#home-screen ~ #leaderboard-panel .leaderboard-card > .home-library-emblem {
  display: block !important;
  box-sizing: border-box;
  width: 82px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: -31px -31px !important;
  background-size: 229px 116px !important;
  mix-blend-mode: darken;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#home-screen ~ #official-announcement-panel .official-announcement-emblem {
  background-image: url('https://sgcdn.gxqlove.top/zhimajiangjun/static-20261103-9e2f00eadfcd/assets/home-approved-ui-v1/announcement.png') !important;
}

#home-screen ~ #leaderboard-panel .leaderboard-card > .home-library-emblem {
  background-image: url('https://sgcdn.gxqlove.top/zhimajiangjun/static-20261103-9e2f00eadfcd/assets/home-approved-ui-v1/leaderboard.png') !important;
}

#home-screen ~ #official-announcement-panel > .official-announcement-card {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
}

#home-screen ~ #official-announcement-panel #official-announcement-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  margin: 0 42px 4px 0 !important;
  padding: 0 0 6px !important;
  min-height: 0 !important;
  border-bottom: 1px solid var(--campaign-line, #b99d74) !important;
  text-align: left !important;
}

#home-screen ~ #official-announcement-panel #official-announcement-date {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: start !important;
}

#home-screen ~ #official-announcement-panel #official-announcement-content {
  grid-column: 1 / -1 !important;
}

#home-screen ~ #leaderboard-panel > .leaderboard-card {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
}

#home-screen ~ #leaderboard-panel .leaderboard-card > h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  margin: 0 42px 0 0 !important;
  padding: 0 0 6px !important;
  min-height: 0 !important;
  border-bottom: 1px solid var(--campaign-line, #b99d74) !important;
  text-align: left !important;
}

#home-screen ~ #leaderboard-panel .leaderboard-board {
  grid-column: 1 / -1 !important;
}
