:root {
	--qvc-page-bg: #f4f5f7;
	--qvc-card-bg: #ffffff;
	--qvc-text: #1d2327;
	--qvc-muted: #646970;
	--qvc-border: rgba(29, 35, 39, 0.10);
	--qvc-radius: 22px;
	--qvc-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: var(--qvc-page-bg);
}

body.qvc-mobile-vote-page {
	margin: 0;
	min-width: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--qvc-page-bg);
	color: var(--qvc-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.55;
}

.qvc-vote-shell,
.qvc-vote-shell * {
	box-sizing: border-box;
}

.qvc-vote-shell {
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.qvc-vote-wrap {
	width: min(100%, 720px);
	margin: 0 auto;
}

.qvc-vote-brand {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	margin: 0 0 14px;
	text-align: center;
}

.qvc-site-logo img,
.qvc-vote-brand .custom-logo {
	display: block;
	width: auto;
	max-width: min(240px, 65vw);
	max-height: 72px;
	height: auto;
	margin: 0 auto;
}

.qvc-site-name {
	font-size: 0.95rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	color: var(--qvc-muted);
}

.qvc-vote-card {
	width: 100%;
	overflow: hidden;
	background: var(--qvc-card-bg);
	border: 1px solid var(--qvc-border);
	border-radius: var(--qvc-radius);
	box-shadow: var(--qvc-shadow);
}

.qvc-vote-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 54vh;
	object-fit: cover;
}

.qvc-vote-title {
	margin: 0;
	padding: 22px 22px 4px;
	font-size: clamp(1.7rem, 7vw, 2.45rem);
	line-height: 1.12;
	font-weight: 750;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.qvc-vote-content {
	padding: 18px 22px 26px;
	overflow-wrap: anywhere;
}

.qvc-vote-content > :first-child {
	margin-top: 0;
}

.qvc-vote-content > :last-child {
	margin-bottom: 0;
}

.qvc-vote-content img,
.qvc-vote-content video,
.qvc-vote-content iframe,
.qvc-vote-content table {
	max-width: 100%;
}

.qvc-vote-content img,
.qvc-vote-content video {
	height: auto;
}

.qvc-vote-content iframe {
	width: 100%;
}

.qvc-vote-content a,
.qvc-vote-content button,
.qvc-vote-content input[type="button"],
.qvc-vote-content input[type="submit"] {
	touch-action: manipulation;
}

.qvc-vote-content button,
.qvc-vote-content input[type="button"],
.qvc-vote-content input[type="submit"],
.qvc-vote-content .button,
.qvc-vote-content .wp-element-button {
	min-height: 48px;
	padding: 12px 18px;
	font-size: 1rem;
}

.qvc-vote-message {
	display: flex;
	min-height: min(60vh, 520px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(42px, 12vw, 90px) 18px;
}

.qvc-vote-message::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin: 0 auto 22px;
	border: 3px solid currentColor;
	border-radius: 999px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
}

.qvc-vote-message h2 {
	margin: 0;
	font-size: clamp(2rem, 9vw, 3.1rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.qvc-vote-message p {
	max-width: 520px;
	margin: 18px auto 0;
	font-size: clamp(1rem, 4.3vw, 1.2rem);
	color: var(--qvc-muted);
}

.qvc-vote-context {
	width: min(100%, 520px);
	margin: 26px auto 0;
	padding: 18px 20px;
	background: rgba(29, 35, 39, 0.045);
	border: 1px solid var(--qvc-border);
	border-radius: 16px;
}

.qvc-vote-contest {
	font-size: clamp(0.95rem, 4vw, 1.08rem);
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: 0.015em;
	color: var(--qvc-muted);
}

.qvc-vote-business {
	margin-top: 7px;
	font-size: clamp(1.3rem, 5.8vw, 1.75rem);
	font-weight: 780;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--qvc-text);
	overflow-wrap: anywhere;
}

.qvc-vote-status-message {
	margin-top: 18px;
}

.qvc-vote-status-message p:first-child {
	margin-top: 0;
}


.qvc-vote-limit {
	width: min(100%, 520px);
	margin: 20px auto 0;
	padding: 13px 16px;
	border-radius: 12px;
	background: rgba(29, 35, 39, 0.055);
	border: 1px solid var(--qvc-border);
	font-size: clamp(0.95rem, 4vw, 1.08rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--qvc-text);
}

.qvc-vote-exit {
	margin: 18px 0 4px;
	text-align: center;
}

.qvc-vote-home-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 16px;
	color: var(--qvc-muted);
	font-size: 0.98rem;
	font-weight: 650;
	line-height: 1.25;
	text-decoration: underline;
	text-underline-offset: 3px;
	touch-action: manipulation;
}

.qvc-vote-home-link:hover,
.qvc-vote-home-link:focus {
	color: var(--qvc-text);
}

body.qvc-vote-confirmation-page .qvc-vote-card {
	margin-top: max(3vh, 12px);
}

body.admin-bar .qvc-vote-shell {
	min-height: calc(100vh - 32px);
	min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .qvc-vote-shell {
		min-height: calc(100vh - 46px);
		min-height: calc(100dvh - 46px);
	}
}

@media (max-width: 480px) {
	.qvc-vote-shell {
		padding-left: max(12px, env(safe-area-inset-left));
		padding-right: max(12px, env(safe-area-inset-right));
	}

	.qvc-vote-card {
		border-radius: 18px;
	}

	.qvc-vote-title {
		padding: 20px 18px 2px;
	}

	.qvc-vote-content {
		padding: 16px 18px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qvc-vote-shell *,
	.qvc-vote-shell *::before,
	.qvc-vote-shell *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.qvc-entry-actions {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--qvc-border);
}

.qvc-online-vote-form {
	margin: 0;
}

.qvc-online-vote-button {
	width: 100%;
	min-height: 54px;
	padding: 14px 18px;
	border: 0;
	border-radius: 14px;
	background: #123f5f;
	color: #fff;
	font: inherit;
	font-size: 1.08rem;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	touch-action: manipulation;
}

.qvc-online-vote-button:hover,
.qvc-online-vote-button:focus {
	filter: brightness(1.08);
}

.qvc-online-vote-disabled {
	padding: 14px 16px;
	border: 1px solid var(--qvc-border);
	border-radius: 12px;
	background: rgba(29, 35, 39, 0.045);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.qvc-share-wrap {
	margin-top: 24px;
	text-align: center;
}

.qvc-share-label {
	margin-bottom: 10px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--qvc-muted);
}

.qvc-share-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.qvc-share-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--qvc-border);
	border-radius: 12px;
	background: #fff;
	color: var(--qvc-text);
	font: inherit;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	touch-action: manipulation;
}

.qvc-share-facebook {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

.qvc-share-instagram {
	background: #fff;
	color: var(--qvc-text);
}

.qvc-share-status {
	min-height: 1.4em;
	margin-top: 9px;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--qvc-muted);
}

.qvc-vote-closed::before {
	content: "×";
}

.qvc-contest-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.qvc-contest-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--qvc-border);
	border-radius: 12px;
	background: #fff;
	color: var(--qvc-text);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
