/* Bewertungen 1–10 (piratenspiele-core). Bewusst schlicht; das Redesign kann es überschreiben. */
.ps-bewertung {
	margin: 0 0 20px 0;
	padding: 12px 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 7px;
}
.ps-bewertung__stand {
	margin: 0 0 8px 0;
}
.ps-bewertung__sterne {
	--ps-schnitt: 0;
	position: relative;
	display: inline-block;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
	color: #767676;
	vertical-align: -2px;
}
.ps-bewertung__sterne::before {
	content: "★★★★★★★★★★";
}
.ps-bewertung__sterne::after {
	content: "★★★★★★★★★★";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--ps-schnitt) * 10%);
	overflow: hidden;
	white-space: nowrap;
	color: #a86b00;
}
.ps-bewertung fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.ps-bewertung legend {
	padding: 0;
	margin: 0 0 6px 0;
}
.ps-bewertung__auswahl {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px;
}
.ps-bewertung__auswahl input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.ps-bewertung__auswahl label {
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	color: #767676;
	padding: 4px 2px;
	min-width: 24px;
	text-align: center;
}
.ps-bewertung__auswahl label::before {
	content: "★";
}
/* Hervorheben bis zum gewählten Stern (Reihenfolge im HTML: 1 … 10, Pfeiltasten laufen mit) */
.ps-bewertung__auswahl input:checked + label,
.ps-bewertung__auswahl label:has(~ input:checked) {
	color: #a86b00;
}
/* Vorschau beim Überfahren mit der Maus */
.ps-bewertung__auswahl:has(label:hover) label {
	color: #767676;
}
.ps-bewertung__auswahl label:hover,
.ps-bewertung__auswahl label:has(~ label:hover) {
	color: #a86b00;
}
.ps-bewertung__auswahl input:focus-visible + label {
	outline: 3px solid #1a5fb4;
	outline-offset: 2px;
	border-radius: 3px;
}
.ps-bewertung__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.ps-bewertung__knopf {
	margin: 8px 0 0 0;
	padding: 6px 16px;
	font: inherit;
	color: #fff;
	background: #1d5f5a;
	border: 1px solid #154743;
	border-radius: 5px;
	cursor: pointer;
}
.ps-bewertung__knopf:hover {
	background: #154743;
}
.ps-bewertung__knopf:focus-visible {
	outline: 3px solid #1a5fb4;
	outline-offset: 2px;
}
.ps-bewertung fieldset:disabled label,
.ps-bewertung__knopf:disabled {
	cursor: default;
	opacity: 0.6;
}
.ps-bewertung__meldung {
	margin: 6px 0 0 0;
	min-height: 20px;
}
