.event-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 15px;
  background: #eee8e0;
}

.event-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-format-tag {
  gap: 6px;
}

.event-format-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

#eventShareDialog {
  width: min(560px, calc(100% - 28px));
  max-height: min(88dvh, 760px);
  margin: auto;
  overflow: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

#eventShareDialog::backdrop {
  background: rgba(14, 10, 12, .66);
  backdrop-filter: blur(3px);
}

.event-share-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.event-share-panel h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.event-share-message {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.event-share-cover {
  display: block;
  width: 100%;
  max-height: 290px;
  aspect-ratio: 1200 / 630;
  border-radius: 15px;
  background: #eee8e0;
  object-fit: cover;
}

.event-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.event-share-actions .btn {
  flex: 1 1 150px;
}

.event-share-manual-copy {
  width: 100%;
  min-height: 72px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  resize: vertical;
}

.event-share-status {
  min-height: 1.25em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 650px) {
  .event-share-panel {
    gap: 13px;
    padding: 18px;
  }
}
