*, :after, :before {
    box-sizing: border-box;
}

* {
	padding: 0;
}

:root {
	--brand-color: #ae3fee;
}

body,
input,
button,
select,
optgroup,
textarea {
	margin: 0;
}

body {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	background: #111215;
	color: #fff;
}

button {
	font-size: 1em;
}

.d-none { display: none; }
.d-flex { display: flex; }

.ml-auto {
	margin-left: auto;
}
.mt-auto {
	margin-top: auto;
}
.ai-center {
	align-items: center;
}
.gap-2 {
	gap: 2px;
}

a, button {
	color: var(--brand-color);
	text-decoration: none;
	cursor: pointer;
}

a:visited {
    color: #c143f9;
}

.no-vs {
	color: var(--brand-color) !important;
}

button {
	padding: 0;
	border: none;
	background: inherit;
}

.ff-mono {
	font-family: monospace;
}

.m-0 {
	margin: 0;
}

.c-pointer {
	cursor: pointer;
}

.tr {
	width: 100%;
	overflow-x: hidden;
}

footer {
	margin-top: 100px;
	padding: 16px;
	display: flex;
	justify-content: center;

	color: #625a6c;
	font-size: 0.8rem;
	font-family: monospace;
}

footer a {
	color: #9d8db0;
}

.streams {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
	gap: 2px;
	justify-content: center;
}

.stream {
	margin-bottom: 8px;

	background: #292a33;
	border-radius: 8px;
	overflow: hidden;

	display: flex;
	flex-direction: column;
}

@media only screen and (max-width: 546px) {
	.streams {
		grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
	}
}

.title {
	font-weight: 300;
	font-size: 1em;
	margin: 0;
	margin-bottom: 4px;
}

.title a {
	text-decoration: none;
	color: #fff;
}

.title a:visited {
	color: rgb(242, 169, 253);
}

.viewers {
	background: #71231b;
	padding: 0px 4px;
	border-radius: 4px;
	font-family: monospace;
}

.meta {
	flex: 1;

	padding: 4px;
	display: flex;
	flex-direction: column;
}

.info {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.81rem;

	font-family: monospace;
}

.stream-thumbnail {
	max-width: 100%;
	height: auto;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.tag {
	background-color: #363a44;
	border-radius: 4px;
	padding: 1px 2px;

	color: #adb3c4;
	font-weight: 500;
	font-size: 0.75em;
}

.streamer {
	overflow: hidden;
	text-overflow: ellipsis;
}

.duration {
	white-space: nowrap;
}

.streamer, .duration {
	color: #8d90b1;
}

.btn-hide {
	font-weight: bolder;
	color: #bd3939;
}

.btn-hide.unhide {
	color: #5cb85c;
}

.show-hidden-container {
	text-align: center;
	margin: 20px 0;
}

.btn-show-hidden {
	background: #292a33;
	color: #9d8db0;
	border: 1px solid #625a6c;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
}

.btn-show-hidden:hover {
	background: #363a44;
}

.hidden-streams h2 {
	text-align: center;
	margin: 40px 0 20px;
	color: #625a6c;
}

.hidden-streams {
	margin-top: 24px;
}

.loading {
	text-align: center;
	color: #625a6c;
	font-family: monospace;
	margin: 24px 0;
}
