/**
 * "Find my QR code" — /my-qr/.
 *
 * Deliberately plain: this page is opened one-handed at a check-in desk, often
 * on a dim phone screen. The code is the only thing that matters, so it gets a
 * white card of its own — a QR on a dark background will not scan.
 */

.mq-passes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}

.mq-pass {
	background: #fff;
	border-radius: 14px;
	padding: 28px 28px 22px;
	text-align: center;
	max-width: 340px;
	flex: 0 1 320px;
	box-sizing: border-box;
}

.mq-pass__name {
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 18px;
	color: #0b0b0b;
	font-weight: 700;
}

/* The scan target. Quiet zone around it is part of the spec, not padding for
   looks — a code flush to a dark edge fails to read. */
.mq-pass__code {
	background: #fff;
	padding: 10px;
	display: inline-block;
	line-height: 0;
}

.mq-pass__code img,
.mq-pass__code svg {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	margin: 0 auto;
}

.mq-pass__fallback {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	margin: 0;
	max-width: 240px;
}

.mq-pass__ref {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.mq-pass__ref span {
	display: block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 11px;
	color: #8a8a8a;
	margin-bottom: 3px;
}

.mq-pass__ref b {
	font-family: 'silka-mono', 'Courier New', monospace;
	font-size: 19px;
	letter-spacing: .08em;
	color: #0b0b0b;
}

.mq-note {
	font-size: 14px;
	color: #9a9a9a;
	max-width: 44ch;
	margin-left: auto;
	margin-right: auto;
}

.mq-form .input-attendee { max-width: 380px; width: 100%; }

@media (max-width: 640px) {
	.mq-passes { gap: 22px; }
	.mq-pass { padding: 22px 18px 18px; }
}

/* ---- Slack invite ------------------------------------------------------
   Sits below the code in every state: someone who mistyped their email still
   wants the room, and this is the page attendees open in the days before.
   ----------------------------------------------------------------------- */

.mq-slack {
	max-width: 560px;
	margin: 72px auto 0;
	padding: 32px 28px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
}

.mq-slack__head {
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 10px;
	color: #fff;
}

.mq-slack__copy {
	font-size: 15px;
	line-height: 1.6;
	color: #a8a8a8;
	margin: 0 auto 22px;
	max-width: 44ch;
}

.mq-slack__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: #0b0b0b !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 999px;
	transition: transform .15s ease, background .15s ease;
}

.mq-slack__btn:hover { background: #e9e9e9; transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) { .mq-slack__btn { transition: none; } }
@media (max-width: 640px) {
	.mq-slack { margin-top: 52px; padding: 26px 20px; }
	.mq-slack__btn { width: 100%; justify-content: center; box-sizing: border-box; }
}
