.me-event-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.8); z-index: 99990;
  backdrop-filter: blur(6px);
  animation: mewbfadein .2s ease;
}
.me-event-overlay.open { display: flex; align-items: center; justify-content: center; }
.me-event-modal {
  position: relative;
  width: 90vw; max-width: 960px;
  height: 90vh; max-height: 960px;
  background: var(--me-bg2);
  border: 1px solid rgba(155,77,255,0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 60px rgba(0,0,0,0.9), 0 0 40px rgba(155,77,255,0.25);
  display: flex; flex-direction: column;
  animation: mewbslidein .25s ease;
}
.me-event-header {
  background: linear-gradient(135deg, rgba(155,77,255,0.2), rgba(224,64,251,0.1));
  border-bottom: 1px solid rgba(155,77,255,0.2);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.me-event-header__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--me-purple), var(--me-pink));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px var(--me-purple-glow); flex-shrink: 0;
}
.me-event-header__icon svg { width: 18px; height: 18px; color: #fff; }
.me-event-header__title { font-size: 14px; font-weight: 800; color: #fff; }
.me-event-header__sub { font-size: 10px; color: var(--me-purple); letter-spacing: 1px; }
.me-event-close {
  margin-left: auto; background: none; border: none;
  color: #555; cursor: pointer; padding: 6px; border-radius: 8px;
  transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.me-event-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.me-event-close svg { width: 18px; height: 18px; }
.me-event-iframe {
  flex: 1; width: 100%; border: none; background: var(--me-bg);
}
.me-event-loading {
  position: absolute; inset: 60px 0 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--me-muted); font-size: 13px;
}
.me-event-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(155,77,255,0.2);
  border-top-color: var(--me-purple);
  animation: mewbspin .8s linear infinite;
}
.me-event-footer {
  flex-shrink: 0;
  padding: 12px 20px;
  background: rgba(7,2,18,0.8);
  border-top: 1px solid rgba(155,77,255,0.2);
  display: flex; justify-content: center;
}
.me-event-close-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--me-purple), var(--me-pink));
  color: #fff; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 11px 32px; cursor: pointer;
  box-shadow: 0 0 20px rgba(155,77,255,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: all .2s;
}
.me-event-close-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(155,77,255,0.6), 0 0 60px rgba(224,64,251,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}
.me-event-close-btn svg { width: 16px; height: 16px; }
@media(max-width:600px) {
  .me-event-modal { width: 100vw; height: 100vh; max-width: 100%; max-height: 100%; border-radius: 0; }
}
