unit-number:not([hasseparator]) > number-value + number-unit {
  margin-left: .2em;
}

unit-number[type=duration] > number-value + number-unit {
  margin-left: .1em;
  vertical-align: super;
  font-size: 80%;
}

unit-number[type=lat] > number-value + number-unit,
unit-number[type=lon] > number-value + number-unit {
  margin-left: 0;
}

unit-number > number-unit + number-value {
  margin-left: .2em;
}

unit-number[type=lat] > number-sign,
unit-number[type=lon] > number-sign {
  text-transform: lowercase;
  font-variant: small-caps;
}

/*

Per CC0 <https://creativecommons.org/publicdomain/zero/1.0/>, to the
extent possible under law, the author has waived all copyright and
related or neighboring rights to this work.

*/
image-editor:not([hidden]) {
  display: inline-block;
  position: relative;
}

image-editor > image-layer:not([hidden]) {
  display: inline-block;
}

image-editor > image-layer {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
}

image-editor > image-layer[useplaceholderui].placeholder {
  cursor: pointer;
}

image-editor > image-layer[useplaceholderui].placeholder::before {
  position: absolute;
  display: block;
  content: url(noimage.svg);
  width: 100%;
  height: 100%;
}

image-editor > image-layer[movable] {
  cursor: move;
}

image-editor > image-layer.drop-target {
  --background-box-color: rgb(153, 153, 243);
  background-color: transparent;
  background-image:
    linear-gradient(45deg, var(--background-box-color) 25%, transparent 25%, transparent 75%, var(--background-box-color) 75%, var(--background-box-color)),
    linear-gradient(45deg, var(--background-box-color) 25%, transparent 25%, transparent 75%, var(--background-box-color) 75%, var(--background-box-color));
  background-position: 0px 0px, 30px 30px;
  background-size: 60px 60px;
}

image-editor > image-layer > video.capture {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  background: white;
  color: black;
}

image-editor > image-layer > canvas {
  display: block;
  vertical-align: bottom;
}

/*

Per CC0 <https://creativecommons.org/publicdomain/zero/1.0/>, to the
extent possible under law, the author has waived all copyright and
related or neighboring rights to this work.

*/
