.amb-media-inspector{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#11141cf7;color:#fff2e5;overflow:hidden}
.amb-media-inspector::backdrop{background:#090915e8}
.amb-media-inspector[open]{display:flex;flex-direction:column}
.amb-media-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:52px;padding:.35rem .6rem;background:#243644;border-bottom:1px solid #9ebbb8;font:700 .78rem Arial,sans-serif}
.amb-media-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.amb-media-tools{display:flex;align-items:center;gap:.25rem;flex:none}
.amb-media-tools button,.amb-media-tools a{box-sizing:border-box;min-width:36px;min-height:36px;padding:.4rem .55rem;border:1px solid #9ebbb8;background:#315764;color:#fff2e5;text-decoration:none;font:700 .76rem Arial,sans-serif;cursor:pointer}
.amb-media-tools [hidden]{display:none}
.amb-media-stage{display:grid;place-items:center;flex:1;min-height:0;overflow:hidden;touch-action:none}
.amb-media-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;cursor:grab;user-select:none;touch-action:none}
.amb-media-stage img:active{cursor:grabbing}
.amb-media-stage video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;background:#000}
.amb-media-stage [hidden]{display:none}
@media(max-width:600px){.amb-media-toolbar{flex-wrap:wrap}.amb-media-title{flex-basis:100%}.amb-media-tools{width:100%;justify-content:flex-end}.amb-media-tools button,.amb-media-tools a{min-height:34px}}
