html.gsbp-package-appearance-pending body { visibility: hidden; }
/* Loaded after the ordinary theme: same specificity, explicit package ownership. */
html.gsbp-package-appearance:not(.gsbp-electron-broadcast-ui) body {
    isolation: isolate;
    background-color: var(--gsbp-ui-canvas);
    background-image: none;
}
.gsbp-package-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}
html.gsbp-package-appearance:not(.gsbp-electron-broadcast-ui) .top-right-area {
    background-color: transparent;
    background-image: none;
}
.gsbp-theme-recovery {
    visibility: visible;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 40px;
    box-sizing: border-box;
    background: var(--gsbp-ui-canvas);
    color: var(--gsbp-ui-text);
    font-family: system-ui, sans-serif;
    text-align: center;
}
.gsbp-theme-recovery h1 { margin: 0; font-size: 26px; }
.gsbp-theme-recovery p { margin: 0; color: var(--gsbp-ui-text-muted); }
.gsbp-theme-recovery a {
    margin-top: 8px;
    padding: 12px 20px;
    border: 1px solid var(--gsbp-ui-border);
    border-radius: 8px;
    background: var(--gsbp-ui-control);
    color: var(--gsbp-ui-text);
    text-decoration: none;
}
.gsbp-theme-recovery a:hover { background: var(--gsbp-ui-control-hover); }
.gsbp-theme-recovery a:focus-visible { outline: 2px solid var(--gsbp-ui-focus-ring); outline-offset: 3px; }
