/* LandDU share menu (share-restore, 28 Oct): one menu for the listing, job and event singles. Built by assets/js/share-menu.js. */
.ld-shm { --shm-ink: #0d1224; --shm-mut: #667089; --shm-hov: #f3f4f7; position: fixed; z-index: 100001; width: 248px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(13,18,36,.07), 0 2px 6px -2px rgba(13,18,36,.08), 0 22px 48px -14px rgba(13,18,36,.30); font-family: var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif); opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top left; transition: opacity 160ms cubic-bezier(.2,0,0,1), transform 200ms cubic-bezier(.2,0,0,1); box-sizing: border-box; }
.ld-shm.is-up { transform: translateY(6px) scale(.97); transform-origin: bottom left; }
.ld-shm.is-on { opacity: 1; transform: none; }
.ld-shm__h { display: grid; gap: 2px; padding: 10px 12px 10px; margin: 0 0 4px; border-bottom: 1px solid #eef0f4; }
.ld-shm__h strong { font: 600 15px/1.25 var(--ld-heading, inherit); color: var(--shm-ink); letter-spacing: -.01em; }
.ld-shm__h span { font: 400 13px/1.3 inherit; color: var(--shm-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .ld-shm .ld-shm__i { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; min-height: 0; margin: 0; padding: 0 12px; border: 0; border-radius: 10px; background: none; box-shadow: none; color: var(--shm-ink); font: 500 15px/1 var(--ld-text, -apple-system, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-align: left; text-decoration: none; cursor: pointer; box-sizing: border-box; transition: background-color 120ms; }
body .ld-shm .ld-shm__i:is(:hover, :focus, :focus-visible, :active) { background: var(--shm-hov) !important; color: var(--shm-ink) !important; outline: none; box-shadow: none !important; text-decoration: none; }
body .ld-shm .ld-shm__i:focus-visible { box-shadow: inset 0 0 0 2px #3d63ff !important; }
body .ld-shm .ld-shm__i:active { transform: scale(.985); }
.ld-shm__i[data-ld-shm="copy"] { margin-bottom: 4px !important; }
.ld-shm__ic { flex: none; width: 20px; height: 20px; background: currentColor; color: var(--shm-mut); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ld-shm__ic--copy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4.5 4.5 0 0 0 6.4 0l3-3a4.5 4.5 0 0 0-6.4-6.4l-1 1'/%3E%3Cpath d='M14 10a4.5 4.5 0 0 0-6.4 0l-3 3a4.5 4.5 0 0 0 6.4 6.4l1-1'/%3E%3C/svg%3E"); }
.ld-shm__ic--wa { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.2-3.9A8.5 8.5 0 1 1 8.4 19z'/%3E%3Cpath d='M9 8.5c.3 2.6 2.4 5.1 5.5 6.2l1.3-1.4-1.9-1-1 .8c-.9-.4-1.9-1.4-2.3-2.3l.8-1-1-1.9z' stroke-width='1.4'/%3E%3C/svg%3E"); }
.ld-shm__ic--fb { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M13 20.5V11c0-1.4.8-2.2 2.2-2.2h1.3M10 13h5.5'/%3E%3C/svg%3E"); }
.ld-shm__ic--in { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='3'/%3E%3Cpath d='M8 10.5v6M8 7.5v.01M12 16.5v-6M12 13c0-1.7 1-2.6 2.3-2.6s2 .9 2 2.6v3.5'/%3E%3C/svg%3E"); }
.ld-shm__ic--x { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 4.5l14 15M19 4.5l-14 15'/%3E%3C/svg%3E"); }
.ld-shm__ic--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.ld-shm__ic--ms { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c-4.8 0-8.5 3.5-8.5 8 0 2.5 1.1 4.6 3 6.1V21l2.9-1.6c.8.2 1.7.3 2.6.3 4.8 0 8.5-3.5 8.5-8s-3.7-8.2-8.5-8.2z'/%3E%3Cpath d='M7.5 13.5l3-3.2 2.4 1.8 3.1-3.2'/%3E%3C/svg%3E"); }
.ld-shm-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100002; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: #0a0e24; color: #fff; font: 600 14px/1.3 var(--ld-text, -apple-system, system-ui, sans-serif); box-shadow: 0 12px 30px -10px rgba(10,14,36,.45); opacity: 0; transform: translate(-50%, 8px); transition: opacity 200ms cubic-bezier(.2,0,0,1), transform 240ms cubic-bezier(.2,0,0,1); pointer-events: none; box-sizing: border-box; }
.ld-shm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* a phone with no share sheet: the menu rises as a sheet from the bottom, easy to reach with a thumb */
@media (max-width: 640px) {
	.ld-shm, .ld-shm.is-up { left: 10px !important; right: 10px; top: auto !important; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 8px; border-radius: 20px; transform: translateY(16px); transform-origin: bottom center; }
	.ld-shm.is-on { transform: none; box-shadow: 0 0 0 100vmax rgba(10,14,36,.38), 0 22px 48px -14px rgba(13,18,36,.30); }
	body .ld-shm .ld-shm__i { height: 48px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ld-shm, .ld-shm-toast { transition: none; } }
