Click to access the login or register cheese
',
' ',
''
].join('\n');
// --- Styles ---
var style = document.createElement('style');
style.textContent = [
'#aviet-email-overlay {',
' position: fixed; top: 0; left: 0; right: 0; bottom: 0;',
' background: rgba(10, 20, 40, 0.75);',
' backdrop-filter: blur(6px);',
' -webkit-backdrop-filter: blur(6px);',
' z-index: 999999;',
' display: flex; align-items: center; justify-content: center;',
' opacity: 0;',
' transition: opacity 0.4s ease;',
' padding: 20px;',
'}',
'.aviet-email-card {',
' background: #fff;',
' border-radius: 16px;',
' padding: 48px 40px 36px;',
' max-width: 480px;',
' width: 100%;',
' text-align: center;',
' box-shadow: 0 20px 60px rgba(0,0,0,0.25);',
' transform: translateY(30px) scale(0.95);',
' opacity: 0;',
' animation: avietCardIn 0.5s ease 0.2s forwards;',
'}',
'.aviet-email-icon {',
' margin-bottom: 24px;',
' display: inline-block;',
'}',
'.aviet-pulse-ring {',
' animation: avietPulse 2s ease-in-out infinite;',
' transform-origin: center;',
'}',
'.aviet-envelope-flap {',
' animation: avietFlap 1.5s ease 0.8s;',
' transform-origin: 40px 28px;',
'}',
'.aviet-email-title {',
' font-size: 1.5rem;',
' font-weight: 700;',
' color: #1a1a2e;',
' margin: 0 0 16px;',
' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
'}',
'.aviet-email-text {',
' color: #444;',
' font-size: 1rem;',
' line-height: 1.65;',
' margin: 0 0 10px;',
' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
'}',
'.aviet-email-divider {',
' height: 1px;',
' background: #e8e8e8;',
' margin: 20px 0;',
'}',
'.aviet-email-small {',
' color: #666;',
' font-size: 0.88rem;',
' line-height: 1.5;',
' margin: 0 0 24px;',
' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
'}',
'.aviet-email-small a {',
' color: #023e7d;',
' text-decoration: underline;',
'}',
'.aviet-email-btn {',
' display: inline-block;',
' padding: 14px 36px;',
' background: #023e7d;',
' color: #fff;',
' border: none;',
' border-radius: 8px;',
' font-size: 1rem;',
' font-weight: 600;',
' cursor: pointer;',
' transition: background 0.2s, transform 0.15s;',
' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
'}',
'.aviet-email-btn:hover {',
' background: #012b5c;',
' transform: translateY(-1px);',
'}',
'@keyframes avietCardIn {',
' to { opacity: 1; transform: translateY(0) scale(1); }',
'}',
'@keyframes avietPulse {',
' 0%, 100% { opacity: 0.3; transform: scale(1); }',
' 50% { opacity: 0.6; transform: scale(1.08); }',
'}',
'@keyframes avietFlap {',
' 0%, 100% { transform: rotateX(0deg); }',
' 40% { transform: rotateX(-20deg); }',
'}',
'@media (max-width: 520px) {',
' .aviet-email-card { padding: 32px 24px 28px; }',
' .aviet-email-title { font-size: 1.25rem; }',
'}',
].join('\n');
document.head.appendChild(style);
document.body.appendChild(overlay);
// Trigger fade-in on next frame
requestAnimationFrame(function() {
overlay.style.opacity = '1';
});
// Clean the query param from URL without reload
if (params.get('email_unverified')) {
var cleanUrl = window.location.pathname + window.location.search.replace(/[?&]email_unverified=1/, '').replace(/^\?$/, '');
history.replaceState(null, '', cleanUrl || window.location.pathname);
}
})();