/* back-button.css – the "‹ Back" button at the left of the top bar (assets/js/back-button.js), both portals */
.topbar .tb-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 11px; margin-right: auto;
                   border-radius: 12px; border: 1px solid var(--border2, var(--border, rgba(255,255,255,.12))); background: transparent;
                   color: var(--ink, #F4F1EC); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; flex: none;
                   transition: border-color .15s ease, background-color .15s ease, color .15s ease; animation: tb-back-in .2s ease-out; }
.topbar .tb-back svg { width: 17px; height: 17px; transition: transform .15s ease; }
.topbar .tb-back:hover { border-color: rgba(var(--brand-rgb, 255,138,0),.5); background: rgba(var(--brand-rgb, 255,138,0),.1); color: var(--accent2, var(--accent, #FF8A00)); }
.topbar .tb-back:hover svg { transform: translateX(-2px); }
.topbar .tb-back:active { background: rgba(var(--brand-rgb, 255,138,0),.18); }
.topbar .tb-back:focus-visible { outline: none; border-color: var(--accent, #FF8A00); box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 255,138,0),.25); }
@keyframes tb-back-in { from { opacity: 0; transform: translateX(-4px); } }
/* phones: just the arrow, next to the menu button */
@media (max-width: 900px) {
    .topbar .tb-back { height: 38px; width: 38px; padding: 0; justify-content: center; margin-right: 0; }
    .topbar .tb-back span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .topbar .tb-back, .topbar .tb-back svg { animation: none; transition: none; } }
