/*
 * Utopia Guess the City.
 * Default look follows the SAU theme: soft card, rounded corners, warm gray lines.
 * "Game mode" (html.ugc-game-on, switched by the reader) adds color, letters and motion.
 * Inherits the theme's font and text color, so it works in light and dark mode.
 */
.ugc-card,
.ugc-result,
.ugc-toolbar,
.ugc-teaser {
	--ugc-bg: #fff;
	--ugc-line: #e2dcd2;
	--ugc-line-strong: #cfc6b8;
	--ugc-soft: #f4f1ec;
	--ugc-muted: rgba(60, 55, 50, 0.72);
	--ugc-accent: #d62b63;
	--ugc-ok: #1c7c4a;
	--ugc-ok-bg: #e7f4ec;
	--ugc-bad: #b8392d;
	--ugc-bad-bg: #fbeae8;
	--ugc-radius: 18px;
	--ugc-shadow: 0 1px 2px rgba(40, 30, 20, 0.05), 0 6px 20px rgba(40, 30, 20, 0.06);
}
[data-sau-theme="dark"] .ugc-card,
[data-sau-theme="dark"] .ugc-result,
[data-sau-theme="dark"] .ugc-toolbar,
[data-sau-theme="dark"] .ugc-teaser {
	--ugc-bg: #1a1b1e;
	--ugc-line: #313338;
	--ugc-line-strong: #43464c;
	--ugc-soft: #24262a;
	--ugc-muted: rgba(235, 235, 235, 0.7);
	--ugc-ok: #4cc38a;
	--ugc-ok-bg: rgba(76, 195, 138, 0.14);
	--ugc-bad: #ff7a6b;
	--ugc-bad-bg: rgba(255, 122, 107, 0.14);
	--ugc-shadow: none;
}

.ugc-card,
.ugc-result {
	box-sizing: border-box;
	max-width: 640px;
	margin: 2.25rem auto;
	border: 1px solid var(--ugc-line);
	border-radius: var(--ugc-radius);
	background: var(--ugc-bg);
	box-shadow: var(--ugc-shadow);
	overflow: hidden;
	font: inherit;
	color: inherit;
	scroll-margin-top: 80px;
}
.ugc-card *,
.ugc-result *,
.ugc-toolbar * {
	box-sizing: border-box;
}

/* Robustness: never let theme or browser defaults push content out of the box. */
.ugc-card,
.ugc-card *,
.ugc-result,
.ugc-result *,
.ugc-toolbar,
.ugc-toolbar * {
	box-sizing: border-box;
}
.ugc-card,
.ugc-result,
.ugc-toolbar,
.ugc-teaser {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.ugc-opt,
.ugc-btn,
.ugc-chip,
.ugc-game-toggle,
.ugc-next-btn,
.ugc-skip {
	-webkit-appearance: none;
	appearance: none;
	max-width: 100%;
	white-space: normal;
}
.ugc-opts > *,
.ugc-lbl,
.ugc-head > *,
.ugc-body,
.ugc-reveal,
.ugc-teaser-body {
	min-width: 0;
}
.ugc-q,
.ugc-lbl,
.ugc-text,
.ugc-place,
.ugc-credit,
.ugc-teaser-body strong {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Toolbar above the quiz: length and game mode switch. */
.ugc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	max-width: 640px;
	margin: 1.5rem auto -0.75rem;
	font-size: 0.9em;
}
.ugc-info {
	color: var(--ugc-muted);
}
.ugc-game-toggle {
	min-width: 11.5em;
	padding: 7px 14px;
	border: 1px solid var(--ugc-line-strong);
	border-radius: 999px;
	background: var(--ugc-bg);
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.ugc-game-toggle:hover {
	background: var(--ugc-soft);
}

/* Header: label, progress dots, number. */
.ugc-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--ugc-line);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ugc-prog {
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0;
	text-transform: none;
}
.ugc-dots {
	display: flex;
	gap: 4px;
}
.ugc-dot {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ugc-line-strong);
}
.ugc-dot.is-right {
	background: var(--ugc-ok);
}
.ugc-dot.is-wrong {
	background: var(--ugc-bad);
}
.ugc-dot.is-current {
	box-shadow: 0 0 0 2px var(--ugc-bg), 0 0 0 3px currentColor;
}
.ugc-num {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--ugc-muted);
}
@media (max-width: 420px) {
	.ugc-dots {
		gap: 3px;
	}
	.ugc-dot {
		width: 6px;
		height: 6px;
	}
}

/* Photo: always shown in full. */
.ugc-figure {
	margin: 0 !important;
	padding: 0;
	position: relative;
}
.ugc-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.ugc-body {
	padding: 16px 18px 20px;
}
.ugc-card .ugc-q {
	margin: 2px 0 14px !important;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.25;
}

/* Answer options. */
.ugc-opts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}
/* Two columns only when there is room for city name + percentage. */
@media (min-width: 600px) {
	.ugc-opts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.ugc-opt {
	display: flex;
	width: 100%;
	min-width: 0;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 11px 16px;
	border: 1.5px solid var(--ugc-line-strong);
	border-radius: 12px;
	background: var(--ugc-bg);
	color: inherit;
	font: inherit;
	font-weight: 650;
	text-align: left;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}
.ugc-lbl {
	flex: 1 1 auto;
	min-width: 0;
}
.ugc-key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--ugc-soft);
	color: var(--ugc-muted);
	font-size: 0.8em;
	font-weight: 800;
}
.ugc-ready .ugc-opt:not(:disabled):hover {
	border-color: currentColor;
	background-color: var(--ugc-soft);
}
.ugc-ready .ugc-opt:not(:disabled):active {
	transform: scale(0.98);
}
.ugc-opt:focus-visible,
.ugc-btn:focus-visible,
.ugc-game-toggle:focus-visible,
.ugc-next-btn:focus-visible,
.ugc-skip:focus-visible {
	outline: 3px solid var(--ugc-accent);
	outline-offset: 2px;
}
.ugc-opt:disabled {
	cursor: default;
}
.ugc-card:not(.ugc-ready) .ugc-opt:disabled {
	opacity: 0.6;
}
.ugc-opt.is-right {
	border-color: var(--ugc-ok);
	color: var(--ugc-ok);
	background-color: var(--ugc-ok-bg);
	opacity: 1;
}
.ugc-opt.is-wrong {
	border-color: var(--ugc-bad);
	color: var(--ugc-bad);
	background-color: var(--ugc-bad-bg);
	opacity: 1;
}
.ugc-opt.is-dim {
	opacity: 0.55;
}
/* How other readers answered. */
.ugc-card .ugc-opt.has-pct {
	background-image: linear-gradient(to right, rgba(127, 127, 127, 0.14) var(--ugc-p, 0%), transparent var(--ugc-p, 0%));
}
.ugc-opt-pct {
	flex: 0 0 auto;
	font-weight: 600;
	font-size: 0.92em;
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}

/* Answer. Without JavaScript a "Show answer" toggle is shown. */
.ugc-answer {
	margin-top: 14px;
}
.ugc-answer > summary {
	cursor: pointer;
	font-weight: 600;
}
.ugc-ready .ugc-answer > summary {
	display: none;
}
.ugc-ready .ugc-answer:not([open]) {
	display: none;
}
.ugc-reveal {
	padding-top: 2px;
}
.ugc-reveal p {
	margin: 0 0 12px !important;
}

/* Verdict banner. */
.ugc-card .ugc-place {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0 0 12px !important;
	padding: 11px 14px;
	border-radius: 12px;
	background: var(--ugc-soft);
	font-size: 1.05em;
	line-height: 1.3;
}
.is-correct .ugc-place {
	background: var(--ugc-ok-bg);
}
.is-incorrect .ugc-place {
	background: var(--ugc-bad-bg);
}
.ugc-card.is-correct .ugc-place::before,
.ugc-card.is-incorrect .ugc-place::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.8em;
	font-weight: 800;
}
.ugc-card.is-correct .ugc-place::before {
	content: "✓";
	background: var(--ugc-ok);
}
.ugc-card.is-incorrect .ugc-place::before {
	content: "✕";
	background: var(--ugc-bad);
}
.is-correct .ugc-verdict {
	color: var(--ugc-ok);
	font-weight: 800;
}
.is-incorrect .ugc-verdict {
	color: var(--ugc-bad);
	font-weight: 800;
}

/* Reader stats. */
.ugc-stat {
	margin: -2px 0 14px;
}
.ugc-stat small {
	display: block;
	margin-bottom: 6px;
	font-size: 0.86em;
	color: var(--ugc-muted);
}
.ugc-bar {
	height: 6px;
	border-radius: 3px;
	background: var(--ugc-soft);
	overflow: hidden;
}
.ugc-bar i {
	display: block;
	height: 100%;
	border-radius: 3px;
	/* Neutral on purpose: red read as "wrong". */
	background: #8a8378;
}
[data-sau-theme="dark"] .ugc-bar i {
	background: #b5aea4;
}

.ugc-text {
	line-height: 1.6;
}
.ugc-credit {
	font-size: 0.85em;
	color: var(--ugc-muted);
}
.ugc-credit::before {
	content: "📷 ";
}

/* "Read more" card. */
.ugc-link {
	margin: 4px 0 14px;
}
.ugc-more {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border: 1px solid var(--ugc-line);
	border-radius: 14px;
	background: var(--ugc-bg);
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ugc-more:hover {
	border-color: var(--ugc-line-strong);
	background: var(--ugc-soft);
}
.ugc-more-img {
	flex: 0 0 auto;
	display: block;
	width: 76px;
	height: 58px;
	border-radius: 10px;
	background-color: var(--ugc-soft);
	background-position: center;
	background-size: cover;
}
.ugc-more-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ugc-more-text small {
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ugc-muted);
}
.ugc-more-text strong {
	font-size: 0.98em;
	line-height: 1.3;
}

/* Next question + running score. */
.ugc-next {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-top: 6px;
}
.ugc-next[hidden] {
	display: none;
}
.ugc-next-btn {
	display: inline-block;
	padding: 11px 20px;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}
[data-sau-theme="dark"] .ugc-next-btn {
	background: #f2f2f2;
	color: #111 !important;
}
.ugc-sofar {
	font-size: 0.88em;
	color: var(--ugc-muted);
}

.ugc-empty {
	padding: 16px;
}

/* Score. */
.ugc-result {
	padding: 22px 20px;
	text-align: center;
}
.ugc-result .ugc-result-title {
	margin: 0 0 8px !important;
	font-size: 0.8em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ugc-result .ugc-result-msg {
	margin: 0 !important;
	color: var(--ugc-muted);
}
.ugc-score {
	margin: 0 !important;
	font-size: 3em;
	font-weight: 800;
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
}
.ugc-tier {
	margin: 4px 0 6px !important;
	font-size: 1.15em;
	font-weight: 700;
}
.ugc-result-line,
.ugc-avg {
	margin: 0 0 6px !important;
	color: var(--ugc-muted);
}
.ugc-marks {
	margin: 10px 0 14px !important;
	letter-spacing: 2px;
}
.ugc-share {
	margin: 12px 0 0 !important;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--ugc-soft);
	color: inherit;
	font-size: 0.9em;
	text-align: left;
	white-space: pre-wrap;
	word-break: break-word;
	user-select: all;
}
.ugc-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 !important;
}
.ugc-btn {
	padding: 11px 20px;
	border: 1.5px solid var(--ugc-line-strong);
	border-radius: 999px;
	background: var(--ugc-bg);
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.ugc-btn:hover {
	background: var(--ugc-soft);
}
.ugc-btn--primary {
	border-color: #111;
	background: #111;
	color: #fff;
}
.ugc-btn--primary:hover {
	background: #333;
}
[data-sau-theme="dark"] .ugc-btn--primary {
	border-color: #f2f2f2;
	background: #f2f2f2;
	color: #111;
}
.ugc-note {
	flex-basis: 100%;
	font-size: 0.85em;
	color: var(--ugc-ok);
}

/* SAU theme Love/Comment row: not used in quiz posts (the quiz photos are not
   part of the post's own image list, so Love cannot be saved for them). */
.ugc-card:not(.ugc-inline) .img-like-row {
	display: none !important;
}
/* In-post cards: the row appears inside the answer, after the reader has answered. */
.ugc-card:not(.is-answered):not(.ugc-plain) .img-like-row {
	display: none !important;
}
.ugc-reveal .img-like-row {
	margin: 4px 0 12px;
}

/* Keep Google Auto ads at least 150 px from the quiz (AdSense recommendation for games). */
.ugc-card:not(.ugc-plain) + .google-auto-placed,
.ugc-card:not(.ugc-plain) + ins.adsbygoogle,
.ugc-result + .google-auto-placed,
.ugc-result + ins.adsbygoogle,
.ugc-teaser + .google-auto-placed,
.ugc-teaser + ins.adsbygoogle {
	margin-top: 150px !important;
}
.google-auto-placed + .ugc-card:not(.ugc-plain),
ins.adsbygoogle + .ugc-card:not(.ugc-plain),
.google-auto-placed + .ugc-result,
ins.adsbygoogle + .ugc-result {
	margin-top: 150px !important;
}

/* ------------------------------------------------------------------ */
/* Card in a regular post: lighter, so it reads as part of the post.   */
/* ------------------------------------------------------------------ */
.ugc-inline {
	box-shadow: none;
}
.ugc-inline .ugc-head {
	padding: 10px 16px;
	border-bottom: 0;
	color: var(--ugc-muted);
}
.ugc-inline .ugc-head .ugc-brand::before {
	content: "🌍 ";
}
.ugc-inline:not(.ugc-plain) .ugc-figure > figure {
	margin: 0 !important;
}
.ugc-inline .ugc-figure img {
	display: block;
	width: 100%;
	height: auto;
}
.ugc-card p.ugc-q {
	font-size: 1.15em;
}
.ugc-skip {
	display: none;
	margin: 12px auto 0;
	padding: 8px 16px;
	border: 1px solid var(--ugc-line-strong);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
}
.ugc-skip:hover {
	background: var(--ugc-soft);
}
.ugc-ready:not(.is-answered) .ugc-skip {
	display: block;
}
.ugc-inline .ugc-text > :first-child {
	margin-top: 4px !important;
}
.ugc-cta {
	margin: 14px 0 4px !important;
}
.ugc-cta a {
	display: block;
	padding: 13px 16px;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}
[data-sau-theme="dark"] .ugc-cta a {
	background: #f2f2f2;
	color: #111 !important;
}

/* A/B control group: the same section shown as a normal part of the post. */
.ugc-card.ugc-plain {
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}
.ugc-plain .ugc-head,
.ugc-plain .ugc-q,
.ugc-plain .ugc-opts,
.ugc-plain .ugc-skip,
.ugc-plain .ugc-answer > summary,
.ugc-plain .ugc-place,
.ugc-plain .ugc-stat,
.ugc-plain .ugc-cta {
	display: none !important;
}
.ugc-plain .ugc-body,
.ugc-plain .ugc-reveal {
	padding: 0;
	border: 0;
}
.ugc-plain .ugc-answer {
	margin: 0;
}
.ugc-plain-mark {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Game mode (quiz posts, switched on by the reader).                  */
/* ------------------------------------------------------------------ */
.ugc-game-on .ugc-card:not(.ugc-inline),
.ugc-game-on .ugc-result {
	--ugc-accent: #ff3d7f;
	border-color: transparent;
	box-shadow: 0 10px 30px rgba(255, 61, 127, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-head {
	border-bottom-color: transparent;
	background: linear-gradient(120deg, #ff3d7f, #ff8a3d);
	color: #fff;
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-num {
	color: rgba(255, 255, 255, 0.9);
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-dot {
	background: rgba(255, 255, 255, 0.45);
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-dot.is-right {
	background: #3dd6a3;
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-dot.is-wrong {
	background: #3a0d1c;
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-dot.is-current {
	box-shadow: 0 0 0 2px #fff;
}
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-opt {
	border-color: rgba(255, 61, 127, 0.35);
}

.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-opt:nth-child(1) .ugc-key { background: #ffe1ec; color: #c2185b; }
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-opt:nth-child(2) .ugc-key { background: #fff0d9; color: #b35c00; }
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-opt:nth-child(3) .ugc-key { background: #dcf7ee; color: #127a57; }
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-opt:nth-child(4) .ugc-key { background: #dfeeff; color: #1b5fb3; }
.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-next-btn,
.ugc-game-on .ugc-result .ugc-btn--primary {
	border-color: transparent;
	background: linear-gradient(120deg, #ff3d7f, #ff8a3d);
	color: #fff !important;
}
.ugc-game-on .ugc-result {
	background-image: radial-gradient(circle at 50% 0%, rgba(255, 61, 127, 0.12), transparent 60%);
}
.ugc-game-on .ugc-result .ugc-score {
	color: #ff3d7f;
}
.ugc-game-on .ugc-game-toggle[aria-pressed="true"] {
	border-color: transparent;
	background: linear-gradient(120deg, #ff3d7f, #ff8a3d);
	color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
	.ugc-game-on .ugc-card.is-fresh.is-correct .ugc-opt.is-right {
		animation: ugc-pop 0.45s ease;
	}
	.ugc-game-on .ugc-card.is-fresh.is-incorrect .ugc-opt.is-wrong {
		animation: ugc-shake 0.4s ease;
	}
	.ugc-game-on .ugc-result.is-fresh .ugc-score {
		animation: ugc-pop 0.6s ease;
	}
}
@keyframes ugc-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.07); }
	100% { transform: scale(1); }
}
@keyframes ugc-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

.ugc-confetti {
	position: fixed;
	inset: 0;
	z-index: 99999;
	overflow: hidden;
	pointer-events: none;
}
.ugc-confetti i {
	position: absolute;
	top: -12px;
	width: 8px;
	height: 14px;
	border-radius: 2px;
	animation-name: ugc-fall;
	animation-timing-function: cubic-bezier(0.25, 0.6, 0.4, 1);
	animation-fill-mode: forwards;
}
@keyframes ugc-fall {
	0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
	100% { transform: translate3d(40px, 105vh, 0) rotate(540deg); opacity: 0.9; }
}

/* The SAU theme makes every artwork image full-bleed (wider than the column).
   Inside a card the photo must fit the card exactly, never cropped. */
.single-content .ugc-card:not(.ugc-plain) .ugc-figure,
.single-content .ugc-card:not(.ugc-plain) .ugc-figure figure,
.ugc-card:not(.ugc-plain) .ugc-figure.sau-artwork-visual,
.ugc-card:not(.ugc-plain) .ugc-figure .sau-artwork-visual {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.single-content .ugc-card:not(.ugc-plain) .ugc-figure img,
.ugc-card:not(.ugc-plain) .ugc-figure img.sau-artwork-visual {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* Narrow screens: progress dots get their own row, so the label and number never squeeze. */
.ugc-brand,
.ugc-num {
	white-space: nowrap;
}
@media (max-width: 480px) {
	.ugc-card .ugc-head {
		flex-wrap: wrap;
		row-gap: 8px;
	}
	.ugc-card .ugc-prog {
		display: contents;
	}
	.ugc-card .ugc-dots {
		order: 3;
		flex: 1 0 100%;
		gap: 5px;
	}
	.ugc-card .ugc-dot,
	.ugc-game-on .ugc-card:not(.ugc-inline) .ugc-dot {
		width: 8px;
		height: 8px;
	}
}

/* Keys (A–D) are always there; they only get color in game mode. Inline cards skip them. */
.ugc-inline .ugc-key {
	display: none;
}

/* Challenge ("Can you beat me?"). */
.ugc-vs {
	flex-basis: 100%;
	margin: 0 !important;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff4d6;
	color: #6b4a00;
	font-weight: 700;
}
[data-sau-theme="dark"] .ugc-vs {
	background: rgba(255, 196, 0, 0.14);
	color: #ffd666;
}
.ugc-vs-result,
.ugc-beat {
	margin: 0 0 6px !important;
	font-weight: 700;
}

/* Next quiz + passport in the score box. */
.ugc-nextquiz {
	margin: 16px 0 0 !important;
}
.ugc-passport {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--ugc-line);
}
.ugc-passport:empty {
	display: none;
}
.ugc-passport-title {
	margin: 0 0 2px !important;
	font-weight: 800;
}
.ugc-passport-line,
.ugc-passport-new {
	margin: 0 0 8px !important;
	color: var(--ugc-muted);
	font-size: 0.92em;
}
.ugc-btn--small {
	padding: 7px 14px;
	font-size: 0.88em;
}
.ugc-passport-grid {
	margin-top: 12px;
	text-align: left;
}
.ugc-passport-cont {
	margin: 10px 0 6px !important;
	font-size: 0.75em;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ugc-muted);
}
.ugc-stamps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ugc-stamp {
	padding: 5px 10px;
	border: 1.5px dashed var(--ugc-line-strong);
	border-radius: 8px;
	font-size: 0.85em;
	font-weight: 700;
	transform: rotate(-1deg);
}
.ugc-stamp:nth-child(even) {
	transform: rotate(1.2deg);
}
.ugc-stamp.is-rare {
	border-color: #c9a227;
	background: rgba(201, 162, 39, 0.12);
}
.ugc-stamp.is-rare::after {
	content: " ★";
	color: #c9a227;
}
.ugc-stamped {
	margin: -4px 0 12px !important;
	font-size: 0.88em;
	font-weight: 600;
}

/* "I've seen it" + reactions. */
.ugc-extras {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2px 0 14px;
}
.ugc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--ugc-line-strong);
	border-radius: 999px;
	background: var(--ugc-bg);
	color: inherit;
	font: inherit;
	font-size: 0.88em;
	font-weight: 600;
	cursor: pointer;
}
.ugc-chip:hover {
	background: var(--ugc-soft);
}
.ugc-chip.is-on {
	border-color: currentColor;
	background: var(--ugc-soft);
	cursor: default;
}
.ugc-chip-n {
	font-variant-numeric: tabular-nums;
	color: var(--ugc-muted);
}
.ugc-chip-n:empty {
	display: none;
}

/* City of the Day. */
.ugc-daily .ugc-head .ugc-brand::before {
	content: "📅 ";
}
.ugc-streak {
	font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* "Next quiz" card under the score. Bright on purpose: vermilion to   */
/* gold with a seigaiha wave pattern (Japanese/Chinese festival look). */
/* ------------------------------------------------------------------ */
.ugc-teaser {
	--ugc-t1: #e0362c;
	--ugc-t2: #f26a1b;
	--ugc-t3: #f8b52c;
	box-sizing: border-box;
	max-width: 640px;
	margin: 22px auto 26px;
}
[data-sau-theme="dark"] .ugc-teaser {
	--ugc-t1: #b8261f;
	--ugc-t2: #d45a16;
	--ugc-t3: #dc9a22;
}
.ugc-teaser *,
.ugc-teaser *::before,
.ugc-teaser *::after {
	box-sizing: border-box;
}
.ugc-teaser a,
.ugc-teaser a:hover,
.ugc-teaser a:focus {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none;
}
.ugc-teaser-main {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	padding: 16px;
	border-radius: 22px !important;
	overflow: hidden;
	color: #fff !important;
	background-color: var(--ugc-t2) !important;
	background-image:
		radial-gradient(circle at 50% 100%, transparent 0 27%, rgba(255, 255, 255, 0.17) 28% 34%, transparent 35% 47%, rgba(255, 255, 255, 0.17) 48% 54%, transparent 55% 67%, rgba(255, 255, 255, 0.17) 68% 72%, transparent 73%),
		radial-gradient(circle at 50% 100%, transparent 0 27%, rgba(255, 255, 255, 0.17) 28% 34%, transparent 35% 47%, rgba(255, 255, 255, 0.17) 48% 54%, transparent 55% 67%, rgba(255, 255, 255, 0.17) 68% 72%, transparent 73%),
		linear-gradient(135deg, var(--ugc-t1) 0%, var(--ugc-t2) 55%, var(--ugc-t3) 100%) !important;
	background-size: 44px 22px, 44px 22px, 100% 100% !important;
	background-position: 0 0, 22px 11px, 0 0 !important;
	background-repeat: repeat !important;
	box-shadow: 0 10px 28px rgba(224, 54, 44, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ugc-teaser-main:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(224, 54, 44, 0.34);
}
.ugc-teaser-main:focus-visible {
	outline: 3px solid #ffd23f;
	outline-offset: 3px;
}
/* Little sun in the corner. */
.ugc-teaser-main::after {
	content: "";
	position: absolute;
	top: -38px;
	right: -38px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(255, 236, 170, 0.35);
	pointer-events: none;
}
.ugc-teaser-badge {
	position: relative;
	justify-self: start;
	z-index: 2;
	padding: 5px 12px 6px;
	border-radius: 8px;
	background: #ffd23f;
	color: #3a1a00;
	font-size: 0.78em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.1;
	transform: rotate(-4deg);
	box-shadow: 0 3px 0 rgba(90, 30, 0, 0.35);
}
.ugc-teaser-main.has-img .ugc-teaser-badge {
	position: absolute;
	top: 12px;
	left: 10px;
}
.ugc-teaser-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border: 4px solid #fff;
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.25);
	background-size: cover;
	background-position: center;
	box-shadow: 0 4px 14px rgba(80, 20, 0, 0.25);
}
.ugc-teaser-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	min-width: 0;
}
.ugc-teaser-body strong {
	display: block;
	font-size: 1.22em;
	font-weight: 800;
	line-height: 1.22;
	color: #fff;
	text-shadow: 0 1px 2px rgba(90, 20, 0, 0.35);
}
.ugc-teaser-body small {
	display: block;
	font-size: 0.86em;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}
.ugc-teaser-play {
	display: inline-block;
	margin-top: 6px;
	padding: 11px 26px;
	border-radius: 999px;
	background: #fff;
	color: #c8241c;
	font-weight: 800;
	font-size: 1.02em;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 0 rgba(120, 30, 0, 0.3);
}
.ugc-teaser-main:active .ugc-teaser-play {
	transform: translateY(2px);
	box-shadow: 0 2px 0 rgba(120, 30, 0, 0.3);
}
@media (min-width: 560px) {
	.ugc-teaser-main.has-img {
		grid-template-columns: 46% minmax(0, 1fr);
		align-items: center;
		padding: 18px;
		gap: 18px;
	}
	.ugc-teaser-img {
		aspect-ratio: 4 / 3;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.ugc-teaser {
		animation: ugc-teaser-in 0.45s ease-out both;
	}
	.ugc-teaser-play {
		animation: ugc-teaser-nudge 2.8s ease-in-out 1s infinite;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ugc-teaser-main,
	.ugc-teaser-main:hover {
		transition: none;
		transform: none;
	}
}
@keyframes ugc-teaser-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}
@keyframes ugc-teaser-nudge {
	0%, 80%, 100% { transform: scale(1); }
	88% { transform: scale(1.06); }
}

/* Two more quizzes below the big card. */
.ugc-teaser-more {
	margin-top: 14px;
}
.ugc-teaser-more-title {
	margin: 0 0 8px !important;
	font-size: 0.78em;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ugc-muted);
}
.ugc-teaser-more {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.ugc-teaser-more-title {
	grid-column: 1 / -1;
}
@media (min-width: 560px) {
	.ugc-teaser-more {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.ugc-teaser-small {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--ugc-line);
	border-left: 5px solid var(--ugc-t1);
	border-radius: 14px !important;
	background: var(--ugc-bg) !important;
	color: inherit !important;
	font-weight: 700;
	font-size: 0.92em;
	line-height: 1.3;
}
.ugc-teaser-small:hover {
	background: var(--ugc-soft) !important;
}
.ugc-teaser-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background-color: var(--ugc-soft);
	background-size: cover;
	background-position: center;
}

/* Feature-image-test preview card, moved under the score when there is no other quiz. */
.utopia-fit-card.ugc-fit-here {
	max-width: 640px;
	margin: 22px auto 26px !important;
}
.utopia-fit-card.ugc-fit-here a,
.utopia-fit-card.ugc-fit-here a:hover,
.utopia-fit-card.ugc-fit-here a:focus-visible {
	background: none !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
}
.ugc-result + .utopia-fit-card + .google-auto-placed,
.ugc-result + .utopia-fit-card + ins.adsbygoogle {
	margin-top: 150px !important;
}

/* Share links styled as buttons (Facebook / WhatsApp on computers). */
a.ugc-btn,
a.ugc-btn:hover,
a.ugc-btn:visited {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	border-bottom-width: 1.5px;
	line-height: 1.2;
}
a.ugc-btn {
	color: inherit;
}
a.ugc-btn.ugc-btn--primary,
a.ugc-btn.ugc-btn--primary:visited {
	color: #fff;
}
[data-sau-theme="dark"] a.ugc-btn.ugc-btn--primary {
	color: #111;
}
.ugc-game-on .ugc-result a.ugc-btn--primary {
	color: #fff !important;
}

/* "Only 19% got this. Challenge a friend" after a rare right answer. */
.ugc-rare-share {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	margin: 2px 0 12px;
	padding: 8px 14px;
	border: 1.5px solid #e0b100;
	border-radius: 999px;
	background: #fff6d6;
	color: #5a4300;
	font: inherit;
	font-size: 0.9em;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.ugc-rare-share:hover {
	background: #ffefb3;
}
[data-sau-theme="dark"] .ugc-rare-share {
	border-color: #b58f10;
	background: rgba(255, 210, 63, 0.14);
	color: #ffd966;
}
.ugc-rare-share:focus-visible {
	outline: 3px solid var(--ugc-accent);
	outline-offset: 2px;
}

/* Opened from a shared question link. */
.ugc-card.ugc-shared {
	box-shadow: 0 0 0 3px #ffd23f, var(--ugc-shadow);
}
/* The theme gives links a hover background; keep share buttons as buttons. */
a.ugc-btn,
a.ugc-btn:hover,
a.ugc-btn:focus-visible {
	border-radius: 999px !important;
}
a.ugc-btn:not(.ugc-btn--primary):hover {
	background: var(--ugc-soft) !important;
}
a.ugc-btn.ugc-btn--primary:hover {
	background: #333 !important;
}
[data-sau-theme="dark"] a.ugc-btn.ugc-btn--primary:hover {
	background: #ddd !important;
}
.ugc-game-on .ugc-result a.ugc-btn--primary,
.ugc-game-on .ugc-result a.ugc-btn--primary:hover {
	background: linear-gradient(120deg, #ff3d7f, #ff8a3d) !important;
}

/* ------------------------------------------------------------------ */
/* Comments at questions.                                              */
/* ------------------------------------------------------------------ */
.ugc-talk {
	margin: 4px 0 14px;
}
.ugc-top-comment {
	margin: 0 0 10px;
	padding: 10px 14px 12px;
	border-left: 4px solid #ffd23f;
	border-radius: 12px;
	background: var(--ugc-soft);
}
.ugc-top-label {
	margin: 0 0 4px !important;
	font-size: 0.74em;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ugc-muted);
}
.ugc-top-comment blockquote {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 1em !important;
	font-style: normal !important;
	font-weight: 500;
	line-height: 1.45;
	quotes: none;
	overflow-wrap: break-word;
}
.ugc-top-comment blockquote::before,
.ugc-top-comment blockquote::after {
	content: none !important;
}
.ugc-top-meta {
	margin: 6px 0 0 !important;
	font-size: 0.86em;
	color: var(--ugc-muted);
}
.ugc-top-reply,
.ugc-top-more,
.ugc-form-cancel {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.ugc-top-reply {
	margin-left: 6px;
	color: var(--ugc-accent);
}
.ugc-top-more {
	display: block;
	margin-top: 6px;
	font-size: 0.86em;
	color: var(--ugc-muted);
}
.ugc-tell {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 8px 14px;
	border: 1.5px dashed var(--ugc-line-strong);
	border-radius: 999px;
	background: var(--ugc-bg);
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.ugc-tell:hover {
	background: var(--ugc-soft);
}
.ugc-tell.is-seen {
	border-style: solid;
	border-color: #e0b100;
	background: #fff6d6;
	color: #5a4300;
}
[data-sau-theme="dark"] .ugc-tell.is-seen {
	border-color: #b58f10;
	background: rgba(255, 210, 63, 0.14);
	color: #ffd966;
}
.ugc-form-slot:empty {
	display: none;
}
.ugc-form-slot {
	margin-top: 10px;
	text-align: left;
}
.ugc-form-cancel {
	display: block;
	margin: 0 0 6px auto;
	font-size: 0.86em;
	color: var(--ugc-muted);
}
#respond.ugc-respond-in {
	max-width: 100%;
	margin: 0 !important;
	box-sizing: border-box;
}

/* "Which city fooled you?" under the score. */
.ugc-fooled {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--ugc-line);
}
.ugc-fooled-title {
	margin: 0 0 10px !important;
	font-weight: 700;
}
.ugc-fooled-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

/* Speech bubbles on the photo, a few seconds after answering. */
.ugc-bubbles {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	cursor: pointer;
	transition: opacity 0.6s ease;
}
.ugc-bubbles.is-out {
	opacity: 0;
}
.ugc-bubble {
	max-width: 88%;
	padding: 8px 12px;
	border-radius: 16px 16px 16px 4px;
	background: rgba(255, 255, 255, 0.96);
	color: #16181b;
	font-size: 0.86em;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	overflow-wrap: break-word;
}
.ugc-bubble:nth-child(2) {
	align-self: flex-end;
	border-radius: 16px 16px 4px 16px;
	background: #ffd23f;
	color: #3a1a00;
}
@media (prefers-reduced-motion: no-preference) {
	.ugc-bubble {
		animation: ugc-bubble-in 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both;
	}
}
@keyframes ugc-bubble-in {
	from { opacity: 0; transform: translateY(10px) scale(0.9); }
	to { opacity: 1; transform: none; }
}
.ugc-fooled-chip {
	padding: 6px 11px;
	font-size: 0.84em;
}

/* 0.6.1: comment prompts look like a text field, so readers see they can write. */
.ugc-say {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin: 2px 0 0;
	padding: 10px 14px;
	border: 1.5px solid var(--ugc-line-strong);
	border-radius: 14px;
	background: var(--ugc-bg);
	color: var(--ugc-muted);
	font: inherit;
	font-size: 0.95em;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
	cursor: text;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
	-webkit-appearance: none;
	appearance: none;
}
.ugc-say:hover,
.ugc-say:focus-visible {
	border-color: var(--ugc-accent);
	color: inherit;
}
.ugc-say:focus-visible {
	outline: 3px solid var(--ugc-accent);
	outline-offset: 2px;
}
.ugc-say-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ugc-soft);
	font-size: 1em;
}
.ugc-say-text {
	flex: 1 1 auto;
	min-width: 0;
}
.ugc-say.is-seen {
	border-color: #e0b100;
	background: #fffaf0;
	color: #5a4300;
	font-weight: 700;
}
[data-sau-theme="dark"] .ugc-say.is-seen {
	border-color: #b58f10;
	background: rgba(255, 210, 63, 0.1);
	color: #ffd966;
}
.ugc-talk.is-open > .ugc-say,
.ugc-fooled.is-open > .ugc-say {
	display: none;
}

/* The "fooled" box under the score: its own soft card. */
.ugc-fooled {
	margin: 18px 0 0;
	padding: 14px;
	border: 0;
	border-radius: 16px;
	background: var(--ugc-soft);
	text-align: left;
}
.ugc-fooled .ugc-fooled-chips {
	justify-content: flex-start;
	margin-top: 10px;
}
.ugc-fooled .ugc-say {
	margin: 0;
}

/* The comment form when it sits at a question: shorter. */
#respond.ugc-respond-in .comment-reply-title {
	display: none;
}
#respond.ugc-respond-in .comment-form-url,
#respond.ugc-respond-in .comment-form-media {
	display: none;
}
#respond.ugc-respond-in .comment-notes {
	margin: 0 0 8px;
	font-size: 0.85em;
}
@media (min-width: 480px) {
	#respond.ugc-respond-in .comment-form {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
	}
	#respond.ugc-respond-in .comment-form > * {
		grid-column: 1 / -1;
	}
	#respond.ugc-respond-in .comment-form > .comment-form-author {
		grid-column: 1;
	}
	#respond.ugc-respond-in .comment-form > .comment-form-email {
		grid-column: 2;
	}
}
.ugc-recent-item {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 14px 14px 14px 4px;
	background: var(--ugc-bg);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.ugc-recent-text {
	margin: 0 !important;
	line-height: 1.4;
	overflow-wrap: break-word;
}
.ugc-recent-item .ugc-top-meta {
	margin-top: 4px !important;
}
.ugc-fooled .ugc-fooled-chip {
	padding: 5px 10px;
	font-size: 0.8em;
}

/* 0.6.2: comments at questions in the theme's photo-comment style
   (theme classes img-comments-preview / img-comment-form; fallbacks below
   use :where() so the theme's own look always wins). */
.ugc-talk .ugc-cpreview:not(:empty) {
	margin: 0 0 10px;
}
.ugc-cpreview .ugc-cpreview-item + .ugc-cpreview-item {
	margin-top: 6px;
}
.ugc-cpreview .ugc-cpreview-item + .ugc-cpreview-item::before {
	display: none !important;
}
.ugc-cpreview-item.is-pending {
	opacity: 0.8;
}
.ugc-cpending {
	font-size: 0.75rem;
	font-style: italic;
	color: var(--ugc-muted);
}
.ugc-creply {
	min-height: 32px;
	padding: 0.12rem 0.62rem;
	border: 1px solid rgba(36, 50, 71, 0.18);
	border-radius: 999px;
	background: #fff;
	color: #243247;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	cursor: pointer;
}
[data-sau-theme="dark"] .ugc-creply {
	border-color: #444;
	background: #202020;
	color: #eee;
}
.ugc-cform {
	margin: 0;
}
.ugc-fooled .ugc-cpreview:not(:empty) {
	margin-bottom: 10px;
}
.ugc-fooled .ugc-fooled-chips {
	margin: 0 0 10px;
}
.ugc-fooled-title {
	margin: 0 0 8px !important;
	font-weight: 800;
}
:where(.ugc-cform) {
	display: grid;
	gap: 0.4rem;
}
:where(.ugc-cform) textarea,
:where(.ugc-cform) input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.58rem 0.65rem;
	border: 1px solid #cfdced;
	border-radius: 10px;
	font: inherit;
	font-size: 16px;
}
:where(.ugc-cform) .img-comment-identity:not([hidden]) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.4rem;
}
:where(.ugc-cform) .img-comment-submit {
	justify-self: start;
	min-height: 44px;
	padding: 0.42rem 0.9rem;
	border: 1px solid #355d92;
	border-radius: 999px;
	background: #355d92;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
:where(.ugc-cform) .img-comment-note {
	font-size: 0.72rem;
	color: #6a7890;
}
:where(.ugc-cform) [hidden] {
	display: none !important;
}
:where(.ugc-cpreview) .img-comment-preview-item {
	padding: 0.42rem 0.5rem;
	border: 1px solid #dbe5f2;
	border-radius: 10px;
	background: #f8fbff;
	font-size: 0.9rem;
	line-height: 1.48;
	overflow-wrap: anywhere;
}
:where(.ugc-cpreview) .img-comment-preview-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	margin-top: 0.32rem;
}
:where(.ugc-cpreview) .img-comment-preview-cta {
	border: 0;
	background: transparent;
	color: #355d92;
	font-weight: 800;
	text-decoration: underline;
	cursor: pointer;
}
[data-sau-theme="dark"] .ugc-cpreview .img-comment-preview-item > b {
	color: #f2f2f2;
}

/* Photo reactions (0.6.5): a warm glass pill in the photo's corner with the
   top reactions stacked like avatars, a one-row emoji tray above it, and a
   big emoji burst in the middle of the photo. */
.ugc-card .ugc-figure {
	touch-action: manipulation;
}
.ugc-rx {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	pointer-events: none;
}
.ugc-rx > * {
	pointer-events: auto;
}
.ugc-rx-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 12px 0 5px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(22, 19, 16, 0.5);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
/* 44 px tap area around the 34 px pill. */
.ugc-rx-pill::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 999px;
}
.ugc-rx-pill:hover,
.ugc-rx.is-open .ugc-rx-pill {
	background: rgba(22, 19, 16, 0.66);
}
.ugc-rx-pill:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.ugc-rx-pill.is-zero {
	padding: 0 12px 0 10px;
}
.ugc-rx-outline {
	display: inline-flex;
	color: #fff;
}
.ugc-rx-stack {
	display: inline-flex;
	align-items: center;
}
.ugc-rx-face {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fbf9f6;
	box-shadow: 0 0 0 2px rgba(22, 19, 16, 0.85);
	font-size: 14px;
	line-height: 24px;
	text-align: center;
	overflow: hidden;
}
.ugc-rx-face + .ugc-rx-face {
	margin-left: -5px;
}
.ugc-rx-face:nth-child(1) { z-index: 3; }
.ugc-rx-face:nth-child(2) { z-index: 2; }
.ugc-rx-face:nth-child(3) { z-index: 1; }
.ugc-rx-face {
	position: relative;
}
.ugc-rx-total {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
/* You reacted: the pill turns warm off-white, your emoji first. */
.ugc-rx-pill.is-mine {
	border-color: rgba(0, 0, 0, 0.06);
	background: rgba(251, 249, 246, 0.96);
	color: #1a1a1a;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ugc-rx-pill.is-mine:focus-visible {
	outline-color: #1a1a1a;
}
.ugc-rx-pill.is-mine .ugc-rx-face {
	background: #fff;
	box-shadow: 0 0 0 1.5px #e6e1da;
}
.ugc-rx-pill.is-mine:hover,
.ugc-rx.is-open .ugc-rx-pill.is-mine {
	background: #fbf9f6;
}
@media (prefers-reduced-motion: no-preference) {
	.ugc-rx-pill.is-bump {
		animation: ugc-rx-bump 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
	}
}
@keyframes ugc-rx-bump {
	0%, 100% { transform: scale(1); }
	40% { transform: scale(1.15); }
}

/* The picker: optional hint + one scrollable row of emojis. */
.ugc-rx-pick {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	max-width: 100%;
	transform-origin: 100% 100%;
}
/* While the tray is open it takes the pill's place. */
.ugc-rx-pill {
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.ugc-rx.is-open .ugc-rx-pill {
	opacity: 0;
	transform: scale(0.9);
	pointer-events: none;
}
.ugc-rx-pick[hidden] {
	display: none;
}
@media (prefers-reduced-motion: no-preference) {
	.ugc-rx-pick {
		animation: ugc-rx-in 0.2s cubic-bezier(0.2, 1.3, 0.4, 1);
	}
}
@keyframes ugc-rx-in {
	from { opacity: 0; transform: scale(0.92); }
	to { opacity: 1; transform: none; }
}
.ugc-rx-hint {
	max-width: 70%;
	margin: 0 2px 0 0 !important;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(251, 249, 246, 0.94);
	color: #6e675f;
	font-size: 11.5px !important;
	font-weight: 500;
	line-height: 1.25 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.ugc-rx-hint[hidden] {
	display: none;
}
.ugc-rx-tray {
	max-width: 100%;
	height: 52px;
	padding: 4px 6px;
	border: 1px solid #e6e1da;
	border-radius: 26px;
	background: #fbf9f6;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	box-sizing: border-box;
}
/* Only the emoji row fades at the edges; the tray itself stays solid. */
.ugc-rx-scroll {
	display: flex;
	gap: 2px;
	height: 44px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
}
.ugc-rx-scroll::-webkit-scrollbar {
	display: none;
}
.ugc-rx-scroll.is-scrolled {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 26px, #000 calc(100% - 20px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 26px, #000 calc(100% - 20px), transparent);
}
.ugc-rx-scroll.is-end {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 26px);
	mask-image: linear-gradient(to right, transparent, #000 26px);
}
.ugc-rx-opt {
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	scroll-snap-align: start;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.12s ease;
}
.ugc-rx-emoji {
	font-size: 28px;
	line-height: 1;
	transition: transform 0.14s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.ugc-rx-opt:hover {
	background: #f1ece5;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ugc-rx-opt:hover .ugc-rx-emoji {
		transform: translateY(-3px) scale(1.2);
	}
}
.ugc-rx-opt:active .ugc-rx-emoji {
	transform: scale(1.25);
}
.ugc-rx-opt:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: -2px;
}
.ugc-rx-face[data-k="love"] {
	font-size: 12px;
}
.ugc-rx-opt.is-on {
	border-radius: 12px;
	background: #f1ece5;
	box-shadow: inset 0 0 0 1.5px #d9cfc2;
}
[data-sau-theme="dark"] .ugc-rx-tray {
	border-color: rgba(255, 255, 255, 0.12);
	background: #24211e;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
[data-sau-theme="dark"] .ugc-rx-hint {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(36, 33, 30, 0.94);
	color: #c9c1b7;
}
[data-sau-theme="dark"] .ugc-rx-opt:hover {
	background: #312d29;
}
[data-sau-theme="dark"] .ugc-rx-opt.is-on {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}
[data-sau-theme="dark"] .ugc-rx-opt:focus-visible {
	outline-color: #fff;
}


/* Big emoji burst in the middle of the photo. */
.ugc-heart {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 5;
	font-size: 88px;
	line-height: 1;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.4);
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
	animation: ugc-heart 0.75s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}
@keyframes ugc-heart {
	0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
	33% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
	45% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	72% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	100% { opacity: 0; transform: translate(-50%, calc(-50% - 16px)) scale(1); }
}
/* Speech bubbles sit above the reaction pill. */
.ugc-bubbles {
	bottom: 56px;
}
.ugc-rx-hint {
	transition: opacity 0.3s ease;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ugc-rx-hint.is-gone {
	opacity: 0;
}

/* City of the Day: streak box at the top of the answer (0.6.7). */
.ugc-daily .ugc-place + .ugc-dstreak,
.ugc-daily .ugc-dstreak {
	margin: 8px 0 14px;
}
.ugc-dstreak {
	padding: 18px 20px 20px;
	border: 1px solid #eadfd2;
	border-radius: 16px;
	background: #fbf7f2;
	color: #1c1714;
}
.ugc-dstreak-head {
	display: block;
}
.ugc-dstreak-hero {
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1;
}
.ugc-dstreak-stack {
	flex: 1 1 auto;
	min-width: 0;
}
.ugc-dstreak-labrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 8px;
	margin-top: 2px;
}
.ugc-dstreak-flame {
	font-size: 44px;
	line-height: 1;
}
.ugc-dstreak-num {
	display: block;
	font-size: 56px;
	font-weight: 800;
	line-height: 1 !important;
	letter-spacing: -0.02em;
	color: #1c1714;
	font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: no-preference) {
	.ugc-dstreak-num.is-bump {
		animation: ugc-rx-bump 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
	}
}
.ugc-dstreak-label {
	white-space: nowrap;
	font-size: 15px;
	font-weight: 600;
	color: #6b5a4c;
}
.ugc-dstreak-best {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 3px 9px;
	border-radius: 999px;
	background: #f1e9df;
	color: #7a6a5c;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.ugc-dstreak-best.is-close {
	background: #fbe9d9;
	color: #b3561a;
}
.ugc-dstreak-best.is-new {
	background: #f08a24;
	color: #3a1d05;
}
[data-sau-theme="dark"] .ugc-dstreak-best.is-new {
	background: #f0a060;
	color: #2a1608;
}
.ugc-dstreak-week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	margin: 16px -4px 4px;
}
.ugc-dstreak-day {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 11px;
}
.ugc-dstreak-day i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 7px;
	font-size: 15px;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	box-sizing: border-box;
}
.ugc-dstreak-day i.is-right {
	background: #2f9e5f;
	color: #fff;
}
.ugc-dstreak-day i.is-wrong {
	background: #d9c7b3;
	color: #5e4e41;
}
.ugc-dstreak-day i.is-missed {
	border: 1.5px dashed #b9a894;
	background: transparent;
}
.ugc-dstreak-day b {
	line-height: 1;
	font-size: 11px;
	font-weight: 600;
	color: #8a7a6c;
}
/* One flame-colored line under the days that count toward the streak. */
.ugc-dstreak-day.in-streak::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 34px;
	height: 3px;
	background: #f08a24;
}
.ugc-dstreak-day.in-streak:first-child::after,
.ugc-dstreak-day:not(.in-streak) + .ugc-dstreak-day.in-streak::after {
	left: 8px;
	border-radius: 2px 0 0 2px;
}
.ugc-dstreak-day.in-streak:last-child::after {
	right: 8px;
	border-radius: 0 2px 2px 0;
}
.ugc-dstreak-day.is-today b {
	font-weight: 800;
	color: #1c1714;
}
.ugc-dstreak-key {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 6px;
	margin: 12px 0 0 !important;
	font-size: 12px !important;
	line-height: 1.35 !important;
	color: #8a7a6c;
}
.ugc-dstreak-miss {
	display: inline-block;
	width: 10px;
	height: 10px;
	border: 1.5px dashed #b9ab9c;
	border-radius: 2px;
	vertical-align: -1px;
	box-sizing: border-box;
}
.ugc-dstreak-key span[data-sep]::before {
	content: attr(data-sep);
	margin-right: 6px;
	color: #a8998c;
}
.ugc-dstreak-when {
	display: grid;
	gap: 4px;
	margin: 20px 0 16px;
}
.ugc-dstreak-promise {
	text-wrap: balance;
}
.ugc-dstreak-promise {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #3d3129;
}
.ugc-dstreak-next {
	font-size: 13px;
	line-height: 1.3;
	color: #8a7a6c;
	font-variant-numeric: tabular-nums;
}
.ugc-dstreak-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px;
	background: #1c1714;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.ugc-dstreak-share:hover {
	background: #33291f;
}
.ugc-dstreak-share:focus-visible {
	outline: 3px solid #f08a24;
	outline-offset: 2px;
}
.ugc-dstreak .ugc-dstreak-dare {
	margin: 10px 0 0 !important;
	line-height: 1.3 !important;
	font-size: 13px !important;
	text-align: center;
	color: #6b5a4c;
}
[data-sau-theme="dark"] .ugc-dstreak {
	border-color: #3a322c;
	background: #26211e;
	color: #f3ebe3;
}
[data-sau-theme="dark"] .ugc-dstreak-num,
[data-sau-theme="dark"] .ugc-dstreak-day.is-today b {
	color: #f3ebe3;
}
[data-sau-theme="dark"] .ugc-dstreak-label,
[data-sau-theme="dark"] .ugc-dstreak-dare {
	color: #cdbcab;
}
[data-sau-theme="dark"] .ugc-dstreak-promise {
	color: #e9dfd6;
}
[data-sau-theme="dark"] .ugc-dstreak-next {
	color: #a8998c;
}
[data-sau-theme="dark"] .ugc-dstreak-best {
	background: #332b25;
	color: #cdbcab;
}
[data-sau-theme="dark"] .ugc-dstreak-best.is-close {
	background: #3a2a1e;
	color: #f0a060;
}
[data-sau-theme="dark"] .ugc-dstreak-miss {
	border-color: #6a5f58;
}
[data-sau-theme="dark"] .ugc-dstreak-best,
[data-sau-theme="dark"] .ugc-dstreak-key,
[data-sau-theme="dark"] .ugc-dstreak-day b {
	color: #a8988a;
}
[data-sau-theme="dark"] .ugc-dstreak-day i.is-right {
	background: #3dbf75;
	color: #10271a;
}
[data-sau-theme="dark"] .ugc-dstreak-day i.is-wrong {
	background: #8c7a6a;
	color: #2a2420;
}
[data-sau-theme="dark"] .ugc-dstreak-day i.is-missed {
	border-color: #5a504a;
}
[data-sau-theme="dark"] .ugc-dstreak-share {
	background: #f3ebe3;
	color: #1c1714;
}
[data-sau-theme="dark"] .ugc-daily.is-answered .ugc-place {
	border-color: rgba(76, 195, 138, 0.6);
}
.ugc-dstreak > :last-child {
	margin-bottom: 0 !important;
}
.ugc-dstreak [hidden] {
	display: none !important;
}
.ugc-dstreak-keynote {
	flex-basis: 100%;
}
.ugc-dstreak-keynote::first-letter {
	text-transform: uppercase;
}
.ugc-daynum::before {
	content: "#";
}

/* City of the Day at the bottom of regular posts (0.6.8). */
.ugc-dfoot {
	min-height: 1px;
}
.ugc-dfoot.is-on {
	max-width: 640px;
	margin: 2.5rem auto 2rem;
}
.ugc-dfoot-title {
	margin: 0 0 12px !important;
	font-size: 1.2em;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
}
.ugc-dfoot .ugc-daily {
	margin-top: 0;
}
.ugc-dfoot + .google-auto-placed,
.ugc-dfoot + ins.adsbygoogle,
.google-auto-placed + .ugc-dfoot.is-on,
ins.adsbygoogle + .ugc-dfoot.is-on {
	margin-top: 150px !important;
}

/* ------------------------------------------------------------------ */
/* 0.7.0: Next hint (Next button test) and fixed ad slots in quizzes.  */
.ugc-next-hint {
	display: inline-block;
	padding: 10px 0;
	font-weight: 700;
	color: var(--ugc-text, inherit);
}
/*
 * At least 150 px between the ad itself and anything a reader taps: the
 * answer buttons / Next button above (they sit about 20 px inside the card,
 * and the label adds about 22 px) and the next question's photo below (the
 * card header with brand and dots is about 75 px tall and not clickable).
 * AdSense recommends 150 px from game content and warns about layouts that
 * lead to accidental clicks.
 */
.ugc-ad {
	display: block;
	clear: both;
	max-width: 100%;
	margin: 110px auto 90px !important;
	text-align: center;
	min-height: 250px;
	overflow: hidden;
}
.ugc-ad-label {
	margin: 0 0 6px !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ugc-muted, #777);
}
.ugc-ad ins.adsbygoogle {
	margin: 0 !important;
}
/* Nothing to show: take no space. */
.ugc-ad:has(ins[data-ad-status="unfilled"]) {
	display: none;
}
/* An Auto ad right next to our slot: keep them apart too. */
.ugc-ad + .google-auto-placed,
.google-auto-placed + .ugc-ad {
	margin-top: 150px !important;
}
.ugc-card:not(.ugc-plain) + .ugc-ad {
	margin-top: 110px !important;
}
.ugc-ad + .ugc-card:not(.ugc-plain) {
	margin-top: 90px !important;
}
@media (min-width: 600px) {
	.ugc-ad {
		margin-bottom: 105px !important;
	}
	.ugc-ad + .ugc-card:not(.ugc-plain) {
		margin-top: 105px !important;
	}
}

/* 0.8.0: fixed ad slots in regular posts (between artwork sections). */
.ugc-ad.ugc-ad--post {
	margin: 56px auto !important;
}
