/* View as guest (curator_guest_view.js): the pill that ends it, and the header
   controls that step out while it lasts. Pages hide their own owner controls. */
html body.curator-guest-view .site-header :is(.curator-reading-entry-menu--corner, .curator-entry-share, .curator-session-trigger) { visibility: hidden; }
.curator-guest-banner {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    background: var(--rh-menu-background);
    color: var(--rh-menu-foreground);
    box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.5);
    font: 500 14px/1.2 var(--rh-sans);
    letter-spacing: -0.02em;
    transform: translateX(-50%);
    animation: curator-guest-in 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.curator-guest-banner[hidden] { display: none; }
.curator-guest-exit { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(241, 239, 233, 0.14); color: inherit; cursor: pointer; }
.curator-guest-exit svg { width: 22px; height: 22px; }
@media (max-width: 1023px) {
    .curator-app-shell-page .curator-guest-banner { bottom: calc(var(--curator-tab-bar-top) + 14px); }
}
@keyframes curator-guest-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (prefers-reduced-motion: reduce) { .curator-guest-banner { animation: none; } }

/* Release headers that open a draft album entry read as plain headers to visitors. */
.is-guest-view [data-guest-unlink] { pointer-events: none; }
.is-guest-view [data-guest-unlink] :is(.curator-note-group-chevron, .curator-note-group-year) { display: none; }
