.photo-community {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: rgb(0 0 0 / 55%);
  border: 1px solid var(--line, rgb(255 255 255 / 8%));
  border-radius: 6px;
  font-size: 0.8rem;
}

.modula-item {
  position: relative;
}

.photo-community__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.photo-community__stars {
  display: inline-flex;
  gap: 0.1rem;
}

.photo-community__star {
  border: none;
  background: transparent;
  color: rgb(255 255 255 / 25%);
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.photo-community__star.is-on,
.photo-community__star:hover {
  color: #e7c8a0;
}

.photo-community__average {
  color: var(--muted, #a8a29e);
}

.photo-community__toggle {
  border: none;
  background: transparent;
  color: var(--text, #f5f5f4);
  cursor: pointer;
  padding: 0;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-community__drawer {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line, rgb(255 255 255 / 8%));
}

.photo-community__comment {
  margin-bottom: 0.75rem;
}

.photo-community__comment time {
  color: var(--muted, #a8a29e);
  font-size: 0.72rem;
  margin-left: 0.35rem;
}

.photo-community__comment p {
  margin: 0.25rem 0 0;
}

.photo-community__empty,
.photo-community__login {
  margin: 0 0 0.5rem;
  color: var(--muted, #a8a29e);
}

.photo-community__form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.photo-community__form textarea {
  width: 100%;
  resize: vertical;
  min-height: 3rem;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--line, rgb(255 255 255 / 15%));
  background: rgb(255 255 255 / 5%);
  color: inherit;
  font: inherit;
}

.photo-community__form button {
  justify-self: start;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgb(255 255 255 / 25%);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.photo-community__form button:hover {
  background: rgb(255 255 255 / 8%);
}
