/* Join / Log in screen on /my-account/ (logged out). */
.bl-gate {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: calc(100vh - 140px);
	background: var(--ink, #111);
}

.bl-gate__brand {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: var(--paper, #fff);
	background: var(--ink, #111);
}
.bl-gate__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 50%;
	opacity: .45;
	filter: grayscale(.35);
}
.bl-gate__brand::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 17, 17, .15) 0%, rgba(17, 17, 17, .92) 75%);
}
.bl-gate__brand-text {
	position: relative;
	z-index: 1;
	padding: clamp(28px, 5vw, 72px) clamp(20px, 4.5vw, 64px);
}
.bl-gate__kicker {
	margin: 0 0 14px;
	color: #ff4d5e;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bl-gate__title {
	margin: 0 0 18px;
	font-size: clamp(38px, 5.2vw, 76px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: .98;
	text-transform: uppercase;
}
.bl-gate__title mark {
	padding: 0 .12em;
	background: var(--red, #b3001b);
	color: var(--paper, #fff);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.bl-gate__lead {
	margin: 0 0 24px;
	font: italic 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif, Georgia, serif);
}
.bl-gate__perks { margin: 0; padding: 0; list-style: none; }
.bl-gate__perks li {
	position: relative;
	padding: 10px 0 10px 30px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: 15px;
}
.bl-gate__perks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 15px;
	width: 12px;
	height: 7px;
	border: solid #ff4d5e;
	border-width: 0 0 3px 3px;
	transform: rotate(-45deg);
}

.bl-gate__forms {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 80px);
	background: var(--paper, #fff);
	border-top: 10px solid var(--red, #b3001b);
}
.bl-gate__forms > * { width: 100%; max-width: 460px; }

.bl-gate__tabs {
	display: flex;
	margin-bottom: 28px;
	border-bottom: 2px solid var(--ink, #111);
}
.bl-gate__tabs[hidden] { display: none; }
.bl-gate__tabs button {
	flex: 1;
	padding: 14px 10px;
	border: 0;
	background: none;
	color: var(--muted, #5c5c5c);
	cursor: pointer;
	font: 800 15px/1 var(--display, Arial, sans-serif);
	font-stretch: 112%;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.bl-gate__tabs button[aria-selected="true"] { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-gate__tabs button:focus-visible { outline: 3px solid var(--red, #b3001b); outline-offset: 2px; }

.bl-gate__panel + .bl-gate__panel { margin-top: 48px; }
.bl-gate.is-js .bl-gate__panel + .bl-gate__panel { margin-top: 0; }
.bl-gate__panel h2 {
	margin: 0 0 20px;
	font-size: clamp(26px, 2.6vw, 34px);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.bl-gate__form p { margin: 0 0 18px; }
.bl-gate__form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bl-gate__form label small { color: var(--muted, #5c5c5c); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bl-gate__form input[type="text"],
.bl-gate__form input[type="email"],
.bl-gate__form input[type="password"] {
	display: block;
	width: 100%;
	padding: 14px 0 10px;
	border: 0;
	border-bottom: 2px solid var(--ink, #111);
	border-radius: 0;
	background: transparent;
	color: var(--ink, #111);
	font: 400 18px/1.4 var(--display, Arial, sans-serif);
}
.bl-gate__form input:focus { outline: none; border-bottom-color: var(--red, #b3001b); box-shadow: 0 2px 0 var(--red, #b3001b); }

.bl-gate__pass { position: relative; display: block; }
.bl-gate__pass input { padding-right: 64px !important; }
.bl-gate__show {
	position: absolute;
	right: 0;
	bottom: 8px;
	padding: 6px 4px;
	border: 0;
	background: none;
	color: var(--ink, #111);
	cursor: pointer;
	font: 700 12px/1 var(--display, Arial, sans-serif);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bl-gate__show[hidden] { display: none; }

.bl-gate__small { color: var(--muted, #5c5c5c); font-size: 13px; line-height: 1.5; }
.bl-gate__small a, .bl-gate__switch a { color: var(--ink, #111); }
.bl-gate__submit { width: 100%; padding: 18px 26px; border: 0; cursor: pointer; font-size: 14px; }
.bl-gate__submit:focus-visible { outline: 3px solid var(--ink, #111); outline-offset: 2px; }
.bl-gate__switch { margin: 20px 0 0; font-size: 15px; }
.bl-gate__switch a { font-weight: 700; }

.bl-gate .bl-notice { margin-bottom: 20px; }

@media (max-width: 900px) {
	.bl-gate { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.bl-gate__brand { min-height: 0; }
	.bl-gate__brand-text { padding-top: 120px; }
	.bl-gate__perks { display: none; }
	.bl-gate__forms > * { max-width: none; }
}

/* Login code step */
.bl-gate__sent { margin: 0 0 24px; font-size: 17px; line-height: 1.5; }
.bl-gate__form input.bl-gate__code {
	padding: 14px 0 10px;
	font: 700 clamp(22px, 2.6vw, 28px)/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bl-gate__code::placeholder { color: #c9c6bf; letter-spacing: .1em; }
.bl-gate__resend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 15px; }
.bl-gate__resend button { padding: 0; border: 0; background: none; color: var(--ink, #111); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bl-gate__resend a { color: var(--muted, #5c5c5c); }

/* ------------------------------------------------------------------ */
/* Member dashboard (logged in): sidebar on the left, like wp-admin.   */
/* ------------------------------------------------------------------ */
.bl-dash {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	min-height: calc(100vh - 140px);
	background: var(--soft, #f4f2ee);
}
.bl-dash__side {
	display: flex;
	flex-direction: column;
	background: var(--ink, #111);
	color: var(--paper, #fff);
}
.bl-dash__who {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.bl-dash__who strong { display: block; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.bl-dash__who small { display: block; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.bl-dash__avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	background: var(--red, #b3001b);
	font-size: 19px;
	font-weight: 800;
}
.bl-dash__nav ul { margin: 0; padding: 10px 0; list-style: none; }
.bl-dash__nav a,
.bl-dash__logout button {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 13px 20px;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .82);
	font: 600 15px/1.2 var(--display, Arial, sans-serif);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.bl-dash__nav a:hover,
.bl-dash__logout button:hover { background: rgba(255, 255, 255, .08); color: var(--paper, #fff); }
.bl-dash__nav a:hover .bl-dash__icon { color: #ff4d5e; }
.bl-dash__nav a[aria-current="page"] { background: var(--red, #b3001b); color: var(--paper, #fff); }
.bl-dash__nav a[aria-current="page"]::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	border: 8px solid transparent;
	border-right-color: var(--soft, #f4f2ee);
	transform: translateY(-50%);
}
.bl-dash__nav a:focus-visible,
.bl-dash__logout button:focus-visible { outline: 2px solid var(--paper, #fff); outline-offset: -4px; }
.bl-dash__icon { flex: none; }
.bl-dash__logout { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .12); }
.bl-dash__logout button { color: rgba(255, 255, 255, .6); }

.bl-dash__main { min-width: 0; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px) 64px; }
.bl-dash__main > * { max-width: 980px; }
.bl-dash__head { margin-bottom: 26px; }
.bl-dash__crumb { margin: 0 0 8px; color: var(--muted, #5c5c5c); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bl-dash__crumb a { color: inherit; }
.bl-dash__head h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 48px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.02;
	text-transform: uppercase;
}
.bl-dash__intro { max-width: 640px; margin: 12px 0 0; font: italic 400 clamp(18px, 1.6vw, 21px)/1.4 var(--serif, Georgia, serif); }
.bl-dash__body { padding: clamp(20px, 3vw, 36px); background: var(--paper, #fff); border: 1px solid var(--line, #dedbd4); }
.bl-dash__body .bl-card { padding: 0; border: 0; }
.bl-dash__body .bl-h2:first-child { margin-top: 0; }
.bl-dash__empty { color: var(--muted, #5c5c5c); }

.bl-dash__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bl-dash__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: var(--paper, #fff);
	border: 1px solid var(--line, #dedbd4);
	border-top: 4px solid var(--ink, #111);
	color: var(--ink, #111);
	text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.bl-dash__card:hover { border-top-color: var(--red, #b3001b); transform: translateY(-2px); }
.bl-dash__card-top { display: flex; align-items: center; gap: 10px; color: var(--red, #b3001b); }
.bl-dash__card-top strong { color: var(--ink, #111); font-size: 20px; font-stretch: 112%; font-weight: 800; text-transform: uppercase; }
.bl-dash__card-text { color: var(--muted, #5c5c5c); font-size: 15px; line-height: 1.5; }
.bl-dash__card-status { align-self: flex-start; padding: 3px 10px; background: var(--soft, #f4f2ee); font-size: 13px; font-weight: 700; }
.bl-dash__card-go { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bl-dash__card:hover .bl-dash__card-go { color: var(--red, #b3001b); }

@media (max-width: 860px) {
	.bl-dash { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.bl-dash__side { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
	.bl-dash__who { flex: 1 1 auto; padding: 14px 16px; border-bottom: 0; }
	.bl-dash__logout { margin: 0; border-top: 0; }
	.bl-dash__logout button { height: 100%; padding: 14px 16px; }
	.bl-dash__nav { order: 3; width: 100%; overflow-x: auto; border-top: 1px solid rgba(255, 255, 255, .12); }
	.bl-dash__nav ul { display: flex; padding: 0; }
	.bl-dash__nav a { flex-direction: column; gap: 6px; padding: 12px 14px; font-size: 12px; text-align: center; white-space: nowrap; }
	.bl-dash__nav a[aria-current="page"]::after { display: none; }
	.bl-dash__cards { grid-template-columns: minmax(0, 1fr); }
}

/* Sub-menu under a dashboard section (e.g. Dating), like wp-admin's expanded menu. */
.bl-dash__nav .bl-dash__sub { padding: 0 0 8px; background: rgba(255, 255, 255, .05); }
.bl-dash__nav .bl-dash__sub a { padding: 8px 20px 8px 52px; color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 500; }
.bl-dash__nav .bl-dash__sub a[aria-current="page"] { background: none; color: var(--paper, #fff); font-weight: 800; }
.bl-dash__nav .bl-dash__sub a[aria-current="page"]::before { content: ""; position: absolute; left: 34px; top: 50%; width: 8px; height: 8px; background: var(--red, #b3001b); transform: translateY(-50%); }
.bl-dash__nav .bl-dash__sub a[aria-current="page"]::after { display: none; }
.bl-dash__nav a.is-open { background: rgba(255, 255, 255, .1); color: var(--paper, #fff); }
.bl-dash__nav a.is-open .bl-dash__icon { color: #ff4d5e; }
.bl-dash__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 10px; background: var(--red, #b3001b); color: var(--paper, #fff); font-size: 12px; font-weight: 800; }
@media (max-width: 860px) {
	.bl-dash__nav .bl-dash__sub { display: none; } /* phones use the tabs inside the Dating page instead */
	.bl-dash__badge { margin-left: 0; }
}

/* Compact section header (Dating): one slim line instead of crumb + big title + intro. */
.bl-dash__head--compact { margin-bottom: 14px; }
.bl-dash__head--compact h1 { font-size: 20px; letter-spacing: .02em; }
.bl-dash__head--compact h1 span { color: var(--muted, #5c5c5c); font-weight: 700; }
.bl-dash__main:has(.bl-dash__head--compact) { padding-top: 20px; }
.bl-dash__head--compact + .bl-dash__body { padding-top: clamp(16px, 2vw, 24px); }
.bl-dash__head--compact + .bl-dash__body .bl-inbox, .bl-dash__head--compact + .bl-dash__body > .bl-h2:first-child { margin-top: 0; }

/* 1.5.0: Login activity (where you're logged in). */
.bl-sessions { margin: 0 0 32px; padding: 0; list-style: none; border-top: 2px solid var(--ink, #111); }
.bl-sessions__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line, #dedbd4); }
.bl-sessions__item.is-current { background: var(--soft, #f4f2ee); padding-left: 14px; padding-right: 14px; }
.bl-sessions__icon { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink, #111); }
.bl-sessions__info p { margin: 0; }
.bl-sessions__device { font-size: 17px; font-weight: 800; }
.bl-sessions__me { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--red, #b3001b); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.bl-sessions__meta { color: var(--muted, #5c5c5c); font-size: 14px; line-height: 1.5; }
.bl-sessions__form { margin: 0; }
.bl-sessions .bl-linkbtn { padding: 0; border: 0; background: none; color: var(--ink, #111); font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-decoration: underline; text-transform: uppercase; cursor: pointer; }
.bl-sessions .bl-linkbtn:hover { color: var(--red, #b3001b); }
.bl-sessions__all { padding: 22px; border: 2px solid var(--ink, #111); }
.bl-sessions__all .bl-h2 { margin-top: 0; }
.bl-sessions__all p { max-width: 62ch; }
.bl-sessions__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.bl-sessions__buttons button.bl-btn { border: 2px solid var(--red, #b3001b); cursor: pointer; }
.bl-sessions__buttons button.bl-btn--ghost { background: transparent; border-color: var(--ink, #111); color: var(--ink, #111); }
.bl-sessions__buttons button.bl-btn--ghost:hover { background: var(--soft, #f4f2ee); }
@media (max-width: 560px) {
	.bl-sessions__item { grid-template-columns: auto minmax(0, 1fr); }
	.bl-sessions__act { grid-column: 2; }
	.bl-sessions__buttons form, .bl-sessions__buttons button { width: 100%; }
}

/* 1.5.1: member panel on phones and tablets — every section visible (no sideways scrolling). */
@media (max-width: 860px) {
	.bl-dash__nav { overflow: visible; }
	.bl-dash__nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bl-dash__nav li { min-width: 0; border-right: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.bl-dash__nav li:nth-child(3n) { border-right: 0; }
	.bl-dash__nav a { height: 100%; justify-content: center; padding: 11px 6px; font-size: 12px; line-height: 1.25; white-space: normal; }
	.bl-dash__nav .bl-dash__badge { position: absolute; top: 6px; right: calc(50% - 26px); margin: 0; }
}
@media (max-width: 560px) {
	.bl-dash__main { padding: 18px 12px 40px; }
	.bl-dash__head h1 { font-size: clamp(26px, 8vw, 34px); }
	.bl-dash__body { padding: 16px 14px; }
	.bl-dash__cards { gap: 12px; }
	.bl-dash__card { padding: 18px 16px; }
}

/* 1.5.2: dashboard overview is a simple list (icon, name, short status, arrow). */
.bl-dash__list { margin: 0; padding: 0; list-style: none; background: var(--paper, #fff); border: 1px solid var(--line, #dedbd4); border-top: 3px solid var(--ink, #111); }
.bl-dash__list li + li { border-top: 1px solid var(--line, #dedbd4); }
.bl-dash__list a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: var(--ink, #111); text-decoration: none; }
.bl-dash__list a:hover { background: var(--soft, #f4f2ee); }
.bl-dash__list a:focus-visible { outline: 2px solid var(--red, #b3001b); outline-offset: -2px; }
.bl-dash__list .bl-dash__icon { flex: none; color: var(--red, #b3001b); }
.bl-dash__list strong { font-size: 16px; font-weight: 800; }
.bl-dash__list .bl-dash__badge { margin-left: 0; }
.bl-dash__list-status { margin-left: auto; color: var(--muted, #5c5c5c); font-size: 14px; text-align: right; }
.bl-dash__list-go { flex: none; color: var(--muted, #5c5c5c); font-size: 24px; line-height: 1; }
.bl-dash__list a:hover .bl-dash__list-go { color: var(--red, #b3001b); }
@media (max-width: 560px) {
	.bl-dash__list a { flex-wrap: wrap; gap: 4px 12px; padding: 14px; }
	.bl-dash__list strong { font-size: 15px; }
	.bl-dash__list-status { order: 5; flex: 1 1 100%; margin-left: 32px; text-align: left; font-size: 13px; }
	.bl-dash__list-go { margin-left: auto; }
}

/* 1.6.0: member discount. */
.bl-discount { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 28px; padding: 12px 16px; border-left: 4px solid var(--red, #b3001b); background: var(--soft, #f4f2ee); font-size: 15px; line-height: 1.45; }
.bl-discount strong { color: var(--red, #b3001b); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bl-discount span { flex: 1 1 260px; }
.bl-discount a { color: var(--ink, #111); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bl-discount a:hover { color: var(--red, #b3001b); }
.bl-discount-card { display: flex; align-items: center; gap: 24px; margin: 0 0 28px; padding: 22px 24px; background: var(--ink, #111); color: var(--paper, #fff); }
.bl-discount-card p { margin: 0; }
.bl-discount-card__big { flex: none; color: #f0182b; font-size: clamp(56px, 9vw, 88px); font-stretch: 112%; font-weight: 900; line-height: 1; }
.bl-discount-card__title { margin-bottom: 6px !important; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.bl-discount-card div p:last-child { color: rgba(255, 255, 255, .8); }
.bl-discount-steps { margin: 0 0 20px; padding-left: 20px; }
.bl-discount-steps li { margin-bottom: 8px; line-height: 1.55; }
.bl-dash__note { color: var(--muted, #5c5c5c); font-size: 14px; }
@media (max-width: 560px) {
	.bl-discount-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
}

/* 1.7.0: referrals. */
.bl-gate__invite { margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--red, #b3001b); background: var(--soft, #f4f2ee); font-size: 15px; line-height: 1.45; }
.bl-ref-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.bl-ref-meter li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 2px dashed var(--line, #c9c5bc); color: var(--muted, #5c5c5c); text-align: center; }
.bl-ref-meter li span { max-width: 100%; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.bl-ref-meter li b { font-size: 18px; font-weight: 900; }
.bl-ref-meter li.is-on { border: 2px solid var(--red, #b3001b); background: var(--red, #b3001b); color: var(--paper, #fff); }
.bl-ref-label { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bl-ref-share { display: flex; gap: 8px; }
.bl-ref-share input { flex: 1 1 auto; min-width: 0; padding: 12px; border: 2px solid var(--ink, #111); border-radius: 0; background: var(--soft, #f4f2ee); font: inherit; font-size: 15px; }
.bl-ref-share button.bl-btn { flex: none; border: 0; cursor: pointer; }
.bl-ref-apps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 28px; }
.bl-ref-apps a { color: var(--ink, #111); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bl-ref-apps a:hover { color: var(--red, #b3001b); }
@media (max-width: 560px) {
	.bl-ref-meter { gap: 5px; }
	.bl-ref-meter li { padding: 10px 2px; }
	.bl-ref-meter li span { font-size: 11px; }
	.bl-ref-meter li b { font-size: 15px; }
	.bl-ref-share { flex-direction: column; }
}
@media (max-width: 860px) {
	.bl-dash__nav > ul > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	.bl-dash__nav > ul > li:last-child:nth-child(3n+2) { grid-column: span 2; }
}

/* 1.7.1: Log out sits just above Dashboard in the sidebar. */
@media (min-width: 861px) {
	.bl-dash__logout { margin-top: 0; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

/* 1.8.0: phones and tablets — one slim bar (who you are, where you are, Menu button) instead of a grid of tiles. */
.bl-dash__menu { display: contents; }
.bl-dash__toggle, .bl-dash__where { display: none; }
@media (max-width: 860px) {
	.bl-dash__side { position: relative; z-index: 40; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 10px 12px 10px 14px; }
	.bl-dash__who { flex: 1 1 0; min-width: 0; gap: 10px; padding: 0; }
	.bl-dash__avatar { width: 36px; height: 36px; font-size: 16px; }
	.bl-dash__who strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
	.bl-dash__who small { display: none; }
	.bl-dash__where { display: block; overflow: hidden; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
	.bl-dash__toggle:not([hidden]) { position: relative; display: inline-flex; flex: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, .35); background: none; color: var(--paper, #fff); font: 800 13px/1 var(--display, Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
	.bl-dash__toggle:hover, .bl-dash.is-menu-open .bl-dash__toggle { border-color: var(--paper, #fff); }
	.bl-dash__toggle:focus-visible { outline: 2px solid var(--paper, #fff); outline-offset: 2px; }
	.bl-dash__toggle .bl-dash__x { display: none; }
	.bl-dash.is-menu-open .bl-dash__toggle .bl-dash__x { display: inline; }
	.bl-dash.is-menu-open .bl-dash__toggle .bl-dash__bars { display: none; }
	.bl-dash__toggle .bl-dash__badge { position: absolute; top: -8px; right: -8px; margin: 0; }

	/* The menu itself: a plain list. Without JavaScript it simply shows under the bar. */
	.bl-dash__menu { display: flex; flex-direction: column; width: calc(100% + 26px); margin: 10px -12px -10px -14px; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--ink, #111); }
	.bl-dash.is-js .bl-dash__menu { display: none; }
	.bl-dash.is-js.is-menu-open .bl-dash__menu { position: absolute; top: 100%; left: 0; right: 0; display: flex; width: auto; max-height: calc(100vh - 120px); margin: 0; overflow-y: auto; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
	.bl-dash__menu .bl-dash__nav { order: 1; width: 100%; border-top: 0; }
	.bl-dash__menu .bl-dash__nav ul { display: block; padding: 6px 0; }
	.bl-dash__menu .bl-dash__nav li { border: 0; }
	.bl-dash__menu .bl-dash__nav a { flex-direction: row; justify-content: flex-start; gap: 12px; height: auto; padding: 13px 20px; font-size: 15px; text-align: left; white-space: normal; }
	.bl-dash__menu .bl-dash__nav .bl-dash__badge { position: static; margin-left: auto; }
	.bl-dash__menu .bl-dash__nav .bl-dash__sub { display: block; padding: 0 0 8px; }
	.bl-dash__menu .bl-dash__nav .bl-dash__sub a { padding: 10px 20px 10px 52px; font-size: 14px; }
	.bl-dash__menu .bl-dash__logout { order: 2; width: 100%; border-top: 1px solid rgba(255, 255, 255, .12); }
	.bl-dash__menu .bl-dash__logout button { height: auto; padding: 14px 20px; }

	/* The bar already says "Dating / Messages", so the slim page title is for screen readers only. */
	.bl-dash__head--compact { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bl-dash__main:has(.bl-dash__head--compact) { padding-top: 14px; }
}

/* 1.9.0: the dashboard panel is brand RED instead of black (user's request). Active item = black. */
.bl-dash__side,
.bl-dash__menu { background: var(--red, #b3001b); }
@media (max-width: 860px) { .bl-dash .bl-dash__menu { background: var(--red, #b3001b); } }
.bl-dash__avatar { background: var(--ink, #111); }
.bl-dash__who,
.bl-dash__logout,
.bl-dash__menu .bl-dash__logout { border-color: rgba(255, 255, 255, .25); }
.bl-dash__who small,
.bl-dash__where,
.bl-dash__logout button { color: rgba(255, 255, 255, .85); }
.bl-dash__nav a,
.bl-dash__nav .bl-dash__sub a { color: rgba(255, 255, 255, .92); }
.bl-dash__nav a:hover,
.bl-dash__logout button:hover { background: rgba(0, 0, 0, .14); color: var(--paper, #fff); }
.bl-dash__nav a:hover .bl-dash__icon,
.bl-dash__nav a.is-open .bl-dash__icon { color: var(--paper, #fff); }
.bl-dash__nav a.is-open { background: rgba(0, 0, 0, .18); }
.bl-dash__nav .bl-dash__sub { background: rgba(0, 0, 0, .12); }
.bl-dash__nav a[aria-current="page"],
.bl-dash__nav .bl-dash__sub a[aria-current="page"] { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-dash__nav .bl-dash__sub a[aria-current="page"]::before { background: var(--paper, #fff); }
.bl-dash__side .bl-dash__badge { background: var(--ink, #111); color: var(--paper, #fff); }
.bl-dash__toggle:not([hidden]) { border-color: rgba(255, 255, 255, .6); }
.bl-dash__toggle .bl-dash__badge { box-shadow: 0 0 0 2px var(--red, #b3001b); }
