.map-toolbox { justify-items: end; }
.map-toolbox .north { width: 36px; }
#share-atlas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid #404357;
  border-radius: 7px;
  background: #171b29f5;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 650;
  pointer-events: auto;
}
#share-atlas:hover { background: #263538; }
#share-dialog { width: min(420px, 92vw); }
#share-dialog label { display: block; margin: 14px 0 7px; }
#share-url {
  width: 100%;
  padding: 10px;
  border: 1px solid #55586a;
  border-radius: 6px;
  background: #111521;
  color: var(--txt);
  font-size: 16px;
}
@media (max-height: 440px) {
  .map-toolbox { gap: 4px; }
  #share-atlas { min-height: 32px; }
}
.share-options {display:grid;gap:8px;margin-top:14px}
.share-options button, .share-point-actions button {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:6px 12px;border:1px solid #54716b;border-radius:7px;
  background:#1d393b;color:#fbf4e7;font-weight:650;
}
.share-options button {justify-content:flex-start;text-align:left}
.share-options #share-drop, .share-point-actions #share-point-send {
  background:#a2e4d5;color:#143333;border-color:#9cd4c7;
}
.share-point-bar {
  position:absolute;z-index:8;left:50%;bottom:72px;transform:translateX(-50%);
  max-width:calc(100% - 24px);width:max-content;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:center;gap:5px 12px;
  padding:7px 9px;border:1px solid #54716b;border-radius:10px;
  background:#102b32f5;color:#fff2e1;box-shadow:0 3px 16px #08171980;
}
#share-point-caption {font-size:13px;font-weight:600;text-align:center}
.share-point-actions {display:flex;align-items:center;gap:6px}
.share-point-bar[hidden], .share-options[hidden], .share-options button[hidden],
.share-point-actions button[hidden], #share-manual[hidden] {display:none}
@media(max-width:760px) {
  .share-point-bar {bottom:62px}
  .share-point-actions button {font-size:13px}
}
