/* Boronia Member Card. Scoped to .bmc so it does not touch the rest of the site. */
.bmc {
	--bmc-primary: #5B2800;
	--bmc-accent: #FFCC22;
	--bmc-text: #FFFFFF;
	--bmc-deep: #3D1B00;
	--bmc-ink: #2A1A0F;
	--bmc-muted: #6B5A4E;
	--bmc-line: #E8DFD3;
	--bmc-cream: #FBF6EC;
	--bmc-green: #1E8E3E;
	--bmc-red: #C62828;
	box-sizing: border-box;
	max-width: 560px;
	margin: 0 auto;
	padding: 8px 0 32px;
	color: var(--bmc-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}
.bmc *, .bmc *::before, .bmc *::after { box-sizing: border-box; }
.bmc p { padding: 0; margin: 0 0 12px; }
.bmc a { color: #8A5A00; text-decoration: underline; }
.bmc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .5px; }

/* ---------- Card ---------- */
.bmc-card {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	padding: 22px 22px 20px;
	color: var(--bmc-text);
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(255, 204, 34, .22) 0%, rgba(255, 204, 34, 0) 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 60%),
		linear-gradient(150deg, var(--bmc-primary) 0%, var(--bmc-deep) 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 0 0 1px rgba(255, 204, 34, .35) inset, 0 18px 40px rgba(61, 27, 0, .35), 0 4px 12px rgba(61, 27, 0, .25);
	isolation: isolate;
}
.bmc-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, rgba(255, 255, 255, 0) 2px 6px);
	z-index: -1;
}
.bmc-card__gloss {
	position: absolute;
	top: -60%;
	left: -30%;
	width: 160%;
	height: 90%;
	background: linear-gradient(170deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, 0) 60%);
	transform: rotate(-8deg);
	pointer-events: none;
	z-index: 0;
	animation: bmc-sheen 7s ease-in-out infinite;
}
@keyframes bmc-sheen {
	0%, 100% { transform: translateX(-4%) rotate(-8deg); }
	50% { transform: translateX(4%) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) { .bmc-card__gloss { animation: none; } }
.bmc-card > *:not(.bmc-card__gloss) { position: relative; z-index: 1; }
.bmc-card__top { display: flex; align-items: center; gap: 12px; }
.bmc-card__logo { width: 56px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.bmc-card__club { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.bmc-card__club-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.bmc-card__eyebrow { color: var(--bmc-accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.bmc-card__name { margin: 22px 0 14px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.3px; word-break: break-word; }
.bmc-card__meta { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 10px 12px; padding: 12px 0 16px; border-top: 1px solid rgba(255, 204, 34, .35); }
.bmc-card__label { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bmc-accent); font-weight: 700; }
.bmc-card__value { display: block; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.3; }
.bmc-card__qr-wrap { background: #fff; border-radius: 16px; padding: 14px 14px 10px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.bmc-qr { width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: var(--bmc-muted); font-size: 13px; }
.bmc-qr svg { width: 100%; height: auto; display: block; }
.bmc-card__live { margin-top: 6px; color: var(--bmc-muted); font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bmc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bmc-green); box-shadow: 0 0 0 0 rgba(30, 142, 62, .6); animation: bmc-pulse 1.6s infinite; }
@keyframes bmc-pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 142, 62, .6); } 70% { box-shadow: 0 0 0 8px rgba(30, 142, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 142, 62, 0); } }

/* ---------- Pills, buttons ---------- */
.bmc-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.bmc-pill--valid { background: var(--bmc-green); color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.bmc-pill--pending { background: #FFF3C4; color: #6B4A00; margin-bottom: 10px; }
.bmc-pill--invalid { background: #FDE7E7; color: var(--bmc-red); margin-bottom: 10px; }
.bmc .bmc-btn, .bmc button.bmc-btn {
	display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; text-align: center; cursor: pointer; border: 2px solid transparent; transition: transform .1s ease, background .2s ease;
}
.bmc .bmc-btn:active { transform: translateY(1px); }
.bmc .bmc-btn--gold { background: var(--bmc-accent); color: var(--bmc-primary); border-color: var(--bmc-accent); }
.bmc .bmc-btn--gold:hover { background: var(--bmc-primary); color: var(--bmc-accent); }
.bmc .bmc-btn--ghost { background: transparent; color: var(--bmc-primary); border-color: var(--bmc-line); }
.bmc .bmc-btn--ghost-dark { background: transparent; color: var(--bmc-primary); border-color: var(--bmc-primary); }
.bmc .bmc-btn--green { background: var(--bmc-green); color: #fff; border-color: var(--bmc-green); }
.bmc .bmc-btn--block { display: block; width: 100%; }
.bmc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.bmc-help { text-align: center; color: var(--bmc-muted); font-size: 14px; margin: 16px 8px 0; }
.bmc-tip { text-align: center; color: var(--bmc-muted); font-size: 13px; margin: 18px 12px 0; }
.bmc-small { font-size: 13px; color: var(--bmc-muted); display: block; margin-top: 4px; }

/* ---------- Panels and forms ---------- */
.bmc-panel { background: #fff; border: 1px solid var(--bmc-line); border-radius: 18px; padding: 24px 20px; box-shadow: 0 8px 24px rgba(61, 27, 0, .08); text-align: center; }
.bmc-panel--wide { text-align: left; margin-top: 18px; }
.bmc-panel__logo { display: block; width: 72px; height: auto; margin: 0 auto 12px; padding: 8px; background: var(--bmc-primary); border-radius: 14px; }
.bmc-panel--wide .bmc-panel__logo { margin-left: 0; }
.bmc .bmc-h { margin: 0 0 10px; padding: 0; color: var(--bmc-primary); font-size: 24px; line-height: 1.2; font-weight: 800; }
.bmc .bmc-h--sm { font-size: 19px; }
.bmc-form { text-align: left; margin-top: 12px; }
.bmc-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.bmc-field { margin: 0 0 14px; }
.bmc-field label, .bmc-field legend, .bmc #bmc-login label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--bmc-ink); }
.bmc input[type="text"], .bmc input[type="email"], .bmc input[type="tel"], .bmc input[type="password"], .bmc select {
	display: block; width: 100%; padding: 12px 14px; font-size: 16px; line-height: 1.3; color: var(--bmc-ink);
	background: #fff; border: 1px solid #CDBFAE; border-radius: 10px; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.bmc select { background-image: linear-gradient(45deg, transparent 50%, var(--bmc-primary) 50%), linear-gradient(135deg, var(--bmc-primary) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.bmc input:focus, .bmc select:focus { outline: 3px solid rgba(255, 204, 34, .6); outline-offset: 1px; border-color: var(--bmc-primary); }
.bmc-radios { border: 0; padding: 0; }
.bmc-radios label { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; font-weight: 500; }
.bmc-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; }
.bmc-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.bmc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bmc [hidden] { display: none !important; }
.bmc-alert { background: #FDE7E7; color: #8E1C1C; border-radius: 10px; padding: 10px 14px; text-align: left; font-size: 14px; }
.bmc-alert ul { margin: 0; padding-left: 18px; }
.bmc #bmc-login { text-align: left; margin: 8px 0 12px; }
.bmc #bmc-login p { margin-bottom: 12px; }
.bmc #bmc-login .login-remember label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.bmc #bmc-login input[type="submit"] { display: block; width: 100%; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 16px; background: var(--bmc-accent); color: var(--bmc-primary); border: 2px solid var(--bmc-accent); cursor: pointer; }

/* ---------- Offers ---------- */
.bmc-offers-head { text-align: center; margin-bottom: 14px; }
.bmc-offers { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bmc-offer { display: flex; gap: 14px; background: #fff; border: 1px solid var(--bmc-line); border-left: 5px solid var(--bmc-accent); border-radius: 14px; padding: 16px; box-shadow: 0 6px 16px rgba(61, 27, 0, .06); }
.bmc-offer__logo { flex: 0 0 64px; height: 64px; border-radius: 12px; background: var(--bmc-cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bmc-offer__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bmc-offer__initial { font-size: 28px; font-weight: 800; color: var(--bmc-primary); }
.bmc .bmc-offer__sponsor { margin: 0 0 4px; padding: 0; font-size: 17px; color: var(--bmc-primary); font-weight: 800; }
.bmc-offer__text { font-weight: 600; margin-bottom: 6px; }
.bmc-offer__terms { font-size: 13px; color: var(--bmc-muted); }

/* ---------- Verify ---------- */
.bmc-verify { border-radius: 22px; padding: 34px 20px 24px; text-align: center; color: #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .2); }
.bmc-verify--valid { background: linear-gradient(160deg, #22A447 0%, #157532 100%); }
.bmc-verify--invalid { background: linear-gradient(160deg, #D93636 0%, #9E1B1B 100%); }
.bmc-verify__icon { width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; line-height: 1; }
.bmc-verify__status { font-size: 46px; font-weight: 900; letter-spacing: 3px; line-height: 1.05; }
.bmc-verify__name { font-size: 26px; font-weight: 800; margin-top: 14px; }
.bmc-verify__meta { font-size: 17px; font-weight: 600; opacity: .95; margin-top: 6px; }
.bmc-verify__time { font-size: 13px; opacity: .85; margin-top: 16px; font-variant-numeric: tabular-nums; }
.bmc-notice { margin-top: 14px; border-radius: 12px; padding: 12px 14px; font-weight: 700; text-align: center; }
.bmc-notice--ok { background: #E6F4EA; color: #146C2E; }
.bmc-notice--error { background: #FDE7E7; color: #8E1C1C; }

@media (min-width: 640px) {
	.bmc { padding-top: 24px; }
	.bmc-card { padding: 28px 28px 24px; }
	.bmc-card__name { font-size: 32px; }
	.bmc-row { grid-template-columns: 1fr 1fr; }
	.bmc-panel { padding: 32px 30px; }
}
@media (max-width: 360px) {
	.bmc-card__meta { grid-template-columns: auto auto; justify-content: start; gap: 10px 24px; }
	.bmc-card__name { font-size: 24px; }
}

/* Save to your phone tip */
.bmc-save { position: relative; margin: 18px 4px 0; padding: 14px 40px 14px 16px; background: var(--bmc-cream); border: 1px solid var(--bmc-line); border-left: 4px solid var(--bmc-accent); border-radius: 12px; color: var(--bmc-ink); font-size: 14px; line-height: 1.45; }
.bmc-save[hidden] { display: none; }
.bmc-save__h { display: block; font-size: 15px; margin-bottom: 4px; }
.bmc-save__p { margin: 0 0 8px; }
.bmc-save__steps { margin: 8px 0 0; padding-left: 18px; }
.bmc-save__steps li { margin: 4px 0; }
.bmc-save__x { position: absolute; top: 4px; right: 6px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--bmc-muted); cursor: pointer; }
.bmc-save .bmc-btn[hidden] { display: none; }
@media (display-mode: standalone) { .bmc-save { display: none !important; } }

/* ---------- Committee card (v1.2.0) ---------- */
.bmc-card--committee {
	background:
		radial-gradient(120% 70% at 100% 0%, rgba(255, 214, 90, .30) 0%, rgba(255, 214, 90, 0) 55%),
		radial-gradient(90% 60% at 0% 100%, rgba(255, 204, 34, .10) 0%, rgba(255, 204, 34, 0) 60%),
		linear-gradient(155deg, #1c0f06 0%, #3a1a05 55%, #120a04 100%);
	border: 2px solid transparent;
	background-clip: padding-box;
	box-shadow: 0 0 0 2px #E7B923, 0 0 0 4px #1c0f06, 0 0 0 5px rgba(255, 214, 90, .8), 0 20px 44px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .2) inset;
}
.bmc-card--committee::before {
	background:
		linear-gradient(115deg, rgba(255, 224, 120, 0) 30%, rgba(255, 224, 120, .16) 45%, rgba(255, 224, 120, 0) 60%),
		repeating-linear-gradient(135deg, rgba(255, 204, 34, .04) 0 2px, rgba(255, 204, 34, 0) 2px 6px);
}
.bmc-card--committee .bmc-card__club-name,
.bmc-card--committee .bmc-card__eyebrow { background: linear-gradient(180deg, #FFE98A 0%, #E7B923 55%, #B98A12 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E7B923; }
.bmc-card__role { margin: 18px 0 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bmc-card__badge { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 900; letter-spacing: 3px; color: #1c0f06; background: linear-gradient(180deg, #FFE98A 0%, #E7B923 55%, #C99A16 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 2px 6px rgba(0, 0, 0, .4); }
.bmc-card__title { font-size: 30px; line-height: 1.1; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; word-break: break-word; background: linear-gradient(180deg, #FFF1AE 0%, #F0C93A 50%, #B98A12 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F0C93A; }
.bmc-card--committee .bmc-card__name { margin-top: 10px; }
.bmc-card--committee .bmc-card__meta { border-top-color: rgba(231, 185, 35, .6); }
.bmc-card--committee .bmc-card__label { color: #E7B923; }
.bmc-verify__committee { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 6px; font-size: 20px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #1c0f06; background: linear-gradient(180deg, #FFE98A 0%, #E7B923 60%, #C99A16 100%); box-shadow: 0 0 0 2px rgba(28, 15, 6, .55); }

/* ---------- Partner card (v1.3.0): black and platinum-gold, Brimbravo ---------- */
.bmc-card--partner {
	background:
		radial-gradient(110% 60% at 100% 0%, rgba(233, 208, 138, .20) 0%, rgba(233, 208, 138, 0) 55%),
		radial-gradient(80% 50% at 0% 100%, rgba(190, 200, 215, .10) 0%, rgba(190, 200, 215, 0) 60%),
		linear-gradient(160deg, #0b0b0d 0%, #1c1d21 52%, #09090a 100%);
	border: 2px solid transparent;
	background-clip: padding-box;
	box-shadow: 0 0 0 2px #D9BE74, 0 0 0 4px #09090a, 0 0 0 5px #C9CFD8, 0 0 0 6px #09090a, 0 0 0 7px rgba(217, 190, 116, .7), 0 22px 48px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .22) inset;
	margin: 7px;
}
.bmc-card--partner::before {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
		linear-gradient(115deg, rgba(255, 236, 170, 0) 30%, rgba(255, 236, 170, .10) 46%, rgba(255, 236, 170, 0) 60%);
}
.bmc-card--partner .bmc-card__gloss { background: linear-gradient(170deg, rgba(255, 244, 205, .26) 0%, rgba(255, 244, 205, .07) 45%, rgba(255, 244, 205, 0) 60%); }
.bmc-card--partner .bmc-card__club-name,
.bmc-card--partner .bmc-card__eyebrow { background: linear-gradient(180deg, #F6EBC0 0%, #D9BE74 55%, #9C8239 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #D9BE74; }
.bmc-card--partner .bmc-card__badge { background: linear-gradient(135deg, #F4F5F8 0%, #C4CAD3 40%, #F6EBC0 60%, #B9A15A 100%); color: #0b0b0d; letter-spacing: 4px; }
.bmc-card--partner .bmc-card__title { font-size: 25px; letter-spacing: 1.2px; background: linear-gradient(180deg, #FFF7D6 0%, #E3C875 50%, #A58A3F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E3C875; }
.bmc-card--partner .bmc-card__name { margin-top: 10px; }
.bmc-card--partner .bmc-card__meta { border-top-color: rgba(217, 190, 116, .55); }
.bmc-card--partner .bmc-card__label { color: #D9BE74; }
.bmc-card__pmark { margin: 0 0 14px; padding: 10px 0 0; border-top: 1px solid rgba(217, 190, 116, .35); text-align: center; }
.bmc-card__pby { display: block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: #C4CAD3; margin-bottom: 6px; }
.bmc-card__pmark img { display: block; margin: 0 auto; width: 170px; max-width: 70%; height: auto; }
.bmc-card__pword { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 26px; letter-spacing: 6px; color: #E3C875; }
.bmc-card--partner .bmc-card__gloss { animation: bmc-sheen 7s ease-in-out infinite; }
.bmc-card--partner::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; z-index: 2; border-radius: inherit;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 244, 205, .20) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-18deg); animation: bmc-foil 6s ease-in-out infinite;
}
@keyframes bmc-foil { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .bmc-card--partner::after { animation: none; display: none; } }
@media (max-width: 380px) { .bmc-card--partner .bmc-card__title { font-size: 21px; } }
.bmc-verify__partner { display: block; max-width: 100%; margin: 12px auto 0; padding: 10px 14px; border-radius: 6px; font-size: 16px; line-height: 1.25; font-weight: 900; letter-spacing: 1px; color: #0b0b0d; background: linear-gradient(135deg, #F4F5F8 0%, #D9BE74 50%, #F6EBC0 75%, #B9A15A 100%); box-shadow: 0 0 0 2px #0b0b0d, 0 0 0 3px #D9BE74; word-break: break-word; }
