/* Added for the archive (2026): the archive ribbon, unlisted pages, and working links over the
   Flash cover's nav. */

.archive-ribbon {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 4px 8px;
	background: #000000;
	color: #ffffff;
	font-family: monospace;
	font-size: 10px;
	line-height: 12px;
}

.archive-ribbon a {
	color: #ffffff;
}

html.archive-all .archive-ribbon span:first-child::after {
	content: " (showing unlisted pages)";
}

/* keep the ribbon from covering the end of a page */
body {
	padding-bottom: 20px;
}

/* unlisted pages stay out of the menus unless ?all is on (archive/all.js) */
.archive-unlisted {
	display: none;
}

html.archive-all .archive-unlisted {
	display: list-item;
}

/* redacted contact details: the word in black on black */
.redacted {
	background: #000000;
	color: #000000;
	padding: 0 2px;
}

/* the theme floats the video player's frame; headings start below it, not under it */
.media::after {
	content: "";
	display: block;
	clear: both;
}

/* Browsers draw an "Adobe Flash Player is no longer supported" box for Flash <object>s until
   Ruffle swaps in its own player (a different element), so the originals stay invisible. */
object[type="application/x-shockwave-flash"],
embed[type="application/x-shockwave-flash"] {
	visibility: hidden;
}

/* The cover's Flash fills the window. Its nav labels don't respond to clicks under Ruffle,
   so invisible links sit exactly over them (the Flash draws them at a fixed size, top left). */
#cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	/* stops above the ribbon (20px tall) instead of running under it */
	height: calc(100% - 20px);
}

.cover-links {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cover-links a {
	position: absolute;
	left: 0;
	height: 24px;
	color: transparent;
	font-size: 1px;
	overflow: hidden;
}

.cover-links a:focus-visible {
	outline: 2px solid #000000;
}
