.mandcast-pwa-prompt{position:fixed;z-index:1000050;right:18px;bottom:18px;width:min(430px,calc(100vw - 36px));display:grid;grid-template-columns:auto 1fr;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(8,10,9,.94);color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.38);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);direction:rtl;opacity:0;visibility:hidden;transform:translate3d(0,24px,0) scale(.97);transition:opacity .35s ease,transform .5s cubic-bezier(.2,.8,.2,1),visibility .35s}.mandcast-pwa-prompt.is-visible{opacity:1;visibility:visible;transform:none}.mandcast-pwa-prompt__close{position:absolute;top:8px;left:10px;border:0;background:transparent;color:#888;font-size:24px;cursor:pointer}.mandcast-pwa-prompt__icon{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;background:rgba(83,230,157,.12);color:var(--pwa-accent);font-size:25px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(83,230,157,.24)}.mandcast-pwa-prompt__copy{padding-left:18px}.mandcast-pwa-prompt__copy strong{display:block;font-size:17px;line-height:1.5}.mandcast-pwa-prompt__copy p{margin:5px 0 0;color:#aaa;font-size:12px;line-height:1.9}.mandcast-pwa-prompt__copy p.is-highlighted{color:#fff}.mandcast-pwa-prompt__actions{grid-column:1/-1;display:flex;gap:8px}.mandcast-pwa-prompt__actions button{min-height:43px;padding:0 20px;border-radius:14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.mandcast-pwa-install{flex:1;border:0;background:var(--pwa-accent);color:#07110c}.mandcast-pwa-later{border:1px solid rgba(255,255,255,.13);background:#151816;color:#bbb}@media(max-width:680px){.mandcast-pwa-prompt{right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:calc(100vw - 24px);padding:16px;border-radius:21px}.mandcast-pwa-prompt__icon{width:52px;height:52px}.mandcast-pwa-prompt__copy strong{font-size:15px}}@media(prefers-reduced-motion:reduce){.mandcast-pwa-prompt{transition:none}}
.mandcast-pwa-layer{position:fixed;inset:0;z-index:1000050;pointer-events:none;display:flex;align-items:flex-end;padding:22px;direction:rtl;opacity:0;visibility:hidden;transition:.35s ease}.mandcast-pwa-layer.has-overlay{background:rgba(0,0,0,.28);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.mandcast-pwa-layer.is-visible{opacity:1;visibility:visible;pointer-events:auto}.mandcast-pwa-layer .mandcast-pwa-prompt{position:relative;right:auto;bottom:auto;width:min(480px,calc(100vw - 44px));grid-template-columns:82px 1fr;padding:22px;border-radius:28px;background:linear-gradient(145deg,rgba(20,24,22,.98),rgba(4,6,5,.98));box-shadow:0 32px 100px rgba(0,0,0,.55);overflow:hidden}.mandcast-pwa-layer.is-visible .mandcast-pwa-prompt{opacity:1;visibility:visible;transform:none}.mandcast-pwa-prompt.is-bottom-left{margin-right:auto}.mandcast-pwa-prompt.is-center{margin:auto}.mandcast-pwa-prompt__icon{width:82px;height:82px;padding:0;overflow:hidden}.mandcast-pwa-prompt__icon img{width:100%;height:100%;object-fit:cover}.mandcast-pwa-prompt__eyebrow{display:block;margin-bottom:4px;color:var(--pwa-accent);font-size:10px;font-weight:800}.mandcast-pwa-prompt__copy strong{font-size:19px}.mandcast-pwa-prompt__actions button{min-height:47px;transition:.25s ease}.mandcast-pwa-install:hover{transform:translateY(-2px);filter:brightness(1.06)}
@media(max-width:780px){.mandcast-pwa-layer{padding:12px 12px calc(92px + env(safe-area-inset-bottom))}.mandcast-pwa-layer .mandcast-pwa-prompt{width:100%;grid-template-columns:64px 1fr;padding:18px;border-radius:24px}.mandcast-pwa-prompt__icon{width:64px;height:64px}.mandcast-pwa-prompt__copy strong{font-size:16px}}

/* Installation prompt controls: clear focus and deliberate, touch-safe motion. */
.mandcast-pwa-layer .mandcast-pwa-prompt__close{
	width:34px;height:34px;padding:0;display:grid;place-items:center;
	border:1px solid transparent;border-radius:50%;line-height:1;
	color:#aeb7b1;background:rgba(255,255,255,.04);
	transition:color .22s ease,background-color .22s ease,border-color .22s ease,transform .3s cubic-bezier(.2,.8,.2,1);
}
.mandcast-pwa-layer .mandcast-pwa-later{
	transition:color .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .3s ease,transform .3s cubic-bezier(.2,.8,.2,1);
}
@media(hover:hover){
	.mandcast-pwa-layer .mandcast-pwa-prompt__close:hover{
		color:var(--pwa-accent,#57e49b);background:rgba(87,228,155,.12);
		border-color:rgba(87,228,155,.3);transform:rotate(90deg) scale(1.06);
	}
	.mandcast-pwa-layer .mandcast-pwa-later:hover{
		color:#fff;background:#202a24;border-color:rgba(87,228,155,.48);
		box-shadow:0 5px 18px rgba(87,228,155,.1);transform:translateY(-2px);
	}
}
.mandcast-pwa-layer .mandcast-pwa-prompt__close:focus-visible,
.mandcast-pwa-layer .mandcast-pwa-later:focus-visible{
	color:#fff;border-color:var(--pwa-accent,#57e49b);outline:2px solid var(--pwa-accent,#57e49b);outline-offset:3px;
}
.mandcast-pwa-layer .mandcast-pwa-prompt__close:active{color:#fff;transform:scale(.92)}
.mandcast-pwa-layer .mandcast-pwa-later:active{color:#fff;transform:scale(.97)}
@media(prefers-reduced-motion:reduce){
	.mandcast-pwa-layer .mandcast-pwa-prompt__close,
	.mandcast-pwa-layer .mandcast-pwa-later{transition:none!important}
}
