/* Dating profile card on My account */
.bl-dcard {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	margin: 0 0 32px;
	padding: clamp(22px, 3.5vw, 36px);
	background: var(--ink, #111);
	color: var(--paper, #fff);
	border-left: 10px solid var(--red, #b3001b);
}
.bl-dcard > div { flex: 1 1 320px; }
.bl-dcard h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); font-stretch: 112%; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.bl-dcard p { margin: 0; }
.bl-dcard .bl-btn:hover { background: var(--paper, #fff); color: var(--ink, #111); }
.bl-dcard__kicker,
.bl-dprev__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px !important;
	color: #ff4d5e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bl-dcard__kicker span { padding: 3px 8px; border: 1px solid currentColor; color: var(--paper, #fff); }

/* Profile form */
.bl-dform { margin-top: 8px; }
.bl-dform__intro, .bl-dform__small { color: var(--muted, #5c5c5c); }
.bl-dform__small { font-size: 14px; }
.bl-dform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.bl-dform p { margin: 0 0 20px; }
.bl-dform label, .bl-dform legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bl-dform small { color: var(--muted, #5c5c5c); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bl-dform input[type="text"],
.bl-dform input[type="date"],
.bl-dform select,
.bl-dform textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--ink, #111);
	border-radius: 0;
	background: var(--paper, #fff);
	color: var(--ink, #111);
	font: 400 17px/1.5 var(--display, Arial, sans-serif);
}
.bl-dform input:focus-visible,
.bl-dform select:focus-visible,
.bl-dform textarea:focus-visible { outline: 3px solid var(--red, #b3001b); outline-offset: 1px; }

.bl-dform__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; border: 0; }
.bl-dform__chips legend { width: 100%; margin-bottom: 10px; }
.bl-dform__chips label { position: relative; margin: 0; cursor: pointer; letter-spacing: .06em; }
.bl-dform__chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bl-dform__chips span { display: inline-block; padding: 10px 16px; border: 2px solid var(--ink, #111); }
.bl-dform__chips input:checked + span { background: var(--red, #b3001b); border-color: var(--red, #b3001b); color: var(--paper, #fff); }
.bl-dform__chips input:checked + span::before { content: "\2713\00a0"; }
.bl-dform__chips input:focus-visible + span { outline: 3px solid var(--ink, #111); outline-offset: 2px; }

.bl-dform__checks { display: grid; gap: 14px; margin: 4px 0 20px; }
.bl-dform__checks label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bl-dform__checks input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red, #b3001b); }
.bl-dform button.bl-btn { border: 0; cursor: pointer; padding: 16px 30px; }

.bl-dform__danger { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 32px 0 20px; padding-top: 18px; border-top: 1px solid var(--line, #dedbd4); }
.bl-linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.bl-linkbtn--red { color: var(--red, #b3001b); }

/* Preview */
.bl-dprev { margin: 0 0 16px; }
.bl-dprev__label { color: var(--red, #b3001b) !important; }
.bl-dprev__card { display: flex; gap: 22px; padding: clamp(20px, 3vw, 30px); border: 2px solid var(--ink, #111); box-shadow: 8px 8px 0 var(--red, #b3001b); }
.bl-dprev__initial {
	display: grid;
	place-items: center;
	flex: none;
	width: 84px;
	height: 84px;
	background: var(--ink, #111);
	color: var(--paper, #fff);
	font-size: 40px;
	font-weight: 800;
}
.bl-dprev__card h3 { margin: 0 0 4px; font-size: 26px; font-stretch: 112%; font-weight: 800; text-transform: uppercase; }
.bl-dprev__card p { margin: 0 0 12px; }
.bl-dprev__meta { color: var(--muted, #5c5c5c); font-size: 15px; }
.bl-dprev__loss { padding-left: 12px; border-left: 4px solid var(--red, #b3001b); font: italic 400 18px/1.4 var(--serif, Georgia, serif); }
.bl-dprev__loss strong { font-family: var(--display, Arial, sans-serif); font-style: normal; font-size: 14px; text-transform: uppercase; }

@media (max-width: 600px) {
	.bl-dform__grid { grid-template-columns: minmax(0, 1fr); }
	.bl-dprev__card { flex-direction: column; }
	.bl-dcard .bl-btn { width: 100%; text-align: center; }
}

/* Town or city search (Google Places) */
.bl-places { position: relative; }
.bl-places__list {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	display: block;
	margin-top: -2px;
	background: var(--paper, #fff);
	border: 2px solid var(--ink, #111);
	box-shadow: 6px 6px 0 rgba(17, 17, 17, .12);
}
.bl-places__list[hidden] { display: none; }
.bl-places__list [role="option"] { display: block; padding: 10px 14px; cursor: pointer; line-height: 1.3; }
.bl-places__list [role="option"] + [role="option"] { border-top: 1px solid var(--line, #dedbd4); }
.bl-places__list [role="option"]:hover,
.bl-places__list [aria-selected="true"] { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-places__list strong { display: block; font-size: 16px; }
.bl-places__list small { display: block; color: inherit; opacity: .7; font-size: 13px; text-transform: none; letter-spacing: 0; }
.bl-places__credit { display: block; padding: 6px 14px; border-top: 1px solid var(--line, #dedbd4); color: var(--muted, #5c5c5c); font-size: 11px; text-align: right; }

/* Photo and social links */
.bl-dform__photo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 24px; margin: 0 0 24px; padding: 18px; background: var(--soft, #f4f2ee); }
.bl-dform__photo img,
.bl-dform__nophoto { flex: none; width: 120px; height: 120px; object-fit: cover; border: 2px solid var(--ink, #111); }
.bl-dform__nophoto { display: grid; place-items: center; background: var(--ink, #111); color: var(--paper, #fff); font-size: 48px; font-weight: 800; }
.bl-dform__photo > div { flex: 1 1 260px; }
.bl-dform__photo input[type="file"] { display: block; max-width: 100%; margin: 4px 0 8px; font: inherit; font-size: 15px; }
.bl-dform__photo input[type="file"]::file-selector-button { margin-right: 12px; padding: 10px 16px; border: 0; background: var(--ink, #111); color: var(--paper, #fff); font: 700 13px/1 var(--display, Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.bl-dform__hint { display: block; color: var(--muted, #5c5c5c); font-size: 13px; line-height: 1.45; }
.bl-dform label.bl-dform__remove { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bl-dform__socials { margin: 0 0 22px; padding: 0; border: 0; }
.bl-dform__socials legend { margin-bottom: 12px; }
.bl-dform__socials .bl-dform__grid p { margin-bottom: 14px; }
.bl-dprev__photo { flex: none; width: 160px; height: 160px; object-fit: cover; border: 2px solid var(--ink, #111); }
.bl-dprev__socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.bl-dprev__socials a { display: inline-block; padding: 6px 12px; border: 2px solid var(--ink, #111); color: var(--ink, #111); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.bl-dprev__socials a:hover { background: var(--red, #b3001b); border-color: var(--red, #b3001b); color: var(--paper, #fff); }
@media (max-width: 600px) { .bl-dprev__photo { width: 100%; height: auto; aspect-ratio: 1; } }
.bl-dform__needphoto { display: block; margin-top: 8px; color: var(--red, #b3001b); font-size: 14px; }

/* Dating: tabs, filters, member grid, single profile */
.bl-dtabs { display: flex; gap: 0; margin: 0 0 24px; border-bottom: 2px solid var(--ink, #111); }
.bl-dtabs a { padding: 12px 20px; color: var(--muted, #5c5c5c); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.bl-dtabs a:hover { color: var(--ink, #111); }
.bl-dtabs a[aria-current="page"] { background: var(--ink, #111); color: var(--paper, #fff); }

.bl-dfilter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px 16px; align-items: end; margin: 0 0 22px; padding: 16px; background: var(--soft, #f4f2ee); }
.bl-dfilter p { margin: 0; }
.bl-dfilter label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bl-dfilter select, .bl-dfilter input { display: block; width: 100%; padding: 10px 12px; border: 2px solid var(--ink, #111); border-radius: 0; background: var(--paper, #fff); font: 400 16px/1.3 var(--display, Arial, sans-serif); }
.bl-dfilter button.bl-btn { border: 0; cursor: pointer; padding: 13px 22px; }
.bl-dcount { margin: 0 0 12px; color: var(--muted, #5c5c5c); font-size: 14px; }

.bl-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.bl-dgrid__card { display: flex; flex-direction: column; gap: 3px; color: var(--ink, #111); text-decoration: none; }
.bl-dgrid__photo { position: relative; display: block; margin-bottom: 8px; overflow: hidden; border: 2px solid var(--ink, #111); aspect-ratio: 1; background: var(--soft, #f4f2ee); }
.bl-dgrid__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bl-dgrid__card:hover .bl-dgrid__photo img { transform: scale(1.04); }
.bl-dgrid__card:hover .bl-dgrid__photo { border-color: var(--red, #b3001b); }
.bl-dgrid__name { font-size: 18px; font-stretch: 112%; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.bl-dgrid__card:hover .bl-dgrid__name { color: var(--red, #b3001b); }
.bl-dgrid__meta { color: var(--muted, #5c5c5c); font-size: 14px; }
.bl-dgrid__tag { align-self: flex-start; margin-top: 4px; padding: 2px 8px; background: var(--soft, #f4f2ee); font-size: 12px; font-weight: 700; }
.bl-dsample { position: absolute; top: 8px; left: 8px; padding: 3px 8px; background: var(--paper, #fff); color: var(--red, #b3001b); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.bl-dback { margin: 0 0 18px; font-size: 14px; }
.bl-dback a { color: var(--ink, #111); }
.bl-dsingle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.bl-dsingle__photo { position: relative; border: 2px solid var(--ink, #111); box-shadow: 10px 10px 0 var(--red, #b3001b); }
.bl-dsingle__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bl-dsingle__info h2 { margin: 0 0 4px; font-size: clamp(30px, 3.6vw, 44px); font-stretch: 112%; font-weight: 800; line-height: 1; text-transform: uppercase; }
.bl-dsingle__meta { margin: 0 0 16px; color: var(--muted, #5c5c5c); font-size: 17px; }
.bl-dsingle__facts { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line, #dedbd4); }
.bl-dsingle__facts li { padding: 9px 0; border-bottom: 1px solid var(--line, #dedbd4); font-size: 16px; }
.bl-dsingle__facts span { display: inline-block; min-width: 130px; color: var(--muted, #5c5c5c); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bl-dsingle__info h3 { margin: 20px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bl-dsingle__info p { margin: 0 0 14px; font-size: 17px; line-height: 1.55; }
.bl-dreport { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line, #dedbd4); font-size: 14px; }
.bl-dreport summary { color: var(--muted, #5c5c5c); cursor: pointer; text-decoration: underline; }
.bl-dreport form { margin-top: 12px; }
.bl-dreport label { display: block; margin-bottom: 6px; font-weight: 700; }
.bl-dreport select, .bl-dreport textarea { display: block; width: 100%; padding: 10px 12px; border: 2px solid var(--ink, #111); border-radius: 0; font: inherit; font-size: 15px; }
.bl-dreport button.bl-btn { border: 0; cursor: pointer; }

@media (max-width: 760px) {
	.bl-dfilter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.bl-dfilter button.bl-btn { grid-column: 1 / -1; }
	.bl-dsingle { grid-template-columns: minmax(0, 1fr); }
	.bl-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* Dating sub-pages: the sidebar shows them on wide screens; these tabs are for phones. */
@media (min-width: 861px) { .bl-dtabs { display: none; } }
.bl-dtabs { overflow-x: auto; }
.bl-dtabs a { flex: none; white-space: nowrap; }
.bl-dhelp { margin: -4px 0 14px; color: var(--muted, #5c5c5c); }

.bl-dmatch { position: absolute; top: 8px; right: 8px; padding: 3px 8px; background: var(--red, #b3001b); color: var(--paper, #fff); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Like / Message / Block */
.bl-dactions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.bl-dactions form { margin: 0; }
.bl-dactions button.bl-btn, .bl-dactions a.bl-btn { border: 0; cursor: pointer; padding: 13px 22px; }
.bl-dlike { background: var(--paper, #fff) !important; box-shadow: inset 0 0 0 2px var(--red, #b3001b); color: var(--red, #b3001b) !important; }
.bl-dlike:hover, .bl-dlike.is-on { background: var(--red, #b3001b) !important; color: var(--paper, #fff) !important; }
.bl-dmsg { background: var(--ink, #111); }
.bl-dmsg:hover { background: var(--red, #b3001b); }
.bl-dactions .bl-linkbtn { color: var(--muted, #5c5c5c); font-size: 14px; }

/* Inbox */
.bl-inbox { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line, #dedbd4); }
.bl-inbox a { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--line, #dedbd4); color: var(--ink, #111); text-decoration: none; }
.bl-inbox a:hover { background: var(--soft, #f4f2ee); }
.bl-inbox img { flex: none; width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--ink, #111); }
.bl-inbox__who { flex: 1; min-width: 0; }
.bl-inbox__who strong { display: block; font-size: 16px; text-transform: uppercase; }
.bl-inbox__who span { display: block; overflow: hidden; color: var(--muted, #5c5c5c); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.bl-inbox .is-unread .bl-inbox__who span { color: var(--ink, #111); font-weight: 700; }
.bl-inbox__when { flex: none; color: var(--muted, #5c5c5c); font-size: 13px; }

/* Conversation */
.bl-thread { max-width: 760px; }
.bl-thread__head { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; border-bottom: 2px solid var(--ink, #111); color: var(--ink, #111); text-decoration: none; }
.bl-thread__head img { width: 48px; height: 48px; object-fit: cover; border: 2px solid var(--ink, #111); }
.bl-thread__head strong { display: block; font-size: 18px; text-transform: uppercase; }
.bl-thread__head small { color: var(--muted, #5c5c5c); font-size: 13px; }
.bl-thread__head:hover strong { color: var(--red, #b3001b); }
.bl-thread__note { margin: 12px 0 0; padding: 8px 12px; background: var(--soft, #f4f2ee); font-size: 14px; }
.bl-thread__msgs { display: flex; flex-direction: column; gap: 10px; max-height: 55vh; margin: 0; padding: 18px 0; overflow-y: auto; list-style: none; }
.bl-thread__msgs li { max-width: 78%; }
.bl-thread__msgs p { margin: 0; padding: 10px 14px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.bl-thread__msgs time { display: block; margin-top: 3px; color: var(--muted, #5c5c5c); font-size: 12px; }
.bl-thread__msgs .is-them { align-self: flex-start; }
.bl-thread__msgs .is-them p { background: var(--soft, #f4f2ee); }
.bl-thread__msgs .is-me { align-self: flex-end; text-align: right; }
.bl-thread__msgs .is-me p { background: var(--ink, #111); color: var(--paper, #fff); text-align: left; }
.bl-thread__empty { max-width: none !important; color: var(--muted, #5c5c5c); }
.bl-thread__send { display: flex; gap: 10px; align-items: stretch; padding-top: 12px; border-top: 1px solid var(--line, #dedbd4); }
.bl-thread__send textarea { flex: 1; min-height: 56px; padding: 10px 12px; border: 2px solid var(--ink, #111); border-radius: 0; font: 400 16px/1.4 var(--display, Arial, sans-serif); resize: vertical; }
.bl-thread__send textarea:focus-visible { outline: 3px solid var(--red, #b3001b); outline-offset: 1px; }
.bl-thread__send .bl-btn { border: 0; cursor: pointer; }
.bl-thread__tip { margin: 10px 0 0; color: var(--muted, #5c5c5c); font-size: 13px; }

.bl-dsafety { margin: 0 0 16px; padding: 0; list-style: none; }
.bl-dsafety li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line, #dedbd4); font-size: 16px; position: relative; }
.bl-dsafety li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border: solid var(--red, #b3001b); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.bl-my-stories li form { margin: 0; }
.bl-dalerts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: -4px 0 16px; padding: 10px 14px; background: var(--soft, #f4f2ee); font-size: 14px; } .bl-dalerts .bl-linkbtn { font-weight: 700; }
/* Section headings inside Dating are smaller now the page has a compact header. */
.bl-dash__body .bl-dfilter { margin-bottom: 18px; }


/* Member cards: 2 per row on desktop, with summary and Like button. */
.bl-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bl-dgrid > li { display: flex; }
.bl-dgrid__card { display: flex; flex-direction: column; width: 100%; gap: 0; background: var(--paper, #fff); border: 2px solid var(--ink, #111); }
.bl-dgrid__card .bl-dgrid__photo { margin: 0; border: 0; border-bottom: 2px solid var(--ink, #111); aspect-ratio: 1; }
.bl-dgrid__card:hover .bl-dgrid__photo { border-color: var(--ink, #111); }
.bl-dgrid__body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.bl-dgrid__name { margin: 0 0 4px; font-size: 22px; }
.bl-dgrid__name a { color: var(--ink, #111); text-decoration: none; }
.bl-dgrid__name a:hover { color: var(--red, #b3001b); }
.bl-dgrid__meta { margin: 0 0 10px; }
.bl-dgrid__meta .bl-dgrid__tag { display: inline-block; margin: 0 0 0 6px; color: var(--ink, #111); }
.bl-dgrid__about { margin: 0 0 16px; font: italic 400 17px/1.45 var(--serif, Georgia, serif); }
.bl-dgrid__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; }
.bl-dgrid__actions form { margin: 0; }
.bl-dgrid__actions .bl-dlike { border: 0; cursor: pointer; padding: 12px 22px; }
.bl-dgrid__view { color: var(--ink, #111); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bl-dgrid__view:hover { color: var(--red, #b3001b); }
@media (max-width: 760px) {
	.bl-dgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Likes and Matches: Matches / Liked you / You liked tabs */
.bl-dsubtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.bl-dsubtabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--ink, #111); color: var(--ink, #111); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.bl-dsubtabs a:hover { background: var(--soft, #f4f2ee); }
.bl-dsubtabs a[aria-current="page"] { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-dsubtabs span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red, #b3001b); color: var(--paper, #fff); font-size: 12px; letter-spacing: 0; }

/* Member cards: 4 per row on desktop (1.7.4), stepping down on smaller screens. */
.bl-dgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bl-dgrid__body { padding: 12px 14px 14px; }
.bl-dgrid__name { font-size: 18px; }
.bl-dgrid__meta { font-size: 14px; }
.bl-dgrid__about { margin-bottom: 12px; font-size: 15px; }
.bl-dgrid__actions { gap: 8px 12px; }
.bl-dgrid__actions .bl-dlike { padding: 9px 14px; font-size: 13px; }
.bl-dgrid__view { font-size: 12px; }
@media (max-width: 1100px) { .bl-dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bl-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) { .bl-dgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* 1.8.0: 20 cards per page (5 rows of 4), page links under the grid. */
.bl-dpager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 0; }
.bl-dpager a, .bl-dpager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 2px solid var(--ink, #111); color: var(--ink, #111); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.bl-dpager a:hover { background: var(--soft, #f4f2ee); }
.bl-dpager [aria-current="page"] { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-dpager .bl-dpager__gap { border: 0; min-width: 20px; padding: 0; }

/* 1.8.1: "Remove match?" confirmation box. */
.bl-dconfirm { max-width: 420px; width: calc(100% - 32px); padding: 26px 24px 22px; border: 3px solid var(--ink, #111); border-radius: 0; background: var(--paper, #fff); color: var(--ink, #111); }
.bl-dconfirm::backdrop { background: rgba(0, 0, 0, .6); }
.bl-dconfirm p { margin: 0 0 20px; font-size: 17px; line-height: 1.5; }
.bl-dconfirm__btns { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.bl-dconfirm__yes { border: 0; cursor: pointer; }
.bl-dconfirm__no { padding: 10px 0; border: 0; background: none; color: var(--ink, #111); font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: underline; text-transform: uppercase; cursor: pointer; }

/* 1.8.2: phones. Dating sub-pages wrap as buttons instead of scrolling sideways. */
@media (max-width: 860px) {
	.bl-dtabs { flex-wrap: wrap; gap: 6px; overflow: visible; margin-bottom: 18px; border-bottom: 0; }
	.bl-dtabs a { padding: 9px 12px; border: 2px solid var(--ink, #111); color: var(--ink, #111); font-size: 12px; }
	.bl-dsubtabs { gap: 6px; }
	.bl-dsubtabs a { padding: 8px 10px; font-size: 12px; }
}
/* Phones: member cards become compact rows (photo left, details right). */
@media (max-width: 480px) {
	.bl-dgrid { gap: 12px; }
	.bl-dgrid__card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
	.bl-dgrid__card .bl-dgrid__photo { height: 100%; min-height: 150px; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--ink, #111); }
	.bl-dgrid__card .bl-dgrid__photo img { width: 100%; height: 100%; object-fit: cover; }
	.bl-dgrid__body { padding: 10px 12px 12px; }
	.bl-dgrid__name { font-size: 17px; }
	.bl-dgrid__meta { margin-bottom: 6px; font-size: 13px; }
	.bl-dgrid__meta .bl-dgrid__tag { margin: 4px 0 0; font-size: 11px; }
	.bl-dgrid__about { margin-bottom: 10px; font-size: 14px; }
	.bl-dgrid__actions { gap: 6px 12px; }
	.bl-dgrid__actions .bl-dlike { padding: 8px 12px; font-size: 12px; }
	.bl-dfilter { padding: 12px; gap: 10px 12px; }
	.bl-dpager a, .bl-dpager span { min-width: 40px; height: 40px; padding: 0 10px; }
}
/* 1.8.2 tidy: tabs as an even grid on phones, one row on tablets; badges don't collide on small photos. */
@media (min-width: 561px) and (max-width: 860px) {
	.bl-dtabs { flex-wrap: nowrap; }
	.bl-dtabs a { flex: 1 1 auto; padding: 9px 8px; font-size: 11px; letter-spacing: .04em; text-align: center; }
}
@media (max-width: 560px) {
	.bl-dtabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-dtabs a { display: grid; place-items: center; padding: 10px 6px; font-size: 11px; letter-spacing: .05em; text-align: center; white-space: normal; }
	.bl-dtabs a:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.bl-dsubtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bl-dsubtabs a { justify-content: center; gap: 5px; padding: 9px 4px; font-size: 11px; letter-spacing: .03em; white-space: nowrap; }
	.bl-dsubtabs span { min-width: 18px; height: 18px; padding: 0 4px; font-size: 11px; }
}
@media (max-width: 480px) {
	.bl-dgrid__card .bl-dsample, .bl-dgrid__card .bl-dmatch { left: 6px; right: auto; padding: 2px 6px; font-size: 10px; }
	.bl-dgrid__card .bl-dsample { top: 6px; }
	.bl-dgrid__card .bl-dmatch { top: auto; bottom: 6px; }
}

/* 1.9.0: phones and tablets — Dating sub-pages are an app-style bar fixed to the bottom of the screen. */
.bl-dtabs__icon, .bl-dtabs__short, .bl-dtabs__badge { display: none; }
@media (max-width: 860px) {
	.bl-dtabs,
	.bl-dtabs[class] { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0 0 env(safe-area-inset-bottom); overflow: visible; border: 0; border-top: 1px solid rgba(255, 255, 255, .15); background: var(--ink, #111); box-shadow: 0 -6px 18px rgba(0, 0, 0, .18); }
	.bl-dtabs a,
	.bl-dtabs[class] a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 8px 2px 7px; border: 0; background: none; color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.1; text-align: center; text-transform: none; white-space: nowrap; }
	.bl-dtabs a:last-child:nth-child(odd) { grid-column: auto; }
	.bl-dtabs a:hover { color: var(--paper, #fff); }
	.bl-dtabs a[aria-current="page"] { background: none; color: var(--paper, #fff); }
	.bl-dtabs a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; background: #f0182b; }
	.bl-dtabs a[aria-current="page"] .bl-dtabs__icon { color: #f0182b; }
	.bl-dtabs a:focus-visible { outline: 2px solid var(--paper, #fff); outline-offset: -4px; }
	.bl-dtabs__icon { display: block; flex: none; }
	.bl-dtabs__short { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
	.bl-dtabs__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bl-dtabs__badge { position: absolute; top: 5px; left: calc(50% + 6px); display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #f0182b; color: #fff; font-size: 11px; font-weight: 800; }
	/* Room for the bar so the footer and the last cards are not hidden under it. */
	body:has(.bl-dtabs) { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
}
@media (max-width: 860px) {
	body:has(.bl-dtabs) .bl-cookie-banner { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* 1.9.1: phones and tablets — Show me, Looking for, Town on ONE line; Search button full width on the next line. */
@media (max-width: 860px) {
	.bl-dfilter { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding: 12px; }
	.bl-dfilter p { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
	.bl-dfilter label { margin-bottom: 5px; font-size: 11px; letter-spacing: .03em; line-height: 1.2; }
	/* 16px text stops iPhones zooming in when a field is tapped. */
	.bl-dfilter select, .bl-dfilter input { min-width: 0; height: 44px; padding: 8px 6px; font-size: 16px; text-overflow: ellipsis; }
	.bl-dfilter select { padding-right: 2px; }
	.bl-dfilter button.bl-btn { grid-column: 1 / -1; width: 100%; padding: 12px; }
}
@media (max-width: 480px) {
	.bl-dash__body .bl-dfilter { margin-left: -6px; margin-right: -6px; padding: 10px 8px; gap: 10px 6px; }
	.bl-dfilter select, .bl-dfilter input { padding-left: 5px; padding-right: 0; }
}

/* 1.9.3: the Date Now Search button is black (all screen sizes); red on hover. */
.bl-dfilter button.bl-btn { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-dfilter button.bl-btn:hover,
.bl-dfilter button.bl-btn:focus-visible { background: var(--red, #b3001b); color: var(--paper, #fff); }

/* 1.10.1: Show me / Looking for — even padding with our own arrow (the browser's arrow sat tight against the edge). */
.bl-dfilter select {
	-webkit-appearance: none;
	appearance: none;
	height: 46px;
	padding: 0 34px 0 14px;
	background: var(--paper, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
	text-overflow: ellipsis;
	cursor: pointer;
}
.bl-dfilter input { height: 46px; padding: 0 14px; }
.bl-dfilter select:focus-visible, .bl-dfilter input:focus-visible { outline: 3px solid var(--red, #b3001b); outline-offset: 1px; }
@media (max-width: 860px) {
	.bl-dfilter select { height: 44px; padding: 0 28px 0 10px; background-position: right 9px center; }
	.bl-dfilter input { height: 44px; padding: 0 10px; }
}
@media (max-width: 480px) {
	.bl-dfilter select { padding: 0 24px 0 8px; background-position: right 7px center; background-size: 10px 7px; }
	.bl-dfilter input { padding: 0 8px; }
}
@media (max-width: 480px) {
	.bl-dash__body .bl-dfilter { margin-left: -14px; margin-right: -14px; padding: 10px; gap: 10px 6px; }
	.bl-dfilter select { padding: 0 22px 0 8px; background-position: right 7px center; }
}

/* 1.10.3: Date of birth — iPhone Safari gives date fields their own minimum width, so it ran off the screen. */
.bl-dform input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	height: 53.5px;
	min-height: 53.5px;
	text-align: left;
}
.bl-dform input[type="date"]::-webkit-date-and-time-value { margin: 0; text-align: left; }
.bl-dform input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; cursor: pointer; }
.bl-dform__grid > p { min-width: 0; }

/* 1.10.4: profile photos are square everywhere — including the compact phone cards (the photo used to stretch to the card's height). */
.bl-dgrid__photo, .bl-dsingle__photo img, .bl-dprev__photo, .bl-dform__photo img, .bl-inbox img, .bl-thread__head img { aspect-ratio: 1 / 1; }
@media (max-width: 480px) {
	.bl-dgrid__card { align-items: start; }
	.bl-dgrid__card .bl-dgrid__photo { height: auto; min-height: 0; aspect-ratio: 1 / 1; border-bottom: 2px solid var(--ink, #111); }
	.bl-dgrid__card .bl-dgrid__photo img { position: absolute; inset: 0; }
}
@media (max-width: 480px) {
	.bl-dgrid__card .bl-dgrid__photo { margin: 10px 0 10px 10px; border: 2px solid var(--ink, #111); }
}

/* 1.10.6: subtle profile borders — thin light grey lines instead of thick black ones. */
.bl-dgrid__card { border: 1px solid var(--line, #dedbd4); transition: border-color .15s, box-shadow .15s; }
.bl-dgrid__card:hover { border-color: #c9c5bc; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.bl-dgrid__card .bl-dgrid__photo,
.bl-dgrid__card:hover .bl-dgrid__photo { border-bottom: 1px solid var(--line, #dedbd4); }
.bl-dsingle__photo,
.bl-dprev__photo,
.bl-dform__photo img,
.bl-dform__nophoto,
.bl-inbox img,
.bl-thread__head img { border: 1px solid var(--line, #dedbd4); }
@media (max-width: 480px) {
	.bl-dgrid__card .bl-dgrid__photo,
	.bl-dgrid__card:hover .bl-dgrid__photo { border: 1px solid var(--line, #dedbd4); }
}

/* 1.10.7: subtle Date Now search fields — thin light grey borders, softer labels; darker line + red ring only when used. */
.bl-dfilter select, .bl-dfilter input { border: 1px solid var(--line, #dedbd4); color: var(--ink, #111); transition: border-color .15s; }
.bl-dfilter select:hover, .bl-dfilter input:hover { border-color: #b9b4aa; }
.bl-dfilter select:focus-visible, .bl-dfilter input:focus-visible { border-color: var(--ink, #111); outline: 2px solid rgba(179, 0, 27, .25); outline-offset: 0; }
.bl-dfilter input::placeholder { color: #8a867e; }
.bl-dfilter select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235c5c5c' stroke-width='1.6'/%3E%3C/svg%3E"); }
.bl-dfilter label { color: var(--muted, #5c5c5c); font-weight: 600; }

/* 1.10.9: traffic lights — Like = red outline, Liked = ORANGE, Matched = GREEN (button and the Match badge). */
.bl-dlike.is-on { background: #c45a00 !important; box-shadow: inset 0 0 0 2px #c45a00; color: #fff !important; }
.bl-dlike.is-on:hover { background: #a34a00 !important; box-shadow: inset 0 0 0 2px #a34a00; }
.bl-dlike.is-match { background: #1e7b34 !important; box-shadow: inset 0 0 0 2px #1e7b34; color: #fff !important; }
.bl-dlike.is-match:hover { background: #17642a !important; box-shadow: inset 0 0 0 2px #17642a; }
.bl-dmatch { background: #1e7b34; }

/* 1.11.0: Hide / Unhide (cards + profile page) and the Hidden tab in the phone bottom bar. */
.bl-dhide { margin: 0; }
.bl-dhide .bl-linkbtn { padding: 0; border: 0; background: none; color: var(--muted, #5c5c5c); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: underline; text-transform: uppercase; cursor: pointer; }
.bl-dhide .bl-linkbtn:hover { color: var(--red, #b3001b); }
.bl-dgrid__actions { flex-wrap: wrap; }
@media (max-width: 860px) {
	.bl-dtabs, .bl-dtabs[class] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.bl-dtabs a, .bl-dtabs[class] a { font-size: 10.5px; letter-spacing: 0; }
}
.bl-dgrid__actions .bl-dhide { flex: 1 0 100%; }
.bl-dgrid__actions .bl-dhide .bl-linkbtn { font-size: 12px; }

/* 1.11.1: Hide is an icon (eye with a line) beside the member's name; Unhide = open eye. */
.bl-dgrid__actions .bl-dhide { flex: none; }
.bl-dgrid__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bl-dgrid__head .bl-dgrid__name { min-width: 0; }
.bl-dhide__btn { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; margin: -6px -8px 0 0; padding: 0 8px; border: 0; background: none; color: #8a867e; font: 700 13px/1 var(--display, Arial, sans-serif); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: color .15s, background .15s; }
.bl-dhide__btn:hover { background: var(--soft, #f4f2ee); color: var(--red, #b3001b); }
.bl-dhide__btn.is-hidden { color: var(--ink, #111); }
.bl-dhide__btn:focus-visible { outline: 2px solid var(--red, #b3001b); outline-offset: 0; }
.bl-dactions .bl-dhide__btn { margin: 0; color: var(--muted, #5c5c5c); }
