article:has(> img[src="/leaderboard/today-xp-overlay.png"]) > :first-child {
  transform: scale(.81);
  transform-origin: top center;
}
article:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.inset-x-\[9\%\] {
  top: 64%;
  bottom: auto;
}
article:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.inset-x-\[9\%\] > div:first-child {
  font-family: "STXingkai", "Xingkai SC", "STKaiti", "KaiTi", "Kaiti SC", Georgia, serif;
  font-weight: 900;
  font-size: 1.65rem;
  color: #fff3c9;
  background-image: linear-gradient(180deg, #fffdf0 0%, #ffeab0 52%, #f5bf73 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.6px #8c311f;
  paint-order: stroke fill;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px #5c1b0c) drop-shadow(0 0 4px #ffe2a080);
}
article:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.inset-x-\[9\%\] > div:nth-child(2) {
  color: #fff2f2;
  -webkit-text-fill-color: #fff2f2;
  -webkit-text-stroke: .8px #a62929;
  paint-order: stroke fill;
  text-shadow: -1px -1px 0 #a62929, 1px -1px 0 #a62929, -1px 1px 0 #a62929, 1px 1px 0 #a62929, 0 2px 3px #611010;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
/* The alternate palettes share the light portrait backdrop and silk frame. */
article.bg-\[\#0b1730\]:has(> img[src="/leaderboard/today-xp-overlay.png"]),
article.bg-\[\#30172e\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) {
  box-shadow: 0 10px 22px #11080a80, 0 3px 6px #11080a60, inset 0 1px 0 #fff9, inset 0 -5px 12px #42241830;
}
article.bg-\[\#0b1730\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) {
  background-color: #f2e7d6;
}
article.bg-\[\#30172e\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) {
  background-color: #f5e5de;
}
article.bg-\[\#0b1730\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.bg-gradient-to-b { background-image: linear-gradient(to bottom, #fff9ef1a, transparent 58%, #334f6170); }
article.bg-\[\#30172e\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.bg-gradient-to-b { background-image: linear-gradient(to bottom, #fff9ef1a, transparent 58%, #68354570); }
article.bg-\[\#0b1730\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.left-\[11\%\],
article.bg-\[\#30172e\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.left-\[11\%\] { color: #7a1e1e; }
article.bg-\[\#0b1730\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > img[src="/leaderboard/today-xp-overlay.png"] {
  filter: hue-rotate(190deg) saturate(.48) brightness(1.12);
}
article.bg-\[\#30172e\]:has(> img[src="/leaderboard/today-xp-overlay.png"]) > img[src="/leaderboard/today-xp-overlay.png"] {
  filter: hue-rotate(325deg) saturate(.55) brightness(1.08);
}
.leaderboard-cloud-module:has(article > img[src="/leaderboard/today-xp-overlay.png"]) {
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center;
}
.leaderboard-cloud-module:has(article > img[src="/leaderboard/today-xp-overlay.png"]) .leaderboard-cloud-layer { display: none; }
.leaderboard-cloud-module:has(article.bg-\[\#0b1730\] > img[src="/leaderboard/today-xp-overlay.png"]) {
  background-image: linear-gradient(#402d278c, #291c1bb3), url('/leaderboard/poster-wood-grain.webp');
}
.leaderboard-cloud-module:has(article.bg-\[\#30172e\] > img[src="/leaderboard/today-xp-overlay.png"]) {
  background-image: linear-gradient(#61394285, #382027a8), url('/leaderboard/poster-wood-grain.webp');
}

/* Mobile browsers may substitute a different font and render thin strokes inside glyphs. */
@media (max-width: 639px) {
  article:has(> img[src="/leaderboard/today-xp-overlay.png"]) > div.absolute.inset-x-\[9\%\] > div:first-child {
    background-image: none !important;
    color: #fff0c4 !important;
    -webkit-text-fill-color: #fff0c4 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: 0 1px 2px #6b2114, 0 0 4px #ffdb9080;
    filter: none !important;
  }
}
