.sb-quest-toggle, .sb-quest-panel, .sb-quest-toast {
    position: fixed;
    right: 1rem;
    z-index: 9500;
    font: inherit;
}
.sb-quest-toggle, .sb-quest-claim {
    background: #f3acdb;
    color: #251522;
    border: 0;
    border-radius: .7rem;
    padding: .65rem .9rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.sb-quest-toggle { bottom: 1rem; box-shadow: 0 5px 24px #0007; }
.sb-quest-panel {
    bottom: 4.25rem;
    width: min(22rem, calc(100vw - 2rem));
    max-height: 70vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 1.1rem;
    border: 1px solid #5f4657;
    border-radius: 1rem;
    background: #241c28;
    color: #faf2f8;
    box-shadow: 0 12px 36px #0008;
}
.sb-quest-panel[hidden], .sb-quest-panel [hidden] { display: none !important; }
.sb-quest-panel header { display: flex; justify-content: space-between; align-items: center; }
.sb-quest-panel h2, .sb-quest-panel h3 { color: inherit; margin: 0; }
.sb-quest-close { border: 0; color: inherit; background: transparent; font: inherit; font-size: 1.5rem; cursor: pointer; }
.sb-quest-summary, .sb-quest-status { margin: .45rem 0 .65rem; }
.sb-quest-panel progress { width: 100%; accent-color: #f3acdb; }
.sb-quest-card { margin-top: .8rem; padding: .75rem; background: #342839; border-radius: .65rem; }
.sb-quest-note { margin: .75rem 0 0; font-size: .8em; color: #decdda; }
.sb-quest-toast {
    z-index: 9600;
    top: 1rem;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    pointer-events: none;
}
.sb-quest-toast:not(:empty) {
    padding: .8rem 1.05rem;
    border-radius: .7rem;
    background: #d9f1df;
    color: #173923;
    box-shadow: 0 7px 28px #0007;
    font-weight: 700;
}
@media (max-width: 767px) {
    .sb-quest-toggle { bottom: calc(4.65rem + env(safe-area-inset-bottom)); }
    .sb-quest-panel { bottom: calc(7.9rem + env(safe-area-inset-bottom)); }
}

