:root {
	color-scheme: light dark;
	font-family: system-ui, sans-serif;
}

body {
	max-width: 40rem;
	margin: 4rem auto;
	padding: 0 1rem;
	line-height: 1.5;
}

.site-header {
	text-align: center;
	margin-bottom: 3rem;
}

.site-title {
	display: inline-block;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: inherit;
	text-decoration: none;
}

.site-title:hover {
	text-decoration: underline;
}

.doc-title {
	margin-bottom: 0.25rem;
	font-size: 2rem;
	line-height: 1.25;
}

.tagline {
	margin: 0 0 2rem;
	text-align: center;
	font-family: 'Times New Roman', Times, serif;
	font-style: italic;
	font-size: 1.5rem;
	font-weight: 600;
	color:Red;
}

.tagline a {
	color: inherit;
	text-decoration: none;
}

.tagline a:hover {
	text-decoration: underline;
}

.change-icon {
	text-decoration: none;
	opacity: 0.55;
	margin-left: 0.4rem;
	font-size: 0.6em;
	vertical-align: middle;
}

.change-icon:hover {
	opacity: 1;
}

.frozen-notice {
	margin: 0 0 2rem;
	padding: 0.5rem 0.75rem;
	border-left: 3px solid #8886;
	background: #8881;
	font-size: 0.9em;
	opacity: 0.85;
}

.citation-changes {
	margin: 0 0 1.5rem;
	padding-left: 1.2rem;
}

.citation-changes li {
	margin: 0.2rem 0;
}

/* Quote blocks published from SignalCodes: <blockquote class="… quote" data-href="…">.
   The whole box is the hit target; quote-embed.js handles the click. */
.quote[data-href] {
	position: relative;
	cursor: pointer;
}

.quote[data-href]:hover {
	text-decoration: underline;
}

/* Fixed mini player for YouTube quote links. */
#yt-mini {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	width: min(360px, 92vw);
	aspect-ratio: 16 / 9;
	z-index: 9999;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

#yt-mini .yt-mini-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

#yt-mini .yt-mini-close {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
	width: 1.6rem;
	height: 1.6rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
	text-align: center;
	cursor: pointer;
}
