/* WordPress テーマの .entry-content ul などが padding-left / list-style を
   付けてくるため !important で打ち消す。プラグインの構造リセットなので
   ここで強制してよい範囲。 */
.pokedata-winners {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pokedata-winner {
	margin: 0 0 1.5em !important;
	padding: 0 0 1.5em !important;
	border-bottom: 1px solid #e5e5e5;
	list-style: none !important;
}

.pokedata-winner:last-child {
	border-bottom: 0;
}

.pokedata-winner__heading {
	margin: 0 0 0.5em;
	font-size: 1.05em;
	font-weight: 600;
}

.pokedata-winner__image {
	display: block;
	max-width: 100%;
	height: auto;
}

.pokedata-winner__link {
	margin: 0.5em 0 0;
	font-size: 0.9em;
}

.pokedata-error,
.pokedata-empty {
	font-size: 0.9em;
	color: #666;
}

/* ===== Tier 表 ===== */

.pokedata-tiers {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
	margin: 0;
}

.pokedata-tier-section {
	border-radius: 8px;
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 0.75em 1em 1em;
}

.pokedata-tier-section__heading {
	margin: 0 0 0.5em !important;
	padding: 0;
	font-size: 1em;
	font-weight: 700;
	border: 0;
}

.pokedata-tier-section__badge {
	display: inline-block;
	padding: 0.15em 0.6em;
	border-radius: 999px;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	background: #eee;
	color: #333;
}

.pokedata-tier-section__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 0.6em;
}

.pokedata-tier-section__item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0.25em 0.6em;
	border-radius: 6px;
	background: #f5f5f5;
	font-size: 0.95em;
}

.pokedata-tier-section__name {
	font-weight: 600;
}

.pokedata-tier-section__annotation {
	margin-left: 0.25em;
	color: #888;
	font-weight: normal;
}

.pokedata-tier-section__link {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}
.pokedata-tier-section__link:hover {
	text-decoration: underline;
}

/* Tier ごとの強調 */
.pokedata-tier-1 {
	border-color: #d4af37;
	background: #fffaeb;
}
.pokedata-tier-1 .pokedata-tier-section__badge {
	background: #d4af37;
	color: #fff;
}

.pokedata-tier-2 {
	border-color: #b0b0b0;
	background: #fafafa;
}
.pokedata-tier-2 .pokedata-tier-section__badge {
	background: #b0b0b0;
	color: #fff;
}

.pokedata-tier-3 {
	border-color: #c08b5c;
	background: #fff7f1;
}
.pokedata-tier-3 .pokedata-tier-section__badge {
	background: #c08b5c;
	color: #fff;
}

.pokedata-tier-4 .pokedata-tier-section__badge {
	background: #4a7fb8;
	color: #fff;
}

.pokedata-tier-5 {
	border-color: #ddd;
	background: #fbfbfb;
	color: #555;
}
.pokedata-tier-5 .pokedata-tier-section__badge {
	background: #aaa;
	color: #fff;
}
