/* Avroramu theme - Castle Siege (structure unchanged, colors aligned) */
.castle-siege-block .castle-owner-panel {
	border: 1px solid rgba(157, 77, 255, 0.4);
	box-shadow: 0 0 25px rgba(106, 0, 255, 0.25);
	background: linear-gradient(180deg, rgba(19, 11, 40, 0.96) 0%, rgba(12, 8, 30, 0.96) 100%);
}
.castle-siege-block .castle-owner-panel .panel-body h4 {
	color: #d4af37 !important;
}
.castle-siege-block .castle-owner-panel .castle-owner-statue-wrap {
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
}
.castle-siege-block .castle-owner-panel .castle-owner-statue {
	max-width: 280px;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 14px rgba(157, 77, 255, 0.25));
}
.castle-siege-block .castle-owner-panel .castle-owner-held-logo {
	position: absolute;
	left: 50%;
	top: 43%;
	transform: translate(-50%, -50%);
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 9, 32, 0.75);
	border: 1px solid rgba(157, 77, 255, 0.65);
	border-radius: 8px;
	box-shadow: 0 0 14px rgba(157, 77, 255, 0.35);
}
.castle-siege-block .castle-owner-panel .castle-owner-held-logo img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 560px;
	padding: 20px 10px;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary-line {
	margin-bottom: 16px;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary-line:last-of-type {
	margin-bottom: 18px;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary .alt {
	display: block;
	color: var(--glow-purple);
	font-family: var(--font-heading);
	font-size: 40px;
	line-height: 1.05;
	letter-spacing: 0.02em;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary-value {
	display: block;
	color: #d9d3ef;
	font-size: 52px;
	line-height: 1.05;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary-line-small .alt {
	font-size: 32px;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary-line-small .castle-owner-summary-value {
	font-size: 44px;
}
.castle-siege-block .castle-owner-panel .castle-owner-summary .btn-castlewidget {
	font-size: 18px;
	padding: 10px 24px;
}

.castle-siege-block h2 {
	color: #dfe3ff;
	text-shadow: 0 0 12px rgba(157, 77, 255, 0.22);
	margin-top: 6px;
	margin-bottom: 14px;
}

.castle-siege-block hr {
	border-top: 1px solid rgba(157, 77, 255, 0.38);
	box-shadow: 0 0 14px rgba(106, 0, 255, 0.22);
	margin: 20px 0;
}

.castle-siege-block #siegeTimer {
	font-family: 'Orbitron', sans-serif;
	color: #e6dcff;
	text-shadow: 0 0 15px rgba(157, 77, 255, 0.5);
	font-size: 32px;
	letter-spacing: 0.01em;
	margin-bottom: 8px;
}
.castle-siege-block #siegeTimer span {
	color: #9d4dff;
}

.castle-siege-block .table {
	background: rgba(17, 10, 36, 0.78);
	border: 1px solid rgba(157, 77, 255, 0.36);
	box-shadow: inset 0 1px 0 rgba(157, 77, 255, 0.08), 0 0 16px rgba(106, 0, 255, 0.15);
	margin-bottom: 0;
}

.castle-siege-block .table > thead > tr > th {
	color: var(--glow-purple);
	background: rgba(31, 16, 63, 0.9);
	border-bottom: 1px solid rgba(157, 77, 255, 0.45) !important;
	font-weight: 700;
}

.castle-siege-block .table > tbody > tr > td {
	color: #d9d3ef;
	background: rgba(20, 12, 42, 0.72);
	border-top: 1px solid rgba(157, 77, 255, 0.22) !important;
}

.castle-siege-block .table-striped > tbody > tr:nth-of-type(odd) > td,
.castle-siege-block .table-striped > tbody > tr:nth-of-type(odd) > th {
	background: rgba(26, 15, 52, 0.84);
}

.castle-siege-block .table-striped > tbody > tr:nth-of-type(even) > td,
.castle-siege-block .table-striped > tbody > tr:nth-of-type(even) > th {
	background: rgba(15, 10, 34, 0.84);
}

.castle-siege-block .table > tbody > tr:hover > td {
	background: rgba(40, 20, 80, 0.88) !important;
}

.castle-siege-block #castle-information {
	margin-top: 4px;
}

.castle-siege-block #castle-information + table {
	background: transparent;
	border: none;
	box-shadow: none;
}

.castle-siege-block #castle-information + table > tbody > tr > td {
	border-top: none !important;
	padding: 12px 16px;
	background: rgba(22, 12, 46, 0.82);
}

.castle-siege-block #castle-information + table > tbody > tr > td:first-child {
	width: 35%;
	color: var(--glow-purple);
	font-family: var(--font-heading);
	font-size: 22px;
	border-radius: 8px 0 0 8px;
}

.castle-siege-block #castle-information + table > tbody > tr > td:last-child {
	color: #efe9ff;
	font-size: 28px;
	border-radius: 0 8px 8px 0;
}

.castle-siege-block #castle-information + table > tbody > tr:nth-child(even) > td {
	background: rgba(16, 10, 35, 0.86);
}

.castle-siege-block #castle-information + table > tbody > tr:hover > td {
	background: rgba(46, 22, 92, 0.9) !important;
}

.castle-owner-widget {
	border: 1px solid rgba(157, 77, 255, 0.4);
	box-shadow: 0 0 20px rgba(106, 0, 255, 0.2);
}
.castle-owner-widget .panel-body span.alt {
	color: var(--glow-purple);
}
.btn-castlewidget:hover {
	box-shadow: 0 0 20px rgba(157, 77, 255, 0.6);
}

@media (max-width: 768px) {
	.castle-siege-block #siegeTimer {
		font-size: 24px;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-statue {
		max-width: 210px;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-summary {
		min-height: 0;
		padding-top: 0;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-summary .alt {
		font-size: 26px;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-summary-value {
		font-size: 30px;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-summary-line-small .alt {
		font-size: 23px;
	}

	.castle-siege-block .castle-owner-panel .castle-owner-summary-line-small .castle-owner-summary-value {
		font-size: 26px;
	}

	.castle-siege-block #castle-information + table > tbody > tr > td:first-child {
		font-size: 17px;
	}

	.castle-siege-block #castle-information + table > tbody > tr > td:last-child {
		font-size: 21px;
	}
}

