.marketing-drive-gallery{border-top:1px solid var(--line);margin-top:28px;padding-top:24px;min-width:0}
.mdg-heading,.mdg-actions,.mdg-tabs,.mdg-pagination,.mdg-pagination>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.mdg-heading,.mdg-pagination{justify-content:space-between}.mdg-heading h3{margin:0 0 8px}.mdg-heading p{margin:0}.mdg-actions,.mdg-tabs{margin:18px 0}
.mdg-settings{border:1px solid var(--line);border-radius:10px;padding:14px;margin:18px 0}.mdg-settings summary{cursor:pointer;font-weight:600}.mdg-settings .check-label{margin-top:16px}.mdg-settings>a{display:inline-block;margin-right:16px}.mdg-settings>.button{margin-top:10px}
.mdg-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:18px}.mdg-media figure{margin:0;min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px}.mdg-media img,.mdg-media video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--soft);border-radius:7px}.mdg-media figcaption{overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:10px 0}.mdg-media figure>a:last-child{font-size:12px}.mdg-pagination{margin-top:20px;font-size:12px}.mdg-tabs .button span{font-size:11px;margin-left:6px}
@media(max-width:600px){.mdg-media{grid-template-columns:minmax(0,1fr)}.mdg-actions>.button{flex:1 1 180px}.mdg-settings .check-label{align-items:flex-start}.mdg-heading>div{min-width:0;flex:1 1 180px}}
.mdg-media figure{position:relative}.mdg-photo-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:zoom-in;font:inherit}.mdg-photo-open::after{content:"";position:absolute;inset:0;border-radius:10px}.mdg-photo-open:focus-visible{outline:none}.mdg-photo-open:focus-visible::after{outline:3px solid var(--ink);outline-offset:2px}.mdg-photo-open>span{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:10px 0}.mdg-download{position:relative;z-index:1}
.mdg-lightbox{width:min(1100px,calc(100vw - 24px));height:min(850px,calc(100dvh - 24px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--paper,#fff);color:var(--ink);overflow:hidden}.mdg-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.mdg-lightbox::backdrop{background:rgba(19,18,16,.82)}.mdg-lb-header{display:flex;align-items:center;gap:12px;padding:12px 16px}.mdg-lb-header strong{flex:1}.mdg-lb-header [role=status]{font-size:13px;white-space:nowrap}.mdg-lb-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;background:#1c1c1c;padding:8px}.mdg-lb-stage img{display:block;width:100%;height:100%;object-fit:contain}.mdg-lb-stage img[hidden],.mdg-lb-stage [hidden]{display:none}.mdg-lb-stage .notice{position:absolute;inset:auto 16px;max-height:80%;overflow:auto}.mdg-lb-footer{padding:12px 16px}.mdg-lb-footer p{margin:0 0 12px;overflow-wrap:anywhere;font-size:12px;max-height:3.2em;overflow:auto}.mdg-lb-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.mdg-lb-actions .button{min-height:44px}.mdg-lightbox a[hidden]{display:none}@media(max-width:480px){.mdg-lb-header,.mdg-lb-footer{padding:10px}.mdg-lb-actions .button{padding:10px;font-size:12px}.mdg-lb-header strong{font-size:14px}}

.mdg-media figure{display:flex;flex-direction:column;background:#202020;border-color:#3b3b3b;padding:10px;gap:0}
.mdg-media img,.mdg-media video{background:#191919}
.mdg-media .gallery-file-actions{position:relative;z-index:1;display:flex;align-items:center;gap:4px;border-top:1px solid #393939;margin-top:auto;padding-top:8px}
.mdg-media .gallery-file-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:36px;padding:7px 6px;background:transparent;border-color:transparent;color:#d4d1c8;font-size:11px;white-space:nowrap;margin:0;width:auto;box-shadow:none}
.mdg-media .gallery-file-actions .button:hover{background:#323232;color:#f3f6fc}
.mdg-media .gallery-file-actions svg{width:16px;height:16px;flex:none}
.mdg-media .gallery-file-actions .mdg-cover{margin-left:auto;color:#eac950}
.mdg-media .gallery-file-actions .mdg-cover:disabled{opacity:1;color:#f5d34c;background:#3b351e}
.mdg-media .gallery-file-actions .gallery-remove{color:#cd9ca5;width:34px;flex:none}
.mdg-media .gallery-file-actions .gallery-remove:hover{color:#ffb0b9;background:#482c37}
.mdg-media .mdg-photo-open>span{color:#e3e1dc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mdg-lightbox{background:#1f1f1f;color:#e5edf8;border-color:#3f3f3f}
.mdg-photo-retry{position:relative;z-index:1;margin:8px 0;align-self:flex-start}
.unified-gallery{margin-top:18px;padding-top:8px;border-top:0}
.unified-gallery .mdg-tabs{margin:8px 0 18px}
.unified-gallery .mdg-photo-open{min-height:0}
.unified-gallery .gallery-video-tile{display:grid;place-items:center;width:100%;aspect-ratio:4/3;border-radius:7px;background:linear-gradient(140deg,#252525,#151515);color:#f1d15a}
.unified-gallery .gallery-video-tile svg{width:56px;height:56px}
.unified-gallery .gallery-video-tile{align-content:center;gap:8px}.unified-gallery .gallery-video-cover-pending{color:#eee5cc;font-size:12px;white-space:normal;text-align:center}
.mdg-lb-stage video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#131313}
.mdg-lb-stage video[hidden]{display:none}

.gallery-selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 18px;padding:12px;border:1px solid #3f3f3f;border-radius:10px;background:#202020}
.gallery-selection-bar [data-gallery-selected-count]{font-size:12px;color:#d5d2ca;margin-right:auto}
.unified-gallery .mdg-media figure{position:relative}
.unified-gallery .mdg-media figure.is-selected{border-color:#eed05a;box-shadow:0 0 0 1px #eed05a}
.gallery-select-file{position:absolute;z-index:3;top:10px;left:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#1b1b1bed;box-shadow:0 2px 9px #0005;cursor:pointer}
.gallery-select-file input{width:18px;height:18px;margin:0;accent-color:#f3cf4f;cursor:pointer}
.gallery-select-file span{display:none}
