/* Poetry Contest — ink-and-paper theme
   Palette: aged paper #EDE3CF, ink #2B2118, maroon accent #8C2F39, gold #B08D57 */

.pc-entries {
	display: grid;
	gap: 28px;
	max-width: 760px;
	margin: 0 auto;
}

.pc-entry {
	background: #EDE3CF;
	border: 1px solid #d8c9a3;
	border-left: 4px solid #8C2F39;
	border-radius: 2px;
	padding: 28px 32px;
	box-shadow: 0 1px 2px rgba(43, 33, 24, 0.08);
}

.pc-entry-title {
	font-family: Georgia, 'Lora', serif;
	font-size: 1.4rem;
	color: #2B2118;
	margin: 4px 0 18px;
}

.pc-poet-name {
	font-family: Georgia, serif;
	font-weight: bold;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: #8C2F39;
	margin: 0 0 6px;
}

.pc-poet-country,
.pc-vc-country,
.pc-lb-country {
	font-weight: normal;
	text-transform: none;
	font-style: italic;
	color: #6b5c46;
}

.pc-poem-text {
	font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', Georgia, serif;
	font-size: 1.15rem;
	line-height: 2.1;
	color: #2B2118;
	margin-bottom: 22px;
	white-space: pre-line;
}

.pc-poem-text[dir="rtl"] {
	text-align: right;
}

.pc-poem-text[dir="ltr"] {
	font-family: Georgia, 'Lora', serif;
	line-height: 1.7;
}

/* Rating widget — centered, warm gold-on-ink stars */
.pc-rating-widget {
	border-top: 1px dashed #b08d57;
	padding-top: 18px;
	margin-top: 10px;
	text-align: center;
}

.pc-stars {
	display: inline-flex;
	justify-content: center;
	gap: 10px;
	padding: 6px 18px;
	background: linear-gradient(180deg, rgba(176,141,87,0.10), rgba(176,141,87,0.02));
	border-radius: 999px;
}

.pc-star {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.9rem;
	line-height: 1;
	color: #ddd0ad;
	padding: 4px;
	position: relative;
	transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.18s ease;
}

.pc-star-icon {
	display: inline-block;
	text-shadow: 0 1px 1px rgba(43, 33, 24, 0.15);
}

.pc-star:hover,
.pc-star:focus-visible {
	transform: scale(1.28) rotate(-4deg);
	color: #B08D57;
	outline: none;
}

.pc-star.is-filled {
	color: #8C2F39;
	text-shadow: 0 0 10px rgba(140, 47, 57, 0.35);
}

.pc-star.is-filled .pc-star-icon {
	text-shadow: 0 0 8px rgba(140, 47, 57, 0.45), 0 1px 1px rgba(43, 33, 24, 0.2);
}

.pc-star:focus-visible {
	box-shadow: 0 0 0 2px #8C2F39;
	border-radius: 50%;
}

.pc-rating-summary {
	font-family: Georgia, serif;
	color: #2B2118;
	margin: 12px 0 4px;
	font-size: 0.95rem;
}

.pc-average {
	font-weight: bold;
	font-size: 1.1rem;
}

.pc-vote-status {
	font-size: 0.85rem;
	color: #5c6e4f;
	min-height: 1.2em;
	margin: 0;
}

.pc-vote-status.is-error {
	color: #8C2F39;
}

.pc-empty {
	font-family: Georgia, serif;
	font-style: italic;
	color: #6b5c46;
	text-align: center;
	padding: 24px;
}

/* Leaderboard */
.pc-leaderboard {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 640px;
	border: 1px solid #d8c9a3;
	background: #EDE3CF;
}

.pc-leaderboard-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 12px 20px;
	border-bottom: 1px solid #d8c9a3;
	font-family: Georgia, serif;
	color: #2B2118;
}

.pc-leaderboard-row:last-child {
	border-bottom: none;
}

.pc-rank {
	font-weight: bold;
	color: #8C2F39;
	min-width: 2.4em;
}

.pc-lb-title {
	font-style: italic;
	color: #6b5c46;
	flex-grow: 1;
}

.pc-lb-poet {
	font-weight: bold;
	color: #2B2118;
}

.pc-lb-score {
	color: #B08D57;
	font-weight: bold;
	white-space: nowrap;
}

.pc-lb-score small {
	color: #6b5c46;
	font-weight: normal;
}

/* Home-page live vote-count list */
.pc-vote-counts {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 640px;
	border: 1px solid #d8c9a3;
	background: #EDE3CF;
}

.pc-vote-count-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 12px 20px;
	border-bottom: 1px solid #d8c9a3;
	font-family: Georgia, serif;
	color: #2B2118;
}

.pc-vote-count-row:last-child {
	border-bottom: none;
}

.pc-vc-title {
	font-style: italic;
	color: #6b5c46;
	flex-grow: 1;
}

.pc-vc-poet {
	font-weight: bold;
	color: #2B2118;
}

.pc-vc-stats {
	color: #B08D57;
	font-weight: bold;
	white-space: nowrap;
}
