/* CLAUDE #96: moved from agent_com/index.php, where it was a <style> block, linked there now (filed by topic, #98) */

:root {
	--body-background: #264581;
	--content-background-dark: #062d78;
	--body-foreground: #e2dede;
	--content-background: #06388a;
	--accent-color: #facf05;
	--link-color: #4498ff;
	--border-color: #122b59;
	--orange: orange;
}

@media (prefers-color-scheme: dark) {
	:root {
		--body-background: #122140;
		--content-background-dark: #010d25;
		--body-foreground: #e2dede;
		--content-background: #02193f;
		--accent-color: #facf05;
		--link-color: #0273fe;
		--border-color: #1a2d50;
		--orange: orange;
	}
}

body {
	background: var(--body-background);
	color: var(--body-foreground);
}

body > main {
	background: var(--content-background);
}

a {
	color: var(--link-color);
}

.content ul.views {
	list-style: none;
	padding: 0 0 0 1rem;
}

.views li {
	padding-left: 3em;
	position: relative;
}

.views li a::before {
	font-size: 2em;
	position: absolute;
	left: 0;
	width: 1.2em;
	text-align: center;
}

.views li.by_show a::before {
	content: "\f630";
}

.views li.t-pane a::before {
	content: "\e24e";
}

.views li.by_date a::before {
	content: "\f073";
}

.views li.directory a::before {
	content: "\f2b9";
}

.views li.learning a::before {
	content: "\e56e";
}

.views li.classifieds a::before {
	content: "\f1ea";
}

.content {
	font-size: clamp(1rem, 1.75vw, 1.5rem);
	border: 2px solid var(--border-color);
	border-radius: 1rem;
	margin: 1rem;
	background: var(--content-background-dark);
	font-family: "Barlow Semi Condensed";
}

.content ul {
	margin: 1rem;
}

.content li {
	line-height: 1.5;
}

.content li a {
	display: block;
	width: fit-content;
}

main p {
	margin: 1rem;
}

main a {
	/* font-size: 0.8em; */
}

main li a::before {
	font-size: 3rem;
	display: block;
	margin-bottom: 0.5rem;
}

a.show::before {
	content: "\f630";
}

a.tpane::before {
	content: "\e24e";
}

a.date::before {
	content: "\f073";
}

li {
	margin: 1rem 0;
}

p:last-child a {
	text-align: center;
	border: 0;
}

.others a {
	display: block;
	width: fit-content;
}

#knon {
	display: flex;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin: 2rem 1rem 1rem;
}

@media screen and (max-width: 728px) {
	.choices .tpane {
		display: none;
	}

	.content ul {
		padding: 0 1rem;
	}

	.content ul.views {
		padding: 0;
	}

	#knon {
		display: grid;
	}

	#knon img {
		max-width: 100%;
	}
}
