/* ==================== レイドボス表示 [gsr_raid] ==================== */

.gsr-raid {
	margin: 1.5em 0;
}

.gsr-raid-boss {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	border: 2px solid #2c3e50;
	border-radius: 10px;
	background: #fff;
	padding: 16px 18px;
	margin-bottom: 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.gsr-raid-boss__image img {
	max-width: 160px;
	height: auto;
	border-radius: 8px;
	display: block;
}

.gsr-raid-boss__info {
	flex: 1;
	min-width: 0;
}

.gsr-raid-boss__head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.gsr-raid-boss__name {
	font-size: 20px;
	font-weight: 800;
	color: #2c3e50;
}

.gsr-boss-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: #7f8c8d;
}

.gsr-boss-status--active   { background: #27ae60; }
.gsr-boss-status--upcoming { background: #2980b9; }
.gsr-boss-status--ended    { background: #7f8c8d; }
.gsr-boss-status--defeated { background: #d4a017; }

.gsr-raid-boss__period,
.gsr-raid-stats {
	margin: 2px 0;
	font-size: 12px;
	color: #666;
}

.gsr-raid-boss__desc {
	margin: 6px 0;
	font-size: 13px;
}

/* HPバー */
.gsr-raid-hpbar {
	height: 18px;
	border-radius: 9px;
	background: #e3e8ee;
	border: 1px solid #cfd6dd;
	overflow: hidden;
	margin: 8px 0 4px;
}

.gsr-raid-hpbar__fill {
	height: 100%;
	border-radius: 9px 0 0 9px;
	background: linear-gradient(90deg, #e74c3c, #f39c12);
	transition: width 0.4s ease;
}

.gsr-raid-hpbar__fill--zero {
	width: 0 !important;
}

.gsr-raid-hptext {
	margin: 2px 0;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

/* レイドランキング（シンプル表示） */
.gsr-raid-table {
	min-width: 480px;
}

.gsr-raid-table .gsr-col-name {
	text-align: left;
}

.gsr-raid-count {
	font-variant-numeric: tabular-nums;
}

.gsr-raid-table tr.gsr-raid-rank-1 { background: #fffbea; }
.gsr-raid-table tr.gsr-raid-rank-2 { background: #f4f7fa; }
.gsr-raid-table tr.gsr-raid-rank-3 { background: #fdf3e9; }
.gsr-raid-rank-1 .gsr-rank-badge { background: #d4a017; }
.gsr-raid-rank-2 .gsr-rank-badge { background: #8e9aa5; }
.gsr-raid-rank-3 .gsr-rank-badge { background: #b06f34; }

@media (max-width: 600px) {
	.gsr-raid-boss {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.gsr-raid-boss__head {
		justify-content: center;
	}
}

