header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 16px 0 16px;
  box-sizing: border-box;
  z-index: 400;
  flex-shrink: 0;
  color: #000;
  transition: padding-right 0.3s ease;
}

body.is-item-expanded header,
body.is-modal-open header {
  padding-right: 32px;
}

header p {
  margin: 0;
}

.left-header, .center-header {
  text-align: left;
}

.right-header {
  text-align: left;
}

.right-header p {
  text-align: right;
}

.right-header a {
  text-align: right;
}

.container {
  position: relative;
  width: 100%;
  padding-bottom: 320px;
  overflow: visible;
  z-index: 1;
  isolation: isolate;
  background-color: #fff;
  flex: 1;
  min-height: 0;
}

.audio-player {
  position: fixed;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  z-index: 600;
  pointer-events: none;
}

.audio-player audio {
  display: none;
}

.audio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  width: 26px;
  cursor: none;
  pointer-events: auto;
  background: transparent;
}

.audio-visualizer__bar {
  width: 2px;
  height: 2px;
  background: #000;
  flex: 0 0 2px;
  transition: height 0.15s ease-out;
  mix-blend-mode: difference;
}

.theme-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: black;
  border: none;
  cursor: none;
  z-index: 700;
  pointer-events: auto;
  transition: transform 400ms ease;
  transform: scale(1);
  mix-blend-mode: difference;
}

.theme-toggle:hover {
  transform: scale(2);
}

body.is-dark-mode img,
body.is-dark-mode video {
  filter: invert(1) hue-rotate(180deg) !important;
}