#orderModeBtn[hidden],#galleryOrderNotice[hidden]{display:none!important}
#orderModeBtn[aria-pressed="true"]{border-color:#ddbd89;color:#f5d7a4}
.galleryOrderNotice{padding:11px 15px;margin:8px 0 17px;background:#2b2923;border:1px solid #8a75544d;border-radius:9px;color:#f1d9ac;font-size:12px;line-height:1.45}
.galleryOrderActive .mediaWrap{position:relative}
.galleryOrderActive .mediaCard{cursor:pointer}
.galleryOrderControls{position:absolute;left:6px;top:6px;z-index:12;display:flex;gap:4px;align-items:center;max-width:calc(100% - 12px)}
.galleryOrderControls button{box-sizing:border-box;display:grid;place-items:center;width:36px;height:38px;flex:0 0 36px;padding:0;border-radius:9px;background:#17191def;color:#fff2ce;border:1px solid #dec38eb3;box-shadow:0 2px 11px #0006;cursor:pointer;user-select:none;-webkit-user-select:none;font-size:22px;font-weight:bold;line-height:1}
.galleryOrderControls .galleryOrderHandle{touch-action:none;cursor:grab;font-size:24px}
.galleryOrderControls .galleryOrderHandle:active{cursor:grabbing}
.galleryOrderDragging{opacity:.48}
.galleryOrderPicked{outline:4px solid #e7c27f;outline-offset:-4px}
.galleryOrderDropBefore{outline:3px solid #e3bf7e;outline-offset:-3px}
.galleryOrderDropAfter{outline:3px dashed #e3bf7e;outline-offset:-3px}
.galleryOrderGhost{position:fixed;top:0;left:0;z-index:10000;pointer-events:none;padding:10px;border-radius:8px;background:#14171fe6;border:1px solid #f4cb7e;color:white;font-weight:600;white-space:nowrap;box-shadow:0 6px 24px #0008}
@media(max-width:680px){.galleryOrderControls button{width:37px;height:40px;flex-basis:37px}.galleryOrderNotice{font-size:11px;padding:9px 11px}}
/* v11.10: native long-press menu off only while administrator reorders. */
.galleryOrderActive .mediaWrap,
.galleryOrderActive .mediaWrap *,
.galleryOrderActive .dateHeading {
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.galleryOrderActive .mediaWrap{touch-action:none;}
.galleryOrderActive .mediaWrap img{pointer-events:none;-webkit-user-drag:none;user-drag:none;}
.galleryOrderActive .dateHeading{cursor:pointer;}
.galleryOrderDropDate{outline:3px solid #e7c27f;outline-offset:2px;background:#453d2b88;border-radius:7px;}
