#fav_toast {
    --toast-progress-color: rgba(255,255,255,0.72);
    overflow: hidden;
    position: relative;
}
#fav_toast.favorite_toast {
    --toast-progress-color: #f78528;
}
#fav_toast.achievement_toast {
    --toast-progress-color: #f78528;
    color: rgba(255,255,255,0.96);
    background: rgba(17,17,17,0.96);
    border: 1px solid #f78528;
    box-shadow: 0 0 0 3px rgba(247,133,40,0.16), 0 14px 40px rgba(0,0,0,0.4);
}
#fav_toast.achievement_toast .btn-close {
    filter: invert(1) grayscale(1) brightness(1.8);
}
.achievement_toast_title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f78528;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.achievement_toast_name {
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 6px;
}
.achievement_toast_link {
    color: #f78528 !important;
    font-size: 0.66rem;
    font-weight: 700;
    text-decoration: underline;
}
.gamedle_toast_progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--toast-progress-color);
    box-shadow: 0 0 10px rgba(247,133,40,0.42);
    transform-origin: left center;
    animation: gamedle_toast_progress_shrink var(--toast-duration, 3200ms) linear forwards;
}
@keyframes gamedle_toast_progress_shrink {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.gamedle-toast-container{position:fixed;top:0;right:0;z-index:9999;padding:1rem;max-width:100%}
.gamedle-toast-native{width:min(350px,calc(100vw - 2rem));border-radius:6px}
.gamedle-toast-native:not(.show){display:none}
.gamedle-toast-native .d-flex{display:flex;align-items:center}
.gamedle-toast-native .toast-body{flex:1;padding:.75rem}
.gamedle-toast-native .btn-close{color:inherit;background:none;border:0;margin:.5rem;padding:.25rem;font-size:1.3rem;filter:none!important}
