.vd-content,
.vd-content p,
.vd-content li,
.vd-content td,
.vd-content th,
.vd-content span,
.vd-content div {
	color: #f6ecdf;
}

.vd-content a { color: #f0d78c !important; }
.vd-content a:hover { color: #fff6e4 !important; }

.vd-content h1,
.vd-content h2,
.vd-content h3,
.vd-content .Text,
.vd-content .NewsHeadlineText {
	color: #f0d78c !important;
	font-family: Georgia, "Palatino Linotype", Palatino, serif;
}

.vd-content p,
.vd-content li { max-width: 76ch; }

.vd-client-download {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 4px;
}

.vd-client-download p {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.vd-client-download-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	gap: 2px;
	text-decoration: none;
}

.vd-client-download-button img {
	width: 45px;
	height: 45px;
}

.vd-content img,
.vd-content video,
.vd-content iframe {
	max-width: 100%;
	height: auto;
}

.vd-content img[style*="margin-top:-45px"],
.vd-content img[style*="margin-top: -45px"],
.vd-content img[style*="margin-top:-48px"] {
	translate: 0 22px;
}

.vd-content div[style*="border-radius:50px"] {
	overflow: hidden;
	box-sizing: border-box;
	width: 136px !important;
	height: 136px !important;
	padding: 0 !important;
	border-radius: 50% !important;
}

.vd-content div[style*="border-radius:50px"] > img[style*="width:128px"] {
	max-width: none;
	width: 128px !important;
	height: 128px !important;
	margin: -12px 0 0 -16px !important;
}

@media (max-width: 560px) {
	.vd-content { position: relative; }

	.vd-content div[style*="border-radius:50px"] {
		top: 8px;
		left: 50%;
		right: auto;
		margin: 0 0 0 -68px !important;
	}

	.vd-content td:has(> div[style*="border-radius:50px"]) > table:first-of-type {
		margin-top: 148px;
	}
}

.vd-content iframe { height: auto; min-height: 160px; }

.vd-content pre,
.vd-content code { max-width: 100%; overflow-x: auto; }

.vd-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 12px;
}

.vd-content td,
.vd-content th {
	background: #1a120e !important;
	color: #f6ecdf !important;
	border: 1px solid #5a4328 !important;
	padding: 6px 8px;
	vertical-align: top;
}

.vd-content tr:nth-child(even) td,
.vd-content tr:nth-child(even) th {
	background: #24180f !important;
}

.vd-content .Corner-tl,
.vd-content .Corner-tr,
.vd-content .Corner-bl,
.vd-content .Corner-br,
.vd-content .CornerWrapper-b,
.vd-content .Border_1,
.vd-content .BorderTitleText,
.vd-content .CaptionEdgeLeftTop,
.vd-content .CaptionEdgeRightTop,
.vd-content .CaptionEdgeLeftBottom,
.vd-content .CaptionEdgeRightBottom,
.vd-content .CaptionBorderTop,
.vd-content .CaptionBorderBottom,
.vd-content .CaptionVerticalLeft,
.vd-content .CaptionVerticalRight,
.vd-content .TableShadowContainerRightTop,
.vd-content .TableShadowRightTop,
.vd-content .TableShadowContainerLeftTop,
.vd-content .TableShadowLeftTop,
.vd-content img.Title,
.vd-content #ContentBoxHeadline {
	display: none !important;
}

.vd-content #newsticker {
	background: #24180f;
	border: 1px solid #8a6a32;
	border-radius: 4px;
	padding: 3px 8px;
	margin: 0 0 10px;
}

.vd-content #newsticker .BoxContent {
	max-height: 80px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 !important;
	scrollbar-width: thin;
	scrollbar-color: #8a6a32 transparent;
}

.vd-content #newsticker .Row,
.vd-content #newsticker .Odd,
.vd-content #newsticker .Even {
	margin: 0;
	padding: 0;
	height: 16px;
	overflow: hidden;
	line-height: 16px;
}

.vd-content #newsticker .NewsTickerIcon,
.vd-content #newsticker .NewsTickerExtend {
	display: none;
}

.vd-content #newsticker .NewsTickerText {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	min-width: 0;
	font-size: 11px;
	line-height: 16px;
}

.vd-content #newsticker .NewsTickerDate {
	flex: 0 0 auto;
	color: #c9b48a;
	font-size: 11px;
	line-height: 16px;
	white-space: nowrap;
}

.vd-content #newsticker .NewsTickerShortText {
	flex: 1 1 auto;
	min-width: 0;
	height: 16px;
	margin: 0;
	overflow: hidden;
	color: #f6ecdf;
	font-size: 11px;
	line-height: 16px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.vd-content .NewsServerVideo,
.vd-content .NewsServerBanner { margin-top: 8px; }

.vd-content .NewsHeadline,
.vd-content .CaptionContainer {
	background: #2a1c12 !important;
	border: 1px solid #8a6a32;
	border-radius: 4px;
	padding: 8px 10px;
	margin: 12px 0 8px;
}

.vd-content .NewsHeadlineBackground,
.vd-content .BoxContent,
.vd-content .InnerTableContainer,
.vd-content .TableContentContainer,
.vd-content .TableContentAndRightShadow {
	background: transparent !important;
	background-image: none !important;
}

.vd-content #newsticker .NewsTickerFullText { display: none !important; }

.vd-content .LabelV {
	color: #f0d78c !important;
	white-space: normal;
	width: 1%;
}

.vd-content .red,
.vd-content .error { color: #ffb4a8 !important; }

.vd-content pre,
.vd-content code {
	color: #f6ecdf;
	background: #120d0a;
}

.vd-content .BigButton,
.vd-content .ThemeboxButton {
	background: none !important;
	display: inline-block;
	height: auto !important;
	width: auto !important;
}

.vd-content input[type="submit"],
.vd-content button,
.vd-content .BigButtonText {
	position: static !important;
	visibility: visible !important;
	width: auto !important;
	height: auto !important;
	background: linear-gradient(#d26522, #8d2f0d) !important;
	color: #fff8ee !important;
	border: 1px solid #e8b15a !important;
	border-radius: 4px;
	padding: 8px 14px !important;
	text-indent: 0 !important;
}

.vd-content #packages .package-btn {
	background: #fff8ee !important;
	border: 2px solid #8a6230 !important;
}
.vd-content #packages .package-btn,
.vd-content #packages .package-btn div,
.vd-content #packages .package-btn small {
	color: #2a160c !important;
}
.vd-content #packages .package-btn.selected {
	background: #143a66 !important;
	border-color: #7eb6ff !important;
}
.vd-content #packages .package-btn.selected,
.vd-content #packages .package-btn.selected div,
.vd-content #packages .package-btn.selected small {
	color: #ffffff !important;
}

.vd-content #paypal-button-container {
	width: 100%;
	max-width: 480px;
	margin-left: auto !important;
	margin-right: auto !important;
	background: transparent !important;
}
.vd-content #paypal-button-container,
.vd-content #paypal-button-container div,
.vd-content #paypal-button-container iframe {
	background: transparent !important;
	background-color: transparent !important;
}
.vd-content #paypal-button-container button,
.vd-content #paypal-button-container input,
.vd-content #paypal-button-container a {
	background: none !important;
	color: inherit !important;
	border: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	font-weight: inherit !important;
}

html.wiki-mode .vd-hero,
html.wiki-mode .vd-sidebar,
html.wiki-mode .vd-rail,
html.wiki-mode .vd-nav-toggle {
	display: none !important;
}

html.wiki-mode .vd-shell {
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0 0 24px;
}

html.wiki-mode .vd-main {
	width: calc(100% - var(--wiki-sidebar, 320px));
	margin-left: var(--wiki-sidebar, 320px);
	padding: 16px 18px 0 0;
	min-width: 0;
}

html.wiki-mode .vd-content-wiki {
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	overflow-x: auto;
	max-width: 100%;
	min-width: 0;
}

html.wiki-mode .wiki-wrap,
html.wiki-mode .wiki-article,
html.wiki-mode .wiki-article-body {
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
}

html.wiki-mode .vd-content-wiki p,
html.wiki-mode .vd-content-wiki li {
	max-width: none;
}

html.wiki-mode .vd-content-wiki .wiki-wrap a {
	color: var(--wiki-link, #d8e9ff) !important;
}

html.wiki-mode .vd-content-wiki .wiki-wrap a:hover {
	color: var(--wiki-link-hover, #ffffff) !important;
}

@media (max-width: 900px) {
	html.wiki-mode .vd-main {
		width: auto;
		margin-left: 0;
		padding: 0;
	}
}

.vd-content .BigToggleButton { display: none; }

.vd-content .TableContainer:has([id$="TableCollapseContainer"]) .CaptionContainer {
	cursor: pointer;
	position: relative;
	padding-right: 36px;
}

.vd-content .TableContainer:has([id$="TableCollapseContainer"]) .CaptionContainer::after {
	content: "+";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #f0d78c;
	font-weight: 700;
}

.vd-content .TableContainer.is-open .CaptionContainer::after { content: "\2013"; }

.vd-server-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.vd-server-split > div { min-width: 0; }

.vd-server-split table { max-width: 100%; }

@media (max-width: 800px) {
	.vd-server-split { grid-template-columns: minmax(0, 1fr); }
}

/* News posts: parchment panels from news-panel.css, readable on the dark site. */
.vd-content .valeria-news-panel {
	color: #f4eadc !important;
	background: #1a120e !important;
	background-image: none !important;
	border: 1px solid #8a6a32 !important;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(232, 177, 90, 0.14) !important;
}

.vd-content .valeria-news-panel p,
.vd-content .valeria-news-panel li,
.vd-content .valeria-news-panel span,
.vd-content .valeria-news-panel div,
.vd-content .valeria-news-panel em,
.vd-content .valeria-news-panel td,
.vd-content .valeria-news-panel th {
	color: #f4eadc !important;
}

.vd-content .valeria-news-panel strong {
	color: #fff6e4 !important;
}

.vd-content .valeria-news-panel h1,
.vd-content .valeria-news-panel h2,
.vd-content .valeria-news-panel h3 {
	color: #f0d78c !important;
	border-bottom-color: rgba(232, 177, 90, 0.4) !important;
}

.vd-content .valeria-news-panel a {
	color: #e8b15a !important;
}

.vd-content .valeria-news-panel hr {
	background: linear-gradient(90deg, transparent, #c9a15b, transparent) !important;
}

.vd-content .valeria-news-panel table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 14px;
}

.vd-content .valeria-news-panel td,
.vd-content .valeria-news-panel th {
	background: #24180f !important;
	border: 1px solid #6a4e2c !important;
}

.vd-content .valeria-news-panel th {
	color: #f0d78c !important;
}

/* Highscores outfits use the same framed crop as the top-player list. */
.vd-content td:has(> .vd-outfit-frame) {
	width: 52px;
	min-width: 52px;
	max-width: 52px;
	padding: 4px !important;
	overflow: hidden;
	vertical-align: middle;
	line-height: 0;
	text-align: center;
}

.vd-outfit-frame {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 42px;
	height: 42px;
	margin: 0 auto;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 4px;
	border: 1px solid #8a6a32;
}

.vd-outfit-frame > img {
	position: static !important;
	display: block;
	width: 150% !important;
	height: 150% !important;
	max-width: none !important;
	margin: 0 !important;
	flex: 0 0 auto;
	transform: none !important;
	translate: none !important;
	border: 0;
	background: transparent;
	image-rendering: pixelated;
}
/* Daily OTC client changes. */
.vd-client-updates details {
	margin: 0 0 10px;
	padding: 10px 14px;
	background: #1a120e;
	border: 1px solid #8a6a32;
	border-radius: 6px;
}

.vd-client-updates summary {
	cursor: pointer;
	color: #f0d78c;
	font-weight: 700;
}

.vd-client-updates ol {
	margin: 10px 0 4px 1.2em;
	padding: 0;
}

.vd-client-updates li {
	margin: 0 0 6px;
	line-height: 1.45;
}