/* iOS-Style Sticky Back-Navigation Bar (sticky-nav.js).
   position: fixed — sticky bricht weil Eltern-Container overflow-x:hidden haben. */
.sticky-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 35;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px 0 0;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.25s ease, border-color 0.3s ease 0.1s;
}
@supports not (backdrop-filter: blur(1px)) {
    .sticky-nav-bar { background: #f8fafc; }
}
.sticky-nav-bar.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
@media (prefers-reduced-motion: reduce) {
    .sticky-nav-bar { transform: none; transition: opacity 0.15s ease; }
}
@media (min-width: 1024px) {
    .sticky-nav-bar { left: 16rem; padding-left: 8px; }
}
.sticky-nav-back {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 4px 0 12px;
    color: #7c3aed;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}
.sticky-nav-back:hover { color: #6d28d9; }
.sticky-nav-chevron-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.sticky-nav-label {
    font-size: 14px;
    font-weight: 500;
    margin-left: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sticky-nav-sep {
    color: #cbd5e1;
    margin: 0 6px;
    flex-shrink: 0;
    font-size: 10px;
}
.sticky-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sticky-nav-scroll-area {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    height: 44px;
}
