/* Close controls stay in the scrollport; existing close handlers are retained. */
dialog .dialog-close,.detail .detail-close,.detail #close-review,.notice-preview-panel .notice-preview-close{
 position:sticky;top:0;right:auto;float:right;z-index:20;
 width:48px;min-width:48px;height:48px;min-height:48px;padding:0;margin:0 0 8px 12px;
 border:1px solid #cad5d0;border-radius:10px;background:#fff;color:#203b36;
 font-size:28px;line-height:46px;text-align:center;cursor:pointer;box-shadow:0 2px 8px #13232b24;
}
.notice-preview-panel .notice-preview-close,.detail #close-review{width:64px;font-size:16px}
#board-editor .editor-heading,#promotion-dialog .dialog-heading{
 position:sticky;top:0;z-index:20;background:#fff;padding:4px 0;margin-bottom:12px;
}
#board-editor #editor-close,#promotion-dialog .dialog-heading .close-promotion{
 flex:none;width:48px;min-width:48px;height:48px;padding:0;border:1px solid #cad5d0;
 border-radius:10px;background:#fff;color:#203b36;font-size:28px;line-height:46px;cursor:pointer;
}
.leaflet-container a.leaflet-popup-close-button{width:48px;height:48px;font-size:28px;line-height:48px;color:#203b36;background:#fff;border-radius:10px;z-index:2}
.leaflet-popup-content{margin-right:20px}
.leaflet-container a.leaflet-popup-close-button{top:8px;right:20px;width:44px;height:44px;line-height:44px;background:transparent;border-radius:6px}
.leaflet-popup-content>div>strong:first-child,.leaflet-popup-content>div>h2:first-child{display:block;padding-right:44px;min-height:30px;box-sizing:border-box}
.dialog-close:focus-visible,.detail-close:focus-visible,.notice-preview-close:focus-visible,#editor-close:focus-visible,.close-promotion:focus-visible,.leaflet-popup-close-button:focus-visible{outline:3px solid #176754;outline-offset:2px}

#sidebar #dismiss-list{position:sticky;top:0;z-index:20;min-height:48px;background:#fff;border:1px solid #cad5d0;border-radius:10px}
