/*
 * The Share menu and its "Link copied" note, one for every page this plugin
 * draws (article ETP-2.5, author ETA-2.9). Moved out of article.css in 0.3.17
 * so the author page uses the same menu rather than a copy.
 */
/* Share menu: a disclosure; the script closes it on outside click and Escape. */
.edct-share { position: relative; display: inline-block; }
.edct-share > summary { list-style: none; }
.edct-share > summary::-webkit-details-marker { display: none; }
html body .edct-share .edct-menu {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
	width: 208px; margin: 0; padding: 4px; list-style: none;
	background: #fff; border: 1px solid var(--edct-border); border-radius: var(--edct-radius-md); box-shadow: var(--edct-shadow-md);
}
.edct-share--wide .edct-menu { left: 0; right: auto; bottom: calc(100% + 6px); top: auto; }
.edct-menu li { margin: 0; padding: 0; }
.edct-menu li[hidden] { display: none; }
html body .edct-share .edct-menu a, html body .edct-share .edct-menu button {
	display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 6px 8px;
	border: 0; border-radius: 6px; background: none; color: var(--edct-fg);
	font: 400 var(--edct-text-14)/1.4 var(--edct-font-sans); text-align: left; text-transform: none; cursor: pointer;
}
html body .edct-share .edct-menu a:hover, html body .edct-share .edct-menu button:hover { background: var(--edct-muted); color: var(--edct-fg); }
.edct-menu .edct-i { width: 16px; height: 16px; }
.edct-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100000; padding: 8px 14px; border-radius: var(--edct-radius-md); background: var(--edct-fg); color: #fff; font: 500 var(--edct-text-14)/1.4 var(--edct-font-sans); box-shadow: var(--edct-shadow-md); }
