/* Old Dragon site polish — remova o <link> em index.php para reverter */

/* ---- Home feature cards (mesmo tom das vocações) ---- */
.OdFeaturesHome {
	margin: 0 0 14px;
	padding: 0;
	background: #d4c0a1;
	border: 1px solid #5f4d41;
	border-radius: 0;
	clear: both;
	font-family: Verdana, Arial, Times New Roman, sans-serif;
	color: #5A2800;
}
.OdFeaturesHomeTitle {
	text-align: center;
	color: #ffffff;
	font: bold 11pt Verdana, Arial, sans-serif;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0;
	padding: 8px 10px;
	background: #5f4d41;
	border-bottom: 1px solid #5f4d41;
	text-shadow: none;
}
.OdFeaturesHomeGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	padding: 8px;
	background: #d4c0a1;
}
@media (max-width: 900px) {
	.OdFeaturesHomeGrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.OdFeatureCard {
	display: block;
	text-decoration: none !important;
	background: #f1e0c6;
	border: 1px solid #5f4d41;
	border-top: 3px solid var(--od-accent, #793d03);
	border-radius: 0;
	padding: 10px 10px 8px;
	margin: 0 4px;
	transition: box-shadow 0.12s ease, border-color 0.12s ease;
	min-height: 96px;
}
.OdFeatureCard:hover {
	border-color: #793d03;
	box-shadow: 0 0 0 1px #793d03 inset;
	background: #f1e0c6;
}
.OdFeatureTag {
	display: inline-block;
	font: bold 9px Verdana, Arial, sans-serif;
	color: #fff;
	background: var(--od-accent, #793d03);
	padding: 1px 6px;
	border-radius: 10px;
	margin-bottom: 6px;
}
.OdFeatureName {
	display: block;
	font: bold 12px Verdana, Arial, sans-serif;
	color: #5A2800;
	margin-bottom: 4px;
}
.OdFeatureDesc {
	display: block;
	font: 10px/1.35 Verdana, Arial, sans-serif;
	color: #5A2800;
	margin-bottom: 6px;
}
.OdFeatureGo {
	display: block;
	font: bold 10px Verdana, Arial, sans-serif;
	color: #793d03;
}

/* ---- In-page anchors (Library guides) ---- */
.OdPageNav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 0 0 14px;
	padding: 8px;
	background: rgba(20, 30, 24, 0.92);
	border: 1px solid #4a6a50;
	border-radius: 5px;
}
.OdPageNav a {
	display: inline-block;
	padding: 4px 10px;
	font: bold 10px Verdana, Arial, sans-serif;
	color: #e8f5e9 !important;
	text-decoration: none !important;
	background: #243028;
	border: 1px solid #5a7a60;
	border-radius: 12px;
	transition: background 0.12s ease, border-color 0.12s ease;
}
.OdPageNav a:hover {
	background: #3d5a40;
	border-color: #c9a55c;
	color: #ffd54a !important;
}

/* ---- Thematic footer ---- */
#Footer.OdFooter {
	font-size: 8pt;
	padding: 0;
	margin-top: 8px;
}
.OdFooterInner {
	margin: 0 auto;
	max-width: 780px;
	padding: 14px 16px 18px;
	background: linear-gradient(180deg, rgba(26, 36, 28, 0.95) 0%, rgba(12, 16, 14, 0.98) 100%);
	border: 1px solid #3d5a40;
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(201, 165, 92, 0.15);
}
.OdFooterBrand {
	color: #e8c84a;
	font: bold 11px Verdana, Arial, sans-serif;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}
.OdFooterLinks {
	line-height: 1.9;
	margin-bottom: 8px;
}
.OdFooterLinks a {
	color: #d4e8d8 !important;
	margin: 0 4px;
	text-decoration: none !important;
}
.OdFooterLinks a:hover {
	color: #ffd54a !important;
	text-decoration: underline !important;
}
.OdFooterSep {
	color: #5a7a60;
	margin: 0 2px;
}
.OdFooterMeta {
	color: #8a9a8c;
	font-size: 7pt;
	line-height: 1.5;
}
.OdFooterMeta a {
	color: #a8c4b0 !important;
}

/* ---- Sidebar OD boxes ---- */
.OdSideBox {
	width: 180px;
	margin: 0 0 12px;
	background: #d4c0a1;
	border: 1px solid #5f4d41;
	font-family: Verdana, Arial, sans-serif;
	box-sizing: border-box;
}
.OdSideBoxTitle {
	background: #5f4d41;
	color: #fff;
	font: bold 10px Verdana, Arial, sans-serif;
	text-align: center;
	letter-spacing: 0.5px;
	padding: 7px 6px;
}
.OdSideBoxBody {
	padding: 10px 8px 12px;
	background: #f1e0c6;
}
.OdSideBoxText {
	margin: 0 0 10px;
	font: 10px/1.4 Verdana, Arial, sans-serif;
	color: #5A2800;
	text-align: center;
}
.OdSideBtn {
	display: block;
	text-align: center;
	text-decoration: none !important;
	font: bold 10px Verdana, Arial, sans-serif;
	padding: 7px 6px;
	margin: 0 0 6px;
	border: 1px solid #5f4d41;
	color: #fff !important;
	border-radius: 2px;
}
.OdSideBtn:last-child { margin-bottom: 0; }
.OdSideBtnPrimary { background: #6b4e2e; }
.OdSideBtnPrimary:hover { background: #793d03; }
.OdSideBtnGhost { background: #8a7355; }
.OdSideBtnGhost:hover { background: #6b5740; }
.OdSideBtnWhats { background: #1f9c4d; border-color: #176f37; }
.OdSideBtnWhats:hover { background: #178a42; }
.OdSideBtnDiscord { background: #5865F2; border-color: #3c45a5; }
.OdSideBtnDiscord:hover { background: #4752c4; }
.OdSideBtnDisabled {
	display: block;
	text-align: center;
	font: bold 10px Verdana, Arial, sans-serif;
	padding: 7px 6px;
	background: #c4b49a;
	color: #6a5a45 !important;
	border: 1px dashed #8a7355;
	cursor: default;
}
.OdSideKillsList { padding-top: 8px; }
.OdSideKill {
	padding: 5px 2px 6px;
	border-bottom: 1px solid #c9b896;
	font: 10px/1.3 Verdana, Arial, sans-serif;
}
.OdSideKill:last-of-type { border-bottom: 0; }
.OdSideKill a {
	color: #5A2800 !important;
	font-weight: bold;
	text-decoration: none !important;
}
.OdSideKill a:hover { color: #793d03 !important; text-decoration: underline !important; }
.OdSideKillMeta {
	display: block;
	color: #7a5a3a;
	font-size: 9px;
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.OdSideTopKill {
	position: relative;
	padding-left: 28px;
}
.OdSideKillRank {
	position: absolute;
	left: 2px;
	top: 5px;
	font: bold 10px Verdana, Arial, sans-serif;
	color: #793d03;
}
.OdSideBoxTopKills .OdSideKill:nth-child(1) .OdSideKillRank { color: #b8860b; }
.OdSideBoxTopKills .OdSideKill:nth-child(2) .OdSideKillRank { color: #6a6a6a; }
.OdSideBoxTopKills .OdSideKill:nth-child(3) .OdSideKillRank { color: #8b4513; }
.OdSideBoxHighscores .OdSideKill:nth-child(1) .OdSideKillRank { color: #b8860b; }
.OdSideBoxHighscores .OdSideKill:nth-child(2) .OdSideKillRank { color: #6a6a6a; }
.OdSideBoxHighscores .OdSideKill:nth-child(3) .OdSideKillRank { color: #8b4513; }
.OdSideBoxHighscores a.OdOnline { color: #1a7a2e !important; }
.OdSideBoxHighscores a.OdOffline { color: #5A2800 !important; }
.OdSideMore {
	display: block;
	text-align: center;
	margin-top: 8px;
	font: bold 10px Verdana, Arial, sans-serif;
	color: #793d03 !important;
	text-decoration: none !important;
}
.OdSideMore:hover { text-decoration: underline !important; }

.OdLiveDot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 4px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
	animation: OdLivePulse 1.6s infinite;
	vertical-align: 1px;
}
@keyframes OdLivePulse {
	0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
	70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Themeboxes column spacing for custom boxes */
#Themeboxes .OdSideBox { clear: both; }

/* ---- Library menu tags ---- */
.OdLibTag {
	display: inline-block;
	font: bold 8px Verdana, Arial, sans-serif !important;
	color: #fff !important;
	padding: 0 4px;
	border-radius: 8px;
	margin-right: 2px;
	vertical-align: 1px;
	letter-spacing: 0;
}

/* ---- News cards ---- */
.OdNewsCard {
	margin: 0 0 14px;
	background: #f1e0c6;
	border: 1px solid #5f4d41;
}
.OdNewsCardHead {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: #5f4d41;
	color: #fff;
}
.OdNewsCardIcon {
	width: 32px;
	height: 32px;
	image-rendering: pixelated;
	flex: 0 0 auto;
}
.OdNewsCardMeta { flex: 1; min-width: 0; }
.OdNewsCardDate {
	font: 9px Verdana, Arial, sans-serif;
	color: #d4c0a1;
	margin-bottom: 2px;
}
.OdNewsCardTitle {
	font: bold 12px Verdana, Arial, sans-serif;
	color: #fff;
	line-height: 1.3;
}
.OdNewsCardAuthor {
	font: italic 9px Verdana, Arial, sans-serif;
	color: #c9b896;
	margin-top: 2px;
}
.OdNewsCardBody {
	padding: 12px 14px;
	font: 10pt/1.45 Verdana, Arial, sans-serif;
	color: #5A2800;
}
.OdNewsCardFoot {
	padding: 0 14px 10px;
	text-align: right;
	font: 10px Verdana, Arial, sans-serif;
}
.OdNewsCardFoot a { color: #793d03 !important; }

/* Featured article fallback polish */
#FeaturedArticle #TeaserThumbnail img {
	background: #d4c0a1;
	border: 1px solid #5f4d41;
	object-fit: cover;
}

