.works-film-hero #header #brand {
  position: absolute;
  inset: 0;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  pointer-events: none;
}
.works-film-hero #header #brand h1.artboard {
  margin: 0;
  font-weight: normal;
  letter-spacing: normal;
}
.works-browse-panel {
  --film-frame-width: clamp(160px, 22vw, 320px);
  --film-frame-height: calc(var(--film-frame-width) * 0.52);
  --film-area-height: clamp(80px, 34%, 256px);
  background: linear-gradient(var(--landscape-sky), var(--landscape-mist) 125%);
}
@media (max-width: 767.99px) {
  .works-browse-panel {
    --film-frame-width: clamp(160px, 47vw, 320px);
    --film-area-height: clamp(80px, 28%, 160px);
  }
}
.wheel-film-mode {
  --wheel-panel-angle: 0deg;
  --wheel-panel-slant: none;
  bottom: var(--film-area-height);
  z-index: 9;
}
.wheel-film-mode .osu-wheel,
.wheel-film-mode .wheel-scroll-surface {
  display: none;
}
.wheel-film-mode .wheel-controls {
  left: 50%;
  right: auto;
  translate: -50% 0;
}
@media (max-width: 767.99px) {
  .wheel-film-mode .wheel-controls {
    width: 100%;
  }
}
.wheel-film-mode .wheel-panel-backdrop {
  left: 0;
}
.works-film-area {
  position: absolute;
  inset: auto 0 0;
  height: var(--film-area-height);
  overflow: clip;
}
.works-film-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.works-film[hidden],
.works-film-empty[hidden] {
  display: none;
}
.works-film-pending .works-film {
  visibility: hidden;
  opacity: 0;
}
.works-film-stock {
  --film-band-height: 64px;
  position: absolute;
  inset-inline: 0;
  height: var(--film-band-height);
  background-color: var(--grey-1);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 64' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H72V64H0Z M25 16h22q5 0 5 5v22q0 5-5 5H25q-5 0-5-5V21q0-5 5-5Z'/%3E%3C/svg%3E") center/72px 100% repeat-x;
  pointer-events: none;
}
@media (max-width: 767.99px) {
  .works-film-stock {
    --film-band-height: 40px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .works-film-stock {
    transition: background-color 240ms ease-in-out;
  }
}
.works-film-stock-top {
  top: 36px;
  z-index: 1;
}
[data-theme="dark"] .works-film-stock {
  background-color: #000;
}
.works-film-body {
  position: relative;
}
.works-film-body > .works-film-stock-bottom {
  bottom: 100%;
}
:is(.works-film-hero,
.works-film-detail) #waves {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.works-film {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: var(--film-frame-height);
  max-height: 100%;
  --film-glow-stroke: 2px;
  --film-glow-blur: 12px;
  --film-glow-focus-inset: 4px;
  color: #fceded;
}
.works-film-canvas,
.works-film-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.works-film-canvas {
  visibility: hidden;
  pointer-events: none;
}
.works-film-scroll {
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.works-film-scroll::-webkit-scrollbar {
  display: none;
}
.works-film-scroll[data-dragging],
.works-film-scroll[data-dragging] a {
  cursor: grabbing;
}
.works-film-scroll:focus-visible {
  outline: none;
}
.works-film-frames {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.works-film-frame {
  flex: none;
  position: relative;
  width: var(--film-frame-width);
  height: var(--film-frame-height);
  padding-inline: calc(var(--film-frame-width) * 0.014);
}
.works-film:not([data-depth]) .works-film-frames {
  align-items: start;
  padding-inline: max(0%, calc((var(--film-scroll-width, var(--film-frame-width)) - var(--film-frame-width)) / 2));
}
.works-film:not([data-depth]) .works-film-frame {
  --film-inset-start: calc(var(--film-frame-width) * 0.014);
  --film-inset-end: calc(var(--film-frame-width) * 0.014);
  --film-photo-inset: calc(var(--film-frame-width) * 0.014);
  padding-inline: calc(var(--film-inset-start) + var(--film-photo-inset)) calc(var(--film-inset-end) + var(--film-photo-inset));
  padding-block: calc(var(--film-frame-height) * 0.134) calc(var(--film-frame-height) * 0.138);
}
.works-film:not([data-depth]) .works-film-frame::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline: var(--film-inset-start) var(--film-inset-end);
  border-radius: 4px;
  background: color-mix(in srgb, var(--landscape-ink) 22%, black);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='rail' width='125' height='1000' patternUnits='userSpaceOnUse'%3E%3Cpath fill-rule='evenodd' d='M0 0H125V1000H0Z M49 34h26q9 0 9 9v44q0 9-9 9H49q-9 0-9-9V43q0-9 9-9Z M49 885h26q9 0 9 9v44q0 9-9 9H49q-9 0-9-9v-44q0-9 9-9Z'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath fill='url(%23rail)' d='M0 0H1000V1000H0Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  pointer-events: none;
}
.works-film:not([data-depth]) .works-film-frame:first-child {
  --film-inset-start: 0%;
}
.works-film:not([data-depth]) .works-film-frame:nth-last-child(1 of :not([hidden])) {
  --film-inset-end: 0%;
}
.works-film:not([data-depth]) .works-film-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 var(--film-glow-stroke) var(--landscape-glow), inset 0 0 var(--film-glow-blur) var(--color-purple);
  opacity: 0;
  transition: opacity 240ms ease-out;
  pointer-events: none;
}
.works-film:not([data-depth]) [data-selected] .works-film-cover::after,
.works-film:not([data-depth]) .works-film-cover:focus-visible::after {
  opacity: 1;
}
.works-film:not([data-depth]) .works-film-scroll:focus-visible [data-selected] .works-film-cover::after {
  outline: 1px solid var(--landscape-glow);
  outline-offset: calc(-1 * var(--film-glow-focus-inset));
}
@media (prefers-reduced-motion: reduce) {
  .works-film:not([data-depth]) .works-film-cover::after {
    transition: none;
  }
}
.works-film[data-depth] {
  width: var(--film-fit-width, 100%);
  max-width: 100%;
  height: var(--film-depth-height, var(--film-frame-height));
}
.works-film[data-depth] .works-film-canvas {
  visibility: visible;
}
.works-film[data-depth] .works-film-scroll {
  overflow: clip;
}
.works-film[data-depth] .works-film-frames {
  justify-content: start;
}
.works-film[data-depth] .works-film-frame {
  height: 100%;
}
.works-film[data-depth] .works-film-cover {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--film-hit-w, 0);
  height: var(--film-hit-h, 0);
  transform: translate(var(--film-hit-x, 0), var(--film-hit-y, 0));
  clip-path: var(--film-hit-path, inset(50%));
  background: none;
}
.works-film[data-depth] .works-film-cover img {
  opacity: 0;
}
.works-film-cover {
  position: relative;
  display: grid;
  align-items: end;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--landscape-ink);
  color: inherit;
  user-select: none;
}
.works-film-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.works-film-cover span {
  position: relative;
  justify-self: start;
  padding: 4px 8px;
  margin: 4px;
  border-radius: 4px;
  background: var(--landscape-ink);
  font-size: 0.75em;
}
.works-film-cover:focus-visible {
  outline: none;
}
