/* Archive-specific layer on top of the forum's own compiled stylesheet (xf.css). */

.archive-notice {
	margin: 10px 0;
	font-size: 13px;
}

.archive-page-no {
	font-size: 60%;
	opacity: .7;
	font-weight: normal;
}

.archive-section-title {
	margin: 20px 0 4px;
	font-size: 20px;
}
.archive-section-desc {
	margin: 0 0 10px;
	opacity: .75;
}

/* messages that were deleted or held for moderation (staff view only) */
.message--deleted .message-inner {
	opacity: .8;
	outline: 1px dashed #b24a4a;
}
.messageNotice {
	margin: 6px 0;
	padding: 6px 10px;
	border-left: 3px solid #b24a4a;
	background: rgba(178, 74, 74, .12);
	font-size: 13px;
}
.messageNotice--warning {
	border-left-color: #c79b2d;
	background: rgba(199, 155, 45, .12);
}
.archive-context {
	font-size: 13px;
	margin: 4px 0 8px;
	opacity: .85;
}

.reactionsBar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 13px;
}
.reactionsBar .reactionSummary {
	display: inline-flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tagList {
	margin: 10px 0;
}
.tagItem {
	display: inline-block;
	padding: 1px 8px;
	margin: 0 4px 4px 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, .08);
	font-size: 12px;
}

/* shoutbox */
.archive-chat {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
.archive-chat-day {
	margin-top: 14px;
}
.archive-chat-row {
	display: grid;
	grid-template-columns: 28px 64px minmax(80px, max-content) 1fr;
	gap: 8px;
	align-items: start;
	padding: 3px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.archive-chat-row .avatar--xs {
	width: 24px;
	height: 24px;
	font-size: 14px;
}
.archive-chat-time {
	opacity: .6;
	font-size: 12px;
	padding-top: 2px;
}
.archive-chat-user {
	font-weight: bold;
}
.archive-chat-text {
	min-width: 0;
	overflow-wrap: anywhere;
}
.archive-chat-row--bot .archive-chat-text,
.archive-chat-row--post .archive-chat-text {
	font-style: italic;
	opacity: .8;
}
@media (max-width: 650px) {
	.archive-chat-row {
		grid-template-columns: 28px 1fr;
	}
	.archive-chat-time,
	.archive-chat-user {
		grid-column: 2;
	}
	.archive-chat-text {
		grid-column: 1 / -1;
	}
}

/* staff tables */
.archive-table {
	width: 100%;
	font-size: 13px;
}
.archive-table td {
	vertical-align: top;
}
.archive-pre {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.archive-params {
	font-size: 11px;
	opacity: .7;
	overflow-wrap: anywhere;
}

.archive-page img,
.bbWrapper img {
	max-width: 100%;
	height: auto;
}

.memberHeader-banners .userBanner {
	display: inline-block;
	margin: 2px 4px 2px 0;
	padding: 1px 8px;
}

/* the forum's sprite-based user avatars fall back to letters here */
.avatar--default--dynamic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.archive-login {
	max-width: 480px;
}
.archive-login .input {
	width: 100%;
}

/* Pagefind UI in the forum's dark palette */
#archive-search {
	--pagefind-ui-scale: .9;
	--pagefind-ui-primary: #8ab4f8;
	--pagefind-ui-text: #cacad7;
	--pagefind-ui-background: #14132a;
	--pagefind-ui-border: #2c2b45;
	--pagefind-ui-tag: #1f1e38;
}

/* Phone-width shoutbox: Siropu stacks the user list over the messages and relies on its JS
   to switch between them. The archive's user list is always empty, so only messages show. */
@media (max-width: 480px) {
	#siropuChatContent .siropuChatUsers { display: none !important; }
}

/* user group username styles */

