:host {
  line-height: initial;
  font-family: var(--dyte-font-family, sans-serif);

  font-feature-settings: normal;
  font-variation-settings: normal;
}

p {
  margin: var(--dyte-space-0, 0px);
  padding: var(--dyte-space-0, 0px);
}

.scrollbar {
  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)))
    var(--dyte-scrollbar-background, transparent);
}

/* For WebKit */
.scrollbar::-webkit-scrollbar {
  height: var(--dyte-space-1\.5, 6px);
  width: var(--dyte-space-1\.5, 6px);
  border-radius: 9999px;
  background-color: var(--dyte-scrollbar-background, transparent);
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background-color: var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)));
}


:host {
  width: 1140px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: var(--dyte-space-6, 24px);
  padding-top: var(--dyte-space-5, 20px);
  overflow-y: auto;
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
  z-index: 40;
  border-radius: var(--dyte-border-radius-md, 8px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-900, 26 26 26) / var(--tw-bg-opacity));
}

.displayName {
  font-weight: 700;
}

.image-ctr {
  margin-top: var(--dyte-space-2, 8px);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--dyte-space-2, 8px);
}

img {
  box-sizing: border-box;
  display: block;
  max-height: 100%;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--dyte-space-4, 16px);
}

.shared-by-user {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

:host([size='sm']) .header {
  flex-direction: column;
}

:host([size='sm']) .header .actions {
  margin-top: var(--dyte-space-4, 16px);
}
