@property --dock-phase { syntax:'<number>'; inherits:false; initial-value:0 }

.wall.dock {
  position:relative;
  isolation:isolate;
  padding:0;
  background:#152721 url("/przystan.webp") center / 100% 100% no-repeat;
  animation:dock-clock 23s linear infinite;
}
@keyframes dock-clock { from { --dock-phase:0 } to { --dock-phase:1 } }
.wall.dock .frame {
  --cm:calc(100cqw / 468);
  --x:calc(68.6cqw + var(--slot) * (var(--outer) + 1.8cqw));
  --y:25.2cqw;
  border-color:
    color-mix(in srgb,var(--frame) 74%,#354b42)
    color-mix(in srgb,var(--frame) 62%,#1c2a25)
    color-mix(in srgb,var(--frame) 55%,#0d1916)
    color-mix(in srgb,var(--frame) 69%,#35483c);
  box-shadow:.18cqw .19cqw .40cqw #0817129b,.57cqw .51cqw 1.15cqw #07130f68;
}
.wall.dock .frame img { filter:brightness(.57) contrast(.94) saturate(.74) }
.dock-water,.dock-effects {
  display:none;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.dock-water { width:33.333333%; opacity:.89; }
.dock-effects { mix-blend-mode:screen }
.wall.dock :is(.dock-water,.dock-effects) { display:block }
.wall.dock.paused { animation-play-state:paused }
@media(prefers-reduced-motion:reduce) {
  .wall.dock { animation:none }
}
