/* HdKD event Share + Add-to-Calendar ([hdkd_event_share]) */
.hdkd-shr { position: relative; display: inline-block; font-family: inherit; }

.hdkd-shr__btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1;
  color: #2A2520; background: #fff;
  border: 1.5px solid rgba(42, 37, 32, 0.14); border-radius: 999px;
  padding: 13px 22px; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.hdkd-shr__btn:hover, .hdkd-shr[data-open] .hdkd-shr__btn { border-color: #1C8D82; color: #1C8D82; }
.hdkd-shr__btn svg { width: 17px; height: 17px; }

/* popover — portaled to <body> and fixed-positioned by JS, so no overflow:hidden
   or transformed ancestor (Uncode cards) can clip it. */
.hdkd-shr__pop {
  position: fixed; top: 0; left: 0; z-index: 99999;
  width: 340px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid rgba(42, 37, 32, 0.12); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 16px 16px 12px;
  animation: hdkd-shr-in 140ms ease;
}
@keyframes hdkd-shr-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hdkd-shr__pop[hidden] { display: none; }

.hdkd-shr__t {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #8a857c; margin: 2px 4px 12px;
}
.hdkd-shr__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 2px; }
.hdkd-shr__grid--3 { grid-template-columns: repeat(3, 1fr); }

.hdkd-shr__tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 4px; border: 0; background: none; border-radius: 11px;
  text-decoration: none; color: #2A2520; cursor: pointer;
  font-family: inherit; transition: background 140ms ease;
}
.hdkd-shr__tile:hover { background: #f4f5f6; }
.hdkd-shr__tile span { font-size: 11.5px; font-weight: 500; color: #4a453f; text-align: center; line-height: 1.2; }

.hdkd-shr__ic { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hdkd-shr__ic svg { width: 20px; height: 20px; }

.hdkd-shr__div { height: 1px; background: rgba(42, 37, 32, 0.12); margin: 14px 4px 12px; }

/* copied-feedback state */
.hdkd-shr__tile.is-copied span { color: #1C8D82; font-weight: 600; }

@media (max-width: 480px) {
  .hdkd-shr__pop { width: min(320px, calc(100vw - 24px)); }
}
