.mndpwa-install[hidden]{display:none!important}.mndpwa-install{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:12px;right:12px;z-index:2147483000;display:flex;align-items:center;gap:11px;padding:13px 36px 13px 12px;box-sizing:border-box;background:#111;color:#fff;border:1px solid #5e1b20;border-radius:13px;box-shadow:0 8px 24px #0008;font:14px/1.35 system-ui,-apple-system,sans-serif;max-width:470px;margin:auto}.mndpwa-install img{object-fit:contain;flex-shrink:0;border-radius:8px}.mndpwa-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.mndpwa-copy span{font-size:12px;color:#eee}.mndpwa-install #mndpwa-action{background:#ad1820;color:white;border:0;border-radius:7px;padding:10px;font:600 12px system-ui;cursor:pointer}.mndpwa-install .mndpwa-close{position:absolute;top:2px;right:7px;border:0;background:transparent;color:#ddd;font-size:24px;cursor:pointer;padding:0 3px}.mndpwa-install button:focus-visible{outline:2px solid #fff;outline-offset:2px}


/* v1.1: PWA-only navigation (never shown in a normal browser tab). */
.mndpwa-bottom-nav[hidden]{display:none!important}
html.mndpwa-standalone{--mndpwa-nav-height:62px}
html.mndpwa-standalone body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
html.mndpwa-standalone .mndpwa-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:2147482500;box-sizing:border-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;height:calc(var(--mndpwa-nav-height) + env(safe-area-inset-bottom,0px));padding:6px max(6px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));background:rgba(10,10,12,.97);color:#d8d8dc;border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -5px 24px rgba(0,0,0,.35);font-family:system-ui,-apple-system,sans-serif;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html.mndpwa-standalone .mndpwa-nav-link{min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;text-decoration:none!important;color:#bcbcc2!important;font-size:11px!important;line-height:1.25!important;font-weight:600!important;min-height:49px;border-radius:8px;touch-action:manipulation}
html.mndpwa-standalone .mndpwa-nav-link svg{width:22px;height:22px;flex-shrink:0}
html.mndpwa-standalone .mndpwa-nav-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.mndpwa-standalone .mndpwa-nav-link.is-active{color:#ff4a51!important}
html.mndpwa-standalone .mndpwa-nav-link:focus-visible{outline:2px solid white;outline-offset:-2px}
/* Existing player floats above the app controls; do not change its audio state or events. */
html.mndpwa-standalone .mnsp-player.is-open{bottom:calc(var(--mndpwa-nav-height) + env(safe-area-inset-bottom,0px) + 8px)!important}
html.mndpwa-standalone.mnsp-player-open body{padding-bottom:calc(var(--mnsp-height,226px) + var(--mndpwa-nav-height) + 36px + env(safe-area-inset-bottom,0px))!important}
@media (min-width:861px){html.mndpwa-standalone .mndpwa-bottom-nav{max-width:600px;margin:0 auto;border-left:1px solid #26262a;border-right:1px solid #26262a;border-radius:12px 12px 0 0}}
@media (max-height:430px) and (orientation:landscape){html.mndpwa-standalone{--mndpwa-nav-height:50px}html.mndpwa-standalone .mndpwa-nav-link{min-height:40px}html.mndpwa-standalone .mndpwa-nav-link svg{width:18px;height:18px}}

/* Persistent shell view sits above original page but below audio and bottom navigation. */
html.mndpwa-shell-mode #mndpwa-shell-frame{position:fixed!important;inset:0 0 calc(62px + env(safe-area-inset-bottom,0px)) 0!important;width:100%!important;height:calc(100dvh - 62px - env(safe-area-inset-bottom,0px))!important;border:0!important;background:#111!important;z-index:2147481000!important;display:block!important;}
html.mndpwa-shell-mode #mnsp-player{z-index:2147482000!important}
html.mndpwa-shell-mode .mndpwa-bottom-nav{z-index:2147482500!important}
html.mndpwa-shell-mode body{overflow:hidden!important}

/* The embedded view never creates a second visible bottom bar or mini-player. */
html.mndpwa-framed .mndpwa-bottom-nav,html.mndpwa-framed #mnsp-player{display:none!important}
html.mndpwa-framed body{padding-bottom:0!important}

/* The embedded site's player must not compete with the parent persistent player. */
html.mndpwa-framed #mnsp-player,html.mndpwa-framed #mndpwa-bottom-nav{display:none!important}
