/* =========================================================================
   Miracle Event Marketplace — shared "Back to Events" bar
   Ported 1:1 from the Miracle Token Engine's wallet-return button design
   (miracle-token-engine v5.8.7/5.8.8, assets/css/frontend.css) so every MEM
   page matches the platform's shared back-nav pattern: a modern circular
   SVG-chevron icon chip + label, in a full-bleed sticky top bar, with the
   same light/dark theming.
   ========================================================================= */

.mem-wallet-backbar{position:sticky;top:0;left:50%;z-index:40;display:flex;align-items:center;width:100vw;margin-left:-50vw;padding:8px 16px;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e9f0;box-shadow:0 2px 10px rgba(15,26,46,.05);}
.mem-wallet-back{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#0f1a2e;font:700 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:6px 12px 6px 6px;border-radius:999px;cursor:pointer;transition:background .15s ease,transform .1s ease;}
.mem-wallet-back-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:rgba(47,91,255,.09);color:#2f5bff;}
.mem-wallet-back-icon svg{display:block;}
.mem-wallet-back-label{letter-spacing:.1px;}
.mem-wallet-back:hover{background:rgba(47,91,255,.07);}
.mem-wallet-back:hover .mem-wallet-back-icon{background:rgba(47,91,255,.16);}
.mem-wallet-back:active{transform:scale(.96);}
html[data-theme="dark"] .mem-wallet-backbar,body.dark-mode .mem-wallet-backbar{background:#242526;border-color:#3a3b3c;}
html[data-theme="dark"] .mem-wallet-back,body.dark-mode .mem-wallet-back{color:#e4e6eb;}
html[data-theme="dark"] .mem-wallet-back-icon,body.dark-mode .mem-wallet-back-icon{background:rgba(255,255,255,.08);color:#7aa2ff;}
html[data-theme="dark"] .mem-wallet-back:hover .mem-wallet-back-icon,body.dark-mode .mem-wallet-back:hover .mem-wallet-back-icon{background:rgba(255,255,255,.14);}
