
body {
  font-family: sans-serif;
}
a {
	color: blue;
  text-decoration: none;
}

#search-input {
  font-size: 1.5em;
  width: 100%;
}
.search_time {
  margin-top: 4px;
  font-size: 0.9em;
}
.search_text {
  display: inline;
}
.search_link {
  display: inline;
}

#sorting {
  margin-top: 8px;
  line-height: 1.7em;
}
button {
  font-size: 1.0em;
}

.wrapper {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  word-wrap: break-word;
}
.flex-wrap {
  display: flex;
  flex-direction: column;
}

.tweet {
	width: 100%;
	max-width: 480px;
    font-family: sans-serif;
}

article.tweet + article.tweet {
	width: 100%;
	max-width: 460px;
	padding-left: 16px;
	border-left: 4px solid #eee;
}
.tweet img {
  max-height: 100%;
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
}
.tweet video {
  max-height: 100%;
  vertical-align: bottom;
  width: 100%;
}
.tweet ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  gap: 8px;
  padding-left: 0px;
  margin-bottom: 0px;
}

.tweet .display_name {
  display: inline-block;
  font-weight: bold;
  margin: 0;
}
.tweet .user_name {
  display: inline-block;
  margin: 0;
  color: #666;
}

.search_item .display_name,
.search_item .user_name {
  display: inline-block;
	font-size: 0.9em;
	margin-bottom: 0;
}

.search_item {
	padding: 1em 0;
	border-bottom: 2px solid #eee;
}

.search_item .full_text {
	margin: 0;
}

.tweet .favorite_count {
  display: inline-block;
  margin-bottom: 0;
	color: #666;
}
.tweet .favorite_count:before {
	content: '♥';
	padding-right: 4px;
}
.tweet .retweet_count {
  display: inline-block;
  margin-left: 16px;
  margin-bottom: 0;
  color: #666;
}
.tweet .retweet_count:before {
	content: '♼';
	padding-right: 4px;
}
.tweet .created_at {
	color: #666;
}
.tweet .permalink {
  margin-left: 16px;
}

.tweet .favorite_count,
.tweet .retweet_count,
.tweet .created_at {
	margin-top: 0.5em;
	font-size: 0.9em;
}

.child {
  margin-top: 16px;
  margin-left: 64px;
  max-width: calc(480px - 64px);
  background-color: white;
}
.parent {
  margin-bottom: 16px;
  margin-right: 64px;
  max-width: calc(480px - 64px);
  background-color: white;
}

#page-num {
  font-size: 1.0em;
  width: 80px;
}
#browse-sort {
  line-height: 1.7em;
}
#paging {
  margin: 8px 0;
}

.credit {
	font-size: 0.9em;
	color: #666;
}

.meta {
	padding-left: 16px;
	border-left: 4px solid #eee;
}