/*
 * Pollfix supplies structure and accessible fallbacks in a low-priority layer.
 * Theme styles, whether layered later or unlayered, remain visually authoritative.
 */
@layer pollfix {
.pollfix {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0;
  padding: 0 .75rem .75rem;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(127, 127, 127, .45);
}

.pollfix *,
.pollfix *::before,
.pollfix *::after {
  box-sizing: border-box;
}

.pollfix-header {
  margin: 0 -.75rem .7rem;
  padding: .6rem .75rem;
  background: rgba(127, 127, 127, .14);
  border-bottom: 1px solid rgba(127, 127, 127, .45);
}

.pollfix-header h2,
.pollfix-results h3 {
  margin-top: 0;
}

.pollfix-header h2 {
  margin-bottom: 0;
}

.pollfix-intro {
  margin-top: .55rem;
  font-size: .96em;
}

.pollfix-intro > :last-child {
  margin-bottom: 0;
}

.pollfix-notice,
.pollfix-closed {
  margin: .6rem 0;
  padding: .5rem .65rem;
  background: rgba(127, 127, 127, .08);
  border: 1px solid rgba(127, 127, 127, .45);
}

.pollfix-vote-form fieldset {
  min-width: 0;
  margin: .7rem 0 0;
  padding: 0;
  border: 0;
}

.pollfix-vote-form legend {
  margin-bottom: .35rem;
  font-weight: 700;
}

.pollfix-vote-limit {
  margin: 0 0 .75rem;
  font-size: .92em;
}

.pollfix-options {
  display: grid;
  gap: 0;
}

.pollfix-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  padding: .65rem .5rem;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.pollfix-option:hover,
.pollfix-option:focus-within {
  background: rgba(127, 127, 127, .1);
}

.pollfix-book-divider {
	display: flex;
	gap: .45rem;
	align-items: center;
	justify-content: center;
	min-height: 1.6rem;
	color: var(--wp--preset--color--accent-1, var(--wp--preset--color--accent, var(--ws-red, currentColor)));
	font-size: .82em;
	letter-spacing: .28em;
	line-height: 1;
}

.pollfix-book-divider::before,
.pollfix-book-divider::after {
	width: min(7rem, 18%);
	height: 1px;
	background: currentColor;
	content: "";
	opacity: .38;
}

.pollfix-option input[type="radio"],
.pollfix-option input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: .25em 0 0;
	align-self: start;
  accent-color: var(--ws-red, #6f238c);
}

.pollfix-option input[type="radio"]:focus-visible,
.pollfix-option input[type="checkbox"]:focus-visible,
.pollfix input:focus-visible,
.pollfix textarea:focus-visible,
.pollfix summary:focus-visible,
.pollfix-button:focus-visible {
  outline: 3px solid var(--ws-focus, currentColor);
  outline-offset: 3px;
}

.pollfix-book {
  display: block;
  min-width: 0;
}

.pollfix-book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  align-items: baseline;
}

.pollfix-book-author {
  flex: 1 1 9rem;
}

.pollfix-book-title {
  flex: 2 1 14rem;
  font-weight: 700;
}

.pollfix-book-pages {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .92em;
}

.pollfix-result-title {
	font-weight: 700;
}

.pollfix-result-author {
	opacity: .82;
}

.pollfix-screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

} /* Die gemeinsamen Hauptaktionen müssen Theme-Regeln zuverlässig angleichen. */

/* Derselbe Grundstil wie die Neuere-/Ältere-Navigation des Arkham-Club-Themes. */
.pollfix .pollfix-button,
.pollfix .pollfix-suggestion > summary {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.4rem;
  margin-top: .7rem;
  align-items: center;
  justify-content: center;
  padding: .45rem .7rem;
  color: var(--ws-text, #f8f2e8);
  background: var(--ws-surface-2, #211e24);
  border: 1px solid var(--ws-line, #625d66);
  border-radius: .75rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .42);
  font: inherit;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  appearance: none;
	list-style: none;
  cursor: pointer;
}

.pollfix .pollfix-button:hover,
.pollfix .pollfix-button:active,
.pollfix .pollfix-suggestion > summary:hover,
.pollfix .pollfix-suggestion > summary:active {
  color: var(--ws-hover-text, #171419);
  background: var(--ws-hover-bg, #fff3d8);
  border-color: var(--ws-hover-border, #fff);
  box-shadow: 3px 3px 0 var(--ws-red, #8f241f);
}

.pollfix .pollfix-button:focus-visible,
.pollfix .pollfix-suggestion > summary:focus-visible {
  color: var(--ws-hover-text, #171419);
  background: var(--ws-hover-bg, #fff3d8);
  border-color: var(--ws-focus, #fff);
  box-shadow: 3px 3px 0 var(--ws-red, #8f241f);
}

html[data-theme="light"] .pollfix .pollfix-button,
html[data-theme="light"] .pollfix .pollfix-suggestion > summary {
  box-shadow: 3px 3px 0 rgba(42, 32, 48, .24);
}

html[data-theme="light"] .pollfix .pollfix-button:hover,
html[data-theme="light"] .pollfix .pollfix-button:active,
html[data-theme="light"] .pollfix .pollfix-button:focus-visible,
html[data-theme="light"] .pollfix .pollfix-suggestion > summary:hover,
html[data-theme="light"] .pollfix .pollfix-suggestion > summary:active,
html[data-theme="light"] .pollfix .pollfix-suggestion > summary:focus-visible {
  box-shadow: 3px 3px 0 var(--ws-red, #8f241f);
}

@layer pollfix {

.pollfix-results {
  margin-top: 1rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(127, 127, 127, .45);
}

.pollfix-primary-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	align-items: flex-start;
	margin-top: .7rem;
}

.pollfix-primary-actions > .pollfix-button {
	margin-top: 0;
}

.pollfix-primary-actions .pollfix-suggestion > summary {
	margin-top: 0;
}

.pollfix-primary-actions .pollfix-suggestion {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.pollfix-primary-actions .pollfix-suggestion[open] {
	flex: 1 1 36rem;
}

.pollfix-results > summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: .5rem;
	align-items: center;
	padding: .35rem 0;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.pollfix-results > summary::-webkit-details-marker {
	display: none;
}

.pollfix-results > summary::before {
	content: "▸";
}

.pollfix-results[open] > summary::before {
	content: "▾";
}

.pollfix-results-content {
	margin-top: .65rem;
}

.pollfix-result + .pollfix-result {
  margin-top: .55rem;
}

.pollfix-result-label {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .3rem;
}

.pollfix-result-track {
  height: .6rem;
  overflow: hidden;
  background: rgba(127, 127, 127, .2);
  border: 1px solid rgba(127, 127, 127, .45);
}

.pollfix-result-track span {
  display: block;
  height: 100%;
  background: var(--ws-red, #7b2b91);
}

.pollfix-suggestion > summary::-webkit-details-marker {
	display: none;
}

.pollfix-suggestion-form {
	width: 100%;
	max-width: 36rem;
	margin-top: calc(.75rem + 5px);
}

.pollfix-suggester-field {
	margin: 0 0 .75rem;
}

.pollfix-suggester-field label {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: .55rem;
	align-items: center;
	font-size: .9em;
	font-weight: 600;
}

.pollfix-suggestion-books {
	display: grid;
	gap: .65rem;
}

.pollfix-suggestion-book {
	position: relative;
	display: grid;
	min-width: 0;
	gap: .4rem;
	margin: 0;
	padding: .55rem .7rem .65rem;
	background: rgba(127, 127, 127, .05);
	border: 1px solid rgba(127, 127, 127, .35);
}

.pollfix-suggestion-book legend {
	padding: 0 .3rem;
	font-size: .92em;
	font-weight: 700;
}

.pollfix-suggestion-book label {
  display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: .55rem;
	align-items: center;
	margin: 0;
	font-size: .9em;
	font-weight: 600;
}

.pollfix-field-label {
	text-align: right;
	line-height: 1.2;
}

.pollfix-suggestion-book .pollfix-intro-field {
	align-items: start;
}

.pollfix-intro-field .pollfix-field-label {
	padding-top: .4rem;
}

.pollfix-suggestion input,
.pollfix-suggestion textarea {
  width: 100%;
	max-width: none;
	min-height: 2.1rem;
	padding: .3rem .48rem;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(127, 127, 127, .55);
  border-radius: 0;
  font: inherit;
}

.pollfix-suggestion textarea {
	min-height: 3.5rem;
	resize: vertical;
}

.pollfix-suggestion-actions {
	margin-top: .55rem;
}

.pollfix .pollfix-add-book,
.pollfix .pollfix-remove-book {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	min-width: 2rem;
	min-height: 2rem;
	place-items: center;
	padding: 0;
	color: var(--ws-text, #f8f2e8);
	background: var(--ws-surface-2, #211e24);
	border: 1px solid var(--ws-line, #625d66);
	border-radius: .65rem;
	box-shadow: 2px 2px 0 rgba(0, 0, 0, .38);
	font: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	appearance: none;
	cursor: pointer;
}

.pollfix .pollfix-remove-book {
	position: absolute;
	top: .38rem;
	right: .5rem;
	width: 1.75rem;
	height: 1.75rem;
	min-width: 1.75rem;
	min-height: 1.75rem;
	font-size: 1rem;
}

.pollfix .pollfix-add-book:hover,
.pollfix .pollfix-remove-book:hover,
.pollfix .pollfix-add-book:focus-visible,
.pollfix .pollfix-remove-book:focus-visible {
	color: var(--ws-hover-text, #171419);
	background: var(--ws-hover-bg, #fff3d8);
	border-color: var(--ws-hover-border, #fff);
	box-shadow: 2px 2px 0 var(--ws-red, #8f241f);
	outline: 3px solid var(--ws-focus, currentColor);
	outline-offset: 3px;
}

.pollfix .pollfix-add-book:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.pollfix-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
	.pollfix-book-meta,
	.pollfix-result-label {
		display: grid;
		gap: .2rem;
	}

	.pollfix-book-author,
	.pollfix-book-title,
	.pollfix-book-pages {
		min-width: 0;
	}

	.pollfix-suggestion-book label,
	.pollfix-suggester-field label {
		grid-template-columns: 1fr;
		gap: .2rem;
	}

	.pollfix-field-label {
		text-align: left;
	}

	.pollfix-intro-field .pollfix-field-label {
		padding-top: 0;
	}
}

} /* Ende der niedrig priorisierten allgemeinen Pollfix-Stile. */

/* Verbindliche Darstellung des Umfragekopfs und der Buchzeilen. */
.pollfix:not(.pollfix-rating) > .pollfix-header {
	display: flex;
	min-height: 7.5rem;
	margin: 0 -.75rem .7rem;
	padding: 1.25rem;
	justify-content: center;
	flex-direction: column;
	color: #fff;
	background-color: #710900;
	background-image: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .42)), var(--pollfix-header-image);
	background-position: center;
	background-size: cover;
	border-bottom: 1px solid rgba(127, 127, 127, .45);
	text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
}

.pollfix:not(.pollfix-rating) > .pollfix-header h2,
.pollfix:not(.pollfix-rating) > .pollfix-header .pollfix-intro {
	color: inherit;
}

.pollfix-option .pollfix-book-meta {
	display: flex;
	gap: .25rem .8rem;
	align-items: baseline;
	flex-wrap: wrap;
}

.pollfix-option .pollfix-book-main {
	flex: 1 1 auto;
	font-weight: 700;
}

.pollfix-option .pollfix-book-title,
.pollfix-option .pollfix-book-author,
.pollfix-result-title,
.pollfix-result-author a {
	color: inherit;
	font-weight: inherit;
}

.pollfix-option .pollfix-book-pages {
	flex: 0 0 auto;
	font-weight: 400;
}

.pollfix-result-label > span:first-child {
	font-weight: 700;
}

.pollfix-option .pollfix-book-intro {
	margin: .65rem 0 1em;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	font-size: inherit;
	font-style: italic;
	font-weight: 400;
	line-height: inherit;
}

.pollfix-option .pollfix-proposer {
	display: block;
	margin-top: .3rem;
	color: var(--wp--preset--color--accent-1, var(--wp--preset--color--accent, var(--ws-red, currentColor)));
	font-size: .75em;
	font-style: italic;
}

.pollfix-suggestion-form .pollfix-suggester-field small {
	display: block;
	margin: calc(.25rem + 5px) 0 0 8.05rem;
}

.pollfix-suggestion-form > .pollfix-button[type="submit"] {
	margin-top: 5px;
}

/* Buchbewertungen */
.pollfix-rating {
	padding-top: 0;
}

.pollfix-rating-header {
	display: flow-root;
	margin: 0 0 1em;
	padding: 0;
	background: transparent;
	border: 0;
}

.pollfix-rating-cover {
	float: left;
	width: 6.5rem;
	max-width: 35%;
	margin: 0 .5cm .5cm 0;
}

.pollfix-rating-cover img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.pollfix-rating-book {
	display: flow-root;
	min-width: 0;
}

.pollfix-rating-book h2,
.pollfix-rating-comments h3 {
	margin-top: 0;
}

.pollfix-rating-book h2 {
	clear: none;
}

.pollfix-rating-author {
	margin: 0 0 .35rem;
	font-weight: 700;
}

.pollfix-rating-period {
	margin: 0 0 .5rem;
	font-size: .92em;
}

.pollfix-rating-intro,
.pollfix-rating-intro > :last-child {
	margin-bottom: 0;
}

.pollfix-rating-summary {
	display: flex;
	gap: .65rem;
	align-items: baseline;
	padding: .45rem .6rem;
	background: rgba(127, 127, 127, .08);
	border: 1px solid rgba(127, 127, 127, .35);
}

.pollfix-rating-summary strong {
	font-size: 1.2em;
}

.pollfix-rating-form {
	margin-top: .6rem;
}

.pollfix-score-scale {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.pollfix-score-scale legend,
.pollfix-rating-comment > span {
	display: block;
	margin-bottom: .35rem;
	font-weight: 700;
}

.pollfix-score-options {
	display: inline-flex;
	max-width: 100%;
	gap: .08rem;
	color: currentColor;
}

.pollfix-score-options label {
	display: inline-grid;
	place-items: center;
	cursor: pointer;
}

.pollfix-score-options input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.pollfix-score-options .pollfix-star {
	padding: .08rem;
	color: currentColor;
	font-size: 1.25rem;
	line-height: 1;
	opacity: .22;
	transition: color 120ms ease, opacity 120ms ease, transform 120ms ease;
}

.pollfix-score-options label:hover .pollfix-star,
.pollfix-score-options label:has(~ label:hover) .pollfix-star,
.pollfix-score-options input:checked + label .pollfix-star,
.pollfix-score-options label:has(~ input:checked) .pollfix-star {
	color: var(--ws-red, currentColor);
	opacity: 1;
}

.pollfix-score-options label:hover .pollfix-star {
	transform: translateY(-1px);
}

.pollfix-score-options input:focus-visible + label .pollfix-star {
	outline: 2px solid var(--ws-focus, currentColor);
	outline-offset: 2px;
}

.pollfix-score-ends {
	display: flex;
	justify-content: space-between;
	margin-top: .2rem;
	width: 13.2rem;
	max-width: 100%;
	font-size: .78em;
	opacity: .75;
}

.pollfix-detail-rating {
	margin-top: .6rem;
	border: 1px solid rgba(127, 127, 127, .4);
}

.pollfix-detail-rating > summary {
	padding: .45rem .6rem;
	background: rgba(127, 127, 127, .08);
	font-weight: 700;
	cursor: pointer;
}

.pollfix-detail-rating[open] > summary {
	border-bottom: 1px solid rgba(127, 127, 127, .35);
}

.pollfix-detail-rating-content {
	display: block;
	padding: .75em;
}

.pollfix-category-score {
	margin: 0 0 1.5em;
	padding: 0 !important;
	background: transparent;
	border: 0 !important;
}

.pollfix-category-score:last-child {
	margin-bottom: 0;
}

.pollfix-category-score legend {
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: 700;
}

.pollfix-category-score > p {
	margin: .25em 0 .75em;
	font-size: .9em;
	font-style: italic;
	opacity: .85;
}

.pollfix-category-score .pollfix-score-options {
	display: flex;
	width: fit-content;
	margin-inline: auto;
	justify-content: center;
}

.pollfix-category-score .pollfix-star {
	font-size: 1.05rem;
}

.pollfix-category-score .pollfix-score-ends {
	margin: .25em auto 0;
	font-size: .78em;
}

.pollfix-category-results > div {
	padding: .15rem 0;
}

.pollfix-category-results {
	margin-top: .7rem;
	padding: .55rem .6rem;
	background: rgba(127, 127, 127, .045);
	border: 1px solid rgba(127, 127, 127, .3);
}

.pollfix-category-results h3 {
	margin: 0 0 .25rem;
	font-size: 1rem;
}

.pollfix-category-results p {
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	margin: .35rem 0;
	font-size: .9em;
}

.pollfix-rating-text-fields {
	display: grid;
	gap: .55rem;
	margin-top: .65rem;
}

.pollfix-rating-text-fields label > span {
	display: block;
	margin-bottom: .25rem;
	font-weight: 700;
}

.pollfix-rating-text-fields input,
.pollfix-rating-comment textarea {
	width: 100%;
	padding: .4rem .5rem;
	color: inherit;
	background: transparent;
	border: 1px solid rgba(127, 127, 127, .55);
	border-radius: 0;
	font: inherit;
}

.pollfix-rating-text-fields input {
	max-width: 24rem;
}

.pollfix-rating-text-fields > small {
	margin-top: -.4rem;
	opacity: .75;
}

.pollfix-rating-comment {
	display: block;
}

.pollfix-rating-comment textarea {
	min-height: 5rem;
	resize: vertical;
}

.pollfix-rating-comments {
	margin-top: 1rem;
	padding-top: .7rem;
	border-top: 1px solid rgba(127, 127, 127, .45);
}

.pollfix-rating-comments article {
	padding: .55rem .65rem;
	background: rgba(127, 127, 127, .06);
	border: 1px solid rgba(127, 127, 127, .3);
}

.pollfix-rating-comments article + article {
	margin-top: .45rem;
}

.pollfix-rating-comments article p {
	margin: .25rem 0 0;
}

.pollfix-rating-comments article header {
	display: flex;
	gap: .75rem;
	justify-content: space-between;
}

.pollfix-public-stars {
	color: var(--ws-red, currentColor);
	font-size: .92em;
	letter-spacing: .04em;
	white-space: nowrap;
}

.pollfix-user-category-scores {
	display: grid;
	gap: .12rem;
	margin: .4rem 0;
	padding: .35rem .45rem;
	background: rgba(127, 127, 127, .06);
	font-size: .82em;
}

.pollfix-user-category-scores div {
	display: flex;
	gap: .6rem;
	justify-content: space-between;
}

.pollfix-user-category-scores dt,
.pollfix-user-category-scores dd {
	margin: 0;
}

.pollfix-user-category-scores dd {
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.pollfix-rating-cover {
		width: 5.5rem;
	}

	.pollfix-score-options .pollfix-star {
		font-size: 1.08rem;
	}

	.pollfix-category-score .pollfix-star {
		font-size: .94rem;
	}
}

/* Plus und Entfernen bleiben unabhängig vom Theme kreisrund und optisch zentriert. */
.pollfix .pollfix-suggestion-actions .pollfix-add-book,
.pollfix .pollfix-suggestion-book .pollfix-remove-book {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	min-width: 2rem;
	min-height: 2rem;
	place-items: center;
	padding: 0 !important;
	border-radius: 50% !important;
	line-height: 1;
}

.pollfix .pollfix-suggestion-book .pollfix-remove-book {
	width: 1.75rem;
	height: 1.75rem;
	min-width: 1.75rem;
	min-height: 1.75rem;
}

.pollfix .pollfix-suggestion-actions .pollfix-add-book > span,
.pollfix .pollfix-suggestion-book .pollfix-remove-book > span {
	display: block;
	line-height: 1;
	transform: translateY(-.05em);
}

@media (max-width: 640px) {
	.pollfix-suggestion-form .pollfix-suggester-field small {
		margin-left: 0;
	}
}
