/* OLIMP v0.2.16 — touch-friendly selection; no changes to the gallery layout. */
.oa-selectable {position:relative;}
.oa-selectable.oa-selected {outline:2px solid #ed1b2f!important;outline-offset:-2px; background-color:#fff7f7;}
.oa-select-check {position:absolute;z-index:12;top:8px;right:8px;display:flex;align-items:center;justify-content:center;
 width:30px;height:30px;background:#fff;border:1px solid #bbc2c4;border-radius:3px;cursor:pointer;
 box-shadow:0 1px 4px #0002;user-select:none;}
.oa-select-check input {appearance:none;-webkit-appearance:none;position:absolute;inset:0;margin:0;cursor:pointer;border:0;}
.oa-select-check span {font:800 17px/1 Arial,sans-serif;color:transparent;pointer-events:none;}
.oa-select-check:has(input:checked){background:#e91d2d;border-color:#e91d2d;}
.oa-select-check:has(input:checked) span {color:#fff;}
.oa-select-check:focus-within{outline:3px solid #222;outline-offset:2px;}
.archive-gallery-tile .oa-select-check,.oa-media-tile .oa-select-check{top:7px;right:7px;}
.browse-item .oa-select-check{top:50%;right:auto;left:8px;transform:translateY(-50%);}
.browse-item.oa-selectable{padding-left:46px;}
.files-grid > .file-card .oa-select-check{top:6px;right:6px;}
.oa-select-all {font:700 10px/1.25 Unbounded,Arial,sans-serif;color:#15191b;background:#f6f6f6;
 border:1px solid #d8dddf;padding:9px 12px;cursor:pointer;margin-left:auto;}
.oa-select-all:hover{background:#e9ecee}
.oa-select-all:focus-visible{outline:2px solid #ed1b2f;outline-offset:2px}
.oa-selection-toolbar[hidden]{display:none!important}
.oa-selection-toolbar {position:fixed;z-index:2000;bottom:18px;left:50%;transform:translateX(-50%);
 width:min(96vw,740px);background:#101416;color:#fff;border:1px solid #4b5154;border-bottom:3px solid #eb1c2d;
 box-shadow:0 8px 32px #0005;padding:12px 16px;display:flex;align-items:center;gap:14px;justify-content:space-between;}
.oa-selection-count{font:700 13px/1.4 Unbounded,Arial,sans-serif;white-space:nowrap}
.oa-selection-toolbar button{cursor:pointer;border:1px solid #6f7578;padding:11px 14px;background:transparent;color:#fff;
 font:700 10px/1.35 Unbounded,Arial,sans-serif;white-space:nowrap}
.oa-selection-toolbar .oa-selection-download{border-color:#e91d2d;background:#e91d2d;color:white;}
.oa-selection-toolbar button:focus-visible{outline:3px solid #fff;outline-offset:2px;}
.oa-selection-toolbar button:disabled{opacity:.5;cursor:default}
@media(max-width:670px){.oa-selection-toolbar{bottom:8px;padding:8px;gap:6px;flex-wrap:wrap}
 .oa-selection-count{flex:1 1 100%;font-size:11px}.oa-selection-toolbar button{flex:1 1 auto;font-size:9px;padding:9px 6px}
 .oa-select-check{width:32px;height:32px}}

.oa-selection-toolbar .oa-selection-delete{border:1px solid #f04452;background:#af1522;color:#fff}
.oa-selection-toolbar .oa-selection-delete:hover{background:#d21b2b}
