/*
 * Theme Name: Twenty Twenty Five Child
 * Template:   twentytwentyfive
 * ...other header fields
 */

/* Skype, VKontakte, and Telegram are removed from profile forms. Hide leftover markup. */
#wpforo #wpforo-wrap .wpf-field-name-skype,
#wpforo #wpforo-wrap .wpf-field-name-vkontakte,
#wpforo #wpforo-wrap .wpf-field-name-telegram {
	display: none !important;
}

#wpforo #wpforo-wrap .wpforo-member-social a[href^="skype:"],
#wpforo #wpforo-wrap .wpforo-member-social .fa-skype,
#wpforo #wpforo-wrap .wpforo-member-social .fa-vk,
#wpforo #wpforo-wrap .wpforo-member-social .fa-telegram {
	display: none !important;
}

/* "Your Boat" section header — match Social Networks styling */
#wpforo #wpforo-wrap .wpforo-profile .wpf-field.wpf-field-name-html_your_boat {
	font-size: 18px;
	border-bottom: 2px solid var(--oyster-border, #ddd);
	margin-bottom: 6px;
	padding-bottom: 6px;
	margin-top: 10px;
}

#wpforo #wpforo-wrap .wpforo-profile .wpf-field.wpf-field-name-html_your_boat .wpf-label {
	font-size: 18px;
}

/* Stack radio/checkbox choices in Your Boat account fields */
#wpforo #wpforo-wrap .wpforo-profile-account .wpf-field-type-radio .wpf-field-item,
#wpforo #wpforo-wrap .wpforo-profile-account .wpf-field-type-checkbox .wpf-field-item {
	display: block;
	margin: 4px 0;
}

/* Account form on a small screen. Long questions wrap, and the
   three-column rows (social networks and the rest) use the full width. */
@media screen and (max-width: 800px) {
	#wpforo #wpforo-wrap .wpforo-profile-account .wpf-label {
		white-space: normal;
	}

	#wpforo #wpforo-wrap .wpforo-profile-account .wpfw-3:nth-child(n) {
		display: block;
		float: none;
		width: 100%;
	}

	#wpforo #wpforo-wrap .wpforo-profile-account .wpfw-3:nth-child(n) .wpf-field {
		text-align: left;
	}

	#wpforo #wpforo-wrap .wpforo-profile-account .wpf-field-type-radio .wpf-field-item,
	#wpforo #wpforo-wrap .wpforo-profile-account .wpf-field-type-checkbox .wpf-field-item {
		float: none;
		width: 100%;
		min-width: 0;
		margin-left: 0;
	}
}

/* Breadcrumb
   Keep the trail on forum, topic-list, and topic pages.
   What's New, Members, and profile pages do not show it. */
body #wpforo #wpforo-wrap.oyster-hide-breadcrumb .wpf-breadcrumb {
	display: none;
}

body #wpforo #wpforo-wrap .wpf-breadcrumb .wpf-root .oyster-breadcrumb-forum-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: -2px;
}

/* Members page: hide the forum title. The phrase is the site name. */
body #wpforo #wpforo-wrap.wpft-members #wpforo-title {
	display: none;
}

/* Members search bar: drop the grey fill and the dashed field lines. */
body #wpforo #wpforo-wrap.wpft-members .wpforo-members-search {
	background: transparent !important;
	border: 0;
}

body #wpforo #wpforo-wrap.wpft-members .wpforo-members-search .wpf-field {
	border-bottom: 0;
}

/* Forum home only: hide board title text, keep Unread Posts / Feed links */
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap #wpforo-title,
#wpforo #wpforo-wrap #wpforo-title:has(> .wpforo-feed) {
	font-size: 0 !important;
	line-height: 0 !important;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap #wpforo-title .wpforo-feed,
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap #wpforo-title .wpforo-feed a,
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap #wpforo-title .wpforo-feed span,
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap #wpforo-title .wpforo-feed i,
#wpforo #wpforo-wrap #wpforo-title:has(> .wpforo-feed) .wpforo-feed,
#wpforo #wpforo-wrap #wpforo-title:has(> .wpforo-feed) .wpforo-feed a,
#wpforo #wpforo-wrap #wpforo-title:has(> .wpforo-feed) .wpforo-feed span,
#wpforo #wpforo-wrap #wpforo-title:has(> .wpforo-feed) .wpforo-feed i {
	font-size: 12px !important;
	line-height: normal !important;
}

/* Forum home: Add Topic sits to the right of Unread Posts.
   The button stays in the category markup so its form still opens. */
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-content {
	position: relative;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap h1#wpforo-title {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	min-height: 32px;
	margin: 0 0 12px;
	padding: 0 124px 0 0;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap h1#wpforo-title .wpforo-feed {
	float: none;
	margin: 0;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-section .wpforo-cat-panel > .wpf-head-bar-right {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: auto;
	margin: 0;
	padding: 0;
}

/* Forum home: remove the grey Forums bar and the blue line under it.
   The bar stays in the page so Add Topic still opens its form. */
body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-category {
	height: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-category .wpforo-cat-panel {
	min-height: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-category .cat-title {
	display: none;
}

/* ============================================================
   Forum home cards — small screens only (max-width: 620px)
   Each forum is a floating rounded card:
   1. The forum's own icon fills the left column (full card height).
   2. Bold title, then the description clamped to two lines.
   3. Topic count at the bottom left.
   4. Subscribe bell at the top right (outline, solid when subscribed).
   5. Latest topic date at the bottom right.
   Wide screens are unchanged. The bell is printed by
   oyster_forum_home_card_subscribe() in functions.php.
   ============================================================ */
.oyster-forum-card-subscribe {
	display: none;
}

@media (max-width: 620px) {
	/* Forum home actions — small screens only.
	   Add topic, then Unread Posts, both left-aligned. */
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
		padding-top: 0;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-content > * {
		order: 4;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap h1#wpforo-title,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap h1#wpforo-title .wpforo-feed,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-section,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-section .wpforo-category,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-section .wpforo-cat-panel {
		display: contents;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpforo-section .wpforo-cat-panel > .wpf-head-bar-right {
		position: static;
		top: auto;
		right: auto;
		left: auto;
		z-index: auto;
		display: flex;
		justify-content: flex-start;
		justify-self: start;
		order: 2;
		width: auto;
		margin: 0;
		padding: 0;
		transform: none;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap h1#wpforo-title .wpf-unread-posts {
		justify-self: start;
		order: 3;
		margin: 10px 0 36px;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .forum-wrap,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpf-topic-form-extra-wrap,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpf-admincp {
		order: 4;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .forum-wrap {
		margin: 0 0 14px;
		padding: 0;
		background: var(--oyster-surface, #fff);
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(27, 40, 56, 0.08), 0 6px 18px rgba(27, 40, 56, 0.08);
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum {
		position: relative;
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"icon title title"
			"icon description description"
			"icon topics date";
		column-gap: 4px;
		row-gap: 6px;
		align-items: start;
		min-height: 0;
		padding: 0;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-info,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-data,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-compact-view,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-compact-left,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-compact-last-post,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-cl-content,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-cl-author {
		display: contents;
	}

	/* Left column: the icon saved on the forum, centred for the full card height. */
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-icon {
		display: flex;
		grid-area: icon;
		align-self: stretch;
		align-items: center;
		justify-content: center;
		width: auto;
		min-width: 0;
		max-width: none;
		padding: 0;
		font-size: 150%;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-title {
		grid-area: title;
		margin: 0;
		padding: 14px 44px 0 0;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-title a {
		font-weight: 700;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-forum-description {
		grid-area: description;
		display: -webkit-box;
		overflow: hidden;
		max-width: 100%;
		margin: 0;
		padding: 0 12px 0 0;
		font-size: 13px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-compact-left .wpf-compact-row:first-child {
		grid-area: topics;
		align-self: end;
		padding: 2px 0 14px;
		color: var(--oyster-text-muted, #5c6b7a);
		font-size: 13px;
		line-height: 1.3;
		white-space: nowrap;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-date {
		grid-area: date;
		align-self: end;
		justify-self: end;
		padding: 0 14px 14px 0;
		color: var(--oyster-text-muted, #5c6b7a);
		font-size: 13px;
		line-height: 1.3;
		white-space: nowrap;
	}

	/* Subscribe bell. Pinned to the same top-right spot on every card,
	   level with the title and in line with the date. Outline until subscribed. */
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe.is-placed {
		position: absolute;
		top: 8px;
		right: 14px;
		display: inline-flex;
		align-items: center;
		justify-content: flex-end;
		width: 32px;
		height: 32px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--oyster-text-faint, #8a97a6);
		cursor: pointer;
		font-size: 0;
		line-height: 0;
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe::before {
		font-family: "Font Awesome 7 Free", "Font Awesome 5 Free";
		font-size: 18px;
		font-weight: 400;
		line-height: 1;
		content: "\f0f3";
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe.wpf-unsubscribe-forum,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe.is-subscribed {
		color: var(--oyster-text, #1b2838);
	}

	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe.wpf-unsubscribe-forum::before,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .oyster-forum-card-subscribe.is-subscribed::before {
		font-weight: 900;
	}

	/* Latest-post author, avatar, post count, and subforums stay off the card. */
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-compact-left .wpf-compact-row:nth-child(2),
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-cl-avatar,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-cl-title,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-cl-author > a,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpforo-subforum,
	body.oyster-wpforo-forum-home #wpforo #wpforo-wrap .wpfl-2 .wpf-viewing {
		display: none;
	}
}

/* ============================================================
   Topic list cards — small screens only (max-width: 620px)
   A forum's topic list, not a single topic. Matches the forum
   home cards:
   1. Each topic is a floating rounded card.
   2. The author's avatar fills the left column.
   3. The topic-type icon sits on the bottom-right of the avatar.
      A white copy of the shape sits behind it, so the photo does not
      show through. The column head is hidden.
   4. Bold title, then two lines from the first post.
   5. Author name at the bottom left, topic date at the bottom right.
   6. Subscribe bell at the top right (outline, solid when subscribed).
   Wide screens are unchanged. The excerpt and bell are printed by
   oyster_topic_list_card_extras() in functions.php.
   ============================================================ */
.oyster-topic-card-excerpt,
.oyster-topic-card-subscribe {
	display: none;
}

@media (max-width: 620px) {
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-head,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-stat-views,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-stat-posts,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-stat-lastpost,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpf-viewing,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-badges > :not(.oyster-topic-card-excerpt):not(.oyster-topic-card-subscribe) {
		display: none;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .topic-wrap {
		margin: 0 0 14px;
		padding: 0;
		background: var(--oyster-surface, #fff);
		border: 0;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(27, 40, 56, 0.08), 0 6px 18px rgba(27, 40, 56, 0.08);
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic {
		position: relative;
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"avatar title title"
			"avatar excerpt excerpt"
			"avatar author date";
		column-gap: 4px;
		row-gap: 6px;
		align-items: start;
		min-height: 0;
		padding: 0;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-info,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-start-info,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-badges {
		display: contents;
	}

	/* Left column: the topic author's avatar, centred for the full card height. */
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-avatar {
		display: flex;
		grid-area: avatar;
		align-self: stretch;
		align-items: center;
		justify-content: center;
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-avatar img {
		width: 48px;
		height: 48px;
		margin: 0;
		padding: 0;
		border-radius: 50%;
	}

	/* Topic-type icon, on the bottom-right of the avatar. No box around it. */
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon {
		position: absolute;
		z-index: 2;
		top: calc(50% + 26px);
		left: 58px;
		display: block;
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		font-size: 16px;
		line-height: 1;
		transform: translate(-100%, -100%);
		pointer-events: none;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon > div {
		display: block !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i {
		position: relative;
		z-index: 1;
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 16px;
		line-height: 1;
	}

	/* White solid shape behind the glyph. Outline icons keep their stroke,
	   and cut-outs (a check, page lines) stay white instead of showing the photo. */
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i::after {
		content: var(--fa);
		position: absolute;
		z-index: -1;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		color: #fff;
		font-weight: 900;
		line-height: 1;
		text-align: center;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-file-alt::after,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-file-lines::after,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-file-text::after {
		content: "\f15b";
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-check-circle::after,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-circle-check::after,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-exclamation-circle::after,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-icon i.fa-circle-exclamation::after {
		content: "\f111";
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-title {
		grid-area: title;
		margin: 0;
		padding: 14px 44px 0 0;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-title a {
		font-weight: 700;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-excerpt {
		display: -webkit-box;
		grid-area: excerpt;
		overflow: hidden;
		max-width: 100%;
		margin: 0;
		padding: 0 12px 0 0;
		font-size: 13px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-start-info > a {
		grid-area: author;
		align-self: end;
		min-width: 0;
		overflow: hidden;
		padding: 2px 0 14px;
		color: var(--oyster-text-muted, #5c6b7a) !important;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.3;
		text-decoration: none;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .wpforo-topic-start-info .wpforo-date {
		grid-area: date;
		align-self: end;
		justify-self: end;
		padding: 0 14px 14px 0;
		color: var(--oyster-text-muted, #5c6b7a);
		font-size: 13px;
		line-height: 1.3;
		white-space: nowrap;
	}

	/* Subscribe bell. Pinned to the same top-right spot on every card. */
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe {
		position: absolute;
		top: 8px;
		right: 14px;
		display: inline-flex;
		align-items: center;
		justify-content: flex-end;
		width: 32px;
		height: 32px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--oyster-text-faint, #8a97a6) !important;
		cursor: pointer;
		font-size: 0;
		line-height: 0;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe::before {
		font-family: "Font Awesome 7 Free", "Font Awesome 5 Free";
		font-size: 18px;
		font-weight: 400;
		line-height: 1;
		content: "\f0f3";
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe.wpf-unsubscribe-topic,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe.is-subscribed {
		color: var(--oyster-text, #1b2838) !important;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe.wpf-unsubscribe-topic::before,
	body #wpforo #wpforo-wrap.wpft-topic .wpfl-2 .oyster-topic-card-subscribe.is-subscribed::before {
		font-weight: 900;
	}
}

/* Expanded forum topics
   On a wide screen the title fills the row and the author keeps its full name.
   On a phone the title stays one line. */
@media (min-width: 801px) {
	#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list .wpforo-last-topic-title {
		min-width: 0;
	}

	#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list .wpforo-last-topic-user {
		flex: 0 0 auto;
		width: auto;
	}
}

@media (max-width: 800px) {
	#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list .wpforo-last-topic-title {
		min-width: 0;
		overflow: hidden;
	}

	#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list .wpforo-last-topic-title > a {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

/* Dashboard random photo.
   Small screens keep the picture's own shape.
   From 782px the dash-gal column is a 4:3 frame: landscape
   photos cover it, portrait photos sit on a blurred fill. */
.oyster-random-photo .wpforo-widget-content {
	padding: 0 !important;
}

.oyster-random-photo .wpforo-widget-content > ul > li {
	padding: 0 !important;
	border-bottom: none;
}

.oyster-random-photo .wppa-container-wrapper {
	width: 100% !important;
	display: flex !important;
	justify-content: center;
}

.oyster-random-photo .wppa-container.wp-caption {
	position: relative;
	width: fit-content !important;
	max-width: 100%;
	height: auto !important;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.1);
}

.oyster-random-photo .wppa-container > div:not(.wp-caption-text) {
	width: fit-content;
	max-width: 100%;
}

.oyster-random-photo img.wppa-mphoto,
.oyster-random-photo img.wppa-sphoto,
.oyster-random-photo .wppa-container img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: min(70vh, 36rem);
	border-radius: 8px;
	object-fit: contain;
}

.oyster-dash-gal__blur {
	display: none !important;
}

.oyster-support .wpforo-widget-content > ul > li {
	border-bottom: none;
}

/* Yachting World list. Same card as the other dashboard columns. */
.wp-block-columns > .wp-block-column:has(.oyster-yw-news) {
	box-sizing: border-box;
	padding: 16px 16px 14px !important;
	background: var(--oyster-surface) !important;
	border: 1px solid var(--oyster-line) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(22, 32, 51, 0.06);
}

.wp-block-columns > .wp-block-column:has(.oyster-yw-news) > h2 {
	padding-bottom: 12px;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content li {
	border: none !important;
	border-bottom: none !important;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__head {
	display: block;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__head .wpforo-list-item-left,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__head .wpforo-list-item-right {
	float: none;
	width: auto;
	margin: 0;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__media,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__media a {
	display: block;
	width: 100%;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttitle,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttitle a {
	margin: 0 0 16px;
	color: var(--oyster-link, #3f7796);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.16s ease;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100% !important;
	object-fit: cover;
	border-radius: 4px;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttext,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .postuser {
	clear: none;
	width: auto;
	margin-top: 8px;
	color: var(--oyster-muted);
	font-weight: 400;
	line-height: 1.4;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttext {
	font-size: 14px;
}

.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .postuser {
	font-size: 13px;
}

@media (min-width: 782px) {
	.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .wpforo-list-item {
		display: flow-root;
	}

	.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__head .oyster-yw-news__media {
		float: left;
		width: 336px;
		margin: 0 12px 8px 0;
	}

	.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__media a {
		width: 336px;
	}

	.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__media img {
		width: 336px;
		height: 256px;
		max-width: none !important;
	}
}

@media (max-width: 781px) {
	.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .oyster-yw-news__head .oyster-yw-news__media {
		margin-bottom: 12px;
	}
}

.oyster-random-photo .wp-caption-text {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0.4rem 0.75rem;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 0.8rem;
	line-height: 1.35;
	text-align: center;
}

.oyster-random-photo .wp-caption-text p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.oyster-random-photo .wp-caption-text .oyster-photo-credit {
	margin-top: 0.15rem;
}

@media (min-width: 782px) {
	.wp-block-columns:has(> .dash-gal) {
		display: grid !important;
		grid-template-columns: 4fr 1fr;
		align-items: stretch !important;
	}

	.dash-gal,
	.dash-up-gal,
	.dash-gal.is-vertically-aligned-top,
	.dash-up-gal.is-vertically-aligned-top {
		display: flex;
		flex-direction: column;
		align-self: stretch !important;
		width: auto !important;
		min-width: 0;
		flex: none !important;
	}

	.dash-gal,
	.dash-up-gal {
		margin-block-start: 0;
		padding-top: 0;
	}

	.dash-gal > *,
	.dash-up-gal > * {
		margin-top: 0;
	}

	.dash-up-gal,
	.dash-up-gal.is-vertically-aligned-top {
		box-sizing: border-box;
		min-height: 0 !important;
	}

	.dash-gal > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
	.dash-up-gal > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
		flex: 1 1 auto;
		width: 100%;
		min-height: 0;
	}

	.dash-gal .wp-block-shortcode,
	.dash-up-gal .wp-block-shortcode {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		height: 100%;
		min-height: 0;
	}

	.dash-gal .oyster-random-photo,
	.dash-gal .oyster-random-photo .wpforo-widget-content,
	.dash-gal .oyster-random-photo .wpforo-widget-content > ul,
	.dash-gal .oyster-random-photo .wpforo-widget-content > ul > li,
	.dash-gal .oyster-random-photo .wppa-container-wrapper {
		display: flex;
		flex-direction: column;
		justify-content: stretch;
		width: 100% !important;
		height: 100%;
		min-height: 0;
	}

	.dash-gal .oyster-random-photo .wppa-container.wp-caption {
		flex: 0 0 auto;
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
		margin: 0 !important;
		aspect-ratio: 4 / 3;
		border-radius: 12px;
	}

	.dash-gal .oyster-random-photo .wppa-container.wp-caption > div:not(.wp-caption-text) {
		position: absolute;
		inset: 0;
		width: auto !important;
		max-width: none;
		height: 100%;
	}

	.dash-gal .oyster-random-photo .wppa-container.wp-caption > div:not(.wp-caption-text) > a {
		display: block;
		width: 100%;
		height: 100%;
	}

	.dash-gal .oyster-random-photo img.wppa-mphoto,
	.dash-gal .oyster-random-photo img.wppa-sphoto,
	.dash-gal .oyster-random-photo .wppa-container img {
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		max-height: none !important;
		border-radius: 0;
		object-fit: cover;
	}

	.dash-gal .oyster-random-photo .wppa-container.is-portrait img.wppa-mphoto,
	.dash-gal .oyster-random-photo .wppa-container.is-portrait img.wppa-sphoto,
	.dash-gal .oyster-random-photo .wppa-container.is-portrait img:not(.oyster-dash-gal__blur) {
		object-fit: contain;
		position: relative;
		z-index: 1;
	}

	.dash-gal .oyster-dash-gal__blur {
		display: block !important;
		position: absolute;
		inset: 0;
		z-index: 0;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		max-height: none !important;
		object-fit: cover !important;
		filter: blur(22px);
		transform: scale(1.16);
		pointer-events: none;
	}

	.dash-gal .oyster-random-photo .wp-caption-text {
		z-index: 2;
	}

	/* Drop the upload box padding and margin so the card lines up with the photo. */
	.dash-up-gal .wppa-box.wppa-upload {
		margin: 0 !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
	}

	.dash-up-gal .wppa-upload,
	.dash-up-gal .wppa-container-wrapper,
	.dash-up-gal .wppa-upload div[id^="wppa-file-"],
	.dash-up-gal form[id^="wppa-uplform-"] {
		display: flex !important;
		flex-direction: column;
		flex: 1 1 auto;
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.dash-up-gal .wppa-upload-table,
	.dash-up-gal .wppa-upload-table tbody {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		box-sizing: border-box !important;
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.dash-up-gal .wppa-upload-table tr.wppa-upload-tr:has(textarea[name="wppa-user-desc"]) {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 78px;
	}

	.dash-up-gal .wppa-upload-table tr.wppa-upload-tr:has(textarea[name="wppa-user-desc"]) > .wppa-upload-td {
		display: flex;
		flex: 1 1 auto;
		min-height: 0;
	}

	.dash-up-gal .wppa-upload-table textarea[name="wppa-user-desc"] {
		flex: 1 1 auto;
		height: auto !important;
		min-height: 36px;
		resize: none;
	}

	.dash-up-gal .wppa-upload-table tr.wppa-upload-tr:last-child {
		margin-top: auto;
	}
}

/* Better Messages chat inside the wpForo profile column.
   wpForo zeroes margin, padding, and border on descendants of #wpforo-wrap.
   profile/better-messages-wpforo.css restates the messenger's own values
   at a higher specificity, still using its design tokens. */
#wpforo #wpforo-wrap .oyster-bm-messages {
	width: 100%;
	max-width: 100%;
	margin-top: 30px;
	font-size: var(--bm-font-size-base, 15px);
	line-height: var(--bm-line-height-normal, normal);
	color: rgba(var(--bm-color-text-primary), 1);
}

#wpforo #wpforo-wrap .oyster-bm-messages .bm-wrap-main {
	max-width: 100%;
	color: rgba(var(--bm-color-text-primary), 1);
}

#wpforo #wpforo-wrap .oyster-bm-messages .bm-msg-stack:not([data-is-me="1"]) .bm-msg-bubble {
	color: rgba(var(--bm-color-bubble-other-text), 1);
}

#wpforo #wpforo-wrap .oyster-bm-messages .bm-msg-stack[data-is-me="1"] .bm-msg-bubble {
	color: rgba(var(--bm-color-bubble-self-text), 1);
}

/* BuddyPress notifications and messages inside the wpForo profile */
#wpforo #wpforo-wrap .oyster-member-inbox {
	color: var(--oyster-text, #243041);
	font-size: 15px;
	line-height: 1.45;
}

#wpforo #wpforo-wrap .oyster-member-inbox a {
	color: var(--oyster-heading, #0b4f8a);
}

#wpforo #wpforo-wrap .oyster-member-inbox .wpf-activity-panel a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

#wpforo #wpforo-wrap .oyster-member-inbox__subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0 0 1rem;
	padding: 0 0 0.75rem;
	border-bottom: 1px solid var(--oyster-border, #d7dee6);
}

#wpforo #wpforo-wrap .oyster-member-inbox__subnav a {
	text-decoration: none;
}

#wpforo #wpforo-wrap .oyster-member-inbox__subnav a.is-current {
	font-weight: 700;
	text-decoration: underline;
}

#wpforo #wpforo-wrap .oyster-member-inbox__count {
	display: inline-block;
	min-width: 1.25rem;
	margin-left: 0.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #0b4f8a;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

#wpforo #wpforo-wrap .oyster-member-inbox__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.8rem;
	border-radius: 4px;
	background: var(--oyster-surface-2, #eef6ee);
	color: var(--oyster-text-green, #1d4a28);
}

#wpforo #wpforo-wrap .oyster-member-inbox__notice.is-error {
	background: var(--oyster-tint-red, #fdecec);
	color: var(--oyster-text-red, #8a1f1f);
}

#wpforo #wpforo-wrap .oyster-member-inbox__empty {
	margin: 0.5rem 0 0;
}

#wpforo #wpforo-wrap .oyster-member-inbox__table-wrap {
	overflow-x: auto;
}

#wpforo #wpforo-wrap .oyster-member-inbox__table {
	width: 100%;
	border-collapse: collapse;
}

#wpforo #wpforo-wrap .oyster-member-inbox__table th,
#wpforo #wpforo-wrap .oyster-member-inbox__table td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--oyster-border, #e3e8ee);
	vertical-align: top;
	text-align: left;
}

#wpforo #wpforo-wrap .oyster-member-inbox__table th {
	font-size: 13px;
	color: var(--oyster-text-muted, #5c6b7a);
}

#wpforo #wpforo-wrap .oyster-member-inbox__table tr.is-unread td {
	background: var(--oyster-surface-2, #f4f8fc);
}

#wpforo #wpforo-wrap .oyster-member-inbox__subject {
	display: block;
	font-weight: 700;
}

#wpforo #wpforo-wrap .oyster-member-inbox__excerpt {
	display: block;
	margin-top: 0.2rem;
	color: var(--oyster-text-muted, #5c6b7a);
}

#wpforo #wpforo-wrap .oyster-member-inbox__actions {
	white-space: nowrap;
}

#wpforo #wpforo-wrap .oyster-member-inbox__actions a {
	margin-right: 0.55rem;
}

#wpforo #wpforo-wrap .oyster-member-inbox__bulk {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 0.75rem;
}

#wpforo #wpforo-wrap .oyster-member-inbox__bulk select,
#wpforo #wpforo-wrap .oyster-member-inbox input[type="text"],
#wpforo #wpforo-wrap .oyster-member-inbox input[type="search"],
#wpforo #wpforo-wrap .oyster-member-inbox textarea {
	max-width: 100%;
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--oyster-border-strong, #c5d0db);
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	color: var(--oyster-text, #243041);
}

#wpforo #wpforo-wrap .oyster-member-inbox textarea {
	width: 100%;
	min-height: 8rem;
}

#wpforo #wpforo-wrap .oyster-member-inbox label {
	display: block;
	margin: 0.8rem 0 0.3rem;
	font-weight: 700;
}

#wpforo #wpforo-wrap .oyster-member-inbox__search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

#wpforo #wpforo-wrap .oyster-member-inbox__button,
#wpforo #wpforo-wrap .oyster-member-inbox button,
#wpforo #wpforo-wrap .oyster-member-inbox input[type="submit"] {
	display: inline-block;
	padding: 0.4rem 0.75rem;
	border: 0;
	border-radius: 4px;
	background: #0b4f8a;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

#wpforo #wpforo-wrap .oyster-member-inbox__pages {
	margin: 0.8rem 0;
}

#wpforo #wpforo-wrap .oyster-member-inbox__pages .page-numbers {
	display: inline-block;
	margin: 0 0.15rem;
	padding: 0.15rem 0.4rem;
}

#wpforo #wpforo-wrap .oyster-member-inbox__message {
	margin: 0 0 1rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--oyster-border, #e3e8ee);
}

#wpforo #wpforo-wrap .oyster-member-inbox__message-meta {
	margin: 0 0 0.35rem;
	color: var(--oyster-text-muted, #5c6b7a);
	font-size: 13px;
}

#wpforo #wpforo-wrap .oyster-member-inbox__check {
	margin: 0;
}

@media (max-width: 900px) {
	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table-wrap {
		overflow-x: visible;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table thead {
		display: block;
		width: 100%;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table thead tr {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 0.75rem;
		align-items: center;
		width: 100%;
		padding: 0.35rem 0 0.45rem;
		border-bottom: 1px solid var(--oyster-border, #e3e8ee);
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table thead th {
		display: block;
		padding: 0;
		border: 0;
		text-align: left;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table thead th:first-child {
		grid-column: 1;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table thead th:not(:first-child) {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table,
	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table tbody {
		display: block;
		width: 100%;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table tbody tr {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 0.75rem;
		align-items: start;
		width: 100%;
		padding: 0.8rem 0;
		border-bottom: 1px solid var(--oyster-border, #e3e8ee);
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__table td {
		display: block;
		width: auto;
		min-width: 0;
		padding: 0;
		border: 0;
		text-align: left;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications tbody .oyster-member-inbox__select {
		grid-column: 1;
		grid-row: 1 / span 3;
		width: max-content;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__note,
	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__when,
	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__actions {
		grid-column: 2;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__note {
		grid-row: 1;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__note a {
		display: inline;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__when {
		grid-row: 2;
		margin-top: 0.3rem;
		color: var(--oyster-text-muted, #5c6b7a);
		font-style: italic;
	}

	#wpforo #wpforo-wrap .oyster-member-inbox--notifications .oyster-member-inbox__actions {
		grid-row: 3;
		margin-top: 0.35rem;
		white-space: normal;
	}

	/* Profile activity: icon, then title, extract, date, and forum.
	   Same floating card as the forum and topic lists. */
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 0.75rem;
		align-items: start;
		width: auto;
		margin: 0 0 14px;
		padding: 14px 14px 12px;
		background: var(--oyster-surface, #fff);
		border: 0;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(27, 40, 56, 0.08), 0 6px 18px rgba(27, 40, 56, 0.08);
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-icon {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 28px;
		padding: 2px 0 0;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-icon svg,
	#wpforo #wpforo-wrap .wpf-activities .wpfa-reply .wpf-activity-icon svg {
		width: 20px;
		height: 20px;
		margin: 0;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-icon .wpf-activity-tlabel {
		margin-top: 0.2rem;
		font-size: 9px;
		line-height: 1.1;
		text-align: center;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-icon i {
		position: static;
		width: 16px;
		height: 16px;
		margin-top: 0.25rem;
		font-size: 10px;
		line-height: 16px;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-data {
		width: auto;
		min-width: 0;
		padding-left: 0;
		border-left: 0;
		border-right: 0;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-top,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-bottom,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-stat {
		display: block;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title p,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-date,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-forum,
	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-stat div {
		display: block;
		width: auto;
		max-width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
		overflow-wrap: anywhere;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title p {
		margin-top: 0.25rem;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-date {
		margin-top: 0.3rem;
		color: var(--oyster-text-muted, #5c6b7a);
		font-style: italic;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-bottom {
		margin-top: 0.3rem;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-flabel {
		display: none;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-data .wpf-activity-bottom .wpf-activity-forum {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
		border-right: 0;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-stat {
		margin-top: 0.3rem;
	}

	#wpforo #wpforo-wrap .wpf-activities .wpf-activity-stat div {
		margin-right: 0;
	}
}

/* Long file names and URLs stay inside posts, What's New, and activity. */
#wpforo #wpforo-wrap .wpforo-post .wpf-right,
#wpforo #wpforo-wrap .wpforo-post-content,
#wpforo #wpforo-wrap .wpf-timeline-item,
#wpforo #wpforo-wrap .wpf-timeline-right,
#wpforo #wpforo-wrap .wpf-timeline-card,
#wpforo #wpforo-wrap .wpf-timeline-excerpt,
#wpforo #wpforo-wrap .wpf-timeline-activity {
	min-width: 0;
	max-width: 100%;
}

#wpforo #wpforo-wrap .wpf-timeline-card {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

#wpforo #wpforo-wrap .wpforo-post-content,
#wpforo #wpforo-wrap .wpforo-post-content a,
#wpforo #wpforo-wrap .wpf-timeline-excerpt,
#wpforo #wpforo-wrap .wpf-timeline-activity,
#wpforo #wpforo-wrap .wpf-timeline-activity a,
#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title,
#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title a,
#wpforo #wpforo-wrap .wpf-activities .wpf-activity-title p {
	overflow-wrap: anywhere;
	word-break: break-word;
}

#wpforo #wpforo-wrap .wpforo-post .wpforo-attached-file {
	display: block;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

#wpforo #wpforo-wrap .wpforo-post .wpforo-attached-file a {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#wpforo #wpforo-wrap .oyster-member-inbox .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Landing page: one stretched wave graphic, floating card, and on-page login */
html:has(body.page-template-page-landing),
body.page-template-page-landing {
	background-color: var(--oyster-surface, #ffffff);
	background-image: url("landing/waves.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}

body.page-template-page-landing {
	min-height: 100dvh;
}

body.page-template-page-landing main.wp-block-group {
	box-sizing: border-box;
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
	display: flex;
	align-items: center;
	padding: 16px;
}

body.page-template-page-landing .entry-content {
	width: min(1100px, 100%);
	margin-inline: auto;
}

body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group {
	width: 100%;
}

@media (min-width: 782px) {
	body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group {
		overflow: hidden;
	}

	body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group > .wp-block-columns > .wp-block-column:last-child {
		display: flex;
		flex-direction: column;
	}

	body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group > .wp-block-columns > .wp-block-column:last-child > .wp-block-image {
		flex: 1 0 auto;
		display: flex;
		width: 100%;
		min-height: 100%;
		margin: 0;
	}

	body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group > .wp-block-columns > .wp-block-column:last-child > .wp-block-image > a {
		display: flex;
		flex: 1 0 auto;
		width: 100%;
	}

	body.page-template-page-landing .entry-content > .wp-block-group > .wp-block-group > .wp-block-columns > .wp-block-column:last-child .wp-block-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

body.page-template-page-landing .wp-block-navigation .wp-block-navigation__responsive-container {
	display: block;
	position: static;
	width: auto;
	height: auto;
	background: transparent;
	padding: 0;
}

body.page-template-page-landing .wp-block-navigation__responsive-container-open,
body.page-template-page-landing .wp-block-navigation__responsive-container-close {
	display: none;
}

body.page-template-page-landing .wp-block-navigation__responsive-close,
body.page-template-page-landing .wp-block-navigation__responsive-dialog,
body.page-template-page-landing .wp-block-navigation__responsive-container-content {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

body.page-template-page-landing .wp-block-navigation__container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0 0 1.25rem;
}

body.page-template-page-landing .oyster-landing-login-error {
	margin: 0 0 12px;
	color: var(--oyster-text-red, #8a2b2b);
}

body.page-template-page-landing #oyster-landing-loginform p {
	margin: 0 0 12px;
}

body.page-template-page-landing #oyster-landing-loginform .login-username label,
body.page-template-page-landing #oyster-landing-loginform .login-password label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.page-template-page-landing #oyster-landing-loginform input[type="text"],
body.page-template-page-landing #oyster-landing-loginform input[type="password"] {
	width: 75%;
	box-sizing: border-box;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	box-shadow: none;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password {
	position: relative;
	display: block;
	width: 75%;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password input[type="text"],
body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password input[type="password"] {
	width: 100%;
	padding-right: 44px;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0 4px 4px 0;
	background: transparent;
	color: var(--oyster-text-muted, #4a6278);
	cursor: pointer;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle:hover,
body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle:focus-visible {
	color: var(--oyster-heading, #1a3654);
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle:focus-visible {
	outline: 2px solid #7ea3c9;
	outline-offset: -2px;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle .oyster-landing-eye-off,
body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle[aria-pressed="true"] .oyster-landing-eye {
	display: none;
}

body.page-template-page-landing #oyster-landing-loginform .oyster-landing-password-toggle[aria-pressed="true"] .oyster-landing-eye-off {
	display: block;
}

body.page-template-page-landing #oyster-landing-loginform input[type="text"]::placeholder,
body.page-template-page-landing #oyster-landing-loginform input[type="password"]::placeholder {
	color: var(--oyster-text-muted, #6a7d90);
	opacity: 1;
}

body.page-template-page-landing #oyster-landing-loginform input[type="text"]:focus,
body.page-template-page-landing #oyster-landing-loginform input[type="password"]:focus {
	outline: 2px solid #7ea3c9;
	outline-offset: 1px;
}

body.page-template-page-landing #oyster-landing-loginform .login-remember label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
}

body.page-template-page-landing #oyster-landing-submit,
body.page-template-page-landing .oyster-landing-continue {
	display: inline-block;
	width: 75%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 4px;
	background: #b3cce6;
	color: var(--oyster-heading, #1a3654);
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

body.page-template-page-landing #oyster-landing-submit:hover,
body.page-template-page-landing #oyster-landing-submit:focus,
body.page-template-page-landing .oyster-landing-continue:hover,
body.page-template-page-landing .oyster-landing-continue:focus {
	background: #a4c1e0;
	color: var(--oyster-heading, #1a3654);
}

body.page-template-page-landing .oyster-landing-lost {
	margin: 12px 0 0;
	font-size: 0.875rem;
}

html.oyster-landing-modal-open,
body.oyster-landing-modal-open {
	overflow: hidden;
}

body.oyster-landing-modal-open {
	padding-right: var(--oyster-scrollbar-width, 0px);
}

body.oyster-landing-modal-open #wpadminbar,
body.oyster-landing-modal-open .oyster-tabbar__row {
	padding-right: var(--oyster-scrollbar-width, 0px);
}

.oyster-landing-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.oyster-landing-modal[hidden] {
	display: none;
}

.oyster-landing-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 42, 68, 0.45);
}

.oyster-landing-modal__panel {
	position: relative;
	box-sizing: border-box;
	width: min(420px, 100%);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	margin: 0;
	padding: 28px 24px 24px;
	border-radius: 18px;
	background: var(--oyster-tint-blue, #cce0f5);
	color: var(--oyster-heading, #1a3654);
	box-shadow: 0 18px 50px rgba(16, 42, 68, 0.28);
}

.oyster-landing-modal__panel h2 {
	margin: 0 36px 12px 0;
	font-size: 1.35rem;
	line-height: 1.3;
}

.oyster-landing-modal__panel p {
	margin: 0 0 12px;
}

.oyster-landing-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--oyster-heading, #1a3654);
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.oyster-landing-modal input[type="text"],
.oyster-landing-modal input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	box-shadow: none;
}

.oyster-landing-modal .oyster-landing-password {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 12px;
}

.oyster-landing-modal .oyster-landing-password input[type="password"],
.oyster-landing-modal .oyster-landing-password input[type="text"] {
	width: 100%;
	padding-right: 44px;
}

.oyster-landing-modal .oyster-landing-password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0 4px 4px 0;
	background: transparent;
	color: var(--oyster-text-muted, #4a6278);
	cursor: pointer;
}

.oyster-landing-modal .oyster-landing-password-toggle .oyster-landing-eye-off,
.oyster-landing-modal .oyster-landing-password-toggle[aria-pressed="true"] .oyster-landing-eye {
	display: none;
}

.oyster-landing-modal .oyster-landing-password-toggle[aria-pressed="true"] .oyster-landing-eye-off {
	display: block;
}

.oyster-landing-modal__hint {
	font-size: 0.8rem;
}

.oyster-landing-modal__submit {
	margin-bottom: 0;
}

.oyster-landing-modal__submit input {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 4px;
	background: #b3cce6;
	color: var(--oyster-heading, #1a3654);
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
}

.oyster-landing-modal__submit input:hover,
.oyster-landing-modal__submit input:focus {
	background: #a4c1e0;
	color: var(--oyster-heading, #1a3654);
}

/* Landing enquiry dialog. Same panel as the lost-password window.
   Keep the whole form on one screen — no inner scrollbar. */
#enquiryModal.oyster-enquiry-modal {
	box-sizing: border-box;
	display: none;
	flex-direction: column;
	width: min(420px, calc(100% - 24px));
	max-height: calc(100dvh - 16px);
	margin: auto;
	padding: 16px 18px 12px;
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	background: var(--oyster-tint-blue, #cce0f5);
	color: var(--oyster-heading, #1a3654);
	box-shadow: 0 18px 50px rgba(16, 42, 68, 0.28);
}

#enquiryModal.oyster-enquiry-modal[open] {
	display: flex;
}

#enquiryModal.oyster-enquiry-modal::backdrop {
	background: rgba(16, 42, 68, 0.45);
}

#enquiryModal.oyster-enquiry-modal h2 {
	margin: 0 36px 8px 0;
	font-size: 1.15rem;
	line-height: 1.25;
}

#enquiryModal.oyster-enquiry-modal .wpcf7,
#enquiryModal.oyster-enquiry-modal .wpcf7-form {
	margin: 0;
}

#enquiryModal.oyster-enquiry-modal p {
	margin: 0 0 12px;
}

#enquiryModal.oyster-enquiry-modal label.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#enquiryModal.oyster-enquiry-modal .oyster-enquiry-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--oyster-heading, #1a3654);
	font-size: 0.875rem;
	line-height: 1.4;
	cursor: pointer;
}

#enquiryModal.oyster-enquiry-modal input[type="text"],
#enquiryModal.oyster-enquiry-modal input[type="email"],
#enquiryModal.oyster-enquiry-modal input[type="tel"],
#enquiryModal.oyster-enquiry-modal input[type="url"],
#enquiryModal.oyster-enquiry-modal input[type="number"],
#enquiryModal.oyster-enquiry-modal textarea,
#enquiryModal.oyster-enquiry-modal select {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	box-shadow: none;
	color: var(--oyster-heading, #1a3654);
	font-size: 16px;
}

#enquiryModal.oyster-enquiry-modal input[type="text"]::placeholder,
#enquiryModal.oyster-enquiry-modal input[type="email"]::placeholder,
#enquiryModal.oyster-enquiry-modal input[type="tel"]::placeholder,
#enquiryModal.oyster-enquiry-modal input[type="url"]::placeholder,
#enquiryModal.oyster-enquiry-modal input[type="number"]::placeholder,
#enquiryModal.oyster-enquiry-modal textarea::placeholder {
	color: var(--oyster-text-muted, #6a7d90);
	opacity: 1;
}

#enquiryModal.oyster-enquiry-modal input[type="text"]:focus,
#enquiryModal.oyster-enquiry-modal input[type="email"]:focus,
#enquiryModal.oyster-enquiry-modal input[type="tel"]:focus,
#enquiryModal.oyster-enquiry-modal input[type="url"]:focus,
#enquiryModal.oyster-enquiry-modal input[type="number"]:focus,
#enquiryModal.oyster-enquiry-modal textarea:focus,
#enquiryModal.oyster-enquiry-modal select:focus {
	outline: 2px solid #7ea3c9;
	outline-offset: 1px;
}

#enquiryModal.oyster-enquiry-modal textarea {
	height: clamp(64px, 10vh, 96px);
	min-height: 64px;
	max-height: 96px;
	resize: none;
}

#enquiryModal.oyster-enquiry-modal .oyster-enquiry-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

#enquiryModal.oyster-enquiry-modal .oyster-enquiry-row > br {
	display: none;
}

#enquiryModal.oyster-enquiry-modal .oyster-enquiry-row > .wpcf7-form-control-wrap {
	flex: 1;
	min-width: 0;
}

#enquiryModal.oyster-enquiry-modal em {
	display: none;
}

#enquiryModal.oyster-enquiry-modal .oyster-recaptcha-note {
	margin: 2px 0 0;
	font-size: 0.68rem;
	line-height: 1.3;
}

#enquiryModal.oyster-enquiry-modal input[type="submit"] {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 4px;
	background: #b3cce6;
	color: #1a3654;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
}

#enquiryModal.oyster-enquiry-modal input[type="submit"]:hover,
#enquiryModal.oyster-enquiry-modal input[type="submit"]:focus {
	background: #a4c1e0;
	color: #1a3654;
}

@media (max-height: 560px) {
	#enquiryModal.oyster-enquiry-modal {
		width: min(640px, calc(100% - 16px));
		max-height: calc(100dvh - 8px);
		padding: 12px 14px 10px;
	}

	#enquiryModal.oyster-enquiry-modal h2 {
		margin: 0 36px 6px 0;
		font-size: 1.05rem;
	}

	#enquiryModal.oyster-enquiry-modal .wpcf7-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 12px;
		align-items: start;
	}

	#enquiryModal.oyster-enquiry-modal .wpcf7-form > .hidden-fields-container,
	#enquiryModal.oyster-enquiry-modal .wpcf7-form > .oyster-recaptcha-note,
	#enquiryModal.oyster-enquiry-modal .wpcf7-form > .wpcf7-response-output {
		grid-column: 1 / -1;
	}

	#enquiryModal.oyster-enquiry-modal textarea {
		height: 52px;
		max-height: 52px;
	}
}

#enquiryModal.oyster-enquiry-modal .wpcf7-response-output {
	margin: 12px 0 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	color: var(--oyster-heading, #1a3654);
}

#enquiryModal.oyster-enquiry-modal.is-sent h2,
#enquiryModal.oyster-enquiry-modal:has(form.sent) h2,
#enquiryModal.oyster-enquiry-modal form.sent > :not(.wpcf7-response-output) {
	display: none;
}

#enquiryModal.oyster-enquiry-modal form.sent {
	margin: 0;
}

#enquiryModal.oyster-enquiry-modal form.sent .wpcf7-response-output {
	margin: 4px 48px 4px 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 1.05rem;
	line-height: 1.5;
}

@media (max-width: 781px) {
	body.page-template-page-landing main.wp-block-group {
		align-items: flex-start;
	}
}

/* Show the gallery upload form on the dashboard card only.
   /photos/ keeps its own sheet, so album covers stay closed. */
.dash-up-gal .wppa-upload > a.wppa-album-cover-link {
	display: none !important;
}
.dash-up-gal .wppa-upload div[id^="wppa-file-"] {
	display: block !important;
	text-align: left !important;
}

/* WPPA fills .wppa-box with its own (square) background. That colour
   shows in the crescents around the rounded upload card. */
.dash-up-gal .wppa-box.wppa-upload {
	background: transparent !important;
	border: 0 !important;
}

/* Gallery upload form
   The dashboard shortcode and the album panels on /photos/ share this table.
   One card around the form, matching the Recent Post cards. Fields
   follow the login inputs: no individual borders, labels sit above. */
.wppa-upload-table {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--oyster-border, #e6e8ee) !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	background: var(--oyster-surface, #fff);
	box-shadow: 0 8px 24px rgba(22, 32, 51, 0.06);
}

.wppa-upload-table tbody,
.wppa-upload-table tr.wppa-upload-tr {
	display: block;
	width: 100%;
}

.wppa-upload-table tr.wppa-upload-tr {
	margin: 0 0 12px;
}

.wppa-upload-table tr.wppa-upload-tr:last-child {
	margin-bottom: 0;
}

.wppa-upload-table .wppa-upload-th,
.wppa-upload-table .wppa-upload-td {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0;
	border: 0 !important;
	background: transparent;
	text-align: left;
	vertical-align: top;
}

.wppa-upload-table,
.wppa-upload-table select,
.wppa-upload-table input,
.wppa-upload-table textarea,
.wppa-upload-table button {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.wppa-upload-table .wppa-upload-th {
	margin: 0 0 6px;
	color: var(--oyster-text-muted, #5c6b7a);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.wppa-upload-table .wppa-upload-th.oyster-upload-label-empty,
.wppa-upload-table tr.wppa-upload-tr:last-child .wppa-upload-th {
	display: none;
}

.wppa-upload-table select,
.wppa-upload-table input[type="text"],
.wppa-upload-table input[type="number"],
.wppa-upload-table textarea {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px !important;
	border: 0 !important;
	border-radius: 4px;
	background: var(--oyster-surface-2, #f3f5f8);
	color: var(--oyster-text, #0f1111);
	line-height: 1.4;
	text-align: left;
	box-shadow: none;
}

.wppa-upload-table textarea {
	min-height: 88px;
	resize: vertical;
}

.wppa-upload-table select:focus,
.wppa-upload-table input[type="text"]:focus,
.wppa-upload-table input[type="number"]:focus,
.wppa-upload-table textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(27, 79, 138, 0.22);
}

.wppa-upload-table tr.wppa-upload-tr:has(> .wppa-upload-td > input.wppa-upload-button) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.wppa-upload-table tr.wppa-upload-tr:has(> .wppa-upload-td > input.wppa-upload-button) > .wppa-upload-th {
	flex: 1 1 auto;
	width: auto;
	margin: 0;
}

.wppa-upload-table tr.wppa-upload-tr:has(> .wppa-upload-td > input.wppa-upload-button) > .wppa-upload-td {
	flex: 0 0 auto;
	width: auto;
}

.wppa-upload-table input.wppa-upload-button[id$="-display"] {
	display: inline-block;
	box-sizing: border-box;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	overflow: hidden;
	border: 0;
	border-radius: 4px;
	background: #1b2838;
	color: #fff;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	cursor: pointer;
}

.wppa-upload-table input.wppa-upload-button[id$="-display"]:hover,
.wppa-upload-table input.wppa-upload-button[id$="-display"]:focus {
	background: #243447;
	color: #fff;
}

/* The dashboard upload column is narrow, and these two controls were still
   the theme body size (about 20px). Keep them with the card labels. */
body.home-page .dash-up-gal .wppa-upload-table {
	padding-right: 10px;
	padding-left: 10px;
}

body.home-page .dash-up-gal .wppa-upload-table select,
body.home-page .dash-up-gal .wppa-upload-table input.wppa-upload-button[id$="-display"] {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

body.home-page .dash-up-gal .wppa-upload-table select {
	min-height: 0;
	padding: 6px 22px 6px 8px !important;
}

body.home-page .dash-up-gal .wppa-upload-table input.wppa-upload-button[id$="-display"] {
	padding: 6px 10px !important;
}

.wppa-upload-table .wppa-upload-td div[style*="font-size:10px"],
.wppa-upload .wppa-progress,
.wppa-upload .wppa-bar,
.wppa-upload .wppa-percent,
.wppa-upload .wppa-message,
.wppa-upload-table .wppa-progress,
.wppa-upload-table .wppa-bar,
.wppa-upload-table .wppa-percent,
.wppa-upload-table .wppa-message {
	display: none !important;
}

.wppa-upload-table .wppa-user-submit {
	display: block;
	float: none !important;
	width: 100%;
	box-sizing: border-box;
	margin: 4px 0 0 !important;
	padding: 10px 16px;
	border: 0;
	border-radius: 4px;
	background: #067d62;
	color: #fff;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
}

.wppa-upload-table .wppa-user-submit:hover,
.wppa-upload-table .wppa-user-submit:focus {
	background: #056351;
	color: #fff;
}

/* Header menu, search, and bell
   Pack the menu, search, and bell together on the right.
   The search field grows in the row, so the links shift left while it is open. */
.wp-block-group.is-content-justification-space-between:has(> #wpf-widget-search) > .wp-block-group:has(> .wp-block-navigation) {
	margin-left: auto;
	flex: 0 0 auto;
}

.wp-block-group.is-content-justification-space-between:has(> #wpf-widget-search) > #wpf-widget-search,
.wp-block-group.is-content-justification-space-between:has(> #wpf-widget-search) > #wpf-widget-profile {
	flex: 0 0 auto;
}

/* Twenty Twenty-Five draws a 2px outline on every click.
   Keep it for keyboard focus only. */
.wp-site-blocks :focus:not(:focus-visible) {
	outline: none;
}

/* Header menu
   The current section is a white label with curved corners.
   Its text uses the header blue. Other items lighten on hover. */
.oyster-header .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 4px 8px;
	border-radius: 8px;
	color: #fff;
	font-weight: 300;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.oyster-header .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.oyster-header .wp-block-navigation-item > .wp-block-navigation-item__content:focus-visible {
	background-color: rgba(255, 255, 255, 0.18);
	color: #fff;
	text-decoration: none;
}

.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content,
.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content:hover,
.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content:focus,
.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content:focus-visible {
	background-color: var(--oyster-surface, #fff);
	color: var(--oyster-link, #3955a7);
	font-weight: 400;
	text-decoration: none;
}

.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content:hover,
.oyster-header .wp-block-navigation-item.oyster-nav-current > .wp-block-navigation-item__content:focus-visible {
	box-shadow: 0 2px 8px rgba(17, 28, 58, 0.28);
}

/* Header profile
   "Hello, " plus the first name, then the avatar, with the bell on the avatar. */
#wpf-widget-profile {
	position: relative;
	align-self: center;
	width: auto;
	margin: 0;
	background: transparent;
	border: 0;
}

#wpf-widget-profile .widget-title,
#wpf-widget-profile .wpf-prof-footer,
#wpf-widget-profile .wpf-prof-content,
#wpf-widget-profile .wpf-prof-name .fa-circle,
#wpf-widget-profile .wpf-author-nicename {
	display: none;
}

#wpf-widget-profile .wpforo-widget-content,
#wpf-widget-profile .wpf-prof-wrap,
#wpf-widget-profile .wpf-prof-header,
#wpf-widget-profile .wpf-prof-alerts,
#wpf-widget-profile .wpf-prof-header .wpf-prof-info {
	width: auto;
	margin: 0;
	padding: 0 !important;
	border: 0;
	background: transparent;
}

#wpf-widget-profile .wpf-prof-header {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	column-gap: 8px;
}

#wpf-widget-profile .wpf-prof-avatar,
#wpf-widget-profile .wpf-prof-alerts {
	grid-column: 2;
	grid-row: 1;
}

#wpf-widget-profile .wpf-prof-avatar {
	padding-right: 0 !important;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-avatar img,
#wpf-widget-profile .wpf-prof-header .wpf-prof-avatar img.avatar {
	display: block;
	width: 32px;
	height: 32px;
	max-width: 32px;
	max-height: 32px;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-info {
	grid-column: 1;
	grid-row: 1;
	flex-grow: 0;
	border-bottom: 0;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-name {
	color: #fff;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 300;
	line-height: 1.4;
	white-space: nowrap;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-alerts {
	position: relative;
	align-self: stretch;
	justify-self: stretch;
	z-index: 5;
	margin: 0 !important;
	border: 0;
	border-bottom: 0;
	pointer-events: none;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-alerts .wpf-bell {
	position: absolute;
	right: -2px;
	bottom: -2px;
	z-index: 5;
	margin: 0 !important;
	pointer-events: none;
}

#wpf-widget-profile .wpf-prof-header .wpf-prof-alerts .wpf-bell > svg {
	width: 14px;
	height: 14px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: content-box;
}

#wpf-widget-profile .wpf-widget-alerts:not(.wpf-new) .wpf-bell svg {
	color: #fff;
}

#wpf-widget-profile.oyster-menu-has-new .wpf-prof-header .wpf-prof-alerts .wpf-bell svg,
#wpf-widget-profile .wpf-prof-header .wpf-widget-alerts.wpf-new .wpf-bell svg {
	color: #ff812d;
}

#wpf-widget-profile .wpf-bell svg path {
	fill: currentColor;
}

#wpf-widget-profile .wpf-alerts-count {
	position: absolute;
	top: -6px;
	right: -6px;
	color: #fff;
	font-size: 9px;
	line-height: 1;
}

#wpf-widget-profile .wpf-prof-notifications {
	position: static;
	flex-basis: auto;
	width: 0;
	height: 0;
}

#wpf-widget-profile .wpf-prof-notifications .wpf-notifications {
	display: none !important;
}

/* Header account menu
   Wide screens: a dropdown under the avatar. Narrow screens: a panel from the right. */
#wpf-widget-profile .wpf-prof-avatar {
	position: relative;
	z-index: 1;
}

#wpf-widget-profile .oyster-profile-toggle {
	position: absolute;
	top: 0;
	right: -6px;
	bottom: -6px;
	left: 0;
	z-index: 4;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

#wpf-widget-profile .oyster-profile-toggle:focus-visible {
	outline: 2px solid var(--oyster-surface, #fff);
	outline-offset: 2px;
}

.oyster-profile-menu,
.oyster-profile-menu *,
#wpf-widget-profile .oyster-profile-menu,
#wpf-widget-profile .oyster-profile-menu * {
	box-sizing: border-box;
	color: var(--oyster-text, #0f1111);
}

.oyster-profile-menu,
#wpf-widget-profile .oyster-profile-menu,
#wpf-widget-profile .oyster-profile-menu__body,
#wpf-widget-profile .oyster-profile-menu__section,
#wpf-widget-profile .oyster-profile-menu__items,
#wpf-widget-profile .oyster-profile-menu__items li,
#wpf-widget-profile .oyster-profile-menu__items a,
#wpf-widget-profile .oyster-profile-menu__items .oyster-profile-menu__pending {
	background-color: var(--oyster-surface, #fff);
}

.oyster-profile-menu__head,
#wpf-widget-profile .oyster-profile-menu__head {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 58px;
	padding: 10px 16px;
	background: #1b2838;
}

.oyster-profile-menu__head,
#wpf-widget-profile .oyster-profile-menu__head,
#wpf-widget-profile .oyster-profile-menu__head * {
	color: #fff;
}

.oyster-profile-menu__hello,
#wpf-widget-profile .oyster-profile-menu__hello {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.oyster-profile-menu__hello-name,
#wpf-widget-profile .oyster-profile-menu__hello-name {
	font: inherit;
	color: inherit;
}

.oyster-profile-menu__home {
	display: none;
}

.oyster-profile-menu__section,
#wpf-widget-profile .oyster-profile-menu__section {
	padding: 16px 18px 14px;
	background-color: var(--oyster-surface, #fff);
}

.oyster-profile-menu__section + .oyster-profile-menu__section,
#wpf-widget-profile .oyster-profile-menu__section + .oyster-profile-menu__section {
	border-top: 4px solid var(--oyster-border, #eaeded);
}

.oyster-profile-menu__label,
#wpf-widget-profile .oyster-profile-menu__label {
	margin: 0;
	color: var(--oyster-text, #0f1111);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.oyster-profile-menu__items,
#wpf-widget-profile .oyster-profile-menu__items,
.oyster-profile-menu__items li,
#wpf-widget-profile .oyster-profile-menu__items li {
	margin: 0;
	padding: 0;
	border-bottom: 0;
	list-style: none;
}

.oyster-profile-menu__items a,
.oyster-profile-menu__items .oyster-profile-menu__pending,
#wpf-widget-profile .oyster-profile-menu__items a,
#wpf-widget-profile .oyster-profile-menu__items .oyster-profile-menu__pending {
	display: block;
	padding: 6px 0;
	color: var(--oyster-link, #3f7796);
	font-family: Manrope, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.16s ease;
}

.oyster-profile-menu__items a:hover,
.oyster-profile-menu__items a:active,
.oyster-profile-menu__items a:focus-visible,
#wpf-widget-profile .oyster-profile-menu__items a:hover,
#wpf-widget-profile .oyster-profile-menu__items a:active,
#wpf-widget-profile .oyster-profile-menu__items a:focus-visible {
	color: #659fbe;
	text-decoration: none;
}

.oyster-profile-menu__new,
.oyster-profile-menu__count,
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__new,
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__count {
	color: var(--oyster-text-red, #c40000);
	font-weight: 700;
}

.oyster-profile-menu__items li.is-new,
#wpf-widget-profile .oyster-profile-menu__items li.is-new {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.oyster-profile-menu__items li.is-new a:not(.oyster-profile-menu__pending-flag),
.oyster-profile-menu__items li.is-new .oyster-profile-menu__pending,
#wpf-widget-profile .oyster-profile-menu__items li.is-new a:not(.oyster-profile-menu__pending-flag),
#wpf-widget-profile .oyster-profile-menu__items li.is-new .oyster-profile-menu__pending {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
}

.oyster-profile-menu__clear,
.oyster-profile-menu__items a.oyster-profile-menu__pending-flag,
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear,
#wpf-widget-profile .oyster-profile-menu__items a.oyster-profile-menu__pending-flag {
	flex: 0 0 auto;
	display: inline-block;
	margin: 0;
	padding: 3px 8px;
	border: 0;
	border-radius: 4px;
	background-color: #067d62;
	color: #fff;
	font-family: Manrope, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.oyster-profile-menu__clear:hover,
.oyster-profile-menu__clear:focus-visible,
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear:hover,
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear:focus-visible {
	background-color: #056351;
	color: #fff;
	outline: none;
}

.oyster-profile-menu__items a.oyster-profile-menu__pending-flag,
#wpf-widget-profile .oyster-profile-menu__items a.oyster-profile-menu__pending-flag {
	background-color: #ff812d;
}

.oyster-profile-menu__items a.oyster-profile-menu__pending-flag:hover,
.oyster-profile-menu__items a.oyster-profile-menu__pending-flag:focus-visible,
#wpf-widget-profile .oyster-profile-menu__items a.oyster-profile-menu__pending-flag:hover,
#wpf-widget-profile .oyster-profile-menu__items a.oyster-profile-menu__pending-flag:focus-visible {
	background-color: #e56e1c;
	color: #fff;
	text-decoration: none;
	outline: none;
}

.oyster-profile-menu__clear[aria-busy="true"],
#wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear[aria-busy="true"] {
	opacity: 0.7;
	cursor: wait;
}

.oyster-profile-menu__close {
	display: none;
}

.oyster-profile-backdrop {
	display: none;
}

@media (min-width: 901px) {
	#wpf-widget-profile:hover,
	#wpf-widget-profile:focus-within {
		z-index: 100000;
	}

	#wpf-widget-profile .oyster-profile-menu {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 100000;
		display: block;
		width: 360px;
		visibility: hidden;
		padding: 0;
		overflow: visible;
		background-color: var(--oyster-surface, #fff);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
		opacity: 1;
		pointer-events: none;
	}

	/* Full-width bridge so the pointer can move from the avatar onto the menu. */
	#wpf-widget-profile .oyster-profile-menu::before {
		content: "";
		position: absolute;
		top: -20px;
		right: 0;
		left: 0;
		height: 20px;
		background: transparent;
	}

	#wpf-widget-profile .oyster-profile-anchor:hover .oyster-profile-menu,
	#wpf-widget-profile .oyster-profile-anchor:focus-within .oyster-profile-menu,
	#wpf-widget-profile .oyster-profile-menu:hover {
		visibility: visible;
		pointer-events: auto;
	}
}

@media (max-width: 900px) {
	body.admin-bar {
		--oyster-menu-top: var(--wp-admin--admin-bar--height, 46px);
	}

	.oyster-profile-menu {
		position: fixed;
		top: var(--oyster-menu-top, 0px);
		right: 0;
		bottom: auto;
		z-index: 100000;
		display: flex;
		flex-direction: column;
		width: 66.666vw;
		height: var(--oyster-menu-height, calc(100dvh - var(--oyster-menu-top, 0px)));
		max-height: var(--oyster-menu-height, calc(100dvh - var(--oyster-menu-top, 0px)));
		overflow: hidden;
		box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		visibility: hidden;
		pointer-events: none;
	}

	body.oyster-profile-menu-open .oyster-profile-menu {
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	html.oyster-profile-menu-lock,
	body.oyster-profile-menu-open {
		overflow: hidden;
		overscroll-behavior: none;
	}

	.oyster-profile-menu__head {
		box-sizing: border-box;
		flex: 0 0 auto;
		flex-wrap: nowrap;
		align-self: stretch;
		width: 100%;
		max-width: 100%;
		gap: 8px;
		padding-left: 16px;
		padding-right: calc(16px + env(safe-area-inset-right, 0px));
		overflow: hidden;
		white-space: nowrap;
	}

	.oyster-profile-menu__hello,
	#wpf-widget-profile .oyster-profile-menu__hello {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: baseline;
		column-gap: 0.3em;
		overflow: hidden;
		white-space: nowrap;
	}

	.oyster-profile-menu__hello-name {
		flex: 0 0 auto;
	}

	.oyster-profile-menu__hello-name--long {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.oyster-profile-menu__home,
	#wpf-widget-profile .oyster-profile-menu__home {
		display: flex;
		flex: 0 0 32px;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		margin: 0;
		padding: 0;
		color: #fff;
		line-height: 0;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.oyster-profile-menu__home:hover,
	.oyster-profile-menu__home:focus,
	.oyster-profile-menu__home:focus-visible,
	.oyster-profile-menu__home:active,
	#wpf-widget-profile .oyster-profile-menu__home:hover,
	#wpf-widget-profile .oyster-profile-menu__home:focus,
	#wpf-widget-profile .oyster-profile-menu__home:focus-visible,
	#wpf-widget-profile .oyster-profile-menu__home:active {
		color: #fff;
		text-decoration: none;
		outline: none;
		box-shadow: none;
	}

	.oyster-profile-menu__home-icon {
		display: block;
		width: 22px;
		height: 22px;
	}

	@media (max-width: 380px) {
		.oyster-profile-menu__hello,
		#wpf-widget-profile .oyster-profile-menu__hello {
			font-size: 16px;
		}
	}

	.oyster-profile-menu__body {
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
	}

	.oyster-profile-menu__close,
	#wpf-widget-profile .oyster-profile-menu__close {
		position: fixed;
		top: calc(var(--oyster-menu-top, 0px) + 7px);
		right: calc(66.666vw + 12px);
		z-index: 100001;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #fff;
		font-size: 36px;
		line-height: 1;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
		cursor: pointer;
		touch-action: none;
	}

	.oyster-profile-backdrop {
		position: fixed;
		top: var(--oyster-menu-top, 0px);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99999;
		margin: 0;
		padding: 0;
		border: 0;
		background: rgba(0, 0, 0, 0.55);
		cursor: pointer;
		touch-action: none;
	}

	body.oyster-profile-menu-open .oyster-profile-backdrop {
		display: block;
	}
}

/* Header forum search
   A field that stays open, with the search icon as a button on the right.
   Focusing the field draws an orange border around the whole bar. */
/* The row beside the profile grows, and the field fills that row. */
.oyster-header .is-content-justification-space-between:has(#wpf-widget-search):has(#wpf-widget-profile) > :has(#wpf-widget-search) {
	flex: 1 1 auto;
	min-width: 0;
}

.oyster-header .is-layout-flex:has(> #wpf-widget-search) {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.oyster-header .is-layout-flex:has(> #wpf-widget-search) > :not(#wpf-widget-search) {
	flex: 0 0 auto;
}

#wpf-widget-search {
	position: relative;
	align-self: center;
	flex: 1 1 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
	overflow: visible;
	background: transparent;
	border: 0;
}

#wpf-widget-search .widget-title {
	display: none;
}

#wpf-widget-search .wpforo-widget-content,
#wpf-widget-search #wpforo-search-form {
	margin: 0;
	padding: 0 !important;
	overflow: visible;
	background: transparent;
	border: 0;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label {
	position: relative !important;
	display: flex !important;
	align-items: stretch;
	width: 100%;
	height: 40px;
	margin: 0;
	overflow: hidden;
	background: var(--oyster-surface, #fff);
	border: 1px solid var(--oyster-border-strong, #888c8c);
	border-radius: 4px;
	box-sizing: border-box;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label:focus-within {
	border-color: #e77600;
	box-shadow: 0 0 0 2px #e77600;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label input[type="text"] {
	position: relative !important;
	flex: 1 1 auto;
	z-index: 1;
	width: auto !important;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: var(--oyster-surface, #fff);
	box-shadow: none;
	color: var(--oyster-text, #0f1111);
	font-size: 15px;
	line-height: 1.2;
	opacity: 1;
	cursor: text;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label input[type="text"]:focus {
	outline: none;
	background: var(--oyster-surface, #fff);
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label input[type="text"]::placeholder {
	color: var(--oyster-text-muted, #767676);
	opacity: 1;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label svg {
	position: static !important;
	flex: 0 0 42px;
	align-self: stretch;
	width: 42px;
	height: auto;
	margin: 0;
	padding: 9px;
	background: #febd69;
	box-sizing: border-box;
	cursor: pointer;
	pointer-events: auto;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label svg:hover {
	background: #f3a847;
}

#wpf-widget-search #wpforo-search-form .wpf-search-widget-label svg,
#wpf-widget-search #wpforo-search-form .wpf-search-widget-label svg path {
	fill: var(--oyster-text, #0f1111);
}

/* The compact banner is only for small screens.
   Zero the gap after it, or that gap collapses out above the header. */
.oyster-header .oyster-small-banner {
	display: none;
}

.oyster-header > .oyster-small-banner + .wp-block-group {
	margin-top: 0;
	margin-block-start: 0;
}

/* Small screen header
   Phones and portrait tablets. Three rows: compact banner and avatar,
   a full-width search, then a sideways-scrolling menu. The site logo,
   the wide banner, and the second-row profile are hidden.
   Wider screens keep the single row. */
@media (max-width: 900px) {
	.oyster-header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"banner avatar"
			"search search"
			"menu menu";
		align-items: center;
		justify-items: stretch;
		column-gap: 12px;
		row-gap: 10px;
		padding: 12px var(--wp--style--root--padding-right, 16px) 8px var(--wp--style--root--padding-left, 16px);
	}

	.oyster-header .wp-block-group {
		display: contents;
	}

	.oyster-header .wp-block-site-logo {
		display: none;
	}

	.oyster-header .oyster-banner {
		display: none;
	}

	.oyster-header .oyster-small-banner figure {
		grid-area: banner;
		grid-column: 1 / -1;
		align-self: center;
		min-width: 0;
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.oyster-header .oyster-small-banner figure a {
		display: block;
	}

	.oyster-header .oyster-small-banner img {
		display: block;
		width: 100%;
		height: auto;
	}

	.oyster-header .profile-small {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		clip-path: inset(50%);
		border: 0;
		white-space: nowrap;
	}

	.oyster-header .profile-small .wpf-prof-info {
		display: none;
	}

	.oyster-header .profile-small .wpf-prof-header {
		grid-template-columns: auto;
		column-gap: 0;
	}

	.oyster-header .profile-small .wpf-prof-avatar,
	.oyster-header .profile-small .wpf-prof-alerts {
		grid-column: 1;
	}

	.oyster-header .profile-large {
		display: none;
	}

	.oyster-header #wpf-widget-search {
		grid-area: search;
		width: 100%;
		min-width: 0;
		max-width: none;
		margin-right: 0;
	}

	.oyster-header nav.wp-block-navigation {
		display: none;
	}

	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container-open,
	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container-close {
		display: none;
	}

	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container,
	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open,
	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-close,
	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-dialog,
	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container-content {
		display: block;
		position: static;
		inset: auto;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		overflow: visible;
		background: transparent;
		color: inherit;
	}

	.oyster-header nav.wp-block-navigation .wp-block-navigation__responsive-container-content {
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.oyster-header .wp-block-navigation__responsive-container-content::-webkit-scrollbar {
		display: none;
	}

	.oyster-header .wp-block-navigation__container {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		width: max-content;
		min-width: 100%;
		gap: 0 0.65rem;
		margin: 0;
		padding: 2px 0 4px;
	}

	.oyster-header .wp-block-navigation-item {
		flex: 0 0 auto;
	}

	.oyster-header .wp-block-navigation-item__content {
		display: block;
		white-space: nowrap;
	}

	body {
		padding-bottom: 68px;
	}
}

/* Small-screen section bar. Hidden on a wide screen, shown in the editor.
   The row is moved onto the body before paint and stays on the screen bottom.
   Do not offset it from the visual viewport: Android jumps the bar while scrolling.
   Do not pad it with env(safe-area-inset-bottom): Android Chrome changes that value
   as its toolbar shows and hides, so the bar grows and shrinks. */
.wp-site-blocks .oyster-tabbar {
	display: none;
}

@media (max-width: 900px) {
	.oyster-tabbar__row {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		width: 100%;
		margin: 0;
		background: var(--oyster-surface, #fff);
		border-top: 1px solid var(--oyster-border, #e4e7ee);
		box-shadow: 0 -1px 8px rgba(15, 23, 42, 0.06);
	}
}

@media (min-width: 901px) {
	body > .oyster-tabbar__row {
		display: none;
	}
}

.editor-styles-wrapper .oyster-tabbar {
	display: block;
	width: 100%;
	margin-top: 4px;
	background: var(--oyster-surface, #fff);
}

.oyster-tabbar__row {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 6px 2px;
}

.oyster-tabbar__link {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	margin: 0;
	padding: 2px 0;
	border: 0;
	background: transparent;
	color: var(--oyster-text-muted, #5c677a);
	font: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.oyster-tabbar__link.is-current,
.oyster-tabbar__me[aria-expanded="true"] {
	color: var(--oyster-link, #3955a7);
}

.oyster-tabbar__glyph--fill {
	display: none;
}

.oyster-tabbar__link.is-current .oyster-tabbar__glyph--line,
.oyster-tabbar__me[aria-expanded="true"] .oyster-tabbar__glyph--line {
	display: none;
}

.oyster-tabbar__link.is-current .oyster-tabbar__glyph--fill,
.oyster-tabbar__me[aria-expanded="true"] .oyster-tabbar__glyph--fill {
	display: inline;
}

.oyster-tabbar__me[aria-expanded="true"] .oyster-tabbar__icon img {
	box-shadow: 0 0 0 2px var(--oyster-surface, #fff), 0 0 0 3.5px currentColor;
}

body:not(.logged-in) .oyster-tabbar__me {
	display: none;
}

.oyster-tabbar__icon {
	position: relative;
	display: flex;
	width: 30px;
	height: 30px;
}

.oyster-tabbar__icon svg,
.oyster-tabbar__icon img {
	display: block;
	width: 30px;
	height: 30px;
	max-width: none;
}

.oyster-tabbar__icon img {
	border-radius: 50%;
	object-fit: cover;
}

.oyster-tabbar__badge {
	position: absolute;
	top: -6px;
	right: -10px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: #ff0000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	pointer-events: none;
}

.oyster-tabbar__label {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Forum home RSS
   Hide the Forums and Topics feeds in the title and show them at the bottom. */
body.oyster-wpforo-forum-home #wpforo h1#wpforo-title .wpf-feed-forums,
body.oyster-wpforo-forum-home #wpforo h1#wpforo-title .wpf-feed-topics,
body.oyster-wpforo-forum-home #wpforo h1#wpforo-title .wpforo-feed sep {
	display: none;
}

body.oyster-wpforo-forum-home .oyster-forum-rss-bottom {
	margin-top: 15px;
	text-align: right;
}

body.oyster-wpforo-forum-home .oyster-forum-rss-bottom > sep:first-of-type {
	display: none;
}

/* ============================================================
   Forum topic list banner (all screen sizes)
   The page that lists a forum's topics, not a single topic.
   1. No left colour border and no grey bar.
   2. RSS moves to the bottom right of the list.
   3. On a wide screen, Subscribe sits top-right on the title row.
      Add topic is centred under the description.
   On a small screen those two buttons are centred, Add topic first.
   ============================================================ */
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title subscribe"
		"description description"
		"add add";
	column-gap: 16px;
	row-gap: 12px;
	align-items: center;
	margin: 0 0 16px;
	padding: 0;
	background: transparent;
	border: 0;
	border-left: 0 !important;
	border-radius: 0;
	box-shadow: none;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-head-bar-left,
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-action-link,
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-head-bar-right,
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-clear {
	display: contents;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar #wpforo-title {
	grid-area: title;
	margin: 0;
	padding: 0;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar #wpforo-description {
	grid-area: description;
	width: auto;
	margin: 4px 0 0;
	padding: 0;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-head-bar-right > .wpf-button,
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar #add_wpftopic {
	grid-area: add;
	justify-self: center;
	margin: 50px 0 0;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-subscribe-forum,
body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-unsubscribe-forum {
	grid-area: subscribe;
	justify-self: end;
	margin: 0;
}

body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-feed {
	display: none;
}

body #wpforo #wpforo-wrap.wpft-topic .oyster-forum-rss-bottom {
	margin-top: 15px;
	text-align: right;
}

/* Single topic.
   Wide screens: Subscribe for new replies sits top-right, on the title row.
   All screens: the RSS link in the post head is hidden and reprinted at the bottom. */
@media screen and (min-width: 621px) {
	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 16px;
		row-gap: 8px;
		align-items: center;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar .wpf-head-title {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar #wpforo-title {
		margin: 0;
		padding: 0;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar .wpf-action-link {
		display: contents;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar .wpf-subscribe-topic.wpf-button-outlined,
	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar .wpf-unsubscribe-topic {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		margin: 0;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpf-head-bar .wpf-action-link > :not(.wpf-subscribe-topic):not(.wpf-unsubscribe-topic) {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: end;
		margin-left: 0;
	}
}

body #wpforo #wpforo-wrap.wpft-post .wpf-post-head-bottom a.wpf-button-outlined:has(.fa-rss) {
	display: none;
}

body #wpforo #wpforo-wrap.wpft-post .oyster-forum-rss-bottom {
	margin-top: 15px;
	text-align: right;
}

/* Forum pages: centred Buy Me a Coffee button. Same hover as the dashboard. */
body #wpforo #wpforo-wrap .oyster-forum-coffee {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 28px 0 12px;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #ffdd00;
	padding: 10px 24px;
	border-radius: 12px;
	border: 1px solid transparent;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s;
	cursor: pointer;
	color: #000 !important;
	text-decoration: none !important;
	line-height: 1;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	transition: transform 0.25s;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-text {
	font-family: Cookie, cursive;
	font-size: 26px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0.5px;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-button:hover {
	background-color: #ffea61;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 22px rgba(255, 221, 0, 0.45);
	color: #000 !important;
	text-decoration: none !important;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-button:hover .bmac-icon {
	transform: rotate(-10deg) scale(1.1);
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-button:focus {
	outline: none;
	color: #000 !important;
	text-decoration: none !important;
}

body #wpforo #wpforo-wrap .oyster-forum-coffee .bmac-button:active {
	transform: translateY(-1px) scale(0.99);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 620px) {
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"title"
			"description"
			"add"
			"subscribe";
		row-gap: 10px;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-head-bar-right > .wpf-button,
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar #add_wpftopic,
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-subscribe-forum,
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-unsubscribe-forum {
		justify-self: start;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-head-bar-right > .wpf-button,
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar #add_wpftopic {
		margin-top: 20px;
	}

	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-subscribe-forum,
	body #wpforo #wpforo-wrap.wpft-topic .wpf-head-bar .wpf-unsubscribe-forum {
		margin-bottom: 20px;
	}
}

/* Topic replies, extended and simplified layouts.
   The topic stays flush. A reply is indented once, and a reply to a
   reply once more. Phones use a smaller step so the post stays readable. */
#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-1,
#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-2,
#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-1,
#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-2 {
	border-left: 2px solid var(--oyster-border, #e0e0e0);
	padding-left: 15px;
}

#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-1,
#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-1 {
	margin-left: 35px;
}

#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-2,
#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-2 {
	margin-left: 60px;
}

@media screen and (max-width: 600px) {
	#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-1,
	#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-2,
	#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-1,
	#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-2 {
		padding-left: 8px;
	}

	#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-1,
	#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-1 {
		margin-left: 12px;
	}

	#wpforo #wpforo-wrap .wpfl-1 .post-wrap.oyster-reply-depth-2,
	#wpforo #wpforo-wrap .wpfl-2 .post-wrap.oyster-reply-depth-2 {
		margin-left: 22px;
	}
}

/* wpForo front-end notices
   Success, error, working, and neutral messages from the same notice box
   sit in the centre of the viewport so they stay visible when scrolled. */
#wpforo-notifications-bar {
	overflow: visible;
}

/* Working spinner: wpForo puts this in the top-right of the notice bar.
   Pin it to the middle of the viewport on large and small screens. */
#wpforo-load {
	position: fixed;
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	z-index: 100001;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 90vw;
	margin: 0;
	padding: 0;
	overflow: visible;
	text-align: center;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

#wpf-msg-box {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 100000;
	display: none;
	width: 24%;
	max-height: 80vh;
	margin: 0;
	transform: translate(-50%, -50%);
}

body #wpf-msg-box > p {
	width: 100%;
	margin: 0;
	padding: 15px;
	box-sizing: border-box;
	background-color: #43a6df;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	box-shadow: 1px 6px 7px 1px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

body #wpf-msg-box > p + p {
	margin-top: 12px;
}

body #wpf-msg-box > p.success {
	background-color: #00a636;
	color: #fff;
}

body #wpf-msg-box > p.error {
	background-color: #f46464;
	color: #fff;
}

body #wpf-msg-box > p.working {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #43a6df;
	color: #fff;
	cursor: default;
}

body #wpf-msg-box > p.working .oyster-upload-status__spin {
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--oyster-surface, #fff);
	border-radius: 50%;
	animation: oyster-spin 0.8s linear infinite;
}

@keyframes oyster-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes oyster-upload-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes wpf-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Same CSS ring for wpForo, WPPA, and other working states. */
#wpforo-load .wpf-load-ico-wrap {
	position: relative;
	width: 40px;
	height: 40px;
	margin: 0 auto;
}

#wpforo-load .wpf-load-ico-wrap i {
	display: none !important;
}

#wpforo-load .wpf-load-ico-wrap::after,
#wpforo #wpforo-wrap .wpforo-loading-portable::after {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	border: 3px solid rgba(67, 166, 223, 0.35);
	border-top-color: #43a6df;
	border-radius: 50%;
	animation: oyster-spin 0.8s linear infinite;
}

#wpforo #wpforo-wrap .wpforo-loading-portable i {
	display: none !important;
}

svg.wppa-ajax-spin,
svg.wppa-spinner,
#wppa-ovl-spin,
[id^="wppa-ajax-spin-"],
[id^="wppa-slide-spin-"] {
	width: 40px !important;
	height: 40px !important;
	margin-top: -20px !important;
	margin-left: -20px !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 3px solid rgba(67, 166, 223, 0.35) !important;
	border-top-color: #43a6df !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	animation: oyster-spin 0.8s linear infinite;
}

svg.wppa-ajax-spin *,
svg.wppa-spinner *,
#wppa-ovl-spin *,
[id^="wppa-ajax-spin-"] *,
[id^="wppa-slide-spin-"] * {
	display: none !important;
}

img.wppa-ajax-spin,
img.wppa-spinner,
[id^="wppa-ss-spinner-"],
[id^="wppa-comment-spin-"] {
	width: 18px !important;
	height: 18px !important;
	padding: 0 !important;
	border: 2px solid rgba(67, 166, 223, 0.35) !important;
	border-top-color: #43a6df !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: none !important;
	object-position: -999px -999px !important;
	animation: oyster-spin 0.8s linear infinite;
}

body.oyster-gallery .oyster-gallery-comment-send-row [id^="wppa-comment-spin-"] {
	margin: 0 !important;
}

#wpforo #wpforo-wrap .wpf-load-more-spinner {
	animation: oyster-spin 0.8s linear infinite;
}

@media screen and (max-width: 800px) {
	#wpf-msg-box {
		width: 35%;
	}
}

@media screen and (max-width: 620px) {
	#wpf-msg-box {
		width: 45%;
	}
}

@media screen and (max-width: 480px) {
	#wpf-msg-box {
		width: 80%;
	}
}

/* Single topic: hide the grey stats bar on a small screen.
   The action row under it stays. Wide screens are unchanged. */
@media screen and (max-width: 620px) {
	body #wpforo #wpforo-wrap .wpforo-post-head .wpf-post-head-top {
		display: none;
	}
}

/* Reply action icons
   Wide screens: the icon rows at the top and bottom of a post are
   half as large again. The reply control is green on every screen. */
@media screen and (min-width: 621px) {
	body #wpforo #wpforo-wrap .wpforo-post .wpforo-post-content-top .wpforo-action-buttons-wrap .wpf-action,
	body #wpforo #wpforo-wrap .wpforo-post .wpforo-post-content-top .wpforo-action-buttons-wrap .wpf-action i {
		font-size: 18px;
		line-height: 30px;
	}

	body #wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions .wpforo-action-buttons-wrap span.wpf-action,
	body #wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom .wpforo-action-buttons-wrap span.wpf-action {
		padding: 4.5px 18px;
		font-size: 19.5px;
		line-height: 24px;
	}

	body #wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions .wpforo-action-buttons-wrap span.wpf-action i,
	body #wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom .wpforo-action-buttons-wrap span.wpf-action i {
		font-size: 19.5px;
	}
}

body #wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions .wpforo-action-buttons-wrap span.wpforo-reply,
body #wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom .wpforo-action-buttons-wrap span.wpforo-reply {
	background-color: #067d62;
	color: #fff;
	transition: background-color 0.15s ease;
}

body #wpforo #wpforo-wrap .wpforo-post .wpforo-action-buttons-wrap .wpforo-reply i {
	color: #fff;
}

body #wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions .wpforo-action-buttons-wrap span.wpforo-reply:hover,
body #wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions .wpforo-action-buttons-wrap span.wpforo-reply:focus,
body #wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom .wpforo-action-buttons-wrap span.wpforo-reply:hover,
body #wpforo #wpforo-wrap .wpfl-1 .wpforo-post .bottom .wpforo-action-buttons-wrap span.wpforo-reply:focus {
	background-color: #056351;
	color: #fff;
}

/* Inserted post images stay inside the column, on their own line. */
#wpforo #wpforo-wrap .wpforo-post-content img.oyster-inline-image,
#wpforo #wpforo-wrap .wpf-post-content img.oyster-inline-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 8px 0;
}

/* Insert Image window. */
.oyster-image-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.oyster-image-modal[hidden] {
	display: none;
}

.oyster-image-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(27, 40, 56, 0.45);
}

.oyster-image-dialog {
	position: relative;
	width: min(440px, 100%);
	background: var(--oyster-surface, #fff);
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(27, 40, 56, 0.28);
	overflow: hidden;
	font-family: inherit;
}

.oyster-image-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #1b2838;
	color: #fff;
}

.oyster-image-head h2 {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 600;
	color: #fff;
}

.oyster-image-close {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}

.oyster-image-body {
	padding: 16px;
}

.oyster-image-pick {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	border: 1px dashed var(--oyster-border-strong, #c5ced6);
	border-radius: 8px;
	background: var(--oyster-surface-2, #f7f9fb);
	color: var(--oyster-text, #1b2838);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.oyster-image-pick input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.oyster-image-note,
.oyster-image-error {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

.oyster-image-note {
	color: var(--oyster-text-muted, #5c6b7a);
}

.oyster-image-error {
	color: var(--oyster-text-red, #c40000);
}

.oyster-image-preview {
	margin-top: 12px;
}

.oyster-image-preview img {
	display: block;
	max-width: 100%;
	max-height: 220px;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
}

.oyster-image-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 0 16px 16px;
}

.oyster-image-cancel,
.oyster-image-insert {
	border: 0;
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 14px;
	line-height: 1.3;
	cursor: pointer;
}

.oyster-image-cancel {
	background: var(--oyster-surface-2, #eef2f5);
	color: var(--oyster-text, #1b2838);
}

.oyster-image-insert {
	background: #067d62;
	color: #fff;
}

.oyster-image-insert:hover,
.oyster-image-insert:focus {
	background: #056351;
	color: #fff;
}

.oyster-image-insert:disabled {
	opacity: 0.55;
	cursor: default;
}

/* Topic author column — small screens only
   On a single topic, keep the avatar, name, and author title.
   Wide screens are unchanged. Forum and topic-list pages are unchanged. */
@media screen and (max-width: 620px) {
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-name > span,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .wpf-author-nicename,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .wpf-member-profile-buttons,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .wpforo-memberinfo,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-posts,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-joined,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-rating,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-rating-full,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-rating-sep,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .wpforo-reaction {
		display: none;
	}

	/* The online icon leaves a space before the name. Collapse it so the name lines up with the title. */
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-name {
		font-size: 0;
		line-height: 0;
		padding-top: 0;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-name a,
	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-title {
		line-height: 16px;
	}

	body #wpforo #wpforo-wrap.wpft-post .wpforo-post > .wpf-left .author-name a {
		font-size: 14px;
	}
}

/* Topic posts: hide the topic number and the report button on every screen size. */
body #wpforo #wpforo-wrap .wpf-action.wpf-topic-id,
body #wpforo #wpforo-wrap .wpf-action.wpforo-report {
	display: none;
}

/* New members: profile-photo notice on the edit-profile page. */
html.oyster-avatar-gate-open {
	overflow: hidden;
}

.oyster-avatar-gate[hidden] {
	display: none;
}

.oyster-avatar-gate:not([hidden]) {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 28, 58, 0.55);
}

.oyster-avatar-gate__window {
	width: min(440px, 100%);
	margin: 0;
	padding: 28px 28px 24px;
	border-radius: 12px;
	background: var(--oyster-surface, #fff);
	box-shadow: 0 18px 50px rgba(17, 28, 58, 0.28);
	text-align: center;
}

.oyster-avatar-gate__window h2 {
	margin: 0 0 12px;
	color: var(--oyster-text, #1b2838);
	font-size: 1.35rem;
	line-height: 1.3;
}

.oyster-avatar-gate__window p {
	margin: 0 0 20px;
	color: var(--oyster-heading, #243044);
	font-size: 1rem;
	line-height: 1.5;
}

.oyster-avatar-gate__close {
	appearance: none;
	border: 0;
	border-radius: 8px;
	padding: 10px 22px;
	background: #3955a7;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.oyster-avatar-gate__close:hover,
.oyster-avatar-gate__close:focus-visible {
	background: #2d468f;
}

body #wpforo #wpforo-wrap .wpf-tr.oyster-avatar-needed {
	outline: 2px solid #3955a7;
	outline-offset: 6px;
	border-radius: 8px;
}

/* Edit profile: no radio list, no disc next to “upload an avatar”. */
body #wpforo #wpforo-wrap.wpft-account li:has(#wpfat_gravatar),
body #wpforo #wpforo-wrap.wpft-account li:has(#wpfat_remote) {
	display: none;
}

body #wpforo #wpforo-wrap.wpft-account .wpf-field-name-avatar .wpf-field-wrap ul,
body #wpforo #wpforo-wrap.wpft-account .wpf-field-name-avatar .wpf-field-wrap ul li {
	list-style: none !important;
	list-style-type: none !important;
	margin-left: 0;
	padding-left: 0;
}

body #wpforo #wpforo-wrap.wpft-account .wpf-field-name-avatar .wpf-field-wrap ul li::marker {
	content: none;
	display: none;
}

body #wpforo #wpforo-wrap.wpft-account .wpf-field-name-avatar .wpf-field-wrap ul li label[for="wpfat_custom"] {
	display: none;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__types {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__preview,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__placeholder {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--oyster-border, #eaeded);
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__placeholder {
	display: block;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit.has-photo .oyster-avatar-edit__placeholder,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__preview[hidden],
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__delete[hidden],
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__removed[hidden] {
	display: none !important;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit:not(.has-photo) .oyster-avatar-edit__preview {
	display: none;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__removed {
	margin: 0;
	flex: 1 1 180px;
	color: var(--oyster-heading, #243044);
	font-size: 14px;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__replace {
	position: relative;
	overflow: hidden;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__replace,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__delete {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--oyster-line, #c5c9d1);
	border-radius: 8px;
	background: var(--oyster-surface, #fff);
	color: var(--oyster-text, #1b2838);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__replace:hover,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__delete:hover,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__replace:focus-visible,
body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__delete:focus-visible {
	border-color: #3955a7;
	color: #3955a7;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit__replace input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 16px;
}

body #wpforo #wpforo-wrap.wpft-account .oyster-avatar-edit.is-removing .oyster-avatar-edit__preview {
	opacity: 0.35;
}

/* Profile home: unused stat boxes. */
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(3),
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(4),
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(5),
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(8),
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(10),
body #wpforo #wpforo-wrap .wpforo-profile-home .wpf-statbox:nth-child(11) {
	display: none;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions > .wpf-tools {
	align-self: stretch;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	padding-left: 0;
	border-left: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options {
	height: auto;
	max-height: none;
	overflow: visible;
	padding-right: 0;
	padding-left: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options li:has(.wpf-sbs-cat) {
	display: none;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options ul li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 18px;
	padding: 0;
	border-bottom: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-forum {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	width: auto;
	margin-left: auto;
	padding: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox input[type="checkbox"] {
	margin-left: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox label {
	padding: 0 0 0 6px;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox label.wpf-sbsp {
	margin-right: 18px;
}

@media screen and (max-width: 620px) {
	body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options ul li {
		display: block;
	}

	body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-forum {
		width: 100%;
		margin: 0 0 6px;
	}

	body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		width: 100%;
		margin-left: 0;
		padding-left: 36px;
		row-gap: 8px;
	}

	body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk-options .wpf-sbs-checkbox label.wpf-sbsp {
		margin-right: 0;
	}
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .oyster-sbs-forum-icon {
	display: inline-flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions > .wpforo-sbs {
	display: none;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-bulk > div {
	border-bottom: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpforo-sbs,
body #wpforo #wpforo-wrap .wpforo-subscriptions .sbn-foot,
body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-p-error {
	order: 1;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .wpf-sbs-head {
	padding-right: 0;
	padding-left: 0;
}

body #wpforo #wpforo-wrap .wpforo-subscriptions .oyster-sbs-desc {
	margin: 8px 0 0;
	color: var(--oyster-text-muted, #666);
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

body #wpforo #wpforo-wrap .oyster-summary-prefs {
	order: 2;
	margin-top: 28px;
}

body #wpforo #wpforo-wrap .oyster-summary-prefs form,
body #wpforo #wpforo-wrap .oyster-message-email form,
body #wpforo #wpforo-wrap .oyster-photo-comment-email form {
	padding-top: 20px;
}

body #wpforo #wpforo-wrap .oyster-summary-prefs .oyster-summary-choice,
body #wpforo #wpforo-wrap .oyster-message-email .oyster-summary-choice,
body #wpforo #wpforo-wrap .oyster-photo-comment-email .oyster-summary-choice {
	margin: 0 0 10px;
}

body #wpforo #wpforo-wrap .oyster-summary-prefs .oyster-summary-choice label,
body #wpforo #wpforo-wrap .oyster-message-email .oyster-summary-choice label,
body #wpforo #wpforo-wrap .oyster-photo-comment-email .oyster-summary-choice label {
	margin-left: 6px;
}

body #wpforo #wpforo-wrap .oyster-message-email {
	order: 3;
	margin-top: 28px;
}

body #wpforo #wpforo-wrap .oyster-photo-comment-email {
	order: 3;
	margin-top: 28px;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools .wpf-ab-mute_mention {
	display: none;
}

body #wpforo #wpforo-wrap .oyster-mention-mute {
	order: 4;
	margin-top: 28px;
}

body #wpforo #wpforo-wrap .oyster-mention-mute .oyster-mention-mute-note {
	margin: 20px 0 0;
}

body #wpforo #wpforo-wrap .oyster-mention-mute .wpforo-user-actions {
	display: block;
	margin: 16px 0 0;
	padding: 0;
	border: 0;
}

body #wpforo #wpforo-wrap .oyster-mention-mute .wpf-ab-mute_mention {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

body #wpforo #wpforo-wrap .oyster-forum-sort {
	display: flex;
	justify-content: flex-end;
	margin: 4px 0 14px;
}

body #wpforo #wpforo-wrap .oyster-forum-sort label {
	margin: 0;
}

body #wpforo #wpforo-wrap .oyster-forum-sort-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body #wpforo #wpforo-wrap .oyster-forum-sort select {
	max-width: 100%;
	margin: 0;
	padding: 4px 8px;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

@media (max-width: 620px) {
	body #wpforo #wpforo-wrap .oyster-forum-sort {
		justify-content: stretch;
	}

	body #wpforo #wpforo-wrap .oyster-forum-sort label,
	body #wpforo #wpforo-wrap .oyster-forum-sort select {
		width: 100%;
	}
}

body #wpforo #wpforo-wrap .oyster-solved-label {
	margin-right: 0.35em;
	font-weight: 700;
	white-space: nowrap;
}

body #wpforo #wpforo-wrap .oyster-display-options {
	border-left: 0;
	background: transparent;
}

body #wpforo #wpforo-wrap .oyster-display-options .wpf-sbs-head {
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-note,
body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-lead {
	margin: 0 0 12px;
}

body #wpforo #wpforo-wrap .oyster-display-options .wpf-sbs-tool-foot {
	padding-top: 10px;
	text-align: right;
}

body #wpforo #wpforo-wrap .oyster-display-options form {
	padding-top: 8px;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-group {
	min-width: 0;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-group legend {
	display: block;
	float: left;
	width: 100%;
	padding: 0;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-group legend + * {
	clear: left;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-choice {
	margin: 0 0 10px;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-choice label {
	margin-left: 6px;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-select-label {
	display: block;
	margin: 0 0 6px;
}

body #wpforo #wpforo-wrap .oyster-display-options .oyster-display-select {
	display: block;
	width: 100%;
	max-width: 28rem;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--oyster-border, #d4d4d4);
	border-radius: 6px;
	background: var(--oyster-surface, #fff);
	color: var(--oyster-text, inherit);
	font-size: 16px;
	line-height: 1.4;
}

/* Contact Form 7 loads reCAPTCHA v3's badge on the corner of the screen. */
.grecaptcha-badge {
	visibility: hidden !important;
}

.wpcf7 .oyster-recaptcha-note {
	margin: 12px 0 0;
	font-size: 0.75rem;
	line-height: 1.4;
}

/* Profile details under the cover. On a stacked layout the plugin
   keeps a 20px left inset that the cover, followers row, and tabs
   do not have. Wide screens still clear the avatar. */
@media screen and (max-width: 800px) {
	body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-bottom {
		padding-left: 0;
	}

	/* Name bar: keep @handle on the next line, drop the pipe and its indent. */
	body #wpforo #wpforo-wrap .wpforo-profile .wpf-profile-details .wpfp-name {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	body #wpforo #wpforo-wrap .wpforo-profile .wpf-profile-details .wpfp-name .wpf-author-nicename {
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
		line-height: 1.3;
	}

	/* Follow / message, then followers, then Edit Profile: same gap between each. */
	body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions {
		row-gap: 12px;
		column-gap: 12px;
		align-items: flex-start;
	}

	body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions .wpforo-follow-tabs {
		flex: 1 1 100%;
	}

	body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions .wpf-grow {
		display: none;
	}

	body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions .wpforo-user-tools {
		flex: 1 1 100%;
	}
}

/* Profile tools. Both delete controls stay in the page and are only hidden.
   Edit matches the forum's filled button, with a pen before the label. */
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools a:has(> .wpf-ab-delete),
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools a:has(> .wpf-ab-delete_dash) {
	display: none;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools a:has(> .wpf-ab-edit) {
	display: inline-flex;
	text-decoration: none;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools .wpf-ab-edit {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	height: 32px;
	margin: 0;
	padding: 0 18px 2px;
	border: 1px solid #0099cc;
	border-radius: 4px;
	background: #43a6df;
	color: #fff;
	font-size: 13px;
	font-weight: normal;
	line-height: 30px;
	opacity: 1;
	white-space: nowrap;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools .wpf-ab-edit:hover {
	border-color: #0099cc;
	background: #0099cc;
	color: #fff;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools .wpf-ab-edit .fa-pen {
	font-size: 12px;
	line-height: 1;
}

/* Profile tabs. Share the row evenly and stop at the container edge.
   The plugin's 15% minimum makes seven tabs wider than the row. */
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-menu {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-menu .wpf-profile-menu {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-width: 0;
	box-sizing: border-box;
	padding-right: 8px;
	padding-left: 8px;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-menu .wpf-profile-menu svg,
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-menu .wpf-profile-menu i {
	flex: 0 0 auto;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-menu .wpf-profile-menu-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Followers/following row. wpForo draws a top and bottom edge; the
   cover, tabs, and page already separate this band. */
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions {
	border: none;
}

/* Private Message sits beside Follow and uses the same button. */
body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions:has(.oyster-profile-pm) .wpforo-follow-wrap {
	display: contents;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions:has(.oyster-profile-pm) .wpforo-follow-user {
	order: 1;
}

body #wpforo #wpforo-wrap .wpforo-profile .oyster-profile-pm {
	display: inline-flex;
	align-items: center;
	order: 2;
	margin-right: 15px;
	padding: 4px 15px;
	border-radius: 4px;
	background: var(--oyster-tint-blue, #dff4ff);
	color: var(--oyster-text-muted, #666);
	font-size: 14px;
	font-weight: normal;
	line-height: 22px;
	text-decoration: none;
	white-space: nowrap;
}

body #wpforo #wpforo-wrap .wpforo-profile .oyster-profile-pm:hover {
	background: var(--oyster-surface-2, #f5f5f5);
	color: var(--oyster-text-muted, #666);
}

body #wpforo #wpforo-wrap .wpforo-profile .oyster-profile-pm svg {
	width: 18px;
	height: 18px;
	margin-right: 3px;
	fill: var(--oyster-text-muted, #666);
	flex: 0 0 auto;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions:has(.oyster-profile-pm) .wpforo-follow-tabs {
	order: 3;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions:has(.oyster-profile-pm) .wpf-grow {
	order: 4;
}

body #wpforo #wpforo-wrap .wpforo-profile .wpforo-user-actions:has(.oyster-profile-pm) .wpforo-user-tools {
	order: 5;
}

/* Message notices. The plugin pins these to a corner, and on a phone
   it switches the slot to the bottom edge. Keep the stack in the
   middle of the screen whichever slot the plugin picks. */
body .wplus-toast-container.wplus-toast-container--bottom-right,
body .wplus-toast-container.wplus-toast-container--bottom-left,
body .wplus-toast-container.wplus-toast-container--bottom-center,
body .wplus-toast-container.wplus-toast-container--top-center,
body .bm-toast-container.bm-toast-container--bottom-right,
body .bm-toast-container.bm-toast-container--bottom-left,
body .bm-toast-container.bm-toast-container--bottom-center,
body .bm-toast-container.bm-toast-container--top-center {
	top: calc(50% + var(--wp-admin--admin-bar--height, 0px) / 2) !important;
	right: auto !important;
	bottom: auto !important;
	left: 50% !important;
	width: min(420px, calc(100vw - 32px));
	max-width: calc(100vw - 32px);
	max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 32px);
	height: auto !important;
	gap: 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translate(-50%, -50%) !important;
}

@media only screen and (max-width: 782px) {
	body .wplus-toast-container.wplus-toast-container--bottom-right,
	body .wplus-toast-container.wplus-toast-container--bottom-left,
	body .wplus-toast-container.wplus-toast-container--bottom-center,
	body .wplus-toast-container.wplus-toast-container--top-center,
	body .bm-toast-container.bm-toast-container--bottom-right,
	body .bm-toast-container.bm-toast-container--bottom-left,
	body .bm-toast-container.bm-toast-container--bottom-center,
	body .bm-toast-container.bm-toast-container--top-center {
		top: 50dvh !important;
		right: auto !important;
		bottom: auto !important;
		left: 50% !important;
		width: 90% !important;
		max-width: 90% !important;
		height: auto !important;
		max-height: 80dvh !important;
		margin: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		justify-content: center !important;
		transform: translate(-50%, -50%) !important;
	}
}

/* Dashboard type and colour.
   One family (Manrope, already on the site), one scale, one short palette.
   Tokens are inherited by every rule below. Outfit headings, the forum
   username face, and the tag widget's system font are pulled back here. */
body.home-page {
	--oyster-ink: #1c2430;
	--oyster-muted: #5c6b7a;
	--oyster-blue: #0b4f8a;
	--oyster-line: #e6e8ee;
	--oyster-surface: #fff;
	--oyster-success: #067d62;
}

body.home-page .wp-block-heading.has-outfit-font-family {
	color: var(--oyster-ink) !important;
	font-family: Manrope, sans-serif !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	letter-spacing: normal;
	line-height: 1.25;
}

body.home-page .four-wpforo-recent,
body.home-page .oyster-yw-news,
body.home-page .oyster-dash-prof,
body.home-page .dash-onlinetags,
body.home-page .dash-coffee,
body.home-page .dash-repo {
	font-family: Manrope, sans-serif;
	font-weight: 400;
}

body.home-page .dash-coffee p,
body.home-page .dash-repo p {
	color: var(--oyster-ink);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

body.home-page .wpf-author-nicename,
body.home-page #wpf-widget-profile .wpf-prof-header .wpf-author-nicename {
	font-family: Manrope, sans-serif !important;
}

body.home-page .dash-onlinetags .wpforo-widget-wrap .wpf-widget-tags li,
body.home-page .dash-onlinetags .wpforo-widget-wrap .wpf-widget-tags li a,
body.home-page .dash-onlinetags .wpforo-widget-wrap .wpf-widget-tags li span {
	color: var(--oyster-ink) !important;
	font-family: Manrope, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}

body.home-page .oyster-profile-menu__clear,
body.home-page #wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear,
body.home-page .oyster-profile-menu__items a.oyster-profile-menu__pending-flag,
body.home-page #wpf-widget-profile .oyster-profile-menu__items a.oyster-profile-menu__pending-flag,
body.home-page .oyster-fr-modal__close {
	font-family: Manrope, sans-serif;
}

body.home-page .oyster-profile-menu__clear,
body.home-page #wpf-widget-profile .oyster-profile-menu .oyster-profile-menu__clear {
	background-color: var(--oyster-success);
}

body.home-page .oyster-fr-modal__title {
	color: var(--oyster-ink);
	font-family: Manrope, sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: normal;
}

body.home-page .oyster-fr-modal__close {
	color: var(--oyster-muted);
}

/* Dashboard recent posts. Four posts sit side by side as cards. */
.four-wpforo-recent .wpforo-widget-content {
	padding: 0 !important;
}

.four-wpforo-recent .wpforo-widget-content > ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.four-wpforo-recent .wpforo-widget-content > ul > li {
	position: relative;
	box-sizing: border-box;
	min-height: 148px;
	margin: 0;
	padding: 16px 16px 58px !important;
	list-style: none;
	background: var(--oyster-surface);
	border: 1px solid var(--oyster-line) !important;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(22, 32, 51, 0.06);
}

.four-wpforo-recent .wpforo-list-item {
	position: static;
}

.four-wpforo-recent .oyster-recent-forum {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	min-height: 42px;
	padding-right: 52px;
	color: var(--oyster-text, #3a4252);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
}

.four-wpforo-recent .oyster-recent-forum i {
	flex: 0 0 auto;
	width: 1em;
	margin-top: 1px;
	font-size: 10px;
	line-height: 1;
}

.four-wpforo-recent .oyster-recent-forum a {
	display: -webkit-box;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	white-space: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.four-wpforo-recent .wpforo-widget-content .wpforo-list-item-left {
	position: absolute;
	top: 16px;
	right: 16px;
	float: none !important;
	width: auto !important;
}

.four-wpforo-recent .wpforo-widget-content .wpforo-list-item-left img {
	width: 42px !important;
	height: 42px !important;
	border-radius: 50%;
}

.four-wpforo-recent .wpforo-widget-content .wpforo-list-item-right {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin-top: 8px;
}

.four-wpforo-recent .posttitle {
	margin: 0 !important;
	min-width: 0;
}

.four-wpforo-recent .posttitle a {
	display: block;
	overflow: hidden;
	color: var(--oyster-link, #3f7796);
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.16s ease;
}

.four-wpforo-recent .posttitle .oyster-solved-label {
	margin-right: 0.35em;
	font-weight: 700;
}

.four-wpforo-recent .posttitle a:hover,
.four-wpforo-recent .posttitle a:active,
.four-wpforo-recent .posttitle a:focus-visible,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttitle a:hover,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttitle a:active,
.oyster-yw-news.wpforo-widget-wrap .wpforo-widget-content .posttitle a:focus-visible {
	color: #659fbe;
	text-decoration: none;
}

.four-wpforo-recent .wpforo-widget-content .posttext {
	display: -webkit-box !important;
	margin: 6px 0 0 !important;
	overflow: hidden;
	color: var(--oyster-muted);
	font-size: 14px !important;
	font-weight: 400;
	line-height: 1.35 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.four-wpforo-recent .wpf-clear {
	display: none !important;
}

.four-wpforo-recent .postuser {
	position: absolute;
	right: 72px;
	bottom: 14px;
	left: 16px;
	margin: 0 !important;
	overflow: hidden;
	color: var(--oyster-muted);
	font-size: 13px !important;
	font-weight: 400;
	line-height: 1.3 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.four-wpforo-recent .postuser a {
	color: var(--oyster-muted);
	font-weight: 400;
	text-decoration: none;
}

.four-wpforo-recent .wpf-new-button {
	position: absolute;
	right: 16px;
	bottom: 14px;
	margin: 0 !important;
	padding: 1px 6px !important;
	border-radius: 3px;
	background: #ff812d;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 600;
	line-height: 16px !important;
	text-transform: lowercase;
}

@media only screen and (max-width: 900px) {
	.four-wpforo-recent .wpforo-widget-content > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 560px) {
	.four-wpforo-recent .wpforo-widget-content > ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Help support and file upload sit in the same card frame as the profile card. The title stays inside the border. */
.wp-block-columns.is-layout-flex > .wp-block-column.dash-coffee,
.wp-block-columns.is-layout-flex > .wp-block-column.dash-repo,
.wp-block-columns.is-layout-flex > .wp-block-column.dash-onlinetags {
	box-sizing: border-box;
	align-self: stretch;
	margin: 10px 0;
	padding: 16px 16px 14px;
	background: var(--oyster-surface);
	border: 1px solid var(--oyster-line);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(22, 32, 51, 0.06);
}

/* Online members and topic tags share one card. The block headings stay; the widget titles do not. */
.wp-block-columns.is-layout-flex > .wp-block-column.dash-onlinetags {
	align-self: flex-start;
	width: 100%;
	min-width: 0;
}

.dash-onlinetags > h2 {
	margin: 0 0 12px;
}

.dash-onlinetags > .wpforo-widget-wrap + h2 {
	margin-top: 20px;
}

.dash-onlinetags .widget-title {
	display: none;
}

.dash-onlinetags .wpforo-widget-wrap .wpforo-widget-content {
	padding: 0 !important;
}

.dash-onlinetags .wpforo-widget-content > ul > li {
	border: none !important;
}

.dash-onlinetags #wpf-widget-online-users .wpforo-widget-content a.onlineavatar {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	width: 84px;
	max-width: none;
	margin: 0 8px 14px 0;
	padding: 0;
	vertical-align: top;
	text-align: center;
	text-decoration: none;
}

.dash-onlinetags #wpf-widget-online-users .wpforo-widget-content a.onlineavatar::after {
	content: attr(title);
	display: block;
	margin-top: 6px;
	color: var(--oyster-ink);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.dash-onlinetags #wpf-widget-online-users .wpforo-widget-content a.onlineavatar img {
	display: block;
	width: 64px !important;
	height: 64px !important;
	max-width: 64px !important;
	object-fit: cover;
	border-radius: 50%;
}

.dash-onlinetags .wpf-widget-tags {
	display: flex !important;
	flex-wrap: wrap !important;
	max-width: 100%;
}

.dash-onlinetags .wpf-widget-tags li {
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
	overflow: visible;
	white-space: nowrap;
}

.dash-onlinetags .wpf-widget-tags li a,
.dash-onlinetags .wpf-widget-tags li span {
	white-space: nowrap !important;
	overflow-wrap: normal;
}

@media (max-width: 781px) {
	.wp-block-columns.is-layout-flex > .wp-block-column.dash-onlinetags {
		flex-basis: 100% !important;
		max-width: 100%;
	}

	.dash-onlinetags .wpforo-widget-wrap,
	.dash-onlinetags .wpforo-widget-content,
	.dash-onlinetags .wpf-widget-tags {
		max-width: 100%;
		overflow: visible;
	}
}

/* Dashboard profile card. The column heading is left alone. */
.dash-prof > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.oyster-dash-prof) {
	display: none !important;
}

.oyster-dash-prof {
	box-sizing: border-box;
	margin-top: 14px;
	padding: 16px 16px 14px;
	background: var(--oyster-surface);
	border: 1px solid var(--oyster-line);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(22, 32, 51, 0.06);
	color: var(--oyster-ink);
}

.oyster-dash-prof__who {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.oyster-dash-prof__avatar {
	position: relative;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	overflow: visible;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(22, 32, 51, 0.12);
}

.oyster-dash-prof__avatar img {
	display: block;
	width: 64px !important;
	height: 64px !important;
	max-width: none;
	object-fit: cover;
	border-radius: 16px;
}

.oyster-dash-prof__id {
	min-width: 0;
}

.oyster-dash-prof__name {
	display: block;
	margin: 0;
	overflow: hidden;
	color: var(--oyster-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.oyster-dash-prof__name:hover {
	text-decoration: underline;
}

.oyster-dash-prof__boat {
	margin: 4px 0 0;
	color: var(--oyster-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.oyster-dash-prof__stats,
.oyster-dash-prof__inbox {
	display: grid;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--oyster-border, #eef0f4);
}

.oyster-dash-prof__stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.oyster-dash-prof__inbox {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.oyster-dash-prof__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 0;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.oyster-dash-prof__stat strong {
	color: var(--oyster-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.oyster-dash-prof__stat span {
	color: var(--oyster-muted);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.oyster-dash-prof__stat:hover strong {
	text-decoration: underline;
}

.oyster-dash-prof__stat.is-waiting strong {
	color: #ff812d;
}

.oyster-dash-prof__edit {
	display: block;
	margin-top: 14px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--oyster-surface-2, #f3f5f8);
	color: var(--oyster-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.oyster-dash-prof__edit:hover {
	background: var(--oyster-surface-3, #e7ebf1);
}

/* Reaction thumbs are already in the page. Show them at once. */
#wpforo #wpforo-wrap .wpf-popover .wpf-popover-content {
	-webkit-transition: none;
	transition: none;
}

#wpforo #wpforo-wrap .wpf-popover.oyster-reaction-chosen .wpf-popover-content {
	visibility: hidden;
	opacity: 0;
	bottom: 0;
}

/* Paste-as-text notice. Keep it inside the screen and let the sentence wrap. */
body.wpforo .mce-notification {
	box-sizing: border-box !important;
	max-width: min(22rem, calc(100vw - 32px)) !important;
	height: auto !important;
}

body.wpforo .mce-notification .mce-notification-inner {
	display: block;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 4px 22px 4px 8px;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: manual;
	text-align: left;
	line-height: 1.45;
}

body.wpforo .mce-notification .mce-close {
	position: absolute;
	top: 6px;
	right: 8px;
}

/* What's New title bar: drop the grey curve, keep the existing spacing. */
body #wpforo #wpforo-wrap .wpforo-recent-activity-wrap .wpf-head-bar {
	background: transparent;
	border: 0;
	border-radius: 0;
}

/* What's New: file and photo uploads. Same circle as the other events, nearby colours. */
#wpforo #wpforo-wrap .wpf-timeline-oyster_file .wpf-timeline-icon {
	border-color: #1d6f8a;
	color: var(--oyster-link, #1d6f8a);
}

#wpforo #wpforo-wrap .wpf-timeline-oyster_photo .wpf-timeline-icon {
	border-color: #c4512c;
	color: #c4512c;
}

#wpforo #wpforo-wrap.wpf-dark .wpf-timeline-oyster_file .wpf-timeline-icon {
	border-color: #7ec8d6;
	color: #7ec8d6;
	box-shadow: 0 0 0 4px #1e2327, 0 4px 15px rgba(126, 200, 214, 0.3);
}

#wpforo #wpforo-wrap.wpf-dark .wpf-timeline-oyster_photo .wpf-timeline-icon {
	border-color: #f0a07a;
	color: #f0a07a;
	box-shadow: 0 0 0 4px #1e2327, 0 4px 15px rgba(240, 160, 122, 0.3);
}

/* Gallery shelf. Album covers and the photo grid on /photos/.
   The plugin's upload form for this page lives in the sheet. */
body.oyster-gallery .wppa-container:has(.wppa-box.wppa-upload),
body.oyster-gallery .oyster-gallery-upload-source {
	display: none !important;
}

body.oyster-gallery .wppa-container:not(:has(.wppa-box.wppa-upload)) {
	position: relative;
}


body.oyster-gallery .albumlist {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	max-height: none !important;
	overflow: visible !important;
}

body.oyster-gallery .albumlist > .wppa-nicewrap {
	display: contents;
}

body.oyster-gallery .albumlist div[style*="clear:both"],
body.oyster-gallery .albumlist .wppa-clear {
	display: none !important;
}

@media (min-width: 700px) {
	body.oyster-gallery .albumlist {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.oyster-gallery .wppa-cover-box {
	position: relative;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	background: #1c2430;
	cursor: pointer;
}

@media (min-width: 1101px) {
	body.oyster-gallery .wppa-cover-box {
		aspect-ratio: 16 / 10;
	}
}

body.oyster-gallery .wppa-cover-box .coverphoto-frame,
body.oyster-gallery .wppa-cover-box .coverphoto-frame > div,
body.oyster-gallery .wppa-cover-box .coverphoto-frame a {
	position: absolute;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	pointer-events: none;
}

body.oyster-gallery .wppa-cover-box .coverphoto-frame img,
body.oyster-gallery .wppa-cover-box .coverphoto-frame video {
	position: absolute;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 1 !important;
	object-fit: cover;
	object-position: center;
}

body.oyster-gallery .wppa-cover-box .wppa-text-frame {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 2rem 0.75rem 0.6rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
	pointer-events: none;
}

body.oyster-gallery .wppa-cover-box h2.wppa-title,
body.oyster-gallery .wppa-cover-box h2.wppa-title a {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 600;
	line-height: 1.25 !important;
	text-decoration: none;
}

body.oyster-gallery .wppa-cover-pcount {
	display: block;
	margin-top: 0.15rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.75rem;
	line-height: 1.3;
}

body.oyster-gallery .wppa-cover-box .wppa-box-text-desc,
body.oyster-gallery .wppa-cover-box .wppa-slideshow-browse-link,
body.oyster-gallery .wppa-cover-box .wppa-viewlink,
body.oyster-gallery .wppa-cover-box .wppa-album-cover-link,
body.oyster-gallery .wppa-cover-box .wppa-album-cover-cats,
body.oyster-gallery .wppa-cover-box .wppa-albumnew,
body.oyster-gallery .wppa-cover-box [id^="wppa-file-"],
body.oyster-gallery .wppa-cover-box [id^="wppa-create-"],
body.oyster-gallery .wppa-cover-box [id^="wppa-fe-div-"] {
	display: none !important;
}

body.oyster-gallery .wppa-bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 12px;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.oyster-gallery .wppa-bc .wppa-nav-text {
	float: none !important;
	color: var(--oyster-text-muted, #5c6b7a);
	font-size: 0.9rem;
	line-height: 1.3;
}

body.oyster-gallery .wppa-bc a.wppa-nav-text {
	color: var(--oyster-heading, #0b4f8a);
	text-decoration: none;
}

body.oyster-gallery .wppa-bc span[title="Thumbnail view"] {
	margin-left: auto;
}

body.oyster-gallery .wppa-thumb-area {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	width: 100% !important;
	max-height: none !important;
	overflow: visible !important;
	padding: 0 !important;
}

body.oyster-gallery .wppa-thumb-area > .wppa-nicewrap {
	display: contents;
}

@media (min-width: 700px) {
	body.oyster-gallery .wppa-thumb-area {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1101px) {
	body.oyster-gallery .wppa-thumb-area {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

body.oyster-gallery .wppa-thumb-area .thumbnail-frame,
body.oyster-gallery .wppa-thumb-area [id^="thumbnail_frame_"] {
	position: relative !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	aspect-ratio: 1;
	overflow: hidden;
	font-size: 0 !important;
	line-height: 0 !important;
}

body.oyster-gallery .wppa-thumb-area .wppa-tn-img-container {
	position: absolute;
	inset: 0;
	width: auto !important;
	height: auto !important;
	overflow: hidden;
}

body.oyster-gallery .wppa-thumb-area .wppa-tn-img-container a,
body.oyster-gallery .wppa-thumb-area .wppa-tn-img-container img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	object-fit: cover;
}

body.oyster-gallery .wppa-thumb-area .wppa-thumb-text,
body.oyster-gallery .wppa-thumb-area .thumbtext-frame,
body.oyster-gallery .wppa-thumb-area .wppa-clear,
body.oyster-gallery .wppa-thumb-area > div[style*="clear:both"],
body.oyster-gallery .wppa-thumb-area .wppa-album-cover-link,
body.oyster-gallery .wppa-thumb-area [id^="wppa-file-"],
body.oyster-gallery .wppa-thumb-area [id^="wppa-create-"] {
	display: none !important;
}

body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-box,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-nav,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-name-desc,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-filmstrip-box,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-rating-numeric-box,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .wppa-comments,
body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) .slide-frame {
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

body.oyster-gallery .wppa-container:has([id^="slide_frame-"]) svg {
	background-color: transparent !important;
}

body.oyster-gallery .wppa-filmstrip .thumbnail-frame {
	display: flex !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

body.oyster-gallery .wppa-filmstrip .thumbnail-frame img {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.oyster-gallery .wppa-fulltitle,
body.oyster-gallery .imagetitle {
	display: none !important;
}

body.oyster-gallery .wppa-name-desc,
body.oyster-gallery .wppa-fulldesc,
body.oyster-gallery .imagedesc {
	font-family: Manrope, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--oyster-text, #1c2430);
}

body.oyster-gallery .oyster-gallery-credit {
	display: block;
	margin-top: 0.35em;
	font-family: Manrope, sans-serif;
	font-size: 15px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.4;
	color: var(--oyster-text-muted, #5c6b7a);
}

body.oyster-gallery .oyster-gallery-credit em {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: italic;
}

body.oyster-gallery .oyster-gallery-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.oyster-gallery [id^="counter-"],
body.oyster-gallery .wppa-comments,
body.oyster-gallery .wppa-comments .wppa-box-text,
body.oyster-gallery .wppa-comments td,
body.oyster-gallery .wppa-comments textarea,
body.oyster-gallery .wppa-comments label {
	font-family: Manrope, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--oyster-text, #1c2430);
}

body.oyster-gallery .wppa-comments .wppa-comment-form table,
body.oyster-gallery .wppa-comments .wppa-comment-form tbody,
body.oyster-gallery .wppa-comments .wppa-comment-form tr {
	display: block;
	width: 100%;
}

body.oyster-gallery .wppa-comments .wppa-comment-form td {
	display: block;
	width: 100% !important;
	padding: 0;
	background: transparent !important;
}

body.oyster-gallery .wppa-comments textarea {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	margin: 6px 0 0;
}

body.oyster-gallery .oyster-gallery-comment-send-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

body.oyster-gallery .oyster-gallery-comment-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	margin: 0;
	padding: 0 18px 2px !important;
	border: 1px solid #0099cc;
	border-radius: 4px;
	background: #43a6df;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 30px;
	white-space: nowrap;
	cursor: pointer;
}

body.oyster-gallery .oyster-gallery-comment-send:hover,
body.oyster-gallery .oyster-gallery-comment-send:focus-visible {
	border-color: #0099cc;
	background: #0099cc;
	color: #fff;
}

body.oyster-gallery .oyster-gallery-slide-close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--oyster-text, #1c2430);
	cursor: pointer;
}

body.oyster-scheme-dark.oyster-gallery .oyster-gallery-slide-close {
	color: #f3f5f8;
}

body.oyster-gallery .oyster-gallery-slide-close svg {
	display: block;
	width: 28px;
	height: 28px;
}

body.oyster-gallery .oyster-gallery-slide-close:hover,
body.oyster-gallery .oyster-gallery-slide-close:focus-visible {
	background: rgba(0, 0, 0, 0.12);
}

body.oyster-scheme-dark.oyster-gallery .oyster-gallery-slide-close:hover,
body.oyster-scheme-dark.oyster-gallery .oyster-gallery-slide-close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}

body.oyster-gallery .oyster-gallery-play {
	margin-left: auto;
	padding: 6px 12px;
	border: 0;
	border-radius: 4px;
	background: #1b2838;
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

body.oyster-gallery .oyster-gallery-add-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 4px 0 16px;
}

body.oyster-gallery button.oyster-gallery-add {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 6px 18px 7px;
	border: 1px solid #0099cc;
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	color: #43a6df;
	box-shadow: 0 0 3px var(--oyster-surface, #fff);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 16px;
	white-space: nowrap;
	cursor: pointer;
}

body.oyster-gallery button.oyster-gallery-add svg {
	display: block;
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
}

body.oyster-gallery button.oyster-gallery-add:hover,
body.oyster-gallery button.oyster-gallery-add:focus-visible {
	background: var(--oyster-surface-2, #f4fbfe);
	color: var(--oyster-link, #2b8fc4);
}

body.oyster-gallery a.oyster-gallery-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 14px 4px;
	border: 1px solid #c5cdd4;
	border-radius: 4px;
	background: #eceff1;
	color: #5c6b7a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 15px;
	text-decoration: none;
	white-space: nowrap;
}

body.oyster-gallery a.oyster-gallery-back:hover,
body.oyster-gallery a.oyster-gallery-back:focus-visible {
	background: #e0e4e8;
	color: #3d4a56;
}

body.oyster-scheme-dark.oyster-gallery a.oyster-gallery-back {
	border-color: #5a6570;
	background: #3a424a;
	color: #c5ced6;
}

body.oyster-scheme-dark.oyster-gallery a.oyster-gallery-back:hover,
body.oyster-scheme-dark.oyster-gallery a.oyster-gallery-back:focus-visible {
	background: #454e57;
	color: #e6ebef;
}

.oyster-gallery-sheet {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.oyster-gallery-sheet[hidden] {
	display: none !important;
}

.oyster-gallery-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 17, 0.45);
}

.oyster-gallery-sheet__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: 100%;
	overflow: auto;
	background: var(--oyster-surface, #fff);
	padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 901px) {
	.oyster-gallery-sheet {
		align-items: center;
		padding: 24px;
	}

	.oyster-gallery-sheet__panel {
		width: min(440px, 100%);
		max-height: min(80dvh, 720px);
		border-radius: 16px;
		box-shadow: 0 8px 24px rgba(22, 32, 51, 0.16);
	}
}

.oyster-gallery-sheet__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.oyster-gallery-sheet__bar h2 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.oyster-gallery-sheet__close {
	margin: 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 4px;
	background: var(--oyster-surface-2, #f3f5f8);
	color: var(--oyster-text, #1c2430);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.oyster-gallery-sheet a.wppa-upload-uploadbox,
.oyster-gallery-sheet a[id^="_wppa-"] {
	display: none !important;
}

.oyster-gallery-sheet a.wppa-create-uploadbox {
	float: none !important;
	display: inline-block;
	margin: 0 0 12px;
	color: var(--oyster-heading, #0b4f8a);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.oyster-gallery-sheet [id^="wppa-file-"] {
	display: block !important;
	text-align: left !important;
}

.oyster-gallery-sheet .wppa-box.wppa-upload:has([id^="wppa-create-"][style*="display: block"]) [id^="wppa-file-"],
.oyster-gallery-sheet .wppa-box.wppa-upload:has([id^="wppa-create-"][style*="display:block"]) [id^="wppa-file-"] {
	display: none !important;
}

body.oyster-member-photos .wppa-bc,
body.oyster-member-photos .oyster-gallery-add-row,
body.oyster-member-photos .oyster-gallery-play,
body.oyster-member-photos .oyster-gallery-back,
body.oyster-member-photos .wppa-box.wppa-upload,
body.oyster-member-photos .oyster-gallery-upload-source {
	display: none !important;
}

body.oyster-member-photos .oyster-member-photos-empty {
	margin: 0;
	padding: 0.25rem 0 1rem;
	font-family: Manrope, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--oyster-text-muted, #5c6b7a);
}

body.oyster-member-photos #wpforo #wpforo-wrap .wpforo-profile-content.wpf-pt-photos {
	padding-top: 8px;
}

/* Oyster Groups directory: same type, fields, and buttons as the member inbox. */
.oyster-groups {
	color: var(--oyster-text, #243041);
	font-size: 15px;
	line-height: 1.45;
}

.oyster-groups a {
	color: var(--oyster-heading, #0b4f8a);
}

.oyster-groups__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.8rem;
	border-radius: 4px;
	background: var(--oyster-surface-2, #eef6ee);
	color: var(--oyster-text-green, #1d4a28);
}

.oyster-groups__notice--error {
	background: var(--oyster-tint-red, #fdecec);
	color: var(--oyster-text-red, #8a1f1f);
}

.oyster-groups__empty {
	margin: 0.5rem 0 1rem;
}

.oyster-groups__table-wrap {
	overflow-x: auto;
}

.oyster-groups__table {
	width: 100%;
	border-collapse: collapse;
}

.oyster-groups__table th,
.oyster-groups__table td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--oyster-border, #e3e8ee);
	vertical-align: top;
	text-align: left;
}

.oyster-groups__table th {
	font-size: 13px;
	color: var(--oyster-text-muted, #5c6b7a);
}

.oyster-groups__identity {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.oyster-groups__avatar img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	object-fit: cover;
}

.oyster-groups__name {
	display: block;
	font-weight: 700;
}

.oyster-groups__meta,
.oyster-groups__excerpt,
.oyster-groups__admin {
	display: block;
	margin-top: 0.2rem;
	color: var(--oyster-text-muted, #5c6b7a);
}

.oyster-groups__admin,
.oyster-groups__admin a {
	font-style: italic;
}

.oyster-groups__actions {
	white-space: nowrap;
}

.oyster-groups__actions form {
	display: inline;
	margin: 0;
}

.oyster-groups__actions a,
.oyster-groups__actions form,
.oyster-groups__actions > .oyster-groups__button {
	margin-right: 0.55rem;
}

.oyster-groups__create {
	margin-top: 1.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--oyster-border, #d7dee6);
}

.oyster-groups__create-title {
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.oyster-groups label {
	display: block;
	margin: 0.8rem 0 0.3rem;
	font-weight: 700;
}

.oyster-groups input[type="text"],
.oyster-groups select,
.oyster-groups textarea {
	max-width: 100%;
	width: 100%;
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--oyster-border-strong, #c5d0db);
	border-radius: 4px;
	background: var(--oyster-surface, #fff);
	color: var(--oyster-text, #243041);
}

.oyster-groups textarea {
	min-height: 8rem;
}

.oyster-groups__button,
.oyster-groups__actions button,
.oyster-groups__create button,
.oyster-groups input[type="submit"] {
	display: inline-block;
	padding: 0.4rem 0.75rem;
	border: 0;
	border-radius: 4px;
	background: #0b4f8a;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.oyster-groups a.oyster-groups__button {
	color: #fff;
}

.oyster-groups__button--pending,
.oyster-groups__actions .oyster-groups__button--pending {
	background: #ff812d;
}

.oyster-groups__button--delete,
.oyster-groups__actions .oyster-groups__button--delete {
	background: #8a1f1f;
}

.oyster-groups-requests__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid rgba(26, 54, 84, 0.15);
}

.oyster-groups-requests__row:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.oyster-groups-requests__name {
	flex: 1 1 8rem;
	font-weight: 700;
}

.oyster-groups-requests__row .oyster-groups__avatar img {
	width: 40px;
	height: 40px;
}

@media (max-width: 620px) {
	.oyster-groups__table-wrap {
		overflow: visible;
	}

	.oyster-groups__table thead {
		display: none;
	}

	.oyster-groups__table,
	.oyster-groups__table tbody {
		display: block;
		width: 100%;
	}

	.oyster-groups__table tbody tr {
		display: block;
		width: auto;
		margin: 0 0 14px;
		padding: 14px 14px 12px;
		background: var(--oyster-surface, #fff);
		border: 0;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(27, 40, 56, 0.08), 0 6px 18px rgba(27, 40, 56, 0.08);
	}

	.oyster-groups__table th,
	.oyster-groups__table td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}

	.oyster-groups__members {
		margin-top: 0.35rem;
		color: var(--oyster-text-muted, #5c6b7a);
		font-size: 13px;
	}

	.oyster-groups__members::before {
		content: attr(data-label) ": ";
	}

	.oyster-groups__actions {
		margin-top: 0.55rem;
		white-space: normal;
	}
}

/* Online status: hide the old bordered circle. Offline shows nothing.
   Online is a slim green ONLINE pill at the bottom-centre of the avatar. */
#wpforo #wpforo-wrap .author-avatar,
#wpforo #wpforo-wrap .wpf-author-avatar,
#wpforo #wpforo-wrap .wpforo-post-avatar,
#wpforo #wpforo-wrap .wpf-profile-avatar,
#wpforo #wpforo-wrap .wpf-member-avatar {
	position: relative;
	overflow: visible !important;
}

#wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-panel .wpf-profile-avatar {
	width: auto !important;
}

#wpforo #wpforo-wrap i.fa-circle.wpfcl-0,
#wpforo #wpforo-wrap .wpf-profile-online:has(.wpfcl-0),
#wpforo #wpforo-wrap .wpf-member-online:has(.wpfcl-0),
#wpforo #wpforo-wrap .oyster-online-badge:has(.wpfcl-0),
#wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-panel .wpf-profile-avatar .wpf-profile-online:has(.wpfcl-0),
#wpforo #wpforo-wrap .wpforo-members .wpforo-member .wpf-member-online:has(.wpfcl-0),
#wpforo #wpforo-wrap .author-name > span:has(.fa-circle),
#wpforo #wpforo-wrap .wpf-author-name > span:has(.fa-circle),
#wpforo #wpforo-wrap .wpf-pa-online {
	display: none !important;
}

#wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-panel .wpf-profile-avatar .wpf-profile-online:has(.wpfcl-8),
#wpforo #wpforo-wrap .wpforo-members .wpforo-member .wpf-member-online:has(.wpfcl-8),
#wpforo #wpforo-wrap .author-avatar .oyster-online-badge,
#wpforo #wpforo-wrap .wpf-author-avatar .oyster-online-badge,
#wpforo #wpforo-wrap .wpforo-post-avatar .oyster-online-badge,
#wpforo #wpforo-wrap .oyster-online-badge,
.oyster-dash-prof__avatar .oyster-online-badge {
	position: absolute !important;
	left: 50% !important;
	right: auto !important;
	bottom: 3px !important;
	z-index: 2;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0;
	padding: 1px 5px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #1f9d4b;
	box-shadow: none;
	transform: translateX(-50%);
	line-height: 1 !important;
	pointer-events: none;
}

#wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-panel .wpf-profile-avatar .wpf-profile-online:has(.wpfcl-8),
#wpforo #wpforo-wrap .wpforo-members .wpforo-member .wpf-member-online:has(.wpfcl-8),
#wpforo #wpforo-wrap .oyster-online-badge,
.oyster-dash-prof__avatar .oyster-online-badge {
	font-size: 0 !important;
}

#wpforo #wpforo-wrap .wpf-profile-online i,
#wpforo #wpforo-wrap .wpf-member-online i,
#wpforo #wpforo-wrap .oyster-online-badge i,
.oyster-dash-prof__avatar .oyster-online-badge i {
	display: none !important;
}

#wpforo #wpforo-wrap .wpforo-profile .wpforo-profile-head-panel .wpf-profile-avatar .wpf-profile-online:has(.wpfcl-8)::after,
#wpforo #wpforo-wrap .wpforo-members .wpforo-member .wpf-member-online:has(.wpfcl-8)::after,
#wpforo #wpforo-wrap .oyster-online-badge::after,
.oyster-dash-prof__avatar .oyster-online-badge::after {
	content: "ONLINE";
	color: #fff;
	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

#wpforo #wpforo-wrap .wpforo-post-content img,
#wpforo #wpforo-wrap .wpf-post-content img {
	cursor: zoom-in;
}

html.oyster-forum-lightbox-open,
html.oyster-forum-lightbox-open body {
	overflow: hidden;
}

.oyster-forum-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 14, 18, 0.92);
}

.oyster-forum-lightbox[hidden] {
	display: none !important;
}

.oyster-forum-lightbox__backdrop {
	position: absolute;
	inset: 0;
}

.oyster-forum-lightbox__close {
	position: absolute;
	top: max(12px, env(safe-area-inset-top, 0px));
	right: max(12px, env(safe-area-inset-right, 0px));
	z-index: 2;
	min-width: 44px;
	min-height: 44px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #1a3654;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.oyster-forum-lightbox__stage {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 64px 16px 16px;
	box-sizing: border-box;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y pinch-zoom;
}

.oyster-forum-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 80px);
	width: auto;
	height: auto;
	object-fit: contain;
}

/* What's New delete is admin-only. wpForo also shows it to Moderators. */
#wpforo #wpforo-wrap .wpf-activity-delete {
	display: none !important;
}
body.oyster-whats-new-admin #wpforo #wpforo-wrap .wpf-activity-delete,
#wpforo #wpforo-wrap.oyster-whats-new-admin .wpf-activity-delete {
	display: flex !important;
}


