/* BB Gift Cards - Concept B tokens (bb-theme main.css :root), with fallbacks so it also works without the theme. */
.bbgc-product, .bbgc-redeem, .bbgc-account {
	--g-yellow: var(--bb-yellow, #ffcf02);
	--g-ink: var(--bb-ink, #111);
	--g-ground: var(--bb-ground, #f7f6f2);
	--g-surface: var(--bb-surface, #fff);
	--g-muted: var(--bb-muted, #555);
	--g-border: var(--bb-border, #e7e4da);
	--g-track: var(--bb-track, #cfcab9);
	--g-error: var(--bb-error, #b3261e);
	--g-success: var(--bb-success, #1d5b33);
	--g-success-bg: var(--bb-success-bg, #e6f2ea);
	--g-r-panel: var(--bb-r-panel, 20px);
	--g-r-card: var(--bb-r-card, 18px);
	--g-r-control: var(--bb-r-control, 12px);
	--g-touch: var(--bb-touch, 44px);
	--g-display: var(--bb-font-display, "Fira Sans", Arial, sans-serif);
}

/* ---------- Card face (preview, basket, My Account) ---------- */
.bbgc-face { position: relative; aspect-ratio: 2 / 1; width: 100%; border-radius: var(--g-r-card, 18px); overflow: hidden; background: #f7f6f2; color: #111; box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 18px 40px -22px rgba(17,17,17,.45); isolation: isolate; container-type: inline-size; }
.bbgc-face__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.bbgc-face__top { position: absolute; top: 7%; left: 6%; display: flex; flex-direction: column; gap: 2px; }
.bbgc-face__brand { font-family: var(--g-display, Arial, sans-serif); font-weight: 800; font-size: clamp(14px, 5.2cqi, 26px); letter-spacing: -.01em; line-height: 1; }
.bbgc-face__kind { font-size: clamp(10px, 2.6cqi, 13px); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.bbgc-face__heading { position: absolute; left: 6%; top: 40%; max-width: 48%; font-family: var(--g-display, Arial, sans-serif); font-weight: 700; font-size: clamp(14px, 5cqi, 26px); line-height: 1.12; }
.bbgc-face__amount { position: absolute; left: 6%; bottom: 8%; font-family: var(--g-display, Arial, sans-serif); font-weight: 800; font-size: clamp(22px, 9cqi, 46px); line-height: 1; letter-spacing: -.02em; }
.bbgc-face__amount .woocommerce-Price-currencySymbol { font-size: .7em; }
.bbgc-face__code { position: absolute; right: 5%; bottom: 7%; font: 600 clamp(10px, 2.8cqi, 14px)/1 ui-monospace, Menlo, monospace; background: rgba(255,255,255,.85); color: #111; padding: 4px 8px; border-radius: 6px; }
.bbgc-face--occasion, .bbgc-face--festive { color: #fff; }
/* Background colour under the art: text stays readable before or without the image (axe). */
.bbgc-face--occasion { background-color: #111; }
.bbgc-face--festive { background-color: #1f5a37; }
.bbgc-face--occasion .bbgc-face__brand { color: #ffcf02; }
.bbgc-face--thanks { color: #1d5b33; }

/* ---------- Product page ---------- */
.bbgc-product { max-width: var(--bb-max, 1280px); margin: 0 auto; padding: clamp(16px, 3vw, 32px) var(--bb-gutter, 16px) clamp(32px, 5vw, 64px); }
.bbgc-product__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) {
	.bbgc-product__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
	.bbgc-product__sticky { position: sticky; top: 96px; }
}
.bbgc-product__eyebrow { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.bbgc-product__title { margin: 0 0 10px; font-family: var(--g-display); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; color: var(--g-ink); }
.bbgc-product__lede { margin: 0 0 20px; color: var(--bb-body, #444); font-size: 1rem; line-height: 1.55; max-width: 60ch; }
.bbgc-product__off { padding: 14px 16px; background: var(--bb-soft-yellow, #fff4bf); border-radius: var(--g-r-control); }

.bbgc-note { margin-top: 16px; padding: 16px 18px; background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-r-card); }
.bbgc-note p { margin: 0; }
.bbgc-note__to { font-size: .9375rem; color: var(--g-muted); }
.bbgc-note__to strong { color: var(--g-ink); }
.bbgc-note__msg { margin: 8px 0 !important; font-size: 1rem; line-height: 1.5; color: var(--g-ink); white-space: pre-line; word-break: break-word; }
.bbgc-note__msg.is-placeholder { color: var(--g-muted); font-style: italic; }
.bbgc-note__from { font-weight: 600; }
.bbgc-note__when { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--g-border); font-size: .875rem; color: var(--g-muted); }

.bbgc-form { display: grid; gap: 22px; }
.bbgc-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.bbgc-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; font-family: var(--g-display); font-weight: 700; font-size: 1.125rem; color: var(--g-ink); }
.bbgc-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-yellow); color: var(--g-ink); font-size: .8125rem; font-weight: 800; flex: none; }
.bbgc-sublabel, .bbgc-input label { display: block; margin: 0 0 6px; font-size: .875rem; font-weight: 600; color: var(--g-ink); }
.bbgc-input { margin: 0 0 12px; }
.bbgc-form .bb-input, .bbgc-redeem .bb-input, .bbgc-account .bb-input { width: 100%; min-height: var(--g-touch); padding: 10px 14px; border: 1px solid var(--g-track); border-radius: var(--g-r-control); background: #fff; font: inherit; font-size: 1rem; color: var(--g-ink); box-sizing: border-box; }
.bbgc-form textarea.bb-input { min-height: 96px; resize: vertical; line-height: 1.45; }
.bbgc-form .bb-input:focus-visible, .bbgc-redeem .bb-input:focus-visible, .bbgc-account .bb-input:focus-visible { outline: 3px solid var(--g-yellow); outline-offset: 1px; border-color: var(--g-ink); }
.bbgc-form .bb-input[aria-invalid="true"] { border-color: var(--g-error); }
.bbgc-grid2 { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .bbgc-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bbgc-count { display: block; margin-top: 4px; font-size: .8125rem; color: var(--g-muted); text-align: right; }
.bbgc-error { display: block; margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: var(--g-error); }
.bbgc-error[hidden] { display: none; }

/* Designs */
.bbgc-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .bbgc-designs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bbgc-design { position: relative; display: grid; gap: 6px; cursor: pointer; text-align: center; }
.bbgc-design input, .bbgc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bbgc-design__swatch { display: block; aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--g-border); transition: box-shadow .15s, transform .15s; }
.bbgc-design__swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bbgc-design__name { font-size: .8125rem; font-weight: 600; color: var(--g-ink); line-height: 1.2; }
.bbgc-design input:checked + .bbgc-design__swatch { box-shadow: 0 0 0 3px var(--g-ink); }
.bbgc-design input:focus-visible + .bbgc-design__swatch { outline: 3px solid var(--g-yellow); outline-offset: 3px; }
.bbgc-design:hover .bbgc-design__swatch { transform: translateY(-1px); }

/* Amount + when chips */
.bbgc-amounts, .bbgc-when { display: flex; flex-wrap: wrap; gap: 8px; }
.bbgc-chip { position: relative; cursor: pointer; }
.bbgc-chip span { display: inline-flex; align-items: center; justify-content: center; min-height: var(--g-touch); min-width: 76px; padding: 0 16px; border: 1px solid var(--g-track); border-radius: 999px; background: #fff; font-weight: 700; font-size: 1rem; color: var(--g-ink); transition: background .15s, border-color .15s; }
.bbgc-chip input:checked + span { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.bbgc-chip input:focus-visible + span { outline: 3px solid var(--g-yellow); outline-offset: 2px; }
.bbgc-chip:hover span { border-color: var(--g-ink); }
.bbgc-when .bbgc-chip span { font-weight: 600; font-size: .9375rem; }
.bbgc-custom, .bbgc-date { margin-top: 12px; max-width: 260px; }
.bbgc-custom[hidden], .bbgc-date[hidden] { display: none; }
.bbgc-money { position: relative; }
.bbgc-money__sym { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--g-muted); pointer-events: none; }
.bbgc-money .bb-input { padding-left: 30px !important; font-weight: 700; }

.bbgc-submit { min-height: 52px; font-size: 1.0625rem; font-weight: 700; border-radius: var(--g-r-control); }
.bbgc-form .bb-btn--block { display: flex; width: 100%; align-items: center; justify-content: center; }
.bbgc-small { margin: -8px 0 0; font-size: .8125rem; color: var(--g-muted); line-height: 1.45; }

.bbgc-how { margin-top: 32px; padding: 20px; background: var(--g-ground); border-radius: var(--g-r-panel); }
.bbgc-how__h { margin: 0 0 10px; font-family: var(--g-display); font-size: 1.125rem; }
.bbgc-how__list { margin: 0 0 12px; padding-left: 20px; line-height: 1.55; color: var(--bb-body, #444); }
.bbgc-how__list li + li { margin-top: 6px; }
.bbgc-terms summary { cursor: pointer; font-weight: 600; min-height: var(--g-touch); display: flex; align-items: center; }
.bbgc-terms p { margin: 4px 0 0; font-size: .875rem; color: var(--g-muted); line-height: 1.5; }

/* Mobile: keep the preview compact so the form starts above the fold. */
@media (max-width: 899px) {
	.bbgc-product__preview { order: 0; }
	.bbgc-product__preview .bbgc-note { display: none; }
	.bbgc-product__preview .bbgc-face { max-width: 420px; margin: 0 auto; }
}

/* ---------- Basket / checkout: redeem box ---------- */
.bbgc-redeem { margin: 0 0 16px; color: var(--g-ink); }
.bbgc-redeem dt, .bbgc-redeem dd, .bbgc-redeem label, .bbgc-redeem p, .bbgc-redeem strong, .bbgc-rulesnote, .bbgc-copybox { color: var(--g-ink); }
.bbgc-redeem__box { background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-r-panel); }
.bbgc-redeem__summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; cursor: pointer; list-style: none; }
.bbgc-redeem__summary::-webkit-details-marker { display: none; }
.bbgc-redeem__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bb-soft-yellow, #fff4bf); color: var(--g-ink); flex: none; }
.bbgc-redeem__title { font-weight: 700; color: var(--g-ink); }
.bbgc-redeem__toggle { margin-left: auto; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--g-ink); }
.bbgc-redeem__box[open] .bbgc-redeem__toggle { text-decoration: none; opacity: .7; }
.bbgc-redeem__body { padding: 0 16px 16px; }
.bbgc-redeem__row { display: flex; gap: 8px; }
.bbgc-redeem__input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .04em; font-family: ui-monospace, Menlo, monospace !important; }
.bbgc-redeem__row .bb-btn { flex: none; min-height: var(--g-touch); padding: 0 18px; border-radius: var(--g-r-control); }
.bbgc-redeem__applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 10px 12px; background: var(--g-success-bg); color: var(--g-success); border-radius: var(--g-r-control); font-size: .9375rem; font-weight: 600; }
.bbgc-redeem__msg { margin: 10px 0 0; font-size: .9375rem; }
.bbgc-redeem__msg.is-error { color: var(--g-error); font-weight: 600; }
.bbgc-redeem__msg.is-ok { color: var(--g-success); font-weight: 600; }
.bbgc-remove { padding: 0; border: 0; background: none; font: inherit; font-size: .8125rem; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; min-height: 32px; }
.bbgc-total-row th .bbgc-remove { margin-left: 8px; color: var(--g-muted); }
.bbgc-total-row td { color: var(--g-success); font-weight: 700; }
.bbgc-thumb { display: block; width: 100%; max-width: 120px; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }
.bbgc-qty { display: inline-block; min-width: 24px; font-weight: 600; text-align: center; }

/* ---------- My Account ---------- */
.bbgc-account__title { margin: 0 0 12px; font-family: var(--g-display); font-size: 1.5rem; }
.bbgc-tabs { display: flex; gap: 6px; margin: 0 0 18px; border-bottom: 1px solid var(--g-border); }
.bbgc-tab { display: inline-flex; align-items: center; min-height: var(--g-touch); padding: 0 14px; font-weight: 700; color: var(--g-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.bbgc-tab.is-active { color: var(--g-ink); border-bottom-color: var(--g-yellow); }
.bbgc-account__empty { color: var(--g-muted); }
.bbgc-account__section { margin: 28px 0 0; }
.bbgc-account__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bbgc-acards { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.bbgc-acard { padding: 16px; border: 1px solid var(--g-border); border-radius: var(--g-r-panel); background: var(--g-surface); }
.bbgc-acard__top { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 640px) { .bbgc-acard__top { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px; } }
.bbgc-acard__face a { display: block; border-radius: var(--g-r-card); }
.bbgc-acard__face a:focus-visible { outline: 3px solid var(--g-yellow); outline-offset: 3px; }
.bbgc-acard__sum p { margin: 0; }
.bbgc-acard__label { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g-muted); }
.bbgc-acard__bal { font-family: var(--g-display); font-size: 2.25rem; font-weight: 800; line-height: 1.1; color: var(--g-ink); font-variant-numeric: tabular-nums; }
.bbgc-acard__of { color: var(--g-muted); font-size: .9375rem; margin-bottom: 10px !important; }
.bbgc-acard__meta { color: var(--g-muted); font-size: .875rem; line-height: 1.6; }
.bbgc-acard__more { margin-top: 8px !important; font-weight: 700; }
.bbgc-acard__more a { color: var(--g-ink); }
.bbgc-acard__delivery { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--g-border); color: var(--g-muted); font-size: .875rem; }
.bbgc-acard__hist { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--g-border); }
.bbgc-acard__h { margin: 0 0 8px; font-family: var(--g-display); font-size: 1.0625rem; }
.bbgc-acard.is-off .bbgc-acard__bal { color: var(--g-muted); }
.bbgc-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.bbgc-pill--ok { background: var(--g-success-bg); color: var(--g-success); }
.bbgc-pill--off { background: #ecebe6; color: #555; }
.bbgc-ledger { width: 100%; border-collapse: collapse; font-size: .875rem; }
.bbgc-ledger th, .bbgc-ledger td { padding: 9px 8px; border-bottom: 1px solid var(--g-border); text-align: left; vertical-align: top; }
.bbgc-ledger th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--g-muted); }
.bbgc-ledger .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bbgc-ledger .is-plus { color: var(--g-success); font-weight: 700; }
.bbgc-ledger .is-minus { color: var(--g-ink); }
.bbgc-ledger a { color: var(--g-ink); font-weight: 600; }
@media (max-width: 520px) {
	.bbgc-ledger thead { display: none; }
	.bbgc-ledger tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--g-border); }
	.bbgc-ledger tr[hidden] { display: none; }
	.bbgc-ledger td { padding: 0; border: 0; }
	.bbgc-ledger td:nth-child(1) { grid-column: 1; color: var(--g-muted); font-size: .8125rem; }
	.bbgc-ledger td:nth-child(2) { grid-column: 1; grid-row: 2; }
	.bbgc-ledger td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1rem; }
	.bbgc-ledger td:nth-child(4) { grid-column: 1 / -1; color: var(--g-muted); font-size: .8125rem; text-align: left; }
	.bbgc-ledger td:nth-child(4)::before { content: "Balance "; }
}
.bbgc-linkbtn { margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--g-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: var(--g-touch); }
.bbgc-back { margin: 0 0 12px; font-weight: 700; }
.bbgc-back a { color: var(--g-ink); }
.bbgc-code { margin-top: 18px; padding: 14px 16px; background: var(--g-ground); border-radius: var(--g-r-control); }
.bbgc-code__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; }
.bbgc-code__val { font: 700 1.25rem/1.2 ui-monospace, Menlo, monospace; letter-spacing: .06em; background: #fff; border: 2px dashed var(--g-ink); border-radius: 10px; padding: 8px 12px; }
.bbgc-code__btn { min-height: var(--g-touch); padding: 0 16px; border-radius: var(--g-r-control); }
.bbgc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 18px 0 0; }
@media (min-width: 760px) { .bbgc-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bbgc-facts dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--g-muted); }
.bbgc-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--g-ink); word-break: break-word; }
.bbgc-facts__wide { grid-column: 1 / -1; }
.bbgc-facts__wide dd { font-weight: 400; white-space: pre-line; }
.bbgc-resend { margin-top: 18px; }
.bbgc-check { max-width: 520px; }

/* Card face: balance big, original value small, used/expired dimmed. */
.bbgc-face__of { display: block; margin-top: 4px; font-size: .38em; font-weight: 700; opacity: .8; letter-spacing: 0; }
.bbgc-face.is-off { filter: grayscale(.85); opacity: .6; }
.bbgc-face__state { position: absolute; right: 5%; top: 8%; padding: 4px 10px; border-radius: 999px; background: #111; color: #fff; font-size: clamp(10px, 2.8cqi, 13px); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* Rules + team page */
.bbgc-rules { margin: 4px 0 0; padding-left: 18px; font-size: .8125rem; line-height: 1.5; color: var(--g-muted); }
.bbgc-rules li + li { margin-top: 2px; }
.bbgc-rulesnote { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--g-r-control, 12px); background: var(--bb-soft-yellow, #fff4bf); font-size: .875rem; color: var(--bb-ink, #111); }
.bbgc-rulesnote .bbgc-rules { color: var(--bb-ink, #111); }
.bbgc-team-link { margin: 0; font-size: .9375rem; }
.bbgc-team-link a { font-weight: 700; color: var(--g-ink); }
.bbgc-team { max-width: 920px; }
.bbgc-grid3 { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .bbgc-grid3 { grid-template-columns: 2fr 1fr 1fr; } }
.bbgc-rows { width: 100%; min-height: 180px; font-family: ui-monospace, Menlo, monospace !important; font-size: .875rem !important; }
.bbgc-bulk__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bbgc-bulk__tools .bb-btn { min-height: var(--g-touch); padding: 0 18px; border-radius: var(--g-r-control); cursor: pointer; display: inline-flex; align-items: center; }
.bbgc-bulk__result { margin-top: 12px; padding: 12px 14px; border-radius: var(--g-r-control); background: var(--g-ground); font-size: .9375rem; }
.bbgc-bulk__result.is-ok { background: var(--g-success-bg); color: var(--g-success); font-weight: 700; }
.bbgc-bulk__result.is-error { background: #fbeaea; color: var(--g-error); }
.bbgc-bulk__result ul { margin: 6px 0 0; padding-left: 18px; }
.bbgc-bulk__head { margin: 0; font-weight: 700; }
.bbgc-submit[disabled] { opacity: .6; cursor: not-allowed; }
.bbgc-form select.bb-input { appearance: auto; }

@media (prefers-reduced-motion: reduce) {
	.bbgc-design__swatch, .bbgc-chip span { transition: none; }
	.bbgc-design:hover .bbgc-design__swatch { transform: none; }
}
.bbgc-total-row .bbgc-remove { margin-left: 6px; color: var(--bb-muted, #555); font-weight: 600; }
div.bbgc-total-row > span:last-child { color: var(--bb-success, #1d5b33); font-weight: 700; white-space: nowrap; }

/* ---------- v2: delivery modes, done state, confetti ---------- */
.bbgc-modes { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
@media (min-width: 600px) { .bbgc-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bbgc-mode { position: relative; cursor: pointer; }
.bbgc-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bbgc-mode span { display: grid; gap: 2px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--g-track, #cfcab9); border-radius: var(--g-r-control, 12px); background: #fff; }
.bbgc-mode small { color: var(--g-muted, #555); font-size: .8125rem; line-height: 1.35; }
.bbgc-mode input:checked + span { border-color: var(--g-ink, #111); box-shadow: 0 0 0 2px var(--g-ink, #111); background: var(--bb-selected, #fffdf2); }
.bbgc-mode input:focus-visible + span { outline: 3px solid var(--g-yellow, #ffcf02); outline-offset: 2px; }
.bbgc-opt { font-weight: 400; color: var(--g-muted, #555); }
[data-bbgc-emailonly][hidden], [data-bbgc-selfonly][hidden] { display: none !important; }
.bbgc-submitwrap { position: relative; }
.bbgc-confetti { position: absolute; bottom: 0; pointer-events: none; z-index: 5; }
.bbgc-done { padding: 16px; border-radius: var(--g-r-panel, 20px); background: var(--g-success-bg, #e6f2ea); color: var(--g-success, #1d5b33); text-align: center; outline: none; }
.bbgc-done__h { margin: 0 0 10px; font-family: var(--g-display); font-size: 1.25rem; font-weight: 800; }
.bbgc-done__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.bbgc-done__btns .bb-btn { min-height: var(--g-touch, 44px); padding: 0 18px; display: inline-flex; align-items: center; border-radius: var(--g-r-control, 12px); }
.bbgc-copybox { margin: 0 0 14px; font-size: .875rem; }
.bbgc-copybox input { margin-right: 6px; }
.bbgc-editline { display: inline-block; margin-top: 6px; font-size: .8125rem; font-weight: 700; color: var(--bb-ink, #111); }
.bbgc-addanother { margin: 12px 0; }
.bbgc-emptynudge { margin: 16px 0; text-align: center; }
.bbgc-emptynudge a { font-weight: 700; color: var(--bb-ink, #111); }

/* Redeem: choose amount */
.bbgc-redeem__card { margin: 0 0 12px; padding: 12px; border-radius: var(--g-r-control, 12px); background: var(--g-success-bg, #e6f2ea); }
.bbgc-redeem__head { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: .9375rem; }
.bbgc-redeem__use { margin: 0; padding: 0; border: 0; display: grid; gap: 4px; font-size: .875rem; }
.bbgc-redeem__use label { display: flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
.bbgc-redeem__amt { display: flex; align-items: center; gap: 6px; }
.bbgc-redeem__amt[hidden] { display: none; }
.bbgc-redeem__amt .bb-input { width: 110px !important; min-height: 40px !important; }
.bbgc-redeem__lines { display: grid; gap: 2px; margin: 8px 0 0; font-size: .8125rem; }
.bbgc-redeem__lines div { display: flex; justify-content: space-between; }
.bbgc-redeem__lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bbgc-redeem__still { display: flex; justify-content: space-between; margin: 6px 0 10px; font-size: .9375rem; }

/* Buyer share panel */
.bbgc-sharepanel { margin: 0 0 20px; padding: 16px; border: 1px solid var(--bb-border, #e7e4da); border-radius: var(--bb-r-panel, 20px); background: var(--bb-surface, #fff); }
.bbgc-sharepanel__h { margin: 0 0 10px; font-size: 1.25rem; }
.bbgc-sharelist { display: grid; gap: 14px; margin: 0 0 10px; padding: 0; list-style: none; }
.bbgc-shareitem { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.bbgc-shareitem .bbgc-thumb { max-width: 96px; }
.bbgc-shareitem__top { margin: 0 0 8px; }
.bbgc-sharebtns { display: flex; flex-wrap: wrap; gap: 8px; }
.bbgc-sharebtns .bb-btn { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 12px; font-size: .875rem; }
.bbgc-sharepanel .bbgc-small { margin: 6px 0 0; font-size: .8125rem; color: var(--bb-muted, #555); }

/* Gift (claim) page */
.bbgc-gift { padding: clamp(20px, 4vw, 48px) var(--bb-gutter, 16px); }
.bbgc-gift__inner { max-width: 980px; margin: 0 auto; }
.bbgc-gift__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 800px) { .bbgc-gift__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.bbgc-gift__h { margin: 0 0 12px; font-family: var(--bb-font-display, Arial, sans-serif); font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.15; }
.bbgc-gift__msg { margin: 0 0 12px; padding: 12px 16px; border-left: 4px solid var(--bb-yellow, #ffcf02); background: var(--bb-ground, #f7f6f2); border-radius: 0 12px 12px 0; font-size: 1.0625rem; line-height: 1.5; }
.bbgc-gift__msg cite { display: block; margin-top: 6px; font-style: normal; color: var(--bb-muted, #555); font-size: .9375rem; }
.bbgc-gift__form { display: inline-block; margin: 0 8px 8px 0; }
.bbgc-gift__form .bb-btn, .bbgc-gift__actions > .bb-btn { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 12px; }
.bbgc-gift__actions { display: flex; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.bbgc-gift__notice { padding: 12px 16px; border-radius: 12px; background: var(--bb-soft-yellow, #fff4bf); }

/* Landing */
.bbgc-landing { max-width: var(--bb-max, 1280px); margin: 0 auto; padding: 0 var(--bb-gutter, 16px) 48px; }
.bbgc-hero { display: grid; gap: 24px; align-items: center; padding: clamp(20px, 4vw, 48px) 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .bbgc-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.bbgc-hero__h { margin: 0 0 12px; font-family: var(--bb-font-display, Arial, sans-serif); font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.02em; }
.bbgc-hero__p { font-size: 1.0625rem; line-height: 1.55; color: var(--bb-body, #444); max-width: 54ch; }
.bbgc-hero .bb-btn { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; border-radius: 12px; font-weight: 700; }
.bbgc-landing__builder .bbgc-product { padding-left: 0; padding-right: 0; }
.bbgc-sec__h { margin: 0 0 14px; font-family: var(--bb-font-display, Arial, sans-serif); font-size: 1.5rem; }
.bbgc-steps, .bbgc-faq, .bbgc-balance, .bbgc-teamcta { margin: 32px 0 0; padding: 20px; border-radius: var(--bb-r-panel, 20px); background: var(--bb-surface, #fff); border: 1px solid var(--bb-border, #e7e4da); }
.bbgc-steps__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bbgc-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bbgc-steps__list li { display: grid; gap: 6px; }
.bbgc-steps__list p { margin: 0; color: var(--bb-body, #444); line-height: 1.5; }
.bbgc-faq__item { border-bottom: 1px solid var(--bb-border, #e7e4da); }
.bbgc-faq__item summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.bbgc-faq__item p { margin: 0 0 14px; line-height: 1.55; color: var(--bb-body, #444); }
@media (prefers-reduced-motion: reduce) { .bbgc-confetti { display: none; } }

.bbgc-landing__crumbs { max-width: var(--bb-max, 1280px); margin: 0 auto; padding: 16px var(--bb-gutter, 16px) 0; }
.bbgc-thumb--sq { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.bbgc-tag { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 999px; background: #111; color: #ffcf02; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* ---------- Spacing sweep (8 / 16 / 24 rhythm), equal-height tiles, step 4 layout ---------- */
.bbgc-form { gap: 24px; }
.bbgc-label { margin: 0 0 16px; }
.bbgc-input { margin: 0 0 16px; }
.bbgc-input:last-child { margin-bottom: 0; }
.bbgc-input label, .bbgc-sublabel { margin: 0 0 8px; line-height: 1.3; }
.bbgc-help, .bbgc-count { display: block; margin: 8px 0 0; font-size: .8125rem; line-height: 1.4; color: var(--g-muted, #555); text-align: left; }
.bbgc-count { text-align: right; }
.bbgc-help--popia { margin: 8px 0 16px; } /* R2-GC-05: never touching the field above */
.bbgc-designs { gap: 16px 12px; }
.bbgc-amounts, .bbgc-when { gap: 8px; }
.bbgc-custom, .bbgc-date { margin-top: 16px; }
.bbgc-grid2 { gap: 0 16px; }

/* Option tiles (delivery mode), desktop row only: same height, constant 2px border so selection never resizes
   the box. Phones keep the stacked cards at natural height (unchanged). */
@media (min-width: 600px) {
	.bbgc-modes { align-items: stretch; gap: 12px; margin-bottom: 16px; }
	.bbgc-mode { display: flex; }
	.bbgc-mode span { box-sizing: border-box; height: 100%; width: 100%; align-content: start; gap: 4px; padding: 14px 16px; border: 2px solid var(--g-border, #e7e4da); box-shadow: none; }
	.bbgc-mode:hover span { border-color: var(--g-track, #cfcab9); }
	.bbgc-mode input:checked + span { border-color: var(--g-ink, #111); box-shadow: none; }
}

/* Delivery-time toggles: own labelled row, equal pills. */
.bbgc-whenbox { margin: 0; }
.bbgc-whenbox[hidden] { display: none !important; }
.bbgc-when { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); align-items: stretch; }
.bbgc-when .bbgc-chip { display: flex; }
.bbgc-when .bbgc-chip span { box-sizing: border-box; width: 100%; height: 100%; min-height: var(--g-touch, 44px); padding: 8px 16px; text-align: center; line-height: 1.25; }
@media (max-width: 420px) { .bbgc-when { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Chips: one size everywhere (Concept B). */
.bbgc-chip span { box-sizing: border-box; min-height: var(--g-touch, 44px); border-width: 1px; }

/* Add button, rules, team link, "Added!" state. */
.bbgc-submitwrap { margin-top: 0; }
.bbgc-form .bbgc-rules { margin: 0; padding: 0 0 0 18px; list-style: disc outside; font-size: .8125rem; line-height: 1.5; color: var(--g-muted, #555); }
.bbgc-form .bbgc-rules li { margin: 0 0 4px; padding: 0; }
.bbgc-form .bbgc-rules li::marker { color: var(--g-ink, #111); }
.bbgc-team-link { margin: 0; padding-top: 16px; border-top: 1px solid var(--g-border, #e7e4da); }
.bbgc-done { padding: 16px 16px 24px; }
.bbgc-done__h { margin: 0 0 16px; }

/* Preview column. */
.bbgc-note { margin-top: 16px; padding: 16px; }
.bbgc-note__msg { margin: 8px 0 !important; }
.bbgc-note__when { margin-top: 16px !important; padding-top: 16px; }

/* Landing page sections. */
.bbgc-landing__builder .bbgc-product { padding: 24px 0; }
.bbgc-hero { gap: 24px; padding: 24px 0 8px; }
.bbgc-hero__h { margin: 0 0 16px; }
.bbgc-hero__p { margin: 0 0 24px; }
.bbgc-steps, .bbgc-faq, .bbgc-balance, .bbgc-teamcta { margin: 24px 0 0; padding: 24px; }
.bbgc-sec__h { margin: 0 0 16px; }
.bbgc-steps__list { gap: 24px; }
.bbgc-teamcta p { margin: 0 0 16px; }
.bbgc-teamcta p:last-child { margin-bottom: 0; }
@media (max-width: 599px) {
	.bbgc-steps, .bbgc-faq, .bbgc-balance, .bbgc-teamcta { padding: 16px; }
	.bbgc-product { padding-left: 0; padding-right: 0; } /* The theme container already gives the 16px gutter. */
}

/* "How gift cards work" + terms: same left edge and rhythm as the form. */
.bbgc-how { margin-top: 24px; padding: 24px 0 0; background: none; border-top: 1px solid var(--g-border, #e7e4da); border-radius: 0; }
.bbgc-how__h { margin: 0 0 16px; }
.bbgc-how__list { margin: 0 0 16px; padding: 0 0 0 18px; }
.bbgc-how__list li + li { margin-top: 8px; }
.bbgc-terms { margin: 0; }
.bbgc-terms summary { padding: 0; }
.bbgc-terms p { margin: 8px 0 0; }

/* Live preview stays in view while the form is filled in (desktop only). */
@media (min-width: 900px) and (max-width: 1023px) {
	.bbgc-product__sticky { position: static; }
}
@media (min-width: 1024px) {
	.bbgc-product__preview { align-self: stretch; }
	.bbgc-product__sticky { position: sticky; top: 96px; }
}

/* GC-10: gift card basket lines - no "Save for later" (a gift card is not a wishlist item); on phones the
   details get the full line width below the picture/price row instead of a narrow middle column. */
.bbgc-cart-line .bb-cart-line__save { display: none !important; }
@media (max-width: 767px) {
	.bb-cart-line.bbgc-cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "media qty total" "info info info"; row-gap: 12px; }
	.bb-cart-line.bbgc-cart-line .bb-cart-line__qty { padding-top: 0; align-self: center; }
	.bb-cart-line.bbgc-cart-line .bb-cart-line__total { align-self: center; }
}

/* ---------- Message picker (custom dropdown over the preset <select>) ---------- */
.bbgc-pick__anchor { position: relative; display: block; }
.bbgc-form .bbgc-pick__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 12px 10px 14px; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.bbgc-pick__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbgc-pick__chev { flex: none; transition: transform .15s; }
.bbgc-pick__btn[aria-expanded="true"] { border-color: var(--bb-ink, #111); }
.bbgc-pick__btn[aria-expanded="true"] .bbgc-pick__chev { transform: rotate(180deg); }

.bbgc-pick__pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0; display: flex; flex-direction: column; box-sizing: border-box; max-height: 336px; background: var(--bb-surface, #fff); color: var(--bb-ink, #111); border: 1px solid var(--bb-track, #cfcab9); border-radius: var(--bb-r-control, 12px); box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 18px 40px -16px rgba(17,17,17,.35); }
.bbgc-pick__pop[hidden], .bbgc-pick__backdrop[hidden] { display: none; }
.bbgc-pick__pop.is-up { top: auto; bottom: calc(100% + 8px); }
.bbgc-pick__head { display: none; }
.bbgc-pick__list { position: relative; flex: 1 1 auto; min-height: 0; margin: 0; padding: 8px; list-style: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.bbgc-pick__opt { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 44px; margin: 0; padding: 10px 12px; border-radius: 10px; font-size: .9375rem; line-height: 1.4; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bbgc-pick__opt + .bbgc-pick__opt { margin-top: 2px; }
.bbgc-pick__opt.is-active { background: var(--bb-pale-yellow, #fff8d6); box-shadow: inset 0 0 0 2px var(--bb-ink, #111); }
.bbgc-pick__opt[aria-selected="true"] { font-weight: 600; }
.bbgc-pick__ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; }
.bbgc-pick__ico svg { width: 18px; height: 18px; }
.bbgc-pick__opt:not(.bbgc-pick__opt--own) .bbgc-pick__ico svg { opacity: 0; }
.bbgc-pick__opt[aria-selected="true"] .bbgc-pick__ico svg { opacity: 1; }
.bbgc-pick__body { flex: 1 1 auto; min-width: 0; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bbgc-pick__body .bbgc-tag { margin-right: 2px; }
.bbgc-pick__opt--own { position: relative; margin-top: 17px !important; }
.bbgc-pick__opt--own::before { content: ""; position: absolute; left: 12px; right: 12px; top: -9px; border-top: 1px solid var(--bb-border, #e7e4da); }

/* Phones: full-width bottom sheet (moved into <body> by the script while open). */
.bbgc-pick__backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; background: rgba(17,17,17,.5); cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.bbgc-pick__pop.is-sheet { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 100001; width: 100%; max-width: 100vw; max-height: 72vh; max-height: min(72dvh, 560px); border: 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -12px 40px -12px rgba(17,17,17,.4); font-family: var(--bb-font-body, Inter, system-ui, sans-serif); animation: bbgc-sheet .22s cubic-bezier(.16, 1, .3, 1); }
.bbgc-pick__pop.is-sheet .bbgc-pick__head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 8px 8px 20px; }
.bbgc-pick__title { font-family: var(--bb-font-display, "Fira Sans", Arial, sans-serif); font-weight: 700; font-size: 1.0625rem; }
.bbgc-pick__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.bbgc-pick__pop.is-sheet .bbgc-pick__list { padding: 0 8px 16px; }
.bbgc-pick__pop.is-sheet .bbgc-pick__opt { min-height: 52px; font-size: 1rem; }
.bbgc-pick__pop.is-sheet .bbgc-pick__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
@keyframes bbgc-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bbgc-pick__pop.is-sheet { animation: none; } .bbgc-pick__chev { transition: none; } }

/* Message field: placeholder, help + counter row, 8px to errors. */
.bbgc-form textarea.bb-input { display: block; }
.bbgc-form textarea.bb-input::placeholder { color: #6b6a64; opacity: 1; }
.bbgc-msg__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 8px; }
.bbgc-msg__foot .bbgc-help, .bbgc-msg__foot .bbgc-count { margin: 0; }
.bbgc-msg__foot .bbgc-count { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bbgc-count.is-low { color: var(--g-error, #b3261e); font-weight: 600; }
.bbgc-error { margin: 8px 0 0; }

/* ---------- 2.0.3 page UX (spec docs/plans/2026-12-05-giftcard-page-ux-spec.md) ---------- */
/* T3: hard-rule spacing (>= 8px text to box, >= 16px between stacked boxes). */
.bbgc-design { gap: 10px; }
@media (max-width: 599px) { .bbgc-modes { gap: 16px; } }
.bbgc-done__btns { gap: 16px; }
@media (max-width: 599px) { .bbgc-done__btns { flex-direction: column; } .bbgc-done__btns .bb-btn { width: 100%; justify-content: center; } }
/* T4: phone preview. */
.bbgc-peek { margin: 0 0 16px; border: 1px solid var(--g-border); border-radius: var(--g-r-control); background: var(--g-surface); }
.bbgc-peek summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.bbgc-peek__body { padding: 8px 16px 16px; }
.bbgc-peek__body .bbgc-note { display: block; margin-top: 16px; }
@media (min-width: 900px) { .bbgc-peek { display: none; } }
/* T5: phones reach step 1 sooner. */
@media (max-width: 899px) {
	.bbgc-hero__art { display: none; }
	.bbgc-landing__builder .bbgc-product__lede { display: none; }
}
/* T6: form-level error above the button. */
.bbgc-error--form { margin: 0 0 16px; }
/* T7: chips 3 per row on phones. */
@media (max-width: 599px) {
	.bbgc-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bbgc-amounts .bbgc-chip span { width: 100%; min-width: 0; padding: 0 8px; white-space: nowrap; }
	.bbgc-amounts .bbgc-chip--other span { font-size: .875rem; letter-spacing: -.01em; }
}
@media (max-width: 380px) {
	.bbgc-chip span.bbgc-chip__more { display: none; } /* "Other" on the smallest phones: the field below says "Amount" */
}
/* T8: trust row. */
.bbgc-form .bbgc-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 600; color: var(--g-ink); }
.bbgc-trust li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; margin: 0; }
.bbgc-trust li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--g-success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231d5b33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 420px) { .bbgc-form .bbgc-trust { grid-template-columns: minmax(0, 1fr); } }
/* T10: date and custom amount labels wrap cleanly. */
.bbgc-custom, .bbgc-date { max-width: 320px; }
/* Picker placeholder: nothing chosen (Gary). */
.bbgc-pick__btn.is-placeholder .bbgc-pick__value { color: #6b6a64; }

/* ---------- Team page (2.0.3): form + sticky live preview on desktop, peek on phones ---------- */
.bbgc-team { max-width: var(--bb-max, 1280px); }
.bbgc-team__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.bbgc-team__preview { display: none; }
@media (min-width: 900px) {
	.bbgc-team__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
	.bbgc-team__preview { display: block; align-self: stretch; }
	.bbgc-team__preview .bbgc-product__sticky { position: sticky; top: 96px; }
}
.bbgc-team__notices { margin: 0 0 24px; }
.bbgc-team .bbgc-pick, .bbgc-team .bbgc-msg { margin-top: 16px; }
.bbgc-team [data-bbgc-same] .bbgc-amounts { margin-top: 16px; }
.bbgc-team .bbgc-custom { margin-top: 16px; }
.bbgc-team [data-bbgc-eachhelp] { margin-top: 16px; }
.bbgc-team .bbgc-rows { margin-top: 8px; }
.bbgc-bulk__tools { align-items: center; gap: 16px; margin-top: 16px; }
.bbgc-bulk__tpl { font-size: .875rem; font-weight: 600; color: var(--g-ink); text-decoration: underline; text-underline-offset: 3px; }
.bbgc-bulk__result { margin-top: 16px; }
.bbgc-team .bbgc-submitwrap { margin-top: 8px; }
.bbgc-team .bbgc-rules { margin-top: 16px; }
/* Team page: the theme's 760px prose column would squeeze the form + preview; use the page width. */
body.bbgc-team-page .bb-content__body { max-width: none; }
.bbgc-team { padding-top: 0; }
/* Picker options: up to two lines everywhere (no text hidden behind an ellipsis). */
.bbgc-pick__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
/* While the phone sheet is open the page's own fixed bars stay out of the way, and the page does not scroll. */
body.bbgc-sheet-open .bb-tabs, body.bbgc-sheet-open .bb-totop, body.bbgc-sheet-open .bb-chat { visibility: hidden; }
body.bbgc-sheet-open { overflow: hidden; }
/* "Other amount" chip: the inner word is plain text, not a second chip. */
.bbgc-chip span.bbgc-chip__more { display: inline; min-height: 0; min-width: 0; width: auto; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; white-space: pre; }
@media (max-width: 380px) { .bbgc-chip span.bbgc-chip__more { display: none; } }
