:root {
	--gapWidth: 5px;
	--gapStatus: 0px;
	--statusRadius: 35px;
	--statusWidth: 700px;
	--statusHeight: 70px;
	--viewersWidth: auto;
	--likeWidth: auto;
	--fontFamily: 'Noto Sans JP', sans-serif;
	--fontWeight: bold;
	--textColor: white;
	--bgColor: 0, 0, 0;
	--borderColor: black;
	--borderStyle: none;
	--statusOpacity: 1;
	--fontVariantEmoji: emoji;
	--fontEmoji: 'Noto Sans JP', sans-serif;
	--textShadow: none;
	--fontScale: 1;
}

body {
	margin: 0;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0);
	width: 700px;
}

/* 設定表示の枠 */
.area-border {
	border-style: solid;
	border-width: 1px;
	box-sizing: border-box;
	padding: 5px;
	background-color: lightyellow;
}

.information {
	display: flex;
	color: black;
	background: white;
	align-items: center;
	margin: 0px;
	padding: 5px;
	height: 20px;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
}

.barArea {
	position: relative;
	height: 130px;
	width: 100%;
}

.statusArea {
	display: flex;
	justify-content: center;
	position: relative;
	align-items: center;
	height: 70px;
	width: var(--statusWidth);
	border-radius: var(--statusRadius);
	gap: var(--gapStatus);
}

.viewArea img,
.likeArea img {
	max-height: 64px;
	width: auto;
	object-fit: contain;
	vertical-align: middle;
}

.viewArea {
	display: flex;
	justify-content: center;
	font-size: 56px;
	line-height: var(--statusHeight);
	color: var(--textColor);
	height: var(--statusHeight);
	font-family: var(--fontFamily);
	font-weight: var(--fontWeight);
	width: calc(var(--statusWidth) / 2 - 10px);
	overflow: hidden;
	font-variant-numeric: tabular-nums;
	gap: var(--gapWidth);
}

.likeArea {
	display: flex;
	justify-content: center;
	font-size: 56px;
	line-height: var(--statusHeight);
	color: var(--textColor);
	height: var(--statusHeight);
	font-family: var(--fontFamily);
	font-weight: var(--fontWeight);
	width: calc(var(--statusWidth) / 2 - 10px);
	overflow: hidden;
	font-variant-numeric: tabular-nums;
	gap: var(--gapWidth);
}

.letterViewers {
	display: flex;
	justify-content: center;
	animation: scroll var(--animation-duration) ease forwards;
	width: var(--viewersWidth);
	transform: scaleX(var(--fontScale));
}

.letterLike {
	display: flex;
	justify-content: center;
	animation: scroll var(--animation-duration) ease forwards;
	width: var(--likeWidth);
	transform: scaleX(var(--fontScale));
}

@keyframes scroll {
	from {
		transform: translateY(var(--startY));
	}

	to {
		transform: translateY(var(--endY));
	}
}

.good {
	animation: bounce-y 0.5s infinite alternate;
	animation-play-state: paused;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--fontEmoji);
	font-variant-emoji: var(--fontVariantEmoji);
}

@keyframes bounce-y {
	from {
		transform: translateY(2px);
	}

	to {
		transform: translateY(-2px);
	}
}

.watch {
	animation: bounce-r 0.5s infinite alternate;
	animation-play-state: paused;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--fontEmoji);
	font-variant-emoji: var(--fontVariantEmoji);
}

@keyframes bounce-r {
	from {
		transform: rotate(-5deg);
	}

	to {
		transform: rotate(5deg);
	}
}

@keyframes rainbow {
	0% {
		background-position: right;
	}

	100% {
		background-position: left;
	}
}

#curUp,
#curDn {
	cursor: pointer;
	user-select: none;
}

.setting,
.description {
	border-style: outset;
	border-width: 3px;
	box-sizing: border-box;
	padding: 5px;
	background-color: white;
	border-radius: 10px;
}

.hidden {
	display: none !important;
}

#url {
	width: 390px;
}

#labelExplanation {
	font-size: 1.2rem;
	text-align: center;
	font-weight: bold;
}

.textBorder {
	filter: var(--textShadow);
}

.textBorderWhite {
	filter: drop-shadow(1px 0px 1px white) drop-shadow(-1px 0px 1px white) drop-shadow(0px 1px 1px white) drop-shadow(0px -1px 1px white);
}

.backgroundColor {
	background-color: rgba(var(--bgColor), var(--statusOpacity));
}

.drawFrame {
	outline-style: solid;
	outline-width: 4px;
	outline-color: var(--textColor);
}

.overflowHidden {
	overflow: hidden;
}

.badgeFrame {
	border-radius: var(--statusRadius);
}