#history-drawer {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #1f242d;
  border-left: 2px solid #485260;
  overflow-y: auto;
  transition: right .35s ease;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem .4rem;
  gap: .8rem;
}

#history-drawer.open {
  right: 0
}

#history-toggle {
  position: fixed;
  top: 20vh;
  right: 0;
  width: 34px;
  height: 80px;
  border-radius: 8px 0 0 8px;
  background: #404956;
  color: #d7dee5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
  transition: right .35s ease, background .2s ease;
}

#history-toggle:hover {
  background: #525b68
}

#history-toggle.open {
  right: 260px
}

.ring-wrapper {
  position: relative;
  display: inline-block;
  padding: 6px;
  overflow: hidden;
}

.ring-wrapper img {
  display: block;
}

.ring-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.expired-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  color: #ffca28;
  display: none;
}

.ring-wrapper.expired .expired-icon {
  display: block;
}

.preview-wrapper .expired-icon {
  font-size: 6.4rem;
}

.ring-wrapper.expired img {
  filter: blur(2px) saturate(0.1);
}

.history-thumb {
  width: 220px;
  height: 27.5px;
  /*8:1*/
  border: 1px solid #485260;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  opacity: .85;
}

.history-thumb:hover {
  opacity: 1
}

html body>#history-toggle,
html body>#history-drawer {
  position: fixed !important;
}