/* Cinematic reveal before homepage. No skip, replay, controls, or looping. */
.amm-logo-intro{display:none}
html.amm-logo-intro-active,html.amm-logo-intro-active body{overflow:hidden!important;overscroll-behavior:none}
html.amm-logo-intro-active #ammLogoIntro,#ammLogoIntro.amm-logo-intro-done{display:flex;position:fixed;inset:0;z-index:2147483640;align-items:center;justify-content:center;width:100vw;height:100vh;height:100dvh;background:#000;isolation:isolate}
.amm-logo-intro video{width:100%;height:100%;max-width:100vw;max-height:100dvh;object-fit:contain;display:block;background:#000;pointer-events:none}
.amm-logo-intro-done{opacity:0;pointer-events:none;transition:opacity .45s ease-out}
@media(prefers-reduced-motion:reduce){.amm-logo-intro-done{transition:none}}
/* Back / Forward navigation is shared across public pages, account routes and admin tools. */
.amm-universal-history{position:sticky;top:0;z-index:1000;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:7px clamp(12px,3.5vw,36px);width:100%;min-height:48px;background:rgba(5,11,21,.96);border-bottom:1px solid rgba(150,186,245,.19);color:#dce9fb;font:600 13px/1.25 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.amm-universal-history button{border:1px solid rgba(156,187,240,.30);border-radius:11px;background:rgba(40,51,77,.79);color:inherit;min-height:34px;padding:7px 13px;cursor:pointer;font:inherit;touch-action:manipulation;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.amm-universal-history button:focus-visible{outline:2px solid #94d9ff;outline-offset:2px}
.amm-universal-history button:disabled{opacity:.33;cursor:default}
.amm-universal-history button:not(:disabled):active{transform:scale(.96)}
.amm-universal-location{margin-left:auto;color:#93abc5;letter-spacing:.05em;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:55vw}
html.amm-universal-nav-present .amm-mobile-history{display:none!important}
@media(max-width:820px){.amm-universal-history{min-height:46px;gap:7px;padding:6px 14px}.amm-universal-history button{font-size:13px;padding:6px 12px}.amm-universal-location{font-size:11px}}
@media(prefers-reduced-motion:reduce){.amm-universal-history button{transition:none}}
@media print{.amm-universal-history{display:none!important}}
