#place-actions { position: fixed; z-index: 12; top: calc(16px + env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 8px; }
#place-actions > a { position: static; margin: 0; opacity: 1; }
#place-actions .place-share-trigger { min-height: 38px; border: 1px solid #ffdc9b99; border-radius: 999px; padding: 8px 14px; background: #211e1beb; color: #ffdfaa; font: 600 13px/1.4 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; cursor: pointer; box-shadow: 0 3px 14px #0003; white-space: nowrap; }
#place-actions .place-share-trigger:hover { background: #423426; }
#place-actions :focus-visible { outline: 2px solid #ffd493; outline-offset: 3px; }
body[data-hud="off"] #place-actions { display: none; }
#place-share-dialog { box-sizing: border-box; position: fixed; inset: 0; margin: auto; width: min(440px, calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 24px 18px; border: 1px solid #e1b87d66; border-radius: 22px; background: #181c29; color: #f3efe6; box-shadow: 0 24px 80px #0009; font: 14px/1.6 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; text-shadow: none; }
#place-share-dialog::backdrop { background: #050811a8; backdrop-filter: blur(4px); }
#place-share-dialog .share-kicker { margin: 0 32px 8px 0; color: #d5af7d; font-size: 12px; }
#place-share-dialog h2 { margin: 0 30px 22px 0; font: 700 24px/1.3 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: #fff0d3; }
#place-share-dialog label { display: block; margin-bottom: 8px; font-size: 12px; color: #b8bac8; }
#place-share-dialog textarea { box-sizing: border-box; display: block; width: 100%; min-height: 170px; max-height: 35vh; resize: vertical; padding: 14px; border: 1px solid #ffffff29; border-radius: 12px; color: #f3efe6; background: #0e121d; font: inherit; font-size: 16px; line-height: 1.7; }
#place-share-dialog .share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#place-share-dialog button { cursor: pointer; min-height: 42px; padding: 9px 14px; border: 1px solid #ffffff33; border-radius: 12px; font: 600 13px/1.4 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: #f3efe6; background: #303749; }
#place-share-dialog button:hover { filter: brightness(1.15); }
#place-share-dialog .share-native { color: #271906; background: #f5bb74; border-color: #f5bb74; }
#place-share-dialog [hidden] { display: none !important; }
#place-share-dialog .share-close { position: absolute; top: 14px; right: 14px; min-width: 36px; min-height: 36px; padding: 2px; background: transparent; font-size: 24px; }
#place-share-dialog :focus-visible { outline: 2px solid #ffd493; outline-offset: 3px; }
#place-share-dialog .share-feedback { min-height: 2.8em; margin: 12px 0 0; font-size: 12px; color: #e7cba4; }
@media (max-width: 700px) {
  #place-actions { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); top: calc(12px + env(safe-area-inset-top)); justify-content: space-between; gap: 6px; }
  #place-actions .place-share-trigger { font-size: 12px; padding: 8px 12px; }
  body.place-share-ready header.title, body.place-share-ready > header { top: calc(72px + env(safe-area-inset-top)); max-width: calc(100vw - 40px); }
}
