/* Dark mode default */
:root {
	--base-color: #518;

	--bg: hsl(from var(--base-color) h 20% 7.5%);
	--bg-darker: hsl(from var(--base-color) h 20% 5%);
	--bg-lighter: hsl(from var(--base-color) h 20% 10%);

	--blur-radius: 8px;

	--text: hsl(from var(--base-color) h 5% 100%);
	--accent: hsl(from var(--base-color) h clamp(0, calc(s + 10), 100) clamp(0, calc(l + 20), 100));

	--border-subtle: hsl(from var(--base-color) h 50% 25%);
	--border-normal: hsl(from var(--base-color) h 50% 50%);
	--border-highlight: hsl(from var(--base-color) h 50% 75%);

	--icon-scale: 1;
	--border-radius: 4px;
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: hsl(from var(--base-color) h 20% 93%);
		--bg-darker: hsl(from var(--base-color) h 20% 88%);
		--bg-lighter: hsl(from var(--base-color) h 20% 98%);

		--text: hsl(from var(--base-color) h 5% 5%);
		--accent: hsl(from var(--base-color) h calc(s + 10) calc(l + 20));

		--border-subtle: hsl(from var(--base-color) h 50% 90%);
		--border-normal: hsl(from var(--base-color) h 50% 50%);
		--border-highlight: hsl(from var var(--base-color) h 50% 25%);
	}
}

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

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin-block-end: 0;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
	line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

details>summary {
	display: block;
	position: relative;
	padding-left: 2rem;
	cursor: pointer;
	user-select: none;
}

details>summary:before {
	content: "";
	border-width: 0.6rem;
	border-style: solid;
	border-color: transparent transparent transparent rgba(from var(--border-subtle) r g b / 0.9);
	position: absolute;
	top: 0.15rem;
	left: 0;
	transform: rotate(0);
	transform-origin: 0.3rem 50%;
	transition: 0.25s transform ease;
}

details[open]>summary:before {
	transform: rotate(90deg);
}

details>summary::-webkit-details-marker {
	display: none;
}

form input,
form textarea {
	width: 100%;
	color: inherit;
	border-radius: var(--border-radius);
	border: 1px solid rgba(128, 128, 128, 0.2);
	resize: none;
	background: rgba(0, 0, 0, 0.01);
	padding: 0.5rem;
	font-size: large;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}

* {
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: sans-serif;
	color: var(--text);
	background-color: var(--bg);
	display: flex;
	flex-direction: column;
	height: 100vh;
	/* fixed height? */
}

#background-container {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: -1;
}

main {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: auto 1fr;
}

@media screen and (max-width: 1200px) {
	main {
		grid-template-columns: auto;
	}
}

input[type="text"]:focus,
textarea:focus {
	border-color: rgb(from var(--border-highlight) r g b / 60%);
	outline: 0;
	-webkit-box-shadow:
		inset 0 1px 1px rgba(0, 0, 0, 0.075),
		0 0 2px rgb(from var(--border-highlight) r g b / 60%);
	box-shadow:
		inset 0 1px 1px rgba(0, 0, 0, 0.075),
		0 0 2px rgb(from var(--border-highlight) r g b / 60%);
}

.avatar-container {
	display: block;
	margin: 0.5rem auto;
	width: 3rem;
	height: 3rem;
	border-radius: var(--border-radius);
	overflow: hidden;
}

.avatar-container.inline {
	display: inline-block;
	margin: 0.5rem;
}

.avatar-container.medium {
	width: 4.5rem;
	height: 4.5rem;
}

.avatar-container.large {
	width: 6rem;
	height: 6rem;
}

.avatar-container.x-large {
	width: 9rem;
	height: 9rem;
}

.avatar-container.xx-large {
	width: 12rem;
	height: 12rem;
}

.avatar-container img {
	height: 100%;
	width: 100%;
	max-width: none;
	object-fit: cover;
}

.clickable {
	cursor: pointer;
}

.resizable {
	resize: horizontal;
	overflow: hidden;
	border-right: 4px solid #444;
}

.mockup {
	position: relative;
}

.mockup::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(-55deg,
			rgba(0, 0, 0, 0.25) 0px,
			rgba(0, 0, 0, 0.25) 20px,
			rgba(255, 177, 1, 0.25) 20px,
			rgba(255, 177, 1, 0.25) 40px);
}

.collapsed {
	height: 0;
}

input[collapse-toggle] {
	display: none;
	visibility: hidden;
}

label:has(input[collapse-toggle]) {
	display: block;
	max-width: fit-content;
	cursor: pointer;
	border: 1px solid var(--text);
	border-radius: var(--border-radius);
	padding: 0.5rem;
	margin-bottom: 2rem;
}

input[collapse-toggle]+.collapsible,
label:has(input[collapse-toggle])+.collapsible {
	transition: all 0.33s;
	height: 0;
	overflow: hidden;
}

input[collapse-toggle]:checked+.collapsible,
label:has(input[collapse-toggle]:checked)+.collapsible {
	height: 100%;
}

form div {
	position: relative;
	display: flex;
	margin-bottom: 1.5em;
}

form label.placeholder {
	position: absolute;
	top: 0;
	font-size: large;
	margin: 10px;
	padding: 0 10px;
	-webkit-transition:
		top 0.2s ease-in-out,
		font-size 0.2s ease-in-out;
	transition:
		top 0.2s ease-in-out,
		font-size 0.2s ease-in-out;
}

form input:focus~label.placeholder,
form input:valid~label.placeholder {
	top: -1.6rem;
	font-size: small;
	border: 1px solid rgba(128, 128, 128, 0.2);
	border-bottom: 0;
}

form input:focus {
	outline: none;
}

form button {
	width: 100%;
	padding: 20px;
	border: 1px solid var(--text);
	font-size: 20px;
	background-color: var(--bg);
	color: var(--text);
	margin-top: 1rem;
}

form button.primary {
	background-color: var(--accent);
}

button {
	background: inherit;
	color: inherit;
	padding: 0.5rem;
	border: 1px solid var(--text);
	border-radius: var(--border-radius);
	cursor: pointer;
}

button.primary {
	border: 1px solid var(--accent);
}

[data-requires-permission] {
	visibility: hidden;
	opacity: 0;
	height: 0;
}

body[data-perms*="self.read"] [data-requires-permission="self.read"],
body[data-perms*="self.write"] [data-requires-permission="self.write"],
body[data-perms*="channels.create"] [data-requires-permission="channels.create"],
body[data-perms*="channels.read"] [data-requires-permission="channels.read"],
body[data-perms*="channels.write"] [data-requires-permission="channels.write"],
body[data-perms*="events.create.blurb"] [data-requires-permission="events.create.blurb"],
body[data-perms*="events.read.blurb"] [data-requires-permission="events.read.blurb"],
body[data-perms*="events.write.blurb"] [data-requires-permission="events.write.blurb"],
body[data-perms*="events.create.chat"] [data-requires-permission="events.create.chat"],
body[data-perms*="events.read.chat"] [data-requires-permission="events.read.chat"],
body[data-perms*="events.write.chat"] [data-requires-permission="events.write.chat"],
body[data-perms*="events.create.essay"] [data-requires-permission="events.create.essay"],
body[data-perms*="events.read.essay"] [data-requires-permission="events.read.essay"],
body[data-perms*="events.write.essay"] [data-requires-permission="events.write.essay"],
body[data-perms*="events.create.post"] [data-requires-permission="events.create.post"],
body[data-perms*="events.read.post"] [data-requires-permission="events.read.post"],
body[data-perms*="events.write.post"] [data-requires-permission="events.write.post"],
body[data-perms*="users.read"] [data-requires-permission="users.read"],
body[data-perms*="users.write"] [data-requires-permission="users.write"],
body[data-perms*="files.write.own"] [data-requires-permission="files.write.own"] {
	visibility: visible;
	opacity: 1;
	height: unset;
}

.audio-container {
	position: relative;
	width: 100%;
	max-width: 800px;
	overflow: hidden;
	font-size: small;
	padding: 0.25rem;
	border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
	white-space-collapse: discard;
}

.audio-container audio {
	width: 100%;
	margin-bottom: -5px;
}

.audio-container .audio-player-display-container {
	width: 100%;
	height: 3rem;
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: center;
	align-items: start;
}

.audio-container .audio-player-display-container canvas {
	width: 100%;
	height: 100%;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 20%, transparent);
}

.audio-container .enhanced-audio-player-container {
	opacity: 0;
	visibility: hidden;
	display: none;
}

.audio-container[data-audio-player] .enhanced-audio-player-container {
	opacity: 1;
	visibility: visible;
	display: block;
}

.audio-container .audio-controls-container .blank {
	width: 100%;
	max-width: 100px;
}

.audio-container .audio-controls-container .progress-container {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-content: center;
	text-align: center;
	padding: 0 0.5rem;
}

.audio-container .audio-controls-container .progress-container label[for="progress"] {
	display: block;
	margin-top: -0.5rem;
	margin-bottom: 0.25rem;
}

.audio-container .audio-controls-container .progress-container .time-container {
	text-align: center;
}

.audio-container .audio-controls-container .progress-container .slider-container {
	width: 80%;
	padding: 0 1rem;
	max-width: 800px;
}

.audio-container .audio-controls-container .progress-container .slider-container input[name="progress"] {
	width: 100%;
}

.audio-container .audio-controls-container .buttons-container {
	display: flex;
	justify-content: space-between;
	align-content: center;
	padding: 0 0.5rem;
}

.audio-container .audio-controls-container .blank {
	align-content: center;
}

.audio-container .audio-controls-container .volume {
	position: relative;
	width: 100%;
	max-width: 100px;
	overflow: hidden;
}

@media screen and (max-width: 480px) {
	.audio-container .audio-controls-container .blank {
		width: auto;
	}

	.audio-container .audio-controls-container .volume {
		max-width: 50px;
	}
}

.audio-container .audio-controls-container input[type="range"] {
	--c: var(--accent);
	/* active color */
	--g: 4px;
	/* the gap */
	--l: 2px;
	/* line thickness*/
	--s: 15px;
	/* thumb size*/

	width: 100%;
	height: var(--s);
	/* needed for Firefox*/
	--_c: color-mix(in srgb, var(--c), #000 var(--p, 0%));
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: none;
	cursor: pointer;
	overflow: hidden;
}

.audio-container .audio-controls-container input[type="range"]:focus-visible,
.audio-container .audio-controls-container input[type="range"]:hover {
	--p: 25%;
}

.audio-container .audio-controls-container input[type="range"]:active,
.audio-container .audio-controls-container input[type="range"]:focus-visible {
	--_b: var(--s);
}

/* chromium */
.audio-container .audio-controls-container input[type="range"]::-webkit-slider-thumb {
	height: var(--s);
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 var(--_b, var(--l)) inset var(--_c);
	border-image: linear-gradient(90deg, var(--_c) 50%, #ababab 0) 0 1 / calc(50% - var(--l) / 2) 100vw/0 calc(100vw + var(--g));
	-webkit-appearance: none;
	appearance: none;
	transition: 0.2s;
}

/* Firefox */
.audio-container .audio-controls-container input[type="range"]::-moz-range-thumb {
	height: var(--s);
	width: var(--s);
	background: none;
	border-radius: 50%;
	box-shadow: 0 0 0 var(--_b, var(--l)) inset var(--_c);
	border-image: linear-gradient(90deg, var(--_c) 50%, #ababab 0) 0 1 / calc(50% - var(--l) / 2) 100vw/0 calc(100vw + var(--g));
	-moz-appearance: none;
	appearance: none;
	transition: 0.2s;
}

@supports not (color: color-mix(in srgb, red, red)) {
	.audio-container .audio-controls-container input[type="range"] {
		--_c: var(--c);
	}
}

.audio-container .audio-controls-container .volume label[for="volume"] {
	position: absolute;
	left: 0;
}

.audio-container .audio-controls-container .audio-control {
	cursor: pointer;
}

.audio-container .audio-controls-container .audio-control .icon.play {
	opacity: 1;
	display: block;
}

.audio-container .audio-controls-container .audio-control .icon.pause {
	opacity: 0;
	display: none;
}

.audio-container[data-playing] .audio-controls-container .audio-control .icon.play {
	opacity: 0;
	display: none;
}

.audio-container[data-playing] .audio-controls-container .audio-control .icon.pause {
	opacity: 1;
	display: block;
}

/* === GLOW EFECTO === from: https://codepen.io/andrewuru/pen/Byjdgrb */
.glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
			hsla(var(--accent), 100%, 60%, 0.4),
			transparent 70%);
	mix-blend-mode: screen;
	pointer-events: none;
	filter: blur(calc(2 * var(--blur-radius)));
}

.html-from-markdown {
	padding: 2em;
}

.inline {
	display: inline-block !important;
}

/* ICONS */
.icon {
	width: 24px;
	height: 24px;
	transform: scale(var(--icon-scale, 1));

	stroke: white;
	fill: transparent;
	stroke-width: 1pt;
	stroke-miterlimit: 10;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 400;

	margin: 0 auto;
}

/* ICON - ADD (with box) */
.icon.add {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	border: 2px solid;
	transform: scale(var(--icon-scale, 1));
	border-radius: 4px;
}

.icon.add::after,
.icon.add::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 10px;
	height: 2px;
	background: currentColor;
	border-radius: 5px;
	top: 8px;
	left: 4px;
}

.icon.add::after {
	width: 2px;
	height: 10px;
	top: 4px;
	left: 8px;
}

/* ICON - ATTACHMENT */
.icon.attachment {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid;
	border-top: 0;
	border-bottom-left-radius: 100px;
	border-bottom-right-radius: 100px;
	transform: scale(var(--icon-scale, 1));
	margin-top: 11px;
}

.icon.attachment::after,
.icon.attachment::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	border-radius: 3px;
	border: 2px solid;
}

.icon.attachment::after {
	border-bottom: 0;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
	right: -2px;
	width: 10px;
	height: 14px;
	bottom: 8px;
}

.icon.attachment::before {
	width: 6px;
	height: 12px;
	border-top: 0;
	border-bottom-left-radius: 100px;
	border-bottom-right-radius: 100px;
	left: 2px;
	bottom: 4px;
}

/* ICON - BLURB */
.icon.blurb {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	border: 2px solid;
	border-radius: 3px;
	width: 22px;
	height: 16px;
}

.icon.blurb::after,
.icon.blurb::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	height: 2px;
	border-radius: 3px;
	background: currentColor;
	bottom: 2px;
}

.icon.blurb::before {
	width: 10px;
	left: 2px;
	box-shadow: 4px -4px 0;
}

.icon.blurb::after {
	width: 3px;
	right: 2px;
	box-shadow: -11px -4px 0;
}

/* ICON - CALENDAR */
.icon.calendar,
.icon.calendar::before {
	display: block;
	box-sizing: border-box;
}

.icon.calendar {
	position: relative;
	transform: scale(var(--icon-scale, 1));
	width: 18px;
	height: 18px;
	border: 2px solid;
	border-top: 4px solid;
	border-radius: 3px;
}

.icon.calendar::before {
	content: "";
	position: absolute;
	width: 10px;
	border-radius: 3px;
	left: 2px;
	background: currentColor;
	height: 2px;
	top: 2px;
}

/* ICON - CAMERA */
.icon.camera {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	border: 2px solid;
	border-radius: 3px;
	width: 18px;
	height: 12px;
	perspective: 24px;
}

.icon.camera::after,
.icon.camera::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
}

.icon.camera::before {
	border: 2px solid;
	border-left-color: transparent;
	transform: rotateY(-70deg);
	width: 8px;
	height: 8px;
	right: -7px;
	top: 0;
}

.icon.camera::after {
	width: 10px;
	height: 5px;
	border-top: 2px solid;
	border-right: 2px solid;
	top: -5px;
	right: 2px;
	border-top-right-radius: 2px;
}

/* ICON - CHAT */
.icon.chat {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 14px;
	height: 10px;
}

.icon.chat::after,
.icon.chat::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	border-radius: 3px;
	height: 2px;
	background: currentColor;
}

.icon.chat::before {
	width: 10px;
	opacity: 0.5;
	box-shadow: 0 4px 0;
}

.icon.chat::after {
	width: 14px;
	bottom: 0;
}

/* ICON - CIRCLE */
.icon.circle {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 19px;
	height: 19px;
	border: 2px solid;
	border-radius: 100px;
}

/* ICON - CLOSE */
.icon.close {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: var(--border-radius);
}

.icon.close::after,
.icon.close::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 12px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
	border-radius: var(--border-radius);
	top: 8px;
	left: 3px;
}

.icon.close::after {
	transform: rotate(-45deg);
}

/* ICON - CONTROLLER */
.icon.controller {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 8px;
	height: 8px;
	border: 2px solid;
	border-radius: 100px;
}

.icon.controller::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 14px;
	height: 14px;
	box-shadow:
		-6px -6px 0 -4px,
		6px 6px 0 -4px,
		6px -6px 0 -4px,
		-6px 6px 0 -4px;
	left: -5px;
	top: -5px;
	transform: rotate(45deg);
}

/* ICON - DOWNLOAD */
.icon.download {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 6px;
	border: 2px solid;
	border-top: 0;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	margin-top: 8px;
}

.icon.download::after {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border-left: 2px solid;
	border-bottom: 2px solid;
	transform: rotate(-45deg);
	left: 2px;
	bottom: 4px;
}

.icon.download::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	border-radius: 3px;
	width: 2px;
	height: 10px;
	background: currentColor;
	left: 5px;
	bottom: 5px;
}

/* ICON - ESSAY */
.icon.essay {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 18px;
	border: 2px solid;
	border-radius: 3px;
	box-shadow: 0 -1px 0;
}

.icon.essay::after,
.icon.essay::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 6px;
	top: 2px;
}

.icon.essay::before {
	background: currentColor;
	left: 2px;
	box-shadow:
		0 4px 0,
		0 8px 0;
	border-radius: 3px;
	height: 2px;
}

.icon.essay::after {
	height: 10px;
	border: 2px solid;
	right: 2px;
	border-radius: 1px;
}

/* ICON - EXCHANGE */
.icon.exchange,
.icon.exchange::after,
.icon.exchange::before {
	display: block;
	box-sizing: border-box;
	width: 8px;
	height: 8px;
}

.icon.exchange {
	position: relative;
	transform: scale(var(--icon-scale, 1));
	box-shadow:
		-3px 3px 0 -1px,
		3px -3px 0 -1px;
}

.icon.exchange::after,
.icon.exchange::before {
	content: "";
	position: absolute;
	border: 2px solid;
}

.icon.exchange::before {
	top: -5px;
	left: -5px;
}

.icon.exchange::after {
	bottom: -5px;
	right: -5px;
}

/* ICON - FORUM */
.icon.forum {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 14px;
	border-bottom: 2px solid;
}

.icon.forum::after,
.icon.forum::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	top: 2px;
}

.icon.forum::before {
	border-left: 4px solid;
	left: 1px;
	width: 0;
	height: 0;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
}

.icon.forum::after {
	width: 8px;
	height: 6px;
	border-top: 2px solid;
	border-bottom: 2px solid;
	right: 0;
}

/* ICON - FORWARD */
.icon.forward-copy {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 16px;
	box-shadow: 6px -6px 0 -4px;
}

.icon.forward-copy::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border: 2px solid;
	border-radius: 1px;
	left: 0;
	bottom: 0;
}

.icon.forward-copy::after {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	background: currentColor;
	width: 2px;
	height: 10px;
	transform: rotate(45deg);
	bottom: 8px;
	right: 2px;
	border-radius: 4px;
}

/* ICON - HOME */
.icon.home {
	background:
		linear-gradient(to left, currentColor 5px, transparent 0) no-repeat 0 bottom/4px 2px,
		linear-gradient(to left, currentColor 5px, transparent 0) no-repeat right bottom/4px 2px;
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 18px;
	height: 14px;
	border: 2px solid;
	border-top: 0;
	border-bottom: 0;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	margin-bottom: -2px;
}

.icon.home::after,
.icon.home::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
}

.icon.home::before {
	border-top: 2px solid;
	border-left: 2px solid;
	border-top-left-radius: 4px;
	transform: rotate(45deg);
	top: -5px;
	border-radius: 3px;
	width: 14px;
	height: 14px;
	left: 0;
}

.icon.home::after {
	width: 8px;
	height: 10px;
	border: 2px solid;
	border-radius: 100px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: 0;
	left: 3px;
	bottom: 0;
}

/* ICON - LIVE */
.icon.live {
	transform: scale(var(--icon-scale, 1));
}

.icon.live,
.icon.live::after,
.icon.live::before {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid;
	border-bottom-color: transparent;
	border-radius: 50%;
}

.icon.live::after,
.icon.live::before {
	content: "";
	position: absolute;
	width: 6px;
	height: 6px;
	top: 2px;
	left: 2px;
}

.icon.live::after {
	width: 22px;
	height: 22px;
	top: -6px;
	left: -6px;
}

/* ICON - MINUS */
.icon.minus {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 10px;
}

/* ICON - MORE */
.icon.more {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 24px;
	height: 20px;
	border: 2px solid;
	border-radius: 3px;
}

.icon.more::before {
	content: "";
	position: absolute;
	box-sizing: border-box;
	display: block;
	width: 4px;
	height: 4px;
	background-color: currentColor;
	border-radius: 20px;
	top: 6px;
	left: 8px;
	box-shadow:
		-5px 0 0,
		5px 0 0;
}

/* ICON - MOREBORDERLESS */
.icon.more-borderless {
	transform: scale(var(--icon-scale, 1));
}

.icon.more-borderless,
.icon.more-borderless::after,
.icon.more-borderless::before {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 4px;
	height: 4px;
	background: currentColor;
	border-radius: 100%;
}

.icon.more-borderless::after,
.icon.more-borderless::before {
	content: "";
	position: absolute;
	top: 0;
}

.icon.more-borderless::after {
	left: -6px;
}

.icon.more-borderless::before {
	right: -6px;
}

/* ICON - MORECIRCLE */
.icon.more-circle {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 24px;
	height: 24px;
	border: 2px solid;
	border-radius: 24px;
}

.icon.more-circle::before {
	content: "";
	position: absolute;
	box-sizing: border-box;
	display: block;
	width: 4px;
	height: 4px;
	background-color: currentColor;
	border-radius: 20px;
	top: 8px;
	left: 8px;
	box-shadow:
		-5px 0 0,
		5px 0 0;
}

/* ICON - PHONE */
.icon.phone {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	transform: scale(var(--icon-scale, 1));
}

.icon.phone::after,
.icon.phone::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
}

.icon.phone::after {
	width: 18px;
	height: 18px;
	border-top-left-radius: 1px;
	border-bottom-right-radius: 1px;
	border-bottom-left-radius: 12px;
	border-left: 4px solid;
	border-bottom: 4px solid;
	left: 2px;
	bottom: 2px;
	background:
		linear-gradient(to left, currentColor 10px, transparent 0) no-repeat right 11px/6px 4px,
		linear-gradient(to left, currentColor 10px, transparent 0) no-repeat -1px 0/4px 6px;
}

.icon.phone::before {
	width: 20px;
	height: 20px;
	border: 6px double;
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	transform: rotate(-45deg);
	bottom: 2px;
	left: 2px;
}

/* ICON - PLUS */
.icon.plus,
.icon.plus::after,
.icon.plus::before {
	display: block;
	box-sizing: border-box;
}

.icon.plus::after,
.icon.plus::before {
	border-radius: 10px;
	background: currentColor;
}

.icon.plus {
	position: relative;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 16px;
}

.icon.plus::after {
	content: "";
	position: absolute;
	width: 2px;
	height: 16px;
	top: 0;
	left: 7px;
}

.icon.plus::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 2px;
	top: 7px;
	left: 0;
}

/* ICON - REPLY */
.icon.reply {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 16px;
	height: 16px;
	box-shadow: -6px -6px 0 -4px;
}

.icon.reply::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border: 2px solid;
	border-radius: 1px;
	right: 0;
	bottom: 0;
}

.icon.reply::after {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	background: currentColor;
	width: 2px;
	height: 10px;
	transform: rotate(-45deg);
	bottom: 8px;
	left: 2px;
	border-radius: 4px;
}

/* ICON - RESOURCES */
.icon.resources,
.icon.resources::after {
	display: block;
	box-sizing: border-box;
	border-radius: 22px;
}

.icon.resources {
	position: relative;
	transform: scale(var(--icon-scale, 1));
	width: 20px;
	height: 20px;
	border: 2px solid transparent;
}

.icon.resources::after {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	background: currentColor;
	top: 6px;
	left: 6px;
	box-shadow:
		0 7px 0 1px,
		0 -7px 0 1px,
		-7px 0 0 1px,
		7px 0 0 1px;
}

/* ICON - SEND */
.icon.send {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: 4px;
}

.icon.send::after,
.icon.send::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 2px;
	height: 8px;
	border-right: 2px solid;
	top: 5px;
	right: 5px;
}

.icon.send::after {
	width: 6px;
	height: 6px;
	border-bottom: 2px solid;
	transform: rotate(-45deg);
	right: 9px;
	top: 6px;
}

/* ICON - TALK */
.icon.talk {
	transform: scale(var(--icon-scale, 1));
}

.icon.talk,
.icon.talk::after {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 100px;
	border: 2px dotted currentColor;
}

.icon.talk::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border: 1px solid transparent;
	top: 4px;
	left: 4px;
	box-shadow:
		0 0 0 2px,
		inset 0 0 0 2px currentColor;
}

/* ICON - TRASH */
.icon.trash {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 10px;
	height: 12px;
	border: 2px solid transparent;
	box-shadow:
		0 0 0 2px,
		inset -2px 0 0,
		inset 2px 0 0;
	border-bottom-left-radius: 1px;
	border-bottom-right-radius: 1px;
	margin-top: 4px;
}

.icon.trash::after,
.icon.trash::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
}

.icon.trash::after {
	background: currentColor;
	border-radius: 3px;
	width: 16px;
	height: 2px;
	top: -4px;
	left: -5px;
}

.icon.trash::before {
	width: 10px;
	height: 4px;
	border: 2px solid;
	border-bottom: transparent;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	top: -7px;
	left: -2px;
}

/* ICON - USER */
.icon.user,
.icon.user::after,
.icon.user::before {
	display: block;
	box-sizing: border-box;
	border: 2px solid;
	border-radius: 100px;
}

.icon.user {
	overflow: hidden;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	position: relative;
}

.icon.user::after,
.icon.user::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 5px;
	width: 8px;
	height: 8px;
}

.icon.user::after {
	border-radius: 200px;
	top: 11px;
	left: 0px;
	width: 18px;
	height: 18px;
}

/* ICON - WORK */
.icon.work {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 20px;
	height: 20px;
	border: 2px solid;
	border-radius: 22px;
}

.icon.work::after,
.icon.work::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
}

.icon.work::before {
	width: 12px;
	height: 6px;
	border: 2px solid;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
	top: 2px;
	left: 2px;
	border-bottom: 0;
}

.icon.work::after {
	width: 18px;
	height: 2px;
	background: currentColor;
	left: -1px;
	top: 8px;
}

/* ICONS - RIGHT/LEFT */
.icon.right {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
}

.icon.right::after,
.icon.right::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border-right: 2px solid;
	border-top: 2px solid;
	transform: rotate(45deg);
	top: 7px;
	right: 6px;
}

.icon.right::after {
	right: 11px;
}

.icon.left {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
}

.icon.left::after,
.icon.left::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border-left: 2px solid;
	border-bottom: 2px solid;
	transform: rotate(45deg);
	top: 7px;
	left: 6px;
}

.icon.left::after {
	left: 11px;
}

.icon.map-pin {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: rotate(45deg) scale(var(--icon-scale, 1));
	width: 18px;
	height: 18px;
	border-radius: 100% 100% 0 100%;
	border: 2px solid;
	margin-top: -4px;
}

.icon.map-pin::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 8px;
	height: 8px;
	border: 2px solid;
	top: 3px;
	left: 3px;
	border-radius: 40px;
}


/* AUDIO PLAYER ICONS */
.icon.skip-back {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: 4px;
}

.icon.skip-back::after,
.icon.skip-back::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	height: 8px;
	top: 5px;
}

.icon.skip-back::before {
	width: 2px;
	border-radius: 2px;
	right: 11px;
	background: currentColor;
}

.icon.skip-back::after {
	width: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 5px solid;
	right: 5px;
}

.icon.rewind {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	border: 2px solid;
	border-radius: 4px;
	width: 22px;
	height: 22px;
}

.icon.rewind::after,
.icon.rewind::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 6px;
	height: 6px;
	border-left: 2px solid;
	border-bottom: 2px solid;
	transform: rotate(45deg);
	top: 6px;
	left: 5px;
}

.icon.rewind::after {
	left: 9px;
}

.icon.play {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: 4px;
}

.icon.play::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 0;
	height: 10px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 6px solid;
	top: 4px;
	left: 7px;
}

.icon.pause {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: 4px;
}

.icon.pause::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 6px;
	height: 6px;
	left: 6px;
	top: 6px;
	border-left: 2px solid;
	border-right: 2px solid;
}

.icon.fastforward {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	border: 2px solid;
	border-radius: 4px;
	width: 22px;
	height: 22px;
}

.icon.fastforward::after,
.icon.fastforward::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 6px;
	height: 6px;
	border-right: 2px solid;
	border-top: 2px solid;
	transform: rotate(45deg);
	top: 6px;
	right: 5px;
}

.icon.fastforward::after {
	right: 9px;
}

.icon.skip-forward {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--icon-scale, 1));
	width: 22px;
	height: 22px;
	border: 2px solid;
	border-radius: 4px;
}

.icon.skip-forward::after,
.icon.skip-forward::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	height: 8px;
	top: 5px;
}

.icon.skip-forward::before {
	width: 2px;
	border-radius: 2px;
	left: 11px;
	background: currentColor;
}

.icon.skip-forward::after {
	width: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid;
	left: 5px;
}
