/* Keep native buttons and decorative spans on the same geometry. */
html .archive-window-control {
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  align-self: center;
  font-size: 0;
  line-height: 0;
  border: 2px solid;
  border-color: #757575 #292929 #292929 #757575;
  background: #484848;
  color: #dedede;
  box-shadow: none;
}
html[data-theme="light"] .archive-window-control {
  border-color: #ffffff #7c7c7c #7c7c7c #ffffff;
  background: #d2d2d2;
  color: #656565;
}
html .archive-window-control:nth-child(n)::before,
html .archive-window-control:nth-child(n)::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 0;
  width: 8px;
  height: 2px;
  border: 0;
  background: currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
html .archive-window-control:nth-child(-n+2)::after { content: none; }
html .archive-window-control:nth-child(2)::before {
  height: 8px;
  border: 1px solid currentColor;
  background: transparent;
}
html .archive-window-control:nth-child(3)::before {
  width: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
}
html .archive-window-control:nth-child(3)::after {
  width: 10px;
  transform: translate(-50%, -50%) rotate(-45deg);
}
