.qrapp-root {
	max-width: 480px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.qrapp-screen {
	padding: 24px 20px 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.qrapp-screen h1 {
	font-size: 1.5rem;
	margin: 0 0 4px;
}

.qrapp-screen p {
	margin: 0 0 10px;
	color: #444;
}

.qrapp-btn {
	display: block;
	width: 100%;
	padding: 16px;
	font-size: 1.05rem;
	font-weight: 600;
	border: none;
	border-radius: 10px;
	background: #B55639;
	color: #fff;
	cursor: pointer;
}

.qrapp-btn:active { opacity: 0.85; }

.qrapp-btn-secondary {
	background: #eef1f6;
	color: #1a1a1a;
}

.qrapp-screen label {
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
	color: #555;
	gap: 4px;
}

.qrapp-screen input {
	padding: 12px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 8px;
}

.qrapp-question-card {
	background: #f6f8fb;
	border-radius: 14px;
	padding: 32px 20px;
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.qrapp-question-card p {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111;
	margin: 0;
}

.qrapp-connection-card {
	background: #f6f8fb;
	border-radius: 10px;
	padding: 14px 16px;
	text-align: left;
}

.qrapp-connection-question {
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 4px;
}

.qrapp-connection-name {
	font-weight: 700;
	font-size: 1.05rem;
	color: #111;
}

.qrapp-connection-meta {
	font-size: 0.9rem;
	color: #444;
}

.qrapp-prize-banner {
	background: #fff6e5;
	border: 1px solid #f0c14b;
	border-radius: 10px;
	padding: 16px;
	font-weight: 600;
	font-size: 1.05rem;
	color: #7a4a00;
	text-align: center;
}

.qrapp-scanner-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.85);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.qrapp-scanner-box {
	background: #fff;
	border-radius: 14px;
	padding: 16px;
	width: 100%;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#qrapp-reader { width: 100%; }

.qrapp-toast {
	position: fixed;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	background: #1a1a1a;
	color: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	font-size: 0.95rem;
	z-index: 10000;
}
