/* VELYON Email — "Signal" push prompt. Uses theme tokens where present. */
.vmp-orb, .vmp-overlay, .vmp-card { --vmp-accent: var(--velyon-accent, var(--velyon-primary, #6d5efc)); --vmp-bg: #0d0f1a; --vmp-ink: #f4f5ff; --vmp-mute: rgba(244, 245, 255, .62); box-sizing: border-box; }
.vmp-orb *, .vmp-card * { box-sizing: border-box; }

/* Orb — below the theme's bar (95) and modals (301+) */
.vmp-orb { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 54px; height: 54px; border: 0; padding: 0; background: none; cursor: pointer; opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1); -webkit-tap-highlight-color: transparent; }
.vmp-orb.is-in { opacity: 1; transform: none; }
html.is-standalone .vmp-orb { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.vmp-core { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #fff3 0, transparent 45%), var(--vmp-accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.vmp-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--vmp-accent); opacity: 0; animation: vmp-ping 3.2s ease-out infinite; }
.vmp-ring2 { animation-delay: 1.05s; }
.vmp-ring3 { animation-delay: 2.1s; }
@keyframes vmp-ping { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2.3); opacity: 0; } }
.vmp-tip { position: absolute; left: 66px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--vmp-bg); color: var(--vmp-ink); font: 600 13px/1 system-ui, sans-serif; padding: 9px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: opacity .4s, transform .4s; }
.vmp-tip.is-hide { opacity: 0; transform: translate(-6px, -50%); pointer-events: none; }

/* Card */
.vmp-overlay { position: fixed; inset: 0; z-index: 330; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(6, 8, 16, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background .3s, backdrop-filter .3s; }
.vmp-overlay[hidden] { display: none; }
.vmp-overlay.is-open { background: rgba(6, 8, 16, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vmp-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; color: var(--vmp-ink); background: linear-gradient(180deg, #151833 0, var(--vmp-bg) 60%); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 26px 22px calc(22px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); font-family: var(--velyon-font, system-ui, -apple-system, sans-serif); transform: translateY(40px) scale(.97); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.1, .3, 1), opacity .3s; }
.vmp-overlay.is-open .vmp-card { transform: none; opacity: 1; }
@media (min-width: 640px) { .vmp-overlay { align-items: center; } }
.vmp-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--vmp-ink); font-size: 22px; line-height: 1; cursor: pointer; }

.vmp-head { position: relative; height: 84px; display: grid; place-items: center; margin-bottom: 8px; }
.vmp-logo { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.vmp-wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.vmp-wave i { width: 4px; border-radius: 3px; background: var(--vmp-accent); opacity: .85; height: 14px; animation: vmp-bar 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes vmp-bar { 0%, 100% { height: 8px; opacity: .35; } 50% { height: 56px; opacity: .95; } }

.vmp-title { margin: 6px 0 6px; font-size: 22px; line-height: 1.2; font-weight: 750; text-align: center; letter-spacing: -.01em; color: var(--vmp-ink); }
.vmp-sub { margin: 0 auto 16px; max-width: 34ch; text-align: center; font-size: 14px; line-height: 1.5; color: var(--vmp-mute); }
.vmp-sub:empty { display: none; }
.vmp-label { font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--vmp-mute); margin: 4px 2px 10px; }

.vmp-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.vmp-chip { display: flex; align-items: center; gap: 9px; text-align: left; padding: 11px 12px; min-height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: var(--vmp-ink); font: 600 13px/1.25 inherit; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.vmp-chip:active { transform: scale(.97); }
.vmp-chip:first-child { grid-column: 1 / -1; }
.vmp-num { font: 700 11px/1 ui-monospace, monospace; color: var(--vmp-mute); min-width: 20px; }
.vmp-chip.is-on { background: color-mix(in srgb, var(--vmp-accent) 28%, transparent); border-color: var(--vmp-accent); }
.vmp-chip.is-on .vmp-num { color: var(--vmp-ink); }
.vmp-chip.is-on::after { content: "✓"; margin-left: auto; font-size: 13px; }

.vmp-status { min-height: 18px; margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--vmp-mute); }
.vmp-cta { display: block; width: 100%; min-height: 50px; border: 0; border-radius: 16px; cursor: pointer; background: var(--vmp-accent); color: #fff; font: 700 15px/1 inherit; box-shadow: 0 10px 26px color-mix(in srgb, var(--vmp-accent) 45%, transparent); }
.vmp-cta:disabled { opacity: .6; cursor: progress; }
.vmp-dismiss { display: block; width: 100%; margin-top: 8px; min-height: 44px; border: 0; background: none; color: var(--vmp-mute); font: 600 13px/1 inherit; cursor: pointer; }
.vmp-fine { margin: 6px 0 0; text-align: center; font-size: 11.5px; color: var(--vmp-mute); opacity: .8; }
.vmp-orb:focus-visible, .vmp-card button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.vmail-push-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--velyon-accent, #6d5efc); background: transparent; color: inherit; font-weight: 600; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	.vmp-ring, .vmp-wave i { animation: none; }
	.vmp-card, .vmp-orb, .vmp-overlay { transition: none; }
}
