/* The owner's curved outgoing arrow, redrawn as a crisp theme-coloured SVG. */
.museum-share-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 11px;border:1px solid #71838c;border-radius:8px;background:#20333d;color:#eef2f1;font:600 12px/1.2 Arial,sans-serif;cursor:pointer;touch-action:manipulation;vertical-align:middle;flex-shrink:0}
.museum-share-button svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;flex:none}
.museum-share-button:hover{background:#37505b;border-color:#b5c5ca}.museum-share-button:focus-visible{outline:2px solid #edcd8b;outline-offset:3px}.museum-share-button[aria-busy=true]{opacity:.65}
.site-label>.museum-share-button.is-compact{position:relative;flex:none;min-width:30px;min-height:30px;width:30px;height:30px;padding:5px;margin:2px 4px 2px 0;border:0;background:transparent;color:inherit}
.museum-share-button.is-compact>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.detail-card>.museum-share-button{position:absolute;top:5px;right:35px;width:30px;height:30px;min-height:30px;padding:5px;background:transparent;border:0;color:inherit}.detail-card.is-selected:not(.is-collapsed) .detail-head{padding-right:55px}
.site-label.is-collapsed>.museum-share-button,.detail-card.is-collapsed>.museum-share-button{display:none}
#info>#infoShare{margin:8px 8px 8px 0}#info #infoShare>svg{width:18px;height:18px}
#energiaLaunchPanel>.museum-share-button,#buranLaunchPanel>.museum-share-button,#buranLossPanel>.museum-share-button,#buranLandingPanel>.museum-share-button,#puaLoadingPanel>.museum-share-button,#soyuzLaunchPanel>.museum-share-button{margin-top:8px;min-height:36px}
#arrivalPanel>.museum-share-button,#nextLaunchPanel>.museum-share-button{margin:7px 10px;min-height:30px;padding:5px 9px;font-size:11px}
#complexHistoryPanel>.museum-share-button{position:absolute;right:56px;top:12px;z-index:2}#complexHistoryPanel .complex-history__identity{padding-right:125px}
.intro>.museum-share-button{margin:6px 0 12px;min-height:40px}.encyclopedia-card-wrap{position:relative;min-width:0}.encyclopedia-card-wrap>.card{width:100%;height:100%}.encyclopedia-card-wrap>.museum-share-button{position:absolute;right:10px;bottom:8px;min-height:30px;font-size:11px}#detail>.museum-share-button{margin:6px 0 12px}
.museum-share-toast{position:fixed;left:50%;bottom:80px;transform:translateX(-50%);z-index:100000;max-width:calc(100vw - 32px);box-sizing:border-box;padding:12px 18px;border:1px solid #8ca3ad;border-radius:9px;background:#172b34;color:#fff;font:14px/1.4 Arial,sans-serif;pointer-events:none;box-shadow:0 5px 22px #0007}.museum-share-toast[hidden]{display:none}
.museum-share-dialog{max-width:min(460px,calc(100vw - 32px));box-sizing:border-box;padding:22px;border:1px solid #83969f;border-radius:12px;background:#172b34;color:#fff;font:14px/1.5 Arial,sans-serif}.museum-share-dialog::backdrop{background:#0008}.museum-share-dialog h2{margin:0 0 10px}.museum-share-dialog input{width:100%;box-sizing:border-box;padding:10px;color:#fff;background:#0d1b22;border:1px solid #8099a5;border-radius:5px}.museum-share-dialog button{margin-top:14px;padding:9px 16px}
@media(pointer:coarse){.museum-share-button{min-height:44px}.site-label>.museum-share-button.is-compact{width:36px;height:36px;min-height:36px}}
@media(max-width:600px){#complexHistoryPanel>.museum-share-button{position:static;margin:8px 12px}#complexHistoryPanel .complex-history__identity{padding-right:0}.museum-share-toast{bottom:70px}}
/* Sharing is an expanded-card action, never a compact map label or dock action.
   display:none removes both pointer and keyboard access without per-frame JS. */
.site-label>.museum-share-button,
.detail-card:not(.is-selected)>.museum-share-button,
.detail-card.is-collapsed>.museum-share-button,
#arrivalPanel>.museum-share-button,
#nextLaunchPanel>.museum-share-button,
.encyclopedia-card-wrap>.museum-share-button{display:none}
