/* Minecraft-Advancement-Toast */
.adv-stack {
  position: fixed; top: 18px; right: 18px; z-index: 9998;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.adv {
  display: flex; align-items: center; gap: 12px;
  min-width: 300px; max-width: min(360px, calc(100vw - 36px));
  padding: 10px 18px 10px 10px;
  background: #212121;
  border: 3px solid #000;
  box-shadow: inset 0 0 0 2px #555, 0 10px 28px rgba(0,0,0,.55);
  font-family: var(--mc-font);
  animation: adv-in .55s cubic-bezier(.22, 1.2, .36, 1) both;
}
.adv.out { animation: adv-out .4s ease-in forwards; }
.adv-icon {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  background: #3a3a3a; border: 2px solid #000; box-shadow: inset 0 0 0 2px #6b6b6b;
}
.adv-icon img { width: 32px; height: 32px; object-fit: contain; }
.adv-title { color: var(--yellow); font-size: 16px; margin-bottom: 4px; text-shadow: 2px 2px 0 #3f3f15; }
.adv-desc { color: #fff; font-size: 15px; text-shadow: 2px 2px 0 #3f3f3f; }
.adv[data-kind="lock"] .adv-title { color: #ff5555; text-shadow: 2px 2px 0 #3f1515; }
@keyframes adv-in  { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes adv-out { to { transform: translateX(120%); opacity: 0; } }
