/* ==========================================================================
   GameManx 2026 — dark brand layer on top of Gauge.
   Loaded after Gauge's inline #gp-dynamic-css (see functions.php).
   ========================================================================== */

:root {
	--gmx-bg:        #0e0f11;
	--gmx-surface:   #16181c;
	--gmx-surface-2: #1d2025;
	--gmx-border:    #2a2e35;
	--gmx-text:      #e7e9ee;
	--gmx-muted:     #9aa1ad;
	--gmx-orange:    #ff7a1a;
	--gmx-orange-2:  #ff9448;
	--gmx-cyan:      #4fc4e3;
	--gmx-radius:    10px;
	--gmx-font-head: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
	--gmx-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--gmx-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---- Base --------------------------------------------------------------- */
html, body, #gp-site-wrapper, #gp-page-wrapper, #gp-content-wrapper,
.gp-container, #gp-content, #gp-sidebar {
	background: var(--gmx-bg) !important;
	color: var(--gmx-text);
}
body, input, textarea, select, button, .gp-entry-text, .gp-loop-text,
#bbpress-forums, #buddypress {
	font-family: var(--gmx-font-body) !important;
	font-size: 16px;
	line-height: 1.65;
}
h1, h2, h3, h4, h5, h6, .gp-entry-title, .gp-loop-title, .gp-post-section-header h3,
.widgettitle, .widget-title, .gp-element-title, #gp-main-nav, .gp-nav {
	font-family: var(--gmx-font-head) !important;
	letter-spacing: .01em;
	color: #fff;
}
a { color: var(--gmx-orange); transition: color .15s ease; }
a:hover, a:focus { color: var(--gmx-orange-2); text-decoration: none; }
::selection { background: var(--gmx-orange); color: #111; }
hr, .gp-post-section-header-line, .gp-divider { border-color: var(--gmx-border) !important; background: var(--gmx-border) !important; }

/* ---- Top bar + main header ---------------------------------------------- */
#gp-top-header { background: #08090a !important; border-bottom: 1px solid var(--gmx-border) !important; }
#gp-main-header, #gp-main-header.gp-header-small, .gp-fixed-header #gp-main-header {
	background: rgba(14, 15, 17, .92) !important;
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--gmx-border) !important;
	box-shadow: none !important;
}
#gp-logo img { image-rendering: auto; }

/* Keep Gauge's own header positioning (it's driven by JS); only tune size + colour. */
#gp-main-nav .menu > li > a {
	color: var(--gmx-text) !important;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	position: relative;
}
@media (min-width: 1083px) {
	#gp-main-nav { margin-left: 32px !important; }
	#gp-main-nav .menu > li { margin-left: 0 !important; margin-right: 18px !important; }
	/* Search lives in the slim top bar on desktop so the menu keeps one row. */
	#gp-main-header > .gp-container { position: relative; }
	#gp-main-header .searchform { position: absolute !important; right: 0; top: -33px; width: 220px; margin: 0 !important; float: none !important; z-index: 5; }
	#gp-main-header .searchform .gp-search-bar { height: 26px !important; line-height: 26px; font-size: 12px !important; padding: 0 32px 0 12px !important; width: 100% !important; }
	#gp-main-header .searchform .gp-search-submit { height: 26px; line-height: 26px; top: 0; }
	#gp-top-header .gp-social-icons { margin-right: 236px; }
}
#gp-main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
	background: var(--gmx-orange); transform: scaleX(0); transition: transform .2s ease;
}
#gp-main-nav .menu > li:hover > a, #gp-main-nav .menu > li.current-menu-item > a,
#gp-main-nav .menu > li.current-menu-ancestor > a { color: #fff !important; }
#gp-main-nav .menu > li:hover > a::after, #gp-main-nav .menu > li.current-menu-item > a::after,
#gp-main-nav .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

#gp-main-nav .sub-menu {
	background: var(--gmx-surface) !important;
	border: 1px solid var(--gmx-border) !important;
	border-radius: var(--gmx-radius);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45) !important;
	padding: 6px 0;
}
#gp-main-nav .sub-menu li a { color: var(--gmx-text) !important; border: 0 !important; }
#gp-main-nav .sub-menu li a:hover { background: var(--gmx-surface-2) !important; color: var(--gmx-orange) !important; }
#gp-main-nav .sub-menu::before, #gp-main-nav .sub-menu::after { display: none !important; }

.gp-search-bar, #gp-main-header input[type="search"], #gp-main-header .gp-search-bar {
	background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important;
	color: var(--gmx-text) !important; border-radius: 999px !important;
}
.gp-search-submit { background: transparent !important; color: var(--gmx-muted) !important; border: 0 !important; }

/* ---- Page title band ----------------------------------------------------- */
#gp-page-header, .gp-page-header {
	background: linear-gradient(180deg, #121417 0%, var(--gmx-bg) 100%) !important;
	border-bottom: 1px solid var(--gmx-border);
}
#gp-page-header h1, .gp-page-header h1 { color: #fff !important; font-weight: 700; }
#gp-page-header .gp-subtitle, #gp-page-header p { color: var(--gmx-muted) !important; }

/* ---- Post cards (archives, home, related) -------------------------------- */
.gp-post-item {
	background: var(--gmx-surface);
	border: 1px solid var(--gmx-border);
	border-radius: var(--gmx-radius);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gp-post-item:hover { transform: translateY(-2px); border-color: #3a3f48; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.gp-post-item .gp-post-thumbnail, .gp-post-item .gp-loop-featured { margin: 0 !important; }
.gp-post-item .gp-post-thumbnail img.gp-large-image { width: 100%; height: auto; transition: transform .35s ease; }
.gp-post-item:hover .gp-post-thumbnail img.gp-large-image { transform: scale(1.03); }
/* Gauge prints a small square image for phones next to the large one; keep only one visible. */
@media (min-width: 768px) { .gp-post-item .gp-post-thumbnail img.gp-mobile-image { display: none !important; } }
@media (max-width: 767px) {
	.gp-post-item .gp-post-thumbnail img.gp-large-image { display: none !important; }
	.gp-post-item .gp-post-thumbnail img.gp-mobile-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
}
.gp-post-item .gp-loop-content { padding: 16px 18px 18px; }
.gp-loop-title, .gp-loop-title a { color: #fff !important; font-size: 20px; line-height: 1.3; font-weight: 700; }
.gp-loop-title a:hover { color: var(--gmx-orange) !important; }
.gp-loop-text, .gp-loop-text p { color: #c6cad2 !important; font-size: 15px; }
.gp-loop-meta, .gp-post-meta, .gp-entry-meta, .gp-loop-meta a, .gp-entry-meta a {
	color: var(--gmx-muted) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.gp-meta-cats a, .gp-entry-cats a {
	display: inline-block; background: rgba(255, 122, 26, .12); color: var(--gmx-orange) !important;
	border-radius: 999px; padding: 2px 10px; font-weight: 600;
}
/* Section headings for homepage blocks (Latest News, Podcast, Videos…) */
.gp-element-title { border-bottom: 1px solid var(--gmx-border) !important; margin-bottom: 18px !important; }
.gp-element-title h3 { color: #fff !important; font-size: 18px !important; text-transform: uppercase; letter-spacing: .08em; }
.gp-element-title h3::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--gmx-orange); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.gp-see-all-link a { color: var(--gmx-muted) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.gp-see-all-link a:hover { color: var(--gmx-orange) !important; }
/* Titles laid over thumbnails need a scrim to stay readable */
.gp-post-thumbnail .gp-loop-title { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 100%); padding: 40px 14px 12px !important; font-size: 17px !important; }

/* ---- Single posts --------------------------------------------------------- */
.gp-entry-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; }
.gp-entry-content, .gp-entry-text { color: #d6d9e0; font-size: 17px; }
.gp-entry-content img, .gp-entry-text img { border-radius: 8px; max-width: 100%; height: auto; }
.gp-entry-content blockquote, blockquote {
	background: var(--gmx-surface) !important; border-left: 4px solid var(--gmx-orange) !important;
	color: var(--gmx-text) !important; border-radius: 0 var(--gmx-radius) var(--gmx-radius) 0; padding: 16px 20px;
}
.gp-entry-tags a, .tagcloud a {
	background: var(--gmx-surface-2) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important;
	border-radius: 999px; padding: 3px 12px; font-size: 12px !important;
}
.gp-entry-tags a:hover, .tagcloud a:hover { border-color: var(--gmx-orange) !important; color: var(--gmx-orange) !important; }
.gp-author-info, .gp-related-wrapper { background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: var(--gmx-radius); color: var(--gmx-text) !important; }

/* Video embeds + restored GameManx videos */
.gp-entry-content iframe[src*="youtube"], .gp-entry-content iframe[src*="vimeo"],
.wp-block-embed iframe, .gmx-video video {
	width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border-radius: var(--gmx-radius); background: #000;
}
.gmx-video { margin: 0 0 1.25em; }
.gmx-video-unavailable {
	background: var(--gmx-surface); border: 1px dashed var(--gmx-border); border-radius: var(--gmx-radius);
	padding: 14px 16px; color: var(--gmx-muted) !important; font-size: 14px;
}
.gmx-video-unavailable::before { content: "▶ "; color: var(--gmx-orange); font-style: normal; }

/* ---- Sidebar widgets ----------------------------------------------------- */
#gp-sidebar .widget, #gp-sidebar .gp-widget, .wpb_widgetised_column .widget {
	background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important;
	border-radius: var(--gmx-radius); padding: 18px 18px 8px; margin-bottom: 22px;
}
#gp-sidebar .widgettitle, #gp-sidebar .widget-title, #gp-sidebar h3, .wpb_widgetised_column .widgettitle, .wpb_widgetised_column .widget-title {
	font-size: 15px !important; text-transform: uppercase; letter-spacing: .08em; color: #fff !important;
	border: 0 !important; padding: 0 0 10px !important; margin-bottom: 12px !important; position: relative;
}
#gp-sidebar .widgettitle::after, #gp-sidebar .widget-title::after, #gp-sidebar h3::after, .wpb_widgetised_column .widgettitle::after, .wpb_widgetised_column .widget-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--gmx-orange);
}
#gp-sidebar li, .wpb_widgetised_column li { border-color: var(--gmx-border) !important; color: var(--gmx-text); }
#gp-sidebar a, .wpb_widgetised_column a { color: var(--gmx-text) !important; }
#gp-sidebar a:hover, .wpb_widgetised_column a:hover { color: var(--gmx-orange) !important; }

/* ---- Forms + buttons ----------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], textarea, select {
	background: var(--gmx-surface-2) !important; color: var(--gmx-text) !important;
	border: 1px solid var(--gmx-border) !important; border-radius: 8px !important; box-shadow: none !important;
}
input:focus, textarea:focus, select:focus { border-color: var(--gmx-orange) !important; outline: 2px solid rgba(255, 122, 26, .25); outline-offset: 0; }
input[type="submit"], button, .button, .gp-button, .wp-block-button__link, #bbpress-forums .button,
#buddypress .generic-button a, #buddypress input[type="submit"], .comment-reply-link {
	background: var(--gmx-orange) !important; color: #111 !important; border: 0 !important;
	border-radius: 8px !important; font-family: var(--gmx-font-head) !important; font-weight: 700 !important;
	text-transform: uppercase; letter-spacing: .05em; box-shadow: none !important; text-shadow: none !important;
}
input[type="submit"]:hover, button:hover, .button:hover, .gp-button:hover, .comment-reply-link:hover {
	background: var(--gmx-orange-2) !important; color: #111 !important;
}

/* ---- Pagination ----------------------------------------------------------- */
.gp-pagination ul li a, .gp-pagination ul li span, .page-numbers, .bbp-pagination-links a, .bbp-pagination-links span {
	background: var(--gmx-surface) !important; color: var(--gmx-text) !important;
	border: 1px solid var(--gmx-border) !important; border-radius: 8px !important;
}
.gp-pagination ul li span.current, .page-numbers.current, .bbp-pagination-links span.current {
	background: var(--gmx-orange) !important; color: #111 !important; border-color: var(--gmx-orange) !important;
}

/* ---- Comments --------------------------------------------------------------- */
#comments, .comment-body, .commentlist li { background: transparent !important; color: var(--gmx-text) !important; border-color: var(--gmx-border) !important; }
.comment-body { background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: var(--gmx-radius); padding: 16px; }

/* ---- Footer -------------------------------------------------------------- */
#gp-footer, #gp-footer-3d { background: #08090a !important; border-top: 1px solid var(--gmx-border); }
#gp-footer, #gp-footer p, #gp-footer li { color: var(--gmx-muted) !important; }
#gp-footer a { color: var(--gmx-text) !important; }
#gp-footer a:hover { color: var(--gmx-orange) !important; }
#gp-copyright { background: #060708 !important; color: var(--gmx-muted) !important; border-top: 1px solid var(--gmx-border); }
#gp-copyright a { color: var(--gmx-text) !important; }
#gp-footer-nav a { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* ---- bbPress -------------------------------------------------------------- */
#bbpress-forums { color: var(--gmx-text); }
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-search-results {
	border: 1px solid var(--gmx-border) !important; border-radius: var(--gmx-radius); overflow: hidden; background: var(--gmx-surface) !important;
}
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
	background: var(--gmx-surface-2) !important; color: var(--gmx-muted) !important; border-color: var(--gmx-border) !important;
	font-family: var(--gmx-font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 12px;
}
#bbpress-forums li.bbp-header a { color: var(--gmx-muted) !important; }
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic,
#bbpress-forums div.odd, #bbpress-forums ul.odd, #bbpress-forums div.even, #bbpress-forums ul.even,
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-forum-header, #bbpress-forums div.bbp-topic-header {
	background: var(--gmx-surface) !important; border-color: var(--gmx-border) !important; color: var(--gmx-text) !important;
}
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { background: var(--gmx-surface-2) !important; }
#bbpress-forums li.bbp-body ul.forum:hover, #bbpress-forums li.bbp-body ul.topic:hover { background: var(--gmx-surface-2) !important; }
#bbpress-forums a.bbp-forum-title, #bbpress-forums a.bbp-topic-permalink { color: #fff !important; font-weight: 600; }
#bbpress-forums a.bbp-forum-title:hover, #bbpress-forums a.bbp-topic-permalink:hover { color: var(--gmx-orange) !important; }
#bbpress-forums .bbp-forum-content, #bbpress-forums .bbp-topic-meta, #bbpress-forums .bbp-reply-post-date,
#bbpress-forums .bbp-forum-freshness, #bbpress-forums .bbp-topic-freshness, #bbpress-forums .bbp-author-role { color: var(--gmx-muted) !important; }
#bbpress-forums .bbp-reply-content, #bbpress-forums .bbp-topic-content { color: #d6d9e0 !important; font-size: 16px; }
#bbpress-forums .bbp-author-role, .gp-forum-role { background: rgba(79, 196, 227, .12) !important; color: var(--gmx-cyan) !important; border-radius: 999px; padding: 1px 8px; }
#bbpress-forums .bbp-signature { color: var(--gmx-muted); border-top: 1px dashed var(--gmx-border); padding-top: 8px; font-size: 13px; }
#bbpress-forums div.bbp-template-notice, .bbp-template-notice {
	background: var(--gmx-surface-2) !important; border: 1px solid var(--gmx-border) !important; color: var(--gmx-text) !important; border-radius: var(--gmx-radius);
}
#bbpress-forums fieldset.bbp-form { border-color: var(--gmx-border) !important; border-radius: var(--gmx-radius); }
#bbpress-forums .quote, #bbpress-forums blockquote { background: var(--gmx-surface-2) !important; }

/* ---- BuddyPress ------------------------------------------------------------ */
#buddypress div.item-list-tabs, #buddypress div.item-list-tabs ul li a, #buddypress ul.item-list li,
#buddypress div#item-header, #buddypress table, #buddypress table td, #buddypress table th {
	background: transparent !important; color: var(--gmx-text) !important; border-color: var(--gmx-border) !important;
}
#buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a {
	background: var(--gmx-orange) !important; color: #111 !important; border-radius: 8px 8px 0 0;
}
#buddypress ul.item-list li { background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: var(--gmx-radius); margin-bottom: 10px; padding: 12px !important; }

/* ---- Screenshot galleries (core gallery block) ------------------------------ */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 8px; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)) !important; font-size: 12px;
}

/* ---- Mobile nav ------------------------------------------------------------ */
#gp-mobile-nav, #gp-mobile-nav-bg { background: var(--gmx-bg) !important; }
#gp-mobile-nav a { color: var(--gmx-text) !important; border-color: var(--gmx-border) !important; }
#gp-mobile-nav-button { color: #fff !important; }

/* ---- Misc ------------------------------------------------------------------ */
#gp-back-to-top, .gp-back-to-top { background: var(--gmx-orange) !important; color: #111 !important; border-radius: 999px !important; }
.gp-filter, .gp-filter select { background: var(--gmx-surface) !important; color: var(--gmx-text) !important; border-color: var(--gmx-border) !important; }
table, th, td { border-color: var(--gmx-border) !important; }
th { background: var(--gmx-surface-2) !important; color: #fff !important; }

/* bbPress widgets: small muted timestamps, roomy rows */
.widget_display_topics li, .widget_display_replies li { padding: 8px 0 !important; border-bottom: 1px solid var(--gmx-border); list-style: none; }
.widget_display_topics li:last-child, .widget_display_replies li:last-child { border-bottom: 0; }
.widget_display_topics .bbp-forum-title, .widget_display_topics a.bbp-forum-title, .widget_display_replies a.bbp-reply-topic-title { font-weight: 600; }
.widget_display_topics div, .widget_display_replies div, .widget_display_topics time { color: var(--gmx-muted) !important; font-size: 12px; }

/* Homepage hero: first row of three big cards */
.gmx-hero .gp-post-thumbnail .gp-loop-title { font-size: 20px !important; }
.gmx-hero .gp-loop-content { padding: 10px 16px 14px !important; }

/* bbPress forum index rows (Gauge "forum home" layout) */
#bbpress-forums .bbp-forums-list li.odd-forum-row, #bbpress-forums .bbp-forums-list li.even-forum-row,
#bbpress-forums .gp-forum-home li.bbp-body ul.forum, #bbpress-forums .gp-forum-home .bbp-has-subforums .bbp-forum-info > .bbp-forum-title {
	background: var(--gmx-surface) !important; color: var(--gmx-text) !important; border-color: var(--gmx-border) !important;
}
#bbpress-forums .gp-forum-home.bbp-forums .bbp-has-subforums .bbp-forum-info > .bbp-forum-title,
#bbpress-forums .bbp-topics .bbp-header, #bbpress-forums .bbp-replies .bbp-header, #bbpress-forums .bbp-search-results .bbp-header {
	background: var(--gmx-surface-2) !important; color: #fff !important;
}
#bbpress-forums .bbp-forums-list .bbp-forum .bbp-forum-link, body.forum #bbpress-forums .bbp-forums .bbp-forum-info > .bbp-forum-title,
#bbpress-forums .gp-forum-home.bbp-forums .bbp-forum-info > .bbp-forum-title, #bbpress-forums .bbp-topics .bbp-topic-permalink { color: #fff !important; }
#bbpress-forums .bbp-forums-list li.odd-forum-row:hover, #bbpress-forums .bbp-forums-list li.even-forum-row:hover { background: var(--gmx-surface-2) !important; }
#bbpress-forums .topic-reply-counts { color: var(--gmx-muted) !important; }

/* Footer: drop Gauge's decorative orange "bend" when there are no footer widgets */
.gp-first-widget-bend { display: none !important; }
#gp-footer-widgets:empty, #gp-footer-widgets .gp-container:empty { display: none; }

/* Header search: readable on the dark top bar */
#gp-main-header .searchform .gp-search-bar { background: var(--gmx-surface-2) !important; border-color: #3a3f48 !important; color: var(--gmx-text) !important; }
#gp-main-header .searchform .gp-search-bar::placeholder, .gp-search-bar::placeholder { color: var(--gmx-muted) !important; opacity: 1; }
#gp-main-header .searchform .gp-search-bar:focus { border-color: var(--gmx-orange) !important; }
#gp-main-header .searchform .gp-search-submit { color: var(--gmx-orange) !important; }

/* ==========================================================================
   ENDSCREEN Network language: mono "system" labels, // separators,
   [ BRACKETED ] small actions. Headlines and body copy stay Chakra/Inter.
   ========================================================================== */
.gp-loop-meta, .gp-entry-meta, .gp-post-meta, .gp-loop-meta a, .gp-entry-meta a,
#bbpress-forums .bbp-topic-meta, #bbpress-forums .bbp-reply-post-date, #bbpress-forums li.bbp-header,
.widget_display_topics div, .widget_display_replies div, #gp-breadcrumbs, #gp-copyright, #gp-footer-nav a,
.gp-see-all-link a, .gp-read-more, .gmx-video-unavailable {
	font-family: var(--gmx-font-mono) !important;
}
.gp-loop-meta, .gp-entry-meta { font-size: 12px !important; letter-spacing: .04em; }

/* Swap Gauge's meta icons for // separators */
.gp-loop-meta .gp-post-meta::before, .gp-entry-meta .gp-post-meta::before { content: none !important; }
.gp-loop-meta .gp-post-meta + .gp-post-meta::before, .gp-entry-meta .gp-post-meta + .gp-post-meta::before {
	content: "//" !important; font-family: var(--gmx-font-mono) !important; color: #4a505c; margin: 0 8px 0 0; display: inline;
}
.gp-loop-meta .gp-post-meta, .gp-entry-meta .gp-post-meta { margin-right: 8px !important; padding-left: 0 !important; }
.gp-loop-meta .gp-post-meta i, .gp-entry-meta .gp-post-meta i { display: none !important; }

/* Section labels: // LATEST NEWS */
.gp-element-title h3 { font-family: var(--gmx-font-mono) !important; font-size: 14px !important; font-weight: 700; letter-spacing: .14em !important; }
.gp-element-title h3::before { content: "// " !important; width: auto !important; height: auto !important; background: none !important; color: var(--gmx-orange); margin: 0 !important; display: inline !important; }
#gp-sidebar .widgettitle, #gp-sidebar .widget-title, .wpb_widgetised_column .widgettitle, .wpb_widgetised_column .widget-title {
	font-family: var(--gmx-font-mono) !important; font-size: 13px !important; letter-spacing: .14em !important;
}

/* [ BRACKETED ] small actions */
.gp-see-all-link a::before { content: "[ "; color: var(--gmx-orange); }
.gp-see-all-link a::after { content: " ]" !important; color: var(--gmx-orange); font-family: var(--gmx-font-mono) !important; }
.gp-see-all-link a i, .gp-see-all-link a .fa { display: none !important; }
.gp-read-more { text-transform: uppercase; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
#gp-footer-nav a::before { content: "[ "; color: #4a505c; }
#gp-footer-nav a::after { content: " ]"; color: #4a505c; }

/* Buttons keep the heading face */
input[type="submit"], button, .button, .gp-button { font-family: var(--gmx-font-head) !important; }
/* Brackets replace Gauge's own separators/arrows */
.gp-see-all-link::after, .gp-see-all-link::before { content: none !important; display: none !important; }
#gp-footer-nav li::before { content: none !important; display: none !important; }
#gp-footer-nav li { margin-left: 14px !important; }
/* Gauge paints section headings (Related, Leave a Reply) with a white box */
.gp-post-section-header h3, #reply-title, .gp-related-wrapper .gp-post-section-header h3 {
	background: var(--gmx-bg) !important; color: #fff !important; font-family: var(--gmx-font-mono) !important;
	font-size: 14px !important; letter-spacing: .14em; text-transform: uppercase; padding-right: 12px !important;
}
.gp-post-section-header h3::before, #reply-title::before { content: "// "; color: var(--gmx-orange); }
/* Empty 3D footer band (no footer widgets in use) */
#gp-footer-3d { display: none !important; }

/* Section headers: more air around the title/"see all" row, its rule, and the content below */
.gp-element-title { padding: 4px 0 14px !important; margin-bottom: 28px !important; min-height: 0 !important; }
.gp-element-title h3, .gp-element-title .gp-see-all-link { line-height: 1.5 !important; margin: 0 !important; }
.gp-element-title .gp-see-all-link { top: 4px !important; }
.gp-element-title-line { display: none !important; } /* the border-bottom above is the single rule */
.wpb_widgetised_column + .wpb_widgetised_column, .wpb_widgetised_column + .gp-blog-wrapper, .gp-blog-wrapper + .wpb_widgetised_column { margin-top: 28px; }

/* ==========================================================================
   bbPress lists: row definition (dividers, zebra, hover accent, badges)
   ========================================================================== */
#bbpress-forums ul.bbp-topics li.bbp-body > ul,
#bbpress-forums ul.bbp-forums li.bbp-body > ul,
#bbpress-forums ul.bbp-search-results li.bbp-body > div,
#bbpress-forums .bbp-forums-list li.odd-forum-row, #bbpress-forums .bbp-forums-list li.even-forum-row {
	border-bottom: 1px solid var(--gmx-border) !important;
	padding-top: 14px !important; padding-bottom: 14px !important;
	transition: background-color .15s ease, box-shadow .15s ease;
}
#bbpress-forums li.bbp-body > ul:last-child { border-bottom: 0 !important; }
/* Zebra: every other row a touch lighter */
#bbpress-forums ul.bbp-topics li.bbp-body > ul.even, #bbpress-forums ul.bbp-forums li.bbp-body > ul.even,
#bbpress-forums .bbp-forums-list li.even-forum-row { background: #1a1c21 !important; }
#bbpress-forums ul.bbp-topics li.bbp-body > ul.odd, #bbpress-forums ul.bbp-forums li.bbp-body > ul.odd,
#bbpress-forums .bbp-forums-list li.odd-forum-row { background: var(--gmx-surface) !important; }
/* Hover: lift + orange accent bar on the left edge */
#bbpress-forums ul.bbp-topics li.bbp-body > ul:hover, #bbpress-forums ul.bbp-forums li.bbp-body > ul:hover,
#bbpress-forums .bbp-forums-list li.odd-forum-row:hover, #bbpress-forums .bbp-forums-list li.even-forum-row:hover {
	background: var(--gmx-surface-2) !important; box-shadow: inset 3px 0 0 var(--gmx-orange);
}
/* Header row: firmer separation from the list */
#bbpress-forums li.bbp-header { border-bottom: 1px solid #3a3f48 !important; padding-top: 12px !important; padding-bottom: 12px !important; }

/* Title column */
#bbpress-forums li.bbp-topic-title, #bbpress-forums li.bbp-forum-info { padding-left: 18px !important; }
#bbpress-forums li.bbp-topic-title a.bbp-topic-permalink, #bbpress-forums a.bbp-forum-title { font-size: 15px; line-height: 1.35; }
#bbpress-forums .bbp-topic-meta .bbp-topic-started-by, #bbpress-forums .bbp-topic-meta { font-size: 11px; margin-top: 4px; }
#bbpress-forums .bbp-topic-started-by a, #bbpress-forums .bbp-topic-freshness-author a,
#bbpress-forums .bbp-forum-freshness .bbp-author-link { color: var(--gmx-orange) !important; }

/* Page links inside titles (1 2 … 45 46) as small chips */
#bbpress-forums .bbp-topic-pagination { margin-left: 8px; }
#bbpress-forums .bbp-topic-pagination a, #bbpress-forums .bbp-topic-pagination span {
	display: inline-block; min-width: 20px; padding: 0 5px; margin: 0 1px; border: 1px solid var(--gmx-border);
	border-radius: 4px; font: 500 10px/18px var(--gmx-font-mono); text-align: center; color: var(--gmx-muted) !important; background: transparent;
}
#bbpress-forums .bbp-topic-pagination a:hover { border-color: var(--gmx-orange); color: var(--gmx-orange) !important; }

/* Count columns: mono, centred, quieter */
#bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-reply-count,
#bbpress-forums li.bbp-forum-topic-count, #bbpress-forums li.bbp-forum-reply-count {
	font-family: var(--gmx-font-mono); font-size: 13px; color: var(--gmx-text); text-align: center;
}
#bbpress-forums li.bbp-body li.bbp-topic-voice-count, #bbpress-forums li.bbp-body li.bbp-forum-topic-count { color: var(--gmx-muted); }
#bbpress-forums li.bbp-topic-freshness, #bbpress-forums li.bbp-forum-freshness { font-size: 12px; }
#bbpress-forums li.bbp-topic-freshness > a, #bbpress-forums li.bbp-forum-freshness > a { color: var(--gmx-muted) !important; font-family: var(--gmx-font-mono); font-size: 11px; }

/* Pinned + locked threads */
#bbpress-forums ul.topic.sticky, #bbpress-forums ul.topic.super-sticky {
	background: linear-gradient(90deg, rgba(255, 122, 26, .07), rgba(255, 122, 26, 0) 60%), var(--gmx-surface) !important;
}
#bbpress-forums ul.topic.sticky a.bbp-topic-permalink::before, #bbpress-forums ul.topic.super-sticky a.bbp-topic-permalink::before,
#bbpress-forums ul.topic.status-closed a.bbp-topic-permalink::before {
	display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 4px; vertical-align: 1px;
	font: 700 9px/16px var(--gmx-font-mono); letter-spacing: .1em;
}
#bbpress-forums ul.topic.sticky a.bbp-topic-permalink::before, #bbpress-forums ul.topic.super-sticky a.bbp-topic-permalink::before {
	content: "PINNED"; color: var(--gmx-orange); border: 1px solid rgba(255, 122, 26, .5);
}
#bbpress-forums ul.topic.status-closed a.bbp-topic-permalink::before { content: "LOCKED"; color: var(--gmx-muted); border: 1px solid var(--gmx-border); }
#bbpress-forums ul.topic.status-closed a.bbp-topic-permalink { color: #c4c8d0 !important; }

/* Topic view: each reply reads as its own card */
#bbpress-forums ul.bbp-replies > li.bbp-body > div, #bbpress-forums ul.bbp-lead-topic > li.bbp-body > div { border-bottom: 1px solid var(--gmx-border) !important; }
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { border-top: 1px solid #3a3f48 !important; border-bottom: 1px solid var(--gmx-border) !important; }
#bbpress-forums div.bbp-reply-author, #bbpress-forums div.bbp-topic-author { border-right: 1px solid var(--gmx-border); }
#bbpress-forums div.even.reply, #bbpress-forums div.even.topic { background: #1a1c21 !important; }
#bbpress-forums ul.bbp-topics li.bbp-body > ul, #bbpress-forums ul.bbp-forums li.bbp-body > ul { padding-top: 10px !important; padding-bottom: 10px !important; }
/* bbPress default light borders → theme colours */
#bbpress-forums ul.bbp-forums-list { border-left: 0 !important; }
#bbpress-forums img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar { border-color: var(--gmx-border) !important; border-radius: 4px; }

/* ==========================================================================
   bbPress per-post admin links: Edit | Move | Split | Trash | Spam | Unapprove | Reply | Quote
   Pipes are bare text nodes, so the container's font-size is zeroed and restored on the links.
   ========================================================================== */
#bbpress-forums .bbp-admin-links {
	font-size: 0 !important; color: transparent !important;
	display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px;
}
#bbpress-forums .bbp-admin-links a {
	display: inline-block; font: 600 10px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
	color: var(--gmx-muted) !important; background: transparent; border: 1px solid var(--gmx-border); border-radius: 5px;
	padding: 5px 7px; text-decoration: none !important; transition: color .15s, border-color .15s, background-color .15s, opacity .15s;
}
#bbpress-forums .bbp-admin-links a:hover, #bbpress-forums .bbp-admin-links a:focus-visible {
	color: var(--gmx-text) !important; border-color: #4a505c; background: var(--gmx-surface-2); outline: none;
}
/* Destructive */
#bbpress-forums .bbp-admin-links a[class*="trash-link"]:hover, #bbpress-forums .bbp-admin-links a[class*="spam-link"]:hover,
#bbpress-forums .bbp-admin-links a[class*="delete-link"]:hover {
	color: #ff6b5e !important; border-color: rgba(255, 107, 94, .55); background: rgba(255, 107, 94, .08);
}
/* Primary actions: Reply + Quote, set apart from moderation tools */
#bbpress-forums .bbp-admin-links a.bbp-reply-to-link, #bbpress-forums .bbp-admin-links a.bbp-topic-reply-link,
#bbpress-forums .bbp-admin-links a.d4p-bbt-quote-link {
	color: var(--gmx-orange) !important; border-color: rgba(255, 122, 26, .45);
}
#bbpress-forums .bbp-admin-links a.bbp-reply-to-link, #bbpress-forums .bbp-admin-links a.bbp-topic-reply-link { margin-left: 10px; }
#bbpress-forums .bbp-admin-links a.bbp-reply-to-link:hover, #bbpress-forums .bbp-admin-links a.bbp-topic-reply-link:hover,
#bbpress-forums .bbp-admin-links a.d4p-bbt-quote-link:hover {
	color: #111 !important; background: var(--gmx-orange); border-color: var(--gmx-orange);
}
/* Moderation tools recede until the post is hovered (mouse devices only; always visible on touch) */
@media (hover: hover) {
	#bbpress-forums .bbp-admin-links a:not(.bbp-reply-to-link):not(.bbp-topic-reply-link):not(.d4p-bbt-quote-link) { opacity: .55; }
	#bbpress-forums .bbp-reply-header:hover .bbp-admin-links a, #bbpress-forums .bbp-topic-header:hover .bbp-admin-links a,
	#bbpress-forums .bbp-admin-links a:focus-visible { opacity: 1; }
}
/* Header bar: date on the left, actions + post number on the right, vertically centred */
#bbpress-forums div.bbp-reply-header .bbp-meta, #bbpress-forums div.bbp-topic-header .bbp-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#bbpress-forums .bbp-meta .bbp-admin-links { margin-left: auto; float: none !important; }
#bbpress-forums .bbp-meta a.bbp-reply-permalink, #bbpress-forums .bbp-meta a.bbp-topic-permalink { order: 99; font: 500 11px var(--gmx-font-mono); color: var(--gmx-muted) !important; float: none !important; }

/* ==========================================================================
   Pagination (bbPress + Gauge archives) as mono chips
   ========================================================================== */
.bbp-pagination-links, ul.page-numbers, .gp-pagination ul { display: inline-flex !important; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 0 !important; }
.bbp-pagination-links .page-numbers, ul.page-numbers .page-numbers, .gp-pagination ul li a, .gp-pagination ul li span {
	display: inline-flex !important; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px !important;
	font: 600 12px/1 var(--gmx-font-mono) !important; color: var(--gmx-muted) !important;
	background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: 6px !important;
	text-decoration: none !important; transition: color .15s, border-color .15s, background-color .15s; float: none !important; margin: 0 !important;
}
.bbp-pagination-links a.page-numbers:hover, ul.page-numbers a.page-numbers:hover, .gp-pagination ul li a:hover {
	color: var(--gmx-text) !important; border-color: #4a505c !important; background: var(--gmx-surface-2) !important;
}
.bbp-pagination-links .page-numbers.current, ul.page-numbers .page-numbers.current, ul.page-numbers > span.page-numbers:not(.dots), .gp-pagination ul li span.current {
	color: #111 !important; background: var(--gmx-orange) !important; border-color: var(--gmx-orange) !important;
}
.bbp-pagination-links .page-numbers.dots, ul.page-numbers .page-numbers.dots { background: transparent !important; border-color: transparent !important; min-width: 16px; padding: 0 !important; }
.bbp-pagination-links .next, .bbp-pagination-links .prev, ul.page-numbers .next, ul.page-numbers .prev { color: var(--gmx-orange) !important; }
ul.page-numbers li { margin: 0 !important; float: none !important; list-style: none; }
.bbp-pagination-count { font-family: var(--gmx-font-mono); font-size: 12px !important; color: var(--gmx-muted) !important; }
.bbp-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 !important; }

/* ==========================================================================
   Subscribe / Favorite toggles (bbPress + bbp style pack button)
   ========================================================================== */
*:has(> #favorite-toggle), *:has(> #subscription-toggle) { font-size: 0 !important; }
#favorite-toggle, #subscription-toggle { display: inline-block; margin-left: 6px; }
#favorite-toggle a, #subscription-toggle a, a.subscription-toggle, a.favorite-toggle, .bsp_button1, a.bsp_button1 {
	display: inline-flex !important; align-items: center; gap: 6px; height: 30px; padding: 0 12px !important;
	font: 700 11px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
	color: var(--gmx-orange) !important; background: transparent !important; border: 1px solid rgba(255, 122, 26, .5) !important;
	border-radius: 6px !important; box-shadow: none !important; text-shadow: none !important; text-decoration: none !important;
	transition: color .15s, background-color .15s, border-color .15s;
}
#subscription-toggle a::before, a.subscription-toggle::before { content: "+"; font-weight: 700; }
#favorite-toggle a::before, a.favorite-toggle::before { content: "\2605"; font-size: 12px; }
#favorite-toggle a:hover, #subscription-toggle a:hover, a.subscription-toggle:hover, a.favorite-toggle:hover, .bsp_button1:hover {
	color: #111 !important; background: var(--gmx-orange) !important; border-color: var(--gmx-orange) !important;
}
/* Active state: already subscribed / favourited */
#subscription-toggle a.is-subscribed, a.subscription-toggle.is-subscribed, #favorite-toggle a.is-favorite, a.favorite-toggle.is-favorite {
	color: #111 !important; background: var(--gmx-orange) !important; border-color: var(--gmx-orange) !important;
}
#subscription-toggle a.is-subscribed::before, a.subscription-toggle.is-subscribed::before { content: "\2713"; }
/* The archive <ul> itself carries .page-numbers — keep the wrapper bare */
ul.page-numbers { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; min-width: 0 !important; height: auto !important; }

/* ==========================================================================
   Top bar: search on the left, account menu on the right
   ========================================================================== */
@media (min-width: 1083px) {
	#gp-main-header .searchform { right: auto !important; left: 0 !important; }
	#gp-top-header .gp-social-icons { margin-right: 0 !important; }
}
#gp-right-top-nav .menu > li > a, #gp-right-top-nav .menu > li { font-family: var(--gmx-font-mono) !important; font-size: 11px !important; letter-spacing: .06em; text-transform: uppercase; }
#gp-right-top-nav .menu > li > a:not(.gp-notification-counter) { color: var(--gmx-muted) !important; }
#gp-right-top-nav .menu > li > a:not(.gp-notification-counter):hover { color: var(--gmx-text) !important; }
#gp-right-top-nav .menu > li.gmx-profile > a { color: var(--gmx-text) !important; }
#gp-right-top-nav .menu > li.gmx-login > a, #gp-right-top-nav .menu > li.gmx-register > a { color: var(--gmx-orange) !important; }
#gp-right-top-nav .menu > li + li::before { content: "//"; color: #3a3f48; margin: 0 8px 0 0; }
#gp-right-top-nav .menu > li { margin-left: 10px !important; }
.gmx-count {
	display: inline-block; min-width: 16px; height: 16px; margin-left: 4px; padding: 0 4px; border-radius: 8px;
	background: var(--gmx-orange); color: #111; font: 700 10px/16px var(--gmx-font-mono); text-align: center; vertical-align: 1px;
}

/* ==========================================================================
   BuddyPress member pages (legacy templates) on the dark theme
   ========================================================================== */
#buddypress #item-header-cover-image, #buddypress #header-cover-image, #buddypress .bp-cover-image {
	background-color: var(--gmx-surface-2) !important;
	background-image: linear-gradient(135deg, rgba(255, 122, 26, .16), rgba(79, 196, 227, .08) 60%, rgba(0, 0, 0, 0)) !important;
}
#buddypress #item-header-avatar img.avatar { border: 3px solid var(--gmx-bg) !important; background: var(--gmx-surface) !important; border-radius: 12px !important; }
#buddypress #item-header h2, #buddypress .user-nicename { color: #fff !important; font-family: var(--gmx-font-head) !important; }
#buddypress #item-meta, #buddypress span.activity { color: var(--gmx-muted) !important; font-family: var(--gmx-font-mono); font-size: 12px; }

/* Primary tabs + sub-nav */
#buddypress div.item-list-tabs, #buddypress div.item-list-tabs#subnav, .gp-theme #buddypress div.item-list-tabs#subnav ul {
	background: transparent !important; border-bottom: 1px solid var(--gmx-border) !important; margin-bottom: 18px !important;
}
#buddypress div.item-list-tabs ul li a, .gp-theme #buddypress div.item-list-tabs ul li a, .gp-theme #buddypress div.item-list-tabs#subnav ul li a {
	font-family: var(--gmx-font-mono) !important; font-size: 12px !important; letter-spacing: .06em; text-transform: uppercase;
	color: var(--gmx-muted) !important; background: transparent !important; border-radius: 6px 6px 0 0 !important; padding: 10px 12px !important;
}
#buddypress div.item-list-tabs ul li a:hover { color: var(--gmx-text) !important; }
#buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a,
.gp-theme #buddypress div.item-list-tabs#subnav ul li.selected a, .gp-theme #buddypress div.item-list-tabs#subnav ul li.current a {
	color: #fff !important; background: transparent !important; box-shadow: inset 0 -2px 0 var(--gmx-orange);
}
.gp-theme #buddypress div.item-list-tabs ul li a span, #buddypress div.item-list-tabs ul li a span {
	background: var(--gmx-surface-2) !important; color: var(--gmx-muted) !important; border-radius: 8px !important; font-size: 10px !important;
}
#buddypress div.item-list-tabs ul li.selected a span, #buddypress div.item-list-tabs ul li.current a span { background: var(--gmx-orange) !important; color: #111 !important; }

/* Forms, tables, notices */
#buddypress .standard-form label, #buddypress .standard-form span.label, #buddypress h2, #buddypress h3, #buddypress h4 { color: #fff !important; }
#buddypress .standard-form p.description, #buddypress .field-visibility-settings-notoggle, #buddypress .field-visibility-settings-toggle { color: var(--gmx-muted) !important; }
#buddypress table.notifications, #buddypress table.messages-notices, #buddypress table.notification-settings, #buddypress table.profile-fields,
#buddypress table.wp-profile-fields, #buddypress table.forum { background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: var(--gmx-radius); }
#buddypress table tr.alt td, #buddypress table tr td, #buddypress table tr th { background: transparent !important; color: var(--gmx-text) !important; border-color: var(--gmx-border) !important; }
#buddypress table tr.unread td { background: rgba(255, 122, 26, .06) !important; }
#buddypress div#message p, #sitewide-notice p, #buddypress .bp-feedback, #buddypress .bp-template-notice {
	background: var(--gmx-surface-2) !important; border: 1px solid var(--gmx-border) !important; color: var(--gmx-text) !important; border-radius: 8px;
}
#buddypress div#message.updated p { border-left: 3px solid var(--gmx-orange) !important; }
#buddypress .dir-search input[type=search], #buddypress .dir-search input[type=text], #buddypress #messages_search { background: var(--gmx-surface-2) !important; color: var(--gmx-text) !important; }

/* Top-bar search (rendered into the account menu); Gauge's header search hidden on desktop */
@media (min-width: 1083px) { #gp-main-header .searchform { display: none !important; } }
#gp-right-top-nav .menu > li.gmx-topbar-search::before { content: none !important; }
#gp-right-top-nav .menu > li.gmx-topbar-search { margin-right: 10px !important; }
#gp-right-top-nav .gmx-topbar-search input[type="search"] {
	width: 190px; height: 24px; padding: 0 10px !important; margin: 0;
	font: 400 12px var(--gmx-font-body) !important; text-transform: none; letter-spacing: 0;
	background: var(--gmx-surface-2) !important; color: var(--gmx-text) !important;
	border: 1px solid #3a3f48 !important; border-radius: 999px !important; vertical-align: middle;
}
#gp-right-top-nav .gmx-topbar-search input[type="search"]::placeholder { color: var(--gmx-muted); opacity: 1; }
#gp-right-top-nav .gmx-topbar-search input[type="search"]:focus { border-color: var(--gmx-orange) !important; width: 240px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ==========================================================================
   Breadcrumbs (bbPress + Gauge): mono path with // separators
   ========================================================================== */
div.bbp-breadcrumb, #gp-breadcrumbs { float: none !important; margin: 0 0 14px !important; }
div.bbp-breadcrumb p, #gp-breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 !important;
	font: 500 11px/1.6 var(--gmx-font-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--gmx-muted) !important;
}
div.bbp-breadcrumb a, #gp-breadcrumbs a { color: var(--gmx-muted) !important; text-decoration: none !important; transition: color .15s; }
div.bbp-breadcrumb a:hover, #gp-breadcrumbs a:hover { color: var(--gmx-orange) !important; }
div.bbp-breadcrumb .bbp-breadcrumb-sep { font-size: 0 !important; margin: 0 8px; }
div.bbp-breadcrumb .bbp-breadcrumb-sep::before { content: "//"; font-size: 11px; color: #3a3f48; }
div.bbp-breadcrumb .bbp-breadcrumb-current { color: var(--gmx-text) !important; }
div.bbp-breadcrumb .bbp-breadcrumb-home::before { content: "~/ "; color: var(--gmx-orange); }

/* Earned forum rank under staff badges */
#bbpress-forums .gmx-rank { margin-top: 4px; font: 600 10px/1.4 var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-orange); }
/* Staff badges in orange so they stand apart from member ranks (cyan) */
#bbpress-forums .bbp-author-role:has(+ .gmx-rank), #bbpress-forums .bbp-author-role:has(+ .gmx-rank) > div {
	background: rgba(255, 122, 26, .14) !important; color: var(--gmx-orange) !important;
}

/* ==========================================================================
   Header search: large pill in the main header row (desktop), with icon + "/" hint
   ========================================================================== */
#gp-right-top-nav .menu > li.gmx-topbar-search { display: none !important; }
.gmx-search { position: relative; }
.gmx-search .gp-search-bar {
	width: 100% !important; height: 42px !important; padding: 0 44px 0 42px !important; margin: 0 !important;
	font: 400 14px var(--gmx-font-body) !important; letter-spacing: 0; text-transform: none;
	color: var(--gmx-text) !important; background-color: var(--gmx-surface) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239aa1ad' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: 14px 50% !important;
	border: 1px solid var(--gmx-border) !important; border-radius: 999px !important; box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
	-webkit-appearance: none; appearance: none;
}
.gmx-search .gp-search-bar::placeholder { color: var(--gmx-muted) !important; opacity: 1; }
.gmx-search .gp-search-bar:hover { border-color: #3a3f48 !important; }
.gmx-search .gp-search-bar:focus {
	outline: none; border-color: var(--gmx-orange) !important; background-color: var(--gmx-surface-2) !important;
	box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important;
}
.gmx-search .gp-search-bar::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Submit button stays for Enter/click but the icon lives in the field */
.gmx-search .gp-search-submit { position: absolute !important; left: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; opacity: 0; cursor: pointer; }
.gmx-search .gmx-search-kbd {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none;
	min-width: 22px; height: 22px; line-height: 20px; text-align: center; padding: 0 6px;
	font: 600 11px/20px var(--gmx-font-mono); color: var(--gmx-muted); background: var(--gmx-surface-2);
	border: 1px solid var(--gmx-border); border-radius: 5px; transition: opacity .15s;
}
.gmx-search:focus-within .gmx-search-kbd { opacity: 0; }

@media (min-width: 1083px) {
	#gp-main-header .searchform.gmx-search {
		display: block !important; position: absolute !important; right: 0 !important; left: auto !important;
		top: 50% !important; transform: translateY(-50%); width: 300px !important; margin: 0 !important; float: none !important; z-index: 20;
	}
}
@media (min-width: 1083px) and (max-width: 1239px) {
	#gp-main-header .searchform.gmx-search { width: 220px !important; }
	.gmx-search .gmx-search-kbd { display: none; }
}
/* Mobile menu keeps the full-width field, no shortcut hint */
#gp-mobile-nav .gmx-search .gmx-search-kbd { display: none; }
#gp-mobile-nav .gmx-search { margin: 12px 0; }
/* Win over the earlier compact top-bar sizing rules */
#gp-main-header .searchform.gmx-search .gp-search-bar { height: 42px !important; line-height: 42px; font-size: 14px !important; padding: 0 44px 0 42px !important; width: 100% !important; }

/* ==========================================================================
   Image lightbox (core "expand on click", used by screenshot galleries): dark stage
   ========================================================================== */
.wp-lightbox-overlay .scrim { background-color: #07080a !important; opacity: .96 !important; }
.wp-lightbox-overlay.active .scrim { opacity: .96 !important; }
.wp-lightbox-overlay .close-button, .wp-lightbox-overlay .close-button svg { color: #fff !important; fill: #fff !important; }
.wp-lightbox-overlay .close-button { background: rgba(255, 255, 255, .08) !important; border-radius: 999px !important; padding: 10px !important; }
.wp-lightbox-overlay .close-button:hover { background: var(--gmx-orange) !important; }
.wp-lightbox-overlay .close-button:hover svg { fill: #111 !important; }
.wp-lightbox-overlay .lightbox-image-container img, .wp-lightbox-overlay img { border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.wp-lightbox-container button.lightbox-trigger { background: rgba(0, 0, 0, .55) !important; color: #fff !important; border-radius: 6px !important; }
#gp-main-header .searchform.gmx-search .gp-search-bar, #gp-mobile-nav .gmx-search .gp-search-bar {
	text-align: left !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239aa1ad' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: 14px 50% !important; background-size: 18px 18px !important;
}
#gp-main-header .searchform.gmx-search .gp-search-bar:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23ff7a1a' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   Main nav groups: sections | FGC hub pill | community (Gallery, Forums)
   ========================================================================== */
/* FGC hub: outlined orange pill */
#gp-main-nav .menu > li.gmx-nav-hub > a {
	display: inline-block; line-height: 1 !important; padding: 7px 12px !important; margin-top: -2px;
	color: var(--gmx-orange) !important; border: 1px solid rgba(255, 122, 26, .55); border-radius: 999px;
	letter-spacing: .1em; transition: background-color .15s, color .15s, border-color .15s;
}
#gp-main-nav .menu > li.gmx-nav-hub > a::after { display: none !important; }
#gp-main-nav .menu > li.gmx-nav-hub:hover > a, #gp-main-nav .menu > li.gmx-nav-hub.current-menu-item > a,
#gp-main-nav .menu > li.gmx-nav-hub.current-menu-ancestor > a {
	color: #111 !important; background: var(--gmx-orange); border-color: var(--gmx-orange);
}
#gp-main-nav .menu > li.gmx-nav-hub .gp-dropdown-icon { color: inherit !important; }

/* Community cluster: divider, quieter labels, small icons */
@media (min-width: 1083px) {
	#gp-main-nav .menu > li.gmx-nav-gallery { margin-left: 6px !important; padding-left: 22px; position: relative; }
	#gp-main-nav .menu > li.gmx-nav-gallery::before {
		content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 22px; background: var(--gmx-border);
	}
}
#gp-main-nav .menu > li.gmx-nav-community > a { color: var(--gmx-muted) !important; }
#gp-main-nav .menu > li.gmx-nav-community > a:hover, #gp-main-nav .menu > li.gmx-nav-community.current-menu-item > a { color: #fff !important; }
#gp-main-nav .menu > li.gmx-nav-community > a::before {
	content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 7px; vertical-align: -2px;
	background-color: currentColor; -webkit-mask: var(--gmx-icon) center / contain no-repeat; mask: var(--gmx-icon) center / contain no-repeat;
}
#gp-main-nav .menu > li.gmx-nav-gallery > a { --gmx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.5'/%3E%3C/svg%3E"); }
#gp-main-nav .menu > li.gmx-nav-forums > a { --gmx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }

/* FGC dropdown: JoystickVault network link set apart at the bottom */
#gp-main-nav .sub-menu li.gmx-nav-network { border-top: 1px solid var(--gmx-border) !important; margin-top: 6px; padding-top: 6px; }
#gp-main-nav .sub-menu li.gmx-nav-network > a { color: #1f9fff !important; font-family: var(--gmx-font-mono) !important; font-size: 12px !important; }
#gp-main-nav .sub-menu li.gmx-nav-network > a:hover { color: #64ddfe !important; background: var(--gmx-surface-2) !important; }
/* Header fit: slightly tighter menu spacing + 256px search; icon-only search on narrow desktops */
@media (min-width: 1083px) {
	#gp-main-nav .menu > li { margin-right: 15px !important; }
	#gp-main-header .searchform.gmx-search { width: 256px !important; }
}
@media (min-width: 1083px) and (max-width: 1239px) {
	#gp-main-header .searchform.gmx-search { width: 42px !important; transition: width .2s ease; }
	#gp-main-header .searchform.gmx-search .gp-search-bar { padding: 0 0 0 40px !important; color: transparent !important; }
	#gp-main-header .searchform.gmx-search .gp-search-bar::placeholder { color: transparent !important; }
	#gp-main-header .searchform.gmx-search:focus-within { width: 240px !important; }
	#gp-main-header .searchform.gmx-search:focus-within .gp-search-bar { padding: 0 16px 0 42px !important; color: var(--gmx-text) !important; }
	#gp-main-header .searchform.gmx-search:focus-within .gp-search-bar::placeholder { color: var(--gmx-muted) !important; }
}
/* Compact logo frees room: normal menu spacing again */
@media (min-width: 1083px) { #gp-main-nav .menu > li { margin-right: 18px !important; } }

/* ==========================================================================
   Forums Quick Jump dropdown
   ========================================================================== */
#gp-main-nav .menu > li.gmx-quickjump > .sub-menu { min-width: 250px; max-height: 75vh; overflow-y: auto; padding: 6px 0 8px; }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-heading > a {
	pointer-events: auto; font: 700 10px/1 var(--gmx-font-mono) !important; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gmx-muted) !important; padding: 12px 16px 6px !important; background: transparent !important; cursor: pointer;
}
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-heading > a::before { content: "// "; color: var(--gmx-orange); }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-heading > a:hover { color: var(--gmx-text) !important; }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-heading ~ li.gmx-qj-heading { border-top: 1px solid var(--gmx-border) !important; margin-top: 6px; }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-forum > a, #gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-view > a {
	padding: 7px 16px 7px 24px !important; font-size: 13px !important;
}
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-sub > a { padding-left: 40px !important; color: var(--gmx-muted) !important; }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-sub > a::before { content: "↳ "; color: #4a505c; }
#gp-main-nav .gmx-quickjump .sub-menu li.gmx-qj-all > a { color: var(--gmx-orange) !important; font-family: var(--gmx-font-mono) !important; font-size: 12px !important; }

/* ==========================================================================
   Notices / alerts: one dark system for BuddyPress, bbPress and comments
   (info = cyan, warning = amber, error = red, success = green)
   ========================================================================== */
#buddypress p.warning, #buddypress p.info, #buddypress div#message p, #buddypress div#message.info p,
#buddypress .bp-feedback, #buddypress .bp-template-notice, #sitewide-notice p,
div.bbp-template-notice, #bbpress-forums div.bbp-template-notice, .bbp-template-notice,
.gmx-notice {
	--gmx-note: var(--gmx-cyan);
	background: color-mix(in srgb, var(--gmx-note) 9%, var(--gmx-surface)) !important;
	border: 1px solid color-mix(in srgb, var(--gmx-note) 28%, var(--gmx-border)) !important;
	border-left: 3px solid var(--gmx-note) !important;
	border-radius: 8px !important; color: var(--gmx-text) !important;
	padding: 11px 14px !important; margin: 12px 0 !important; font-size: 14px; line-height: 1.5; box-shadow: none !important;
}
#buddypress p.warning, #buddypress .bp-feedback.warning, #buddypress div#message.warning p, div.bbp-template-notice.important, .bbp-template-notice.important { --gmx-note: #ffb300; }
#buddypress div#message.error p, #buddypress .bp-feedback.error, div.bbp-template-notice.error, .bbp-template-notice.error, #buddypress p.error { --gmx-note: #ff5a50; }
#buddypress div#message.updated p, #buddypress div#message.success p, #buddypress .bp-feedback.success, #buddypress .bp-feedback.updated, div.bbp-template-notice.updated { --gmx-note: #39d37a; }
#buddypress p.warning a, div.bbp-template-notice a, #buddypress div#message p a, #buddypress .bp-feedback a { color: var(--gmx-note) !important; text-decoration: underline; text-underline-offset: 2px; }
div.bbp-template-notice p, div.bbp-template-notice li { margin: 0 !important; color: var(--gmx-text) !important; }
/* BuddyPress's own icon tile on newer feedback boxes */
#buddypress .bp-feedback .bp-icon { background: transparent !important; color: var(--gmx-note) !important; }
/* WordPress comment moderation notice */
.comment-awaiting-moderation { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(255, 179, 0, .1); color: #ffb300; font-size: 12px; }

/* ==========================================================================
   GameManx review score: card on review posts + chips on cards
   ========================================================================== */
.gmx-score-card {
	float: right; margin: 0 0 18px 24px; display: flex; align-items: center; gap: 14px;
	padding: 14px 18px 14px 14px; background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-radius: 14px;
}
.gmx-score-ring {
	--gmx-score: 0; position: relative; width: 84px; height: 84px; border-radius: 50%; flex: 0 0 auto;
	background: conic-gradient(var(--gmx-orange) calc(var(--gmx-score) * 1%), #2a2e35 0);
	display: flex; align-items: baseline; justify-content: center; padding-top: 25px;
}
.gmx-score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--gmx-bg); }
.gmx-score-num, .gmx-score-max { position: relative; font-family: var(--gmx-font-head); color: #fff; line-height: 1; }
.gmx-score-num { font-size: 28px; font-weight: 700; }
.gmx-score-max { font: 600 11px var(--gmx-font-mono); color: var(--gmx-muted); margin-left: 1px; }
.gmx-score-meta { display: flex; flex-direction: column; gap: 4px; }
.gmx-score-label { font: 600 10px var(--gmx-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gmx-muted); }
.gmx-score-label::before { content: "// "; color: var(--gmx-orange); }
.gmx-score-verdict { font-family: var(--gmx-font-head); font-weight: 700; font-size: 20px; color: #fff; }
@media (max-width: 600px) { .gmx-score-card { float: none; margin: 0 0 18px; } }

/* Chip on thumbnails */
.gmx-has-score { position: relative; }
.gmx-score-chip {
	position: absolute; top: 10px; right: 10px; z-index: 3; min-width: 40px; height: 28px; padding: 0 8px;
	display: inline-flex; align-items: center; justify-content: center;
	font: 700 14px/1 var(--gmx-font-head); color: #111; background: var(--gmx-orange);
	border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); letter-spacing: .02em;
}
.gp-loop-content.gmx-has-score .gmx-score-chip { position: static; margin-bottom: 8px; }
/* Score card placement: sidebar on desktop, inline above the article below the breakpoint */
.gmx-score-card--inline { float: none; margin: 0 0 20px; }
@media (min-width: 1083px) { .gmx-score-card--inline { display: none !important; } }
@media (max-width: 1082px) { .gmx-score-widget { display: none !important; } }
#gp-sidebar .gmx-score-widget { padding: 0 !important; background: transparent !important; border: 0 !important; }
.gmx-score-card--sidebar {
	float: none; margin: 0; width: 100%; flex-direction: column; text-align: center; gap: 12px; padding: 22px 18px 18px;
	background: linear-gradient(180deg, rgba(255, 122, 26, .10), rgba(255, 122, 26, 0) 70%), var(--gmx-surface);
	border: 1px solid rgba(255, 122, 26, .35); border-radius: var(--gmx-radius);
}
.gmx-score-card--sidebar .gmx-score-ring { width: 128px; height: 128px; padding-top: 40px; }
.gmx-score-card--sidebar .gmx-score-ring::before { inset: 9px; }
.gmx-score-card--sidebar .gmx-score-num { font-size: 42px; }
.gmx-score-card--sidebar .gmx-score-max { font-size: 13px; }
.gmx-score-card--sidebar .gmx-score-meta { align-items: center; gap: 6px; }
.gmx-score-card--sidebar .gmx-score-verdict { font-size: 24px; }
.gmx-score-by { font: 500 11px var(--gmx-font-mono); color: var(--gmx-muted); letter-spacing: .04em; text-transform: uppercase; }

/* ==========================================================================
   Homepage hero (bento: lead + 3 secondary) and Trending rail
   ========================================================================== */
.gmx-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin: 6px 0 14px; }
.gmx-hero-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gmx-hero-card { position: relative; border-radius: 14px; overflow: hidden; background: var(--gmx-surface); border: 1px solid var(--gmx-border); min-height: 150px; }
.gmx-hero-lead { min-height: 500px; }
.gmx-hero-link { position: absolute; inset: 0; display: block; color: #fff !important; text-decoration: none !important; }
.gmx-hero-img, .gmx-hero-noimg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.gmx-hero-noimg { background: linear-gradient(135deg, #1d2025, #0e0f11); }
.gmx-hero-card:hover .gmx-hero-img { transform: scale(1.035); }
.gmx-hero-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 10, .92) 0%, rgba(8, 9, 10, .55) 38%, rgba(8, 9, 10, 0) 68%); }
.gmx-hero-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.gmx-hero-lead .gmx-hero-body { padding: 26px 28px; gap: 10px; }
.gmx-hero-cat {
	align-self: flex-start; font: 700 10px/1 var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase;
	color: #111; background: var(--gmx-orange); padding: 5px 8px; border-radius: 5px;
}
.gmx-hero-title { font-family: var(--gmx-font-head); font-weight: 700; font-size: 17px; line-height: 1.25; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.gmx-hero-lead .gmx-hero-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.gmx-hero-dek { margin: 0 !important; padding: 0 !important; color: #d6d9e0; font-size: 15px; line-height: 1.5; max-width: 60ch; }
.gmx-hero-meta { font: 500 11px var(--gmx-font-mono); letter-spacing: .05em; text-transform: uppercase; color: #aeb4bf; }
.gmx-hero-meta i { font-style: normal; color: #5a606b; margin: 0 4px; }
.gmx-hero-badges { position: absolute; top: 12px; right: 12px; z-index: 3; }
.gmx-hero-badges .gmx-score-chip { position: static; }
.gmx-hero-lead .gmx-hero-badges .gmx-score-chip { min-width: 56px; height: 40px; font-size: 20px; border-radius: 10px; }
.gmx-hero-play {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
	background: rgba(8, 9, 10, .7); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 13px; padding-left: 2px;
}
.gmx-hero-lead .gmx-hero-play { width: 56px; height: 56px; font-size: 18px; }

/* ENDSCREEN rotation card: neutral until hover, cyan on hover (network language) */
.gmx-hero-network { background: linear-gradient(135deg, #12141f, #0b0c12); }
.gmx-hero-network .gmx-hero-link::after { display: none; }
.gmx-hero-network .gmx-hero-cat { background: transparent; color: var(--gmx-muted); border: 1px solid var(--gmx-border); }
.gmx-hero-network .gmx-hero-meta b { color: var(--gmx-text); font-weight: 700; }
.gmx-hero-network:hover { border-color: #00f0ff; box-shadow: 0 0 0 1px #00f0ff, 0 0 28px rgba(0, 240, 255, .15); }
.gmx-hero-network:hover .gmx-hero-cat { color: #00f0ff; border-color: rgba(0, 240, 255, .5); }
.gmx-hero-network:hover .gmx-hero-meta b { color: #00f0ff; }

/* Trending rail */
.gmx-trending { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; padding: 10px 14px; background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-radius: 10px; overflow: hidden; }
.gmx-trending-label { flex: 0 0 auto; font: 700 11px var(--gmx-font-mono); letter-spacing: .14em; color: var(--gmx-orange); text-transform: uppercase; }
.gmx-trending ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.gmx-trending ul::-webkit-scrollbar { display: none; }
.gmx-trending li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; padding: 0; list-style: none; }
.gmx-trending a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: var(--gmx-text) !important; text-decoration: none !important; }
.gmx-trending a:hover { color: var(--gmx-orange) !important; }
.gmx-trend-tag { font: 700 9px/1 var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; border: 1px solid var(--gmx-border); color: var(--gmx-muted); }
.gmx-trend-forums { color: var(--gmx-cyan); border-color: rgba(79, 196, 227, .4); }

@media (max-width: 1082px) {
	.gmx-hero { grid-template-columns: 1fr; }
	.gmx-hero-lead { min-height: 380px; }
	.gmx-hero-side { grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.gmx-hero-side::-webkit-scrollbar { display: none; }
	.gmx-hero-side .gmx-hero-card { min-height: 200px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
	.gmx-hero-lead { min-height: 320px; }
	.gmx-hero-dek { display: none; }
}

/* ==========================================================================
   From the Vault (posts older than a year)
   ========================================================================== */
.gmx-vault .gp-loop-meta::before {
	display: inline-block; margin: 0 10px 4px 0; padding: 3px 7px; border-radius: 4px;
	font: 700 9px/1.3 var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase;
	color: var(--gmx-muted); border: 1px solid var(--gmx-border); background: rgba(255, 255, 255, .02);
}
.gmx-vault-tag {
	display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: 4px; vertical-align: 1px;
	font: 700 9px/1.4 var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase;
	color: #d6d9e0; border: 1px solid rgba(255, 255, 255, .25); background: rgba(8, 9, 10, .5);
}
.gmx-vault-note { --gmx-note: #8a90a6 !important; font-size: 13px !important; }
.gmx-vault-note strong { color: #fff; font-family: var(--gmx-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
/* Hero slot 3 rotation (editorial by default; ENDSCREEN when the script adds .gmx-show-network) */
.gmx-hero-rotate { display: grid; }
.gmx-hero-rotate > .gmx-hero-card { grid-area: 1 / 1; }
.gmx-hero-rotate > .gmx-hero-network, .gmx-hero-rotate.gmx-show-network > .gmx-hero-card:not(.gmx-hero-network) { display: none; }
.gmx-hero-rotate.gmx-show-network > .gmx-hero-network { display: block; }

/* Contact form */
.gmx-contact { max-width: 720px; }
.gmx-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .gmx-contact-row { grid-template-columns: 1fr; } }
.gmx-contact label { display: block; margin-bottom: 6px; font: 600 11px var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted); }
.gmx-contact input[type="text"], .gmx-contact input[type="email"], .gmx-contact select, .gmx-contact textarea { width: 100%; padding: 10px 12px !important; font-size: 15px; }
.gmx-contact .gmx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Homepage podcast block
   ========================================================================== */
.gmx-pod { margin-bottom: 28px; }
.gmx-pod-lead { background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-radius: var(--gmx-radius); overflow: hidden; padding-bottom: 14px; }
.gmx-pod-art { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 12px; }
.gmx-pod-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gmx-pod-lead:hover .gmx-pod-art img { transform: scale(1.03); }
.gmx-pod-title { display: block; padding: 0 16px; font-family: var(--gmx-font-head); font-weight: 700; font-size: 17px; line-height: 1.3; color: #fff !important; }
.gmx-pod-title:hover { color: var(--gmx-orange) !important; }
.gmx-pod-meta { padding: 4px 16px 0; font: 500 11px var(--gmx-font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--gmx-muted); }
.gmx-pod-meta i { font-style: normal; color: #4a505c; }
/* Player */
.gmx-player { display: flex; align-items: center; gap: 10px; padding: 12px 16px 0; }
.gmx-player-btn { flex: 0 0 auto; width: 40px !important; height: 40px !important; padding: 0 !important; border-radius: 50% !important; background: var(--gmx-orange) !important; display: inline-flex; align-items: center; justify-content: center; }
.gmx-player-icon { display: block; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #111; margin-left: 3px; }
.gmx-playing .gmx-player-icon { width: 12px; height: 14px; border: 0; margin: 0; border-left: 4px solid #111; border-right: 4px solid #111; }
.gmx-player-seek { flex: 1 1 auto; min-width: 0; height: 4px; -webkit-appearance: none; appearance: none; background: #2a2e35 !important; border: 0 !important; border-radius: 4px !important; padding: 0 !important; accent-color: var(--gmx-orange); }
.gmx-player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gmx-orange); cursor: pointer; }
.gmx-player-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--gmx-orange); cursor: pointer; }
.gmx-player-time { flex: 0 0 auto; font: 500 11px var(--gmx-font-mono); color: var(--gmx-muted); min-width: 40px; text-align: right; }
/* Episode list */
.gmx-pod-list { list-style: none; margin: 10px 0 0; padding: 0; }
.gmx-pod-list li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--gmx-border); margin: 0; list-style: none; }
.gmx-pod-list li:last-child { border-bottom: 0; }
.gmx-pod-list a { flex: 1 1 auto; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--gmx-text) !important; }
.gmx-pod-list a:hover, .gmx-pod-list li.gmx-current a { color: var(--gmx-orange) !important; }
.gmx-pod-list span { flex: 0 0 auto; font: 500 11px var(--gmx-font-mono); color: var(--gmx-muted); }
.gmx-pod-play { flex: 0 0 auto; width: 28px !important; height: 28px !important; padding: 0 !important; border-radius: 50% !important; background: transparent !important; border: 1px solid var(--gmx-border) !important; position: relative; }
.gmx-pod-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--gmx-orange); }
.gmx-pod-play:hover { border-color: var(--gmx-orange) !important; background: rgba(255, 122, 26, .1) !important; }
/* Subscribe */
.gmx-pod-subscribe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gmx-pod-sub { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--gmx-border); border-radius: 6px; font: 600 11px var(--gmx-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gmx-text) !important; }
.gmx-pod-sub:hover { border-color: var(--gmx-orange); color: var(--gmx-orange) !important; }
.gmx-pod-rss::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gmx-orange); margin-right: 7px; }

/* ==========================================================================
   Homepage community block
   ========================================================================== */
.gmx-forum-activity { margin-bottom: 28px; background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-radius: var(--gmx-radius); padding: 16px 16px 16px; }
.gmx-forum-activity .gp-element-title { margin-bottom: 10px !important; }
.gmx-fa-stats { margin: 0 0 8px !important; padding: 0 !important; font: 500 11px var(--gmx-font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--gmx-muted); }
.gmx-fa-stats span { color: var(--gmx-text); font-weight: 700; }
.gmx-fa-stats i, .gmx-fa-meta i { font-style: normal; color: #4a505c; margin: 0 3px; }
.gmx-fa-list { list-style: none; margin: 0; padding: 0; }
.gmx-fa-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gmx-border); margin: 0; list-style: none; }
.gmx-fa-list li:last-child { border-bottom: 0; }
.gmx-fa-avatar img { width: 36px; height: 36px; border-radius: 8px; display: block; border: 1px solid var(--gmx-border); }
.gmx-fa-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gmx-fa-title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--gmx-text) !important; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gmx-fa-title:hover { color: var(--gmx-orange) !important; }
.gmx-fa-meta { font: 500 10px var(--gmx-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--gmx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmx-fa-meta a { color: var(--gmx-cyan) !important; }
.gmx-fa-count {
	flex: 0 0 auto; min-width: 34px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	font: 700 11px var(--gmx-font-mono); color: var(--gmx-text); background: var(--gmx-surface-2); border: 1px solid var(--gmx-border); border-radius: 6px;
}
.gmx-fa-count::before { content: ""; width: 10px; height: 10px; background-color: var(--gmx-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat; }
.gmx-fa-cta {
	display: flex; align-items: center; justify-content: center; margin-top: 12px; height: 40px; border-radius: 8px;
	background: var(--gmx-orange); color: #111 !important; font: 700 13px var(--gmx-font-head); letter-spacing: .06em; text-transform: uppercase;
}
.gmx-fa-cta:hover { background: var(--gmx-orange-2); }

/* ==========================================================================
   Card video overlay + lightbox, Load more
   ========================================================================== */
.gmx-has-video { position: relative; }
.gmx-play-overlay {
	position: absolute !important; inset: 0; z-index: 4; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; box-shadow: none !important;
}
.gmx-play-overlay::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%;
	background: rgba(8, 9, 10, .72); border: 1px solid rgba(255, 255, 255, .3); transition: background-color .15s, transform .15s;
}
.gmx-play-overlay::after {
	content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
	border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.gmx-play-overlay:hover::before, .gmx-play-overlay:focus-visible::before { background: var(--gmx-orange); transform: translate(-50%, -50%) scale(1.08); }
.gmx-play-overlay:hover::after { border-left-color: #111; }
.gp-post-thumbnail.gmx-has-video .gp-loop-title { pointer-events: none; }

.gmx-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gmx-lightbox[hidden] { display: none; }
.gmx-lightbox-backdrop { position: absolute; inset: 0; background: rgba(5, 6, 8, .94); }
.gmx-lightbox-panel { position: relative; width: min(1100px, 100%); }
.gmx-lightbox-stage { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.gmx-lightbox-stage video, .gmx-lightbox-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.gmx-lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.gmx-lightbox-title { font-family: var(--gmx-font-head); font-weight: 700; font-size: 18px; color: #fff; }
.gmx-lightbox-link { flex: 0 0 auto; font: 700 11px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-orange) !important; }
.gmx-lightbox-link::before { content: "[ "; } .gmx-lightbox-link::after { content: " ]"; }
.gmx-lightbox-close {
	position: absolute !important; top: -46px; right: 0; width: 38px !important; height: 38px !important; padding: 0 !important; border-radius: 50% !important;
	background: rgba(255, 255, 255, .1) !important; color: #fff !important; font: 400 24px/1 var(--gmx-font-body) !important;
}
.gmx-lightbox-close:hover { background: var(--gmx-orange) !important; color: #111 !important; }
html.gmx-lightbox-open { overflow: hidden; }

.gmx-load-more {
	display: block; width: 100%; margin: 6px 0 26px; height: 46px; border-radius: 10px !important;
	background: var(--gmx-surface) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important;
	font: 700 12px var(--gmx-font-mono) !important; letter-spacing: .12em; text-transform: uppercase;
}
.gmx-load-more:hover:not(:disabled) { border-color: var(--gmx-orange) !important; color: var(--gmx-orange) !important; background: var(--gmx-surface-2) !important; }
.gmx-load-more:disabled { opacity: .6; cursor: default; }

/* Yoast breadcrumbs (printed by Gauge above page/post titles): forum breadcrumb style */
#breadcrumbs { background: transparent !important; border: 0 !important; padding: 14px 0 0 !important; margin: 0 !important; }
#breadcrumbs, #breadcrumbs span {
	font: 500 11px/1.6 var(--gmx-font-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: #3a3f48 !important;
}
#breadcrumbs a { color: var(--gmx-muted) !important; text-decoration: none !important; transition: color .15s; }
#breadcrumbs a:hover { color: var(--gmx-orange) !important; }
#breadcrumbs .breadcrumb_last { color: var(--gmx-text) !important; }
#breadcrumbs .gp-container > span > span:first-child a::before { content: "~/ "; color: var(--gmx-orange); }
/* Avatars: crop to the square instead of stretching non-square legacy avatars */
.gmx-fa-avatar img, #bbpress-forums img.avatar, .widget_display_topics img.avatar, .widget_display_replies img.avatar,
#buddypress img.avatar, .bbp-author-avatar img, #gp-right-top-nav img.avatar { object-fit: cover; object-position: center top; aspect-ratio: 1 / 1; height: auto; }
.gmx-fa-avatar img { width: 36px !important; height: 36px !important; }
/* Avatars in the community block keep their size (don't shrink in the flex row) */
.gmx-fa-avatar { flex: 0 0 36px; width: 36px; height: 36px; }
/* ▶ button is anchored to the image link; make that a positioned box the size of the image */
.gp-post-thumbnail a.gmx-has-video { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.gp-post-thumbnail a.gmx-has-video .gmx-play-overlay { inset: 0; }
/* Lightbox extras */
.gmx-lightbox-links { display: inline-flex; gap: 14px; flex: 0 0 auto; }
.gmx-lightbox-yt { font: 700 11px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-muted) !important; }
.gmx-lightbox-yt:hover { color: #fff !important; }
.gmx-lightbox-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--gmx-muted); }
.gmx-lightbox-fallback strong { font-family: var(--gmx-font-head); font-size: 20px; color: #fff; }
.gmx-lightbox-fallback a { margin-top: 8px; font: 700 11px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-orange) !important; }

/* ==========================================================================
   Racing-stripe flair: footer band (restored Gauge "bend") + matching header accent
   ========================================================================== */
#gp-footer-3d { display: block !important; position: relative; height: 46px; overflow: hidden; background: #08090a !important; border-top: 1px solid var(--gmx-border); }
#gp-footer-3d > .gp-container { position: relative; height: 100%; }
#gp-footer-3d .gp-first-widget-bend {
	display: block !important; position: absolute; left: 0; top: 0; width: 300px; height: 100%;
	background: var(--gmx-orange) !important; transform: skewX(-38deg); transform-origin: bottom left;
}
#gp-footer-3d .gp-first-widget-bend::before, #gp-footer-3d .gp-first-widget-bend::after {
	content: ""; position: absolute; top: 0; height: 100%; background: var(--gmx-orange);
}
#gp-footer-3d .gp-first-widget-bend::after { right: -26px; width: 12px; opacity: .6; }
#gp-footer-3d .gp-first-widget-bend::before { right: -46px; width: 6px; opacity: .3; }
@media (max-width: 767px) { #gp-footer-3d { height: 30px; } #gp-footer-3d .gp-first-widget-bend { width: 160px; } }

/* Header: short slanted stripe set on the bottom edge, under the logo */
#gp-main-header > .gp-container { position: relative; }
#gp-main-header > .gp-container::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 150px; height: 4px; pointer-events: none;
	background: linear-gradient(90deg, var(--gmx-orange) 0 72%, transparent 72% 78%, rgba(255, 122, 26, .6) 78% 87%, transparent 87% 92%, rgba(255, 122, 26, .3) 92% 100%);
	transform: skewX(-38deg); transform-origin: bottom left;
}
/* Gauge absolutely positions the 3D band and clips the bend — keep it in flow and let the trailing stripes show */
#gp-footer-3d { position: relative !important; top: auto !important; left: auto !important; float: none !important; width: 100% !important; clear: both; }
#gp-footer-3d .gp-first-widget-bend { overflow: visible !important; }

/* Rising stripe set between logo and menu, climbing up into the top toolbar (desktop) */
@media (min-width: 1083px) {
	#gp-main-nav { margin-left: 74px !important; }
	#gp-main-header > .gp-container::before {
		content: ""; position: absolute; z-index: 2; pointer-events: none;
		left: 202px; bottom: -1px; width: 26px; height: calc(100% + 40px);
		background: linear-gradient(90deg, var(--gmx-orange) 0 9px, transparent 9px 14px, rgba(255, 122, 26, .6) 14px 19px, transparent 19px 22px, rgba(255, 122, 26, .3) 22px 26px);
		transform: skewX(-20deg); transform-origin: bottom left;
	}
}
/* Follow Gauge's compact (scrolled) header: logo 193px → 129px, so stripes shift with it */
@media (min-width: 1083px) {
	#gp-main-header > .gp-container::before, #gp-main-header > .gp-container::after { transition: left .3s ease, width .3s ease; }
	#gp-main-header.gp-header-small > .gp-container::before { left: 142px; }
	#gp-main-header.gp-header-small > .gp-container::after { width: 100px; }
}

/* ==========================================================================
   Forums on phones — compact rows (Gauge stacks every cell as a padded full-width block)
   ========================================================================== */
@media (max-width: 567px) {
	/* Forum index: title, then counts (left) + last post (right) on one line */
	#bbpress-forums .gp-forum-home .bbp-forums-list li.odd-forum-row,
	#bbpress-forums .gp-forum-home .bbp-forums-list li.even-forum-row { padding: 0 !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list li.bbp-forum {
		display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; padding: 14px 16px !important;
	}
	#bbpress-forums .gp-forum-home .bbp-forums-list li.bbp-forum > div { float: none !important; padding: 0 !important; margin: 0 !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .bbp-forum-title-container { width: 100% !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .bbp-forum-link { margin: 0 0 3px !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .gp-bbp-sub-sub-forums-list { margin-top: 6px !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .bbp-forum .topic-reply-counts,
	#bbpress-forums .gp-forum-home .bbp-forums-list .freshness-forum-link {
		width: auto !important; font: 500 11px/1.55 var(--gmx-font-mono) !important; color: var(--gmx-muted) !important;
	}
	#bbpress-forums .gp-forum-home .bbp-forums-list li.bbp-forum > div.freshness-forum-link { margin-left: auto !important; text-align: right !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .freshness-forum-link > div { float: none !important; margin: 0 !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list li.bbp-forum > div.freshness-forum-link { max-width: 62%; min-width: 0; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .freshness-forum-link .last-posted-topic-title a { font-family: Inter, system-ui, sans-serif; font-size: 12px; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .last-posted-topic-user { display: flex !important; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .last-posted-topic-user .bbp-author-avatar { display: inline-flex !important; margin: 0 !important; font-size: 0; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .last-posted-topic-user img.avatar { display: block !important; width: 14px !important; height: 14px !important; margin: 0 !important; float: none !important; }
	#bbpress-forums .gp-forum-home .bbp-forums-list .last-posted-topic-user a { color: var(--gmx-orange) !important; }

	/* Sub-forum rows inside a forum (standard bbPress cells) */
	#bbpress-forums ul.bbp-forums:not(.gp-forum-home) li.bbp-body > ul.forum { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; padding: 14px 16px !important; }
	#bbpress-forums ul.bbp-forums:not(.gp-forum-home) li.bbp-body > ul.forum > li { float: none !important; padding: 0 !important; margin: 0 !important; }
	.gp-theme.gp-responsive #bbpress-forums ul.bbp-forums li.bbp-body > ul.forum > li.bbp-forum-info { width: 100% !important; }
	.gp-theme.gp-responsive #bbpress-forums ul.bbp-forums li.bbp-body > ul.forum > li.bbp-forum-topic-count,
	.gp-theme.gp-responsive #bbpress-forums ul.bbp-forums li.bbp-body > ul.forum > li.bbp-forum-freshness {
		display: block !important; width: auto !important; font: 500 11px/1.55 var(--gmx-font-mono) !important; color: var(--gmx-muted) !important; text-align: left !important;
	}
	.gp-theme.gp-responsive #bbpress-forums ul.bbp-forums li.bbp-body > ul.forum > li.bbp-forum-freshness { margin-left: auto !important; text-align: right !important; }
	#bbpress-forums ul.bbp-forums li.bbp-forum-freshness .bbp-topic-meta { margin: 0 !important; }

	/* Topic list: title + meta, then "684 posts // time · last poster" */
	#bbpress-forums ul.bbp-topics li.bbp-body > ul.topic { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 16px !important; }
	#bbpress-forums ul.bbp-topics li.bbp-body > ul.topic > li { float: none !important; padding: 0 !important; margin: 0 !important; }
	.gp-theme.gp-responsive #bbpress-forums .bbp-topics .bbp-body li.bbp-topic-title { width: 100% !important; margin-bottom: 4px !important; }
	#bbpress-forums .bbp-topics li.bbp-topic-title .bbp-topic-pagination { display: inline-flex; flex-wrap: wrap; gap: 3px; margin: 4px 0 0 6px; vertical-align: middle; }
	#bbpress-forums .bbp-topics li.bbp-topic-title .bbp-topic-meta { margin: 5px 0 0 !important; }
	.gp-theme.gp-responsive #bbpress-forums .bbp-topics .bbp-body li.bbp-topic-reply-count {
		display: block !important; width: auto !important; font: 600 11px/1.5 var(--gmx-font-mono); color: var(--gmx-text); white-space: nowrap;
	}
	#bbpress-forums .bbp-topics .bbp-body li.bbp-topic-reply-count::after { content: " posts"; color: var(--gmx-muted); font-weight: 500; }
	/* Freshness cell dissolves into the row so its parts wrap from the left edge */
	.gp-theme.gp-responsive #bbpress-forums .bbp-topics .bbp-body li.bbp-topic-freshness { display: contents !important; }
	#bbpress-forums .bbp-topics .bbp-body li.bbp-topic-freshness::before { content: "//"; color: #3a3f48; font: 500 11px/1.5 var(--gmx-font-mono); }
	#bbpress-forums .bbp-topics .bbp-body li.bbp-topic-freshness > a { line-height: 1.5; }
	#bbpress-forums .bbp-topics .bbp-body li.bbp-topic-freshness .bbp-topic-meta { margin: 0 !important; font-size: 11px; line-height: 1.5; }
	#bbpress-forums .bbp-topics .bbp-body li.bbp-topic-freshness .bbp-topic-meta::before { content: "last: "; color: var(--gmx-muted); font-family: var(--gmx-font-mono); }

	/* Thread view: compact author strip (avatar left, name/role/rank beside it) above the post */
	.gp-theme #bbpress-forums div.bbp-reply-author, .gp-theme #bbpress-forums div.bbp-topic-author {
		float: none !important; width: auto !important; min-height: 72px !important; margin: 0 !important; box-sizing: border-box;
		padding: 14px 16px 12px 72px !important; border-right: 0 !important; border-bottom: 1px dashed var(--gmx-border); text-align: left !important;
	}
	.gp-theme #bbpress-forums div.bbp-reply-author img.avatar, .gp-theme #bbpress-forums div.bbp-topic-author img.avatar {
		position: absolute !important; left: 16px !important; top: 14px !important; width: 44px !important; height: 44px !important; margin: 0 !important; z-index: 1;
	}
	#bbpress-forums div.bbp-reply-author .bbp-author-role, #bbpress-forums div.bbp-topic-author .bbp-author-role { margin: 0 0 0 6px !important; vertical-align: middle; }
	#bbpress-forums div.bbp-reply-author .gmx-rank, #bbpress-forums div.bbp-topic-author .gmx-rank { margin-top: 3px; }
	#bbpress-forums div.bbp-reply-author .bbp-reply-ip, #bbpress-forums div.bbp-topic-author .bbp-topic-ip { font-size: 11px; margin-top: 2px; }
	.gp-theme #bbpress-forums div.bbp-reply-content, .gp-theme #bbpress-forums div.bbp-topic-content { float: none !important; clear: both; margin: 0 !important; padding: 14px 16px 16px !important; }
	#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { padding: 10px 16px !important; }
	#bbpress-forums div.bbp-reply-header .bbp-meta, #bbpress-forums div.bbp-topic-header .bbp-meta { gap: 8px; }

	/* Pagination: count on its own line, links below */
	.bbp-pagination { flex-direction: column; align-items: flex-start !important; gap: 8px; }
	.bbp-pagination-count, .bbp-pagination-links { float: none !important; }
}

/* Top account bar on phones: icon-only links so the whole bar fits on one row */
#gp-right-top-nav .gmx-ico { display: none; }
@media (max-width: 767px) {
	#gp-top-header #gp-right-top-nav { float: none !important; width: 100% !important; }
	#gp-top-header #gp-right-top-nav > ul.menu { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-end; align-items: center; gap: 2px; height: 40px; margin: 0 !important; padding: 0 !important; }
	#gp-top-header #gp-right-top-nav > ul.menu > li { float: none !important; flex: 0 0 auto; margin: 0 !important; }
	#gp-right-top-nav .menu > li:has(.gmx-ico)::before { content: none !important; }
	#gp-right-top-nav .menu > li > a:has(.gmx-ico) { display: inline-flex !important; align-items: center; justify-content: center; position: relative; width: 36px; height: 40px; }
	#gp-right-top-nav .menu > li > a:has(.gmx-ico)::before { content: none !important; padding: 0 !important; }
	#gp-right-top-nav .gmx-ico { display: block; }
	#gp-right-top-nav a:has(.gmx-ico) .gmx-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	#gp-right-top-nav a:has(.gmx-ico) .gmx-count { position: absolute; top: 5px; right: 2px; margin: 0 !important; }
	#gp-right-top-nav .menu > li.gmx-profile { min-width: 0; flex-shrink: 1; margin-right: 4px !important; }
	#gp-right-top-nav .menu > li.gmx-profile > a { display: block !important; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	#gp-right-top-nav .menu > li.gmx-logout { margin-left: 4px !important; padding-left: 4px; border-left: 1px solid var(--gmx-border); }
}

/* Mobile menu slides in from the right, the same side as the hamburger */
#gp-mobile-nav { left: auto !important; right: 0 !important; transform: translateX(105%) !important; box-shadow: -12px 0 40px rgba(0, 0, 0, .5) !important; }
body.gp-mobile-nav-active #gp-mobile-nav { transform: translateX(0) !important; }

/* Forum index last post: thread title on its own line, truncated */
#bbpress-forums .freshness-forum-link .last-posted-topic-title { float: none !important; display: block; margin: 0 0 2px !important; min-width: 0; }
#bbpress-forums .freshness-forum-link .last-posted-topic-title a {
	display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gmx-text) !important; font-weight: 600;
}
#bbpress-forums .freshness-forum-link .last-posted-topic-title a:hover { color: var(--gmx-orange) !important; }
#bbpress-forums .freshness-forum-link .gmx-no-posts { color: var(--gmx-muted); }

/* Per-post moderation tools: inline on desktop, [ MOD ] dropdown on phones */
#bbpress-forums .gmx-mod, #bbpress-forums .gmx-mod-menu { display: contents; }
#bbpress-forums .gmx-mod-toggle { display: none; }
@media (max-width: 567px) {
	#bbpress-forums .gmx-mod { display: inline-block; position: relative; }
	#bbpress-forums .gmx-mod-toggle {
		display: inline-flex; align-items: center; gap: 5px; height: auto !important; min-height: 0 !important; width: auto !important; margin: 0; cursor: pointer; white-space: nowrap;
		font: 600 10px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
		color: var(--gmx-muted) !important; background: transparent !important; border: 1px solid var(--gmx-border) !important; border-radius: 5px; padding: 5px 7px !important; box-shadow: none !important;
	}
	#bbpress-forums .gmx-mod-toggle::before { content: "["; color: #4a505c; }
	#bbpress-forums .gmx-mod-toggle::after { content: "▾ ]"; color: #4a505c; }
	#bbpress-forums .gmx-mod.is-open .gmx-mod-toggle { color: var(--gmx-text) !important; border-color: #4a505c !important; }
	/* Opens as an extra row under the buttons (post containers clip overflow, so no floating panel) */
	#bbpress-forums .gmx-mod-menu { display: none; }
	#bbpress-forums .bbp-admin-links:has(.gmx-mod.is-open) { flex-wrap: wrap !important; }
	#bbpress-forums .gmx-mod.is-open { display: contents; }
	#bbpress-forums .gmx-mod.is-open .gmx-mod-menu {
		display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; order: 99; flex-basis: 100%;
		padding-top: 8px; margin-top: 2px; border-top: 1px dashed var(--gmx-border);
	}
	#bbpress-forums .gmx-mod-menu a { opacity: 1 !important; }
	/* Header row: date + actions on one line, post number tucked right */
	#bbpress-forums div.bbp-reply-header .bbp-meta, #bbpress-forums div.bbp-topic-header .bbp-meta { flex-wrap: wrap; gap: 6px 8px; }
	#bbpress-forums div.bbp-reply-header .bbp-reply-post-date, #bbpress-forums div.bbp-topic-header .bbp-topic-post-date { font-size: 11px; white-space: nowrap; }
	#bbpress-forums .bbp-meta .bbp-admin-links { margin-left: auto !important; flex-basis: auto !important; flex-wrap: nowrap; gap: 5px; }
	#bbpress-forums .bbp-meta .bbp-admin-links > a { white-space: nowrap; }
	#bbpress-forums .bbp-admin-links a.bbp-reply-to-link, #bbpress-forums .bbp-admin-links a.bbp-topic-reply-link { margin-left: 0; }
	#bbpress-forums .bbp-meta a.bbp-reply-permalink, #bbpress-forums .bbp-meta a.bbp-topic-permalink { display: none !important; }
}

/* ==========================================================================
   FORUM BOARD (2026 pass) — child templates bbpress/loop-forums|topics.php
   One grid per row, column headers that line up, labels once per table,
   whole row is the click target, short dates, full-bleed on phones.
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Page toolbar: lead text left, actions right */
#bbpress-forums .gmx-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
#bbpress-forums .gmx-toolbar-lead { margin: 0 !important; font-size: 14px !important; line-height: 1.5; color: var(--gmx-muted); max-width: 62ch; }
#bbpress-forums .gmx-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; font-size: 14px !important; }
#bbpress-forums .gmx-toolbar-actions #subscription-toggle, #bbpress-forums .gmx-toolbar-actions #favorite-toggle { margin: 0; }
#bbpress-forums .gmx-topic-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 500 12px/1.5 var(--gmx-font-mono) !important; }
#bbpress-forums .gmx-topic-summary b { color: var(--gmx-text); font-weight: 700; }
#bbpress-forums .gmx-topic-summary .gmx-chip-name { color: var(--gmx-orange) !important; }
#bbpress-forums .gmx-btn-primary {
	display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; background: var(--gmx-orange); color: #111 !important;
	font: 700 11px/1 var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; transition: background-color .15s;
}
#bbpress-forums .gmx-btn-primary:hover, #bbpress-forums .gmx-btn-primary:focus-visible { background: var(--gmx-orange-2); outline: none; }
/* Search box inside the toolbar */
#bbpress-forums .gmx-toolbar div.bbp-search-form { float: none !important; position: static !important; margin: 0 !important; width: auto !important; }
#bbpress-forums .gmx-toolbar #bbp-search-form { display: flex; margin: 0; }
#bbpress-forums .gmx-toolbar #bbp-search-form > div { display: flex; }
#bbpress-forums .gmx-toolbar #bbp_search {
	width: 220px !important; height: 32px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important; font-size: 13px !important;
	background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-right: 0 !important; border-radius: 6px 0 0 6px !important; color: var(--gmx-text) !important;
}
#bbpress-forums .gmx-toolbar #bbp_search:focus { border-color: var(--gmx-orange) !important; outline: none; }
#bbpress-forums .gmx-toolbar #bbp_search_submit { height: 32px !important; padding: 0 12px !important; margin: 0 !important; border-radius: 0 6px 6px 0 !important; font-size: 11px !important; line-height: 32px !important; }

/* Board container + sections */
#bbpress-forums .gmx-board { margin: 0 0 20px; clear: both; }
#bbpress-forums .gmx-toolbar { clear: both; }
#bbpress-forums .gmx-board ol, #bbpress-forums .gmx-board dl, #bbpress-forums .gmx-board dd { list-style: none; margin: 0; padding: 0; float: none; }
#bbpress-forums .gmx-board li.gmx-row { list-style: none; margin: 0; float: none; }
#bbpress-forums .gmx-section { background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-radius: 12px; overflow: hidden; margin: 0 0 18px; }
#bbpress-forums .gmx-section-head { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #1b1e23; border-bottom: 1px solid var(--gmx-border); }
#bbpress-forums .gmx-section-head h2, #bbpress-forums .gmx-cols-title {
	flex: 1; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font: 700 12px/1.4 var(--gmx-font-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-text) !important;
}
#bbpress-forums .gmx-section-head h2::before { content: "// "; color: var(--gmx-orange); }
#bbpress-forums .gmx-cols { display: grid; gap: 14px; font: 600 10px/1 var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted); }
#bbpress-forums .gmx-cols-forums { grid-template-columns: 68px 68px 250px; }
#bbpress-forums .gmx-cols-forums > span:nth-child(-n+2), #bbpress-forums .gmx-cols-topics > span:first-child { text-align: right; }
#bbpress-forums .gmx-board-topics .gmx-section-head { padding-left: 70px; }
#bbpress-forums .gmx-cols-title { font-size: 10px !important; font-weight: 600 !important; color: var(--gmx-muted) !important; }
#bbpress-forums .gmx-cols-topics { grid-template-columns: 64px 200px; }

/* Rows */
#bbpress-forums .gmx-row {
	position: relative; display: grid; align-items: center; gap: 4px 14px; padding: 12px 16px;
	border-top: 1px solid var(--gmx-border); transition: background-color .12s;
}
#bbpress-forums .gmx-rows > .gmx-row:first-child { border-top: 0; }
#bbpress-forums .gmx-row:hover { background: var(--gmx-surface-2); }
#bbpress-forums .gmx-row:has(.gmx-stretch:focus-visible) { outline: 2px solid var(--gmx-orange); outline-offset: -2px; }
#bbpress-forums .gmx-frow { grid-template-columns: 40px minmax(0, 1fr) 150px 250px; }
#bbpress-forums .gmx-trow { grid-template-columns: 40px minmax(0, 1fr) 64px 200px; }
/* Whole row clickable; the smaller links inside sit above the overlay */
#bbpress-forums .gmx-stretch { text-decoration: none !important; }
#bbpress-forums .gmx-stretch:focus-visible { outline: none; }
#bbpress-forums .gmx-stretch::after { content: ""; position: absolute; inset: 0; z-index: 0; }
#bbpress-forums .gmx-row .gmx-meta a, #bbpress-forums .gmx-row .gmx-last a, #bbpress-forums .gmx-row .gmx-fsubs a,
#bbpress-forums .gmx-row .bbp-topic-pagination, #bbpress-forums .gmx-row .bbp-row-actions { position: relative; z-index: 1; }

#bbpress-forums .gmx-tile {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
	background: rgba(255, 122, 26, .12); color: var(--gmx-orange); font: 700 14px/1 var(--gmx-font-head); letter-spacing: .02em;
}
#bbpress-forums .is-private .gmx-tile { background: rgba(79, 196, 227, .12); color: var(--gmx-cyan); }
#bbpress-forums .gmx-main { min-width: 0; }
#bbpress-forums .gmx-title { margin: 0 !important; padding: 0 !important; font: 600 15px/1.35 var(--gmx-font-body) !important; color: #fff; text-transform: none !important; letter-spacing: 0 !important; }
#bbpress-forums .gmx-title a { color: #fff !important; }
#bbpress-forums .gmx-row:hover .gmx-title a.gmx-stretch { color: var(--gmx-orange) !important; }
#bbpress-forums .gmx-desc { margin: 2px 0 0 !important; font-size: 13px !important; line-height: 1.45; color: var(--gmx-muted) !important; }
#bbpress-forums .gmx-fsubs { margin: 6px 0 0 !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px !important; }
#bbpress-forums .gmx-fsubs > span { font: 600 10px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-muted); }
#bbpress-forums .gmx-fsubs a { color: var(--gmx-orange) !important; }
#bbpress-forums .gmx-fsubs a::before { content: "\21B3  "; color: #4a505c; }

/* Stats: the header shows the labels on wide screens; narrower screens show them inline */
#bbpress-forums .gmx-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 14px; justify-content: start; }
#bbpress-forums .gmx-trow .gmx-stats { grid-auto-columns: 64px; }
#bbpress-forums .gmx-stats > div { text-align: right; }
#bbpress-forums .gmx-stats dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#bbpress-forums .gmx-stats dd { font: 600 14px/1.2 var(--gmx-font-body); font-variant-numeric: tabular-nums; color: var(--gmx-text); }

/* Latest post */
#bbpress-forums .gmx-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
#bbpress-forums .gmx-avatar { flex: 0 0 auto; display: block; line-height: 0; }
#bbpress-forums .gmx-avatar img.avatar { width: 32px !important; height: 32px !important; border-radius: 50% !important; border: 0 !important; margin: 0 !important; float: none !important; }
#bbpress-forums .gmx-avatar-lg img.avatar { width: 40px !important; height: 40px !important; border-radius: 10px !important; }
#bbpress-forums .gmx-last-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
#bbpress-forums .gmx-last-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--gmx-text) !important; }
#bbpress-forums .gmx-last-title:hover { color: var(--gmx-orange) !important; }
#bbpress-forums .gmx-last-meta, #bbpress-forums .gmx-meta { font-size: 12px; color: var(--gmx-muted); }
#bbpress-forums .gmx-last-meta i, #bbpress-forums .gmx-meta i { font-style: normal; color: #4a505c; margin: 0 2px; }
#bbpress-forums .gmx-chip-name { color: var(--gmx-orange) !important; font-weight: 500; }
#bbpress-forums .gmx-last-empty { font-size: 12px; color: var(--gmx-muted); }
#bbpress-forums .gmx-row time { white-space: nowrap; }

/* Topic rows */
#bbpress-forums .gmx-meta { margin: 3px 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
#bbpress-forums .gmx-meta .bbp-topic-pagination { display: inline-flex; flex-wrap: wrap; gap: 3px; margin: 0 0 0 8px; }
#bbpress-forums .gmx-meta .bbp-topic-pagination a, #bbpress-forums .gmx-meta .bbp-topic-pagination span { min-width: 20px; height: 20px; padding: 0 5px; font-size: 10px; line-height: 18px; }
#bbpress-forums .gmx-in a { color: var(--gmx-muted) !important; text-decoration: underline; text-underline-offset: 2px; }
#bbpress-forums .gmx-badge {
	display: inline-block; margin-right: 6px; padding: 2px 6px; border-radius: 4px; vertical-align: 2px;
	font: 700 9.5px/1.3 var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase;
}
#bbpress-forums .gmx-badge-pin { color: var(--gmx-orange); border: 1px solid rgba(255, 122, 26, .5); }
#bbpress-forums .gmx-badge-lock { color: var(--gmx-muted); border: 1px solid var(--gmx-border); }
#bbpress-forums .gmx-badge-private { color: var(--gmx-cyan); border: 1px solid rgba(79, 196, 227, .45); margin: 0 0 0 6px; }
#bbpress-forums .gmx-trow.is-pinned { background: linear-gradient(90deg, rgba(255, 122, 26, .07), transparent 40%); box-shadow: inset 3px 0 0 var(--gmx-orange); }
#bbpress-forums .gmx-trow.is-locked .gmx-title a { color: #c4c8d0 !important; }

/* Tablet: stats move under the title (with inline labels), latest post keeps its column */
@media (max-width: 900px) {
	#bbpress-forums .gmx-frow { grid-template-columns: 40px minmax(0, 1fr) 220px; }
	#bbpress-forums .gmx-trow { grid-template-columns: 40px minmax(0, 1fr) 180px; }
	#bbpress-forums .gmx-tile, #bbpress-forums .gmx-trow > .gmx-avatar { grid-row: 1 / span 2; align-self: start; }
	#bbpress-forums .gmx-main { grid-column: 2; grid-row: 1; }
	#bbpress-forums .gmx-stats { grid-column: 2; grid-row: 2; display: flex; gap: 14px; }
	#bbpress-forums .gmx-last { grid-column: 3; grid-row: 1 / span 2; }
	#bbpress-forums .gmx-section-head .gmx-cols { display: none; }
	#bbpress-forums .gmx-board-topics .gmx-section-head { padding-left: 16px; }
	#bbpress-forums .gmx-stats > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 4px; text-align: left; }
	#bbpress-forums .gmx-stats dt { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 12px; font-weight: 400; color: var(--gmx-muted); text-transform: lowercase; }
	#bbpress-forums .gmx-stats dd { font-size: 12px; font-weight: 600; }
}

/* Phones: full-bleed list, latest post on its own line under the title */
@media (max-width: 567px) {
	#bbpress-forums .gmx-board { margin-left: -20px; margin-right: -20px; }
	#bbpress-forums .gmx-section { border-radius: 0; border-left: 0; border-right: 0; margin-bottom: 14px; }
	#bbpress-forums .gmx-frow, #bbpress-forums .gmx-trow { grid-template-columns: 36px minmax(0, 1fr); gap: 6px 12px; padding: 12px 16px; align-items: start; }
	#bbpress-forums .gmx-tile, #bbpress-forums .gmx-trow > .gmx-avatar { grid-row: 1 / span 3; }
	#bbpress-forums .gmx-tile { width: 36px; height: 36px; font-size: 13px; border-radius: 9px; }
	#bbpress-forums .gmx-avatar-lg img.avatar { width: 36px !important; height: 36px !important; }
	#bbpress-forums .gmx-stats { grid-column: 2; grid-row: 2; }
	#bbpress-forums .gmx-last { grid-column: 2; grid-row: 3; gap: 8px; padding-top: 6px; border-top: 1px dashed var(--gmx-border); }
	#bbpress-forums .gmx-last .gmx-avatar img.avatar { width: 22px !important; height: 22px !important; }
	#bbpress-forums .gmx-last-body { flex-direction: row; align-items: baseline; gap: 6px; min-width: 0; }
	#bbpress-forums .gmx-last-title { flex: 0 1 auto; min-width: 0; }
	#bbpress-forums .gmx-last-meta { flex: 0 0 auto; }
	#bbpress-forums .gmx-toolbar { flex-direction: column; align-items: stretch; }
	#bbpress-forums .gmx-toolbar-actions { margin-left: 0; }
	#bbpress-forums .gmx-toolbar div.bbp-search-form, #bbpress-forums .gmx-toolbar #bbp-search-form { flex: 1 1 100%; }
	#bbpress-forums .gmx-toolbar #bbp-search-form > div { flex: 1; }
	#bbpress-forums .gmx-toolbar #bbp_search { width: 100% !important; flex: 1; }
	#bbpress-forums .gmx-desc { font-size: 12.5px !important; }
}

/* ==========================================================================
   Thread view — readable post column, quiet signatures, real quote blocks
   ========================================================================== */
#bbpress-forums .bbp-reply-content, #bbpress-forums .bbp-topic-content { font-size: 16px !important; line-height: 1.7 !important; }
#bbpress-forums .bbp-reply-content p, #bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content li, #bbpress-forums .bbp-topic-content li { font-size: inherit !important; line-height: inherit !important; max-width: 80ch; }
#bbpress-forums .bbp-reply-content img, #bbpress-forums .bbp-topic-content img { max-width: 100%; height: auto; }
#bbpress-forums .bbp-signature, #bbpress-forums .bbp-signature * { font-size: 12.5px !important; line-height: 1.5 !important; color: var(--gmx-muted) !important; }
#bbpress-forums .bbp-signature { max-height: 7.5em; overflow: hidden; margin-top: 16px; }
#bbpress-forums .bbp-signature img { max-height: 60px; width: auto; }
#bbpress-forums .bbcode_quote {
	margin: 0 0 14px; padding: 10px 14px; background: var(--gmx-surface-2); border: 1px solid var(--gmx-border);
	border-left: 3px solid var(--gmx-cyan); border-radius: 6px; max-width: 75ch;
}
#bbpress-forums .bbcode_quote_head { margin: 0 0 4px; font: 600 11px/1.4 var(--gmx-font-mono); letter-spacing: .04em; color: var(--gmx-cyan); }
#bbpress-forums .bbcode_quote_body { font-size: 15px; line-height: 1.6; color: #c4c8d0; }
#bbpress-forums .bbcode_quote_body p { margin: 0 0 6px !important; }
@media (min-width: 568px) {
	#bbpress-forums div.bbp-reply-author, #bbpress-forums div.bbp-topic-author { width: 150px !important; padding: 16px 12px !important; box-sizing: border-box; }
	#bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar { width: 64px !important; height: 64px !important; border-radius: 12px !important; margin: 0 auto 8px !important; }
	#bbpress-forums div.bbp-reply-content, #bbpress-forums div.bbp-topic-content { margin-left: 150px !important; padding: 16px 24px 20px !important; }
}
@media (max-width: 567px) {
	#bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-lead-topic { margin-left: -20px !important; margin-right: -20px !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
}

/* The AUTHOR | POSTS header bar says nothing the layout doesn't — drop it */
#bbpress-forums ul.bbp-replies > li.bbp-header, #bbpress-forums ul.bbp-lead-topic > li.bbp-header { display: none !important; }
#bbpress-forums ul.bbp-replies > li.bbp-body > div.bbp-reply-header:first-child { border-top: 0 !important; }
@media (max-width: 900px) {
	#bbpress-forums .gmx-board-topics .gmx-section-head { display: none; }
}
@media (max-width: 567px) {
	#bbpress-forums .gmx-last::before { flex: 0 0 auto; font: 600 9.5px/1 var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
	#bbpress-forums .gmx-frow .gmx-last::before { content: "Latest"; }
	#bbpress-forums .gmx-trow .gmx-last::before { content: "Last reply"; }
}

/* Forum tiles: duotone topic illustrations (gmx_forum_icon) */
#bbpress-forums .gmx-tile {
	background: linear-gradient(145deg, rgba(255, 122, 26, .20), rgba(255, 122, 26, .05)) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 122, 26, .22);
}
#bbpress-forums .is-private .gmx-tile {
	background: linear-gradient(145deg, rgba(79, 196, 227, .20), rgba(79, 196, 227, .05)) !important;
	box-shadow: inset 0 0 0 1px rgba(79, 196, 227, .24);
}
#bbpress-forums .gmx-tile svg { width: 24px; height: 24px; display: block; stroke-width: 1.75; }
#bbpress-forums .gmx-tile svg .f { fill-opacity: .28 !important; }
#bbpress-forums .gmx-tile svg .f { fill: currentColor; fill-opacity: .22; }
#bbpress-forums .gmx-tile svg circle[r=".6"] { fill: currentColor; }
#bbpress-forums .gmx-frow:hover .gmx-tile svg { transform: scale(1.06); }
#bbpress-forums .gmx-tile svg { transition: transform .15s; }
@media (prefers-reduced-motion: reduce) { #bbpress-forums .gmx-tile svg { transition: none; } #bbpress-forums .gmx-frow:hover .gmx-tile svg { transform: none; } }
@media (max-width: 567px) { #bbpress-forums .gmx-tile svg { width: 22px; height: 22px; } }

/* Topic rows: jump straight to the last post */
#bbpress-forums .gmx-trow .gmx-last-title { font-weight: 500; }
#bbpress-forums .gmx-last-when { color: var(--gmx-muted) !important; text-decoration: none !important; }
#bbpress-forums .gmx-last-when:hover { color: var(--gmx-orange) !important; text-decoration: underline !important; text-underline-offset: 2px; }
#bbpress-forums .gmx-jump {
	position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto;
	border: 1px solid var(--gmx-border); border-radius: 8px; color: var(--gmx-muted) !important; text-decoration: none !important;
	transition: color .15s, border-color .15s, background-color .15s;
}
#bbpress-forums .gmx-jump:hover, #bbpress-forums .gmx-jump:focus-visible {
	color: #111 !important; background: var(--gmx-orange); border-color: var(--gmx-orange); outline: none;
}
#bbpress-forums .gmx-jump:focus-visible { box-shadow: 0 0 0 3px rgba(255, 122, 26, .35); }
#bbpress-forums .gmx-trow:hover .gmx-jump { border-color: rgba(255, 122, 26, .5); color: var(--gmx-orange) !important; }
#bbpress-forums .gmx-trow:hover .gmx-jump:hover { color: #111 !important; }
#bbpress-forums .gmx-board-topics .gmx-cols-topics, #bbpress-forums .gmx-trow { --gmx-c-last: 220px; }
#bbpress-forums .gmx-cols-topics { grid-template-columns: 64px 220px !important; }
#bbpress-forums .gmx-trow { grid-template-columns: 40px minmax(0, 1fr) 64px 220px; }
@media (max-width: 900px) { #bbpress-forums .gmx-trow { grid-template-columns: 40px minmax(0, 1fr) 200px; } }
@media (max-width: 567px) {
	#bbpress-forums .gmx-trow { grid-template-columns: 36px minmax(0, 1fr); }
	#bbpress-forums .gmx-trow .gmx-last { align-items: center; }
	#bbpress-forums .gmx-jump { width: 36px; height: 30px; } /* comfortable thumb target */
}

/* Plain #post-N anchors clear the fixed header */
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { scroll-margin-top: 130px; }
/* Post reached via "jump to last post" — brief highlight */
#bbpress-forums .gmx-flash { box-shadow: inset 3px 0 0 var(--gmx-orange); background-color: rgba(255, 122, 26, .06) !important; transition: background-color .6s, box-shadow .6s; }
@media (prefers-reduced-motion: reduce) { #bbpress-forums .gmx-flash { transition: none; } }

/* ==========================================================================
   Page / archive headers (2026) — left-aligned, compact, mono kicker
   Category/tag markup comes from mu-plugins/gmx-archive-header.php; other
   Gauge title bands (pages, Latest, search, author) share the base style.
   ========================================================================== */
.gp-page-header.gp-standard-header, .gp-page-header.gmx-archive-head { text-align: left !important; }
.gp-page-header.gp-standard-header .gp-container, .gmx-archive-head .gp-container { padding-top: 186px !important; padding-bottom: 28px !important; } /* clears the overlay header (bottom ≈ 165px) */
@media (max-width: 1023px) { .gp-page-header.gp-standard-header .gp-container, .gmx-archive-head .gp-container { padding-top: 142px !important; } } /* header bottom ≈ 123px */
.gp-page-header .gp-entry-title {
	margin: 0 !important; font: 700 clamp(30px, 4.2vw, 46px)/1.05 var(--gmx-font-head) !important; letter-spacing: -.01em !important;
	text-transform: none !important; color: #fff !important; text-align: left !important;
}
.gp-page-header .gp-subtitle {
	margin: 8px 0 0 !important; max-width: 62ch; text-align: left !important;
	font: 400 16px/1.5 var(--gmx-font-body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--gmx-muted) !important;
}

/* Archive header */
.gmx-archive-head {
	position: relative; overflow: hidden;
	background:
		radial-gradient(700px 260px at 0% 0%, rgba(255, 122, 26, .10), transparent 70%),
		linear-gradient(180deg, #121417 0%, var(--gmx-bg) 100%) !important;
	border-bottom: 1px solid var(--gmx-border);
}
.gmx-archive-head .gp-container { position: relative; z-index: 1; background: transparent !important; }
/* Racing stripes on the right, echoing the header/footer */
.gmx-archive-head::after {
	content: ""; position: absolute; top: -20px; bottom: -20px; right: max(24px, calc((100vw - 1170px) / 2 + 40px)); width: 150px;
	transform: skewX(-20deg); pointer-events: none; opacity: .9;
	background: linear-gradient(90deg,
		rgba(255, 122, 26, .30) 0 36%, transparent 36% 50%,
		rgba(255, 122, 26, .18) 50% 64%, transparent 64% 78%,
		rgba(255, 122, 26, .09) 78% 90%, transparent 90%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 45%, #000 100%);
}
.gmx-archive-crumbs { margin: 0 0 22px; }
.gmx-archive-crumbs, .gmx-archive-crumbs span { font: 500 11px/1.6 var(--gmx-font-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: #3a3f48 !important; }
.gmx-archive-crumbs a { color: var(--gmx-muted) !important; text-decoration: none !important; transition: color .15s; }
.gmx-archive-crumbs a:hover { color: var(--gmx-orange) !important; }
.gmx-archive-crumbs .breadcrumb_last { color: var(--gmx-text) !important; }
.gmx-archive-crumbs > span > span:first-child a::before { content: "~/ "; color: var(--gmx-orange); }

.gmx-archive-head .gmx-kicker {
	margin: 0 0 8px !important; font: 700 11px/1.4 var(--gmx-font-mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gmx-orange) !important;
}
.gmx-archive-head .gmx-kicker::before { content: "// "; }
.gmx-archive-head .gmx-kicker i { font-style: normal; color: #4a505c; margin: 0 4px; }
.gmx-archive-head .gmx-kicker a { color: var(--gmx-text) !important; text-decoration: none !important; }
.gmx-archive-head .gmx-kicker a:hover { color: var(--gmx-orange) !important; }
.gmx-archive-head .gmx-archive-desc { margin: 10px 0 0 !important; max-width: 62ch; font: 400 16px/1.55 var(--gmx-font-body) !important; color: #b4bac4 !important; }
.gmx-archive-head .gmx-archive-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 16px 0 0 !important;
	font: 500 11px/1.5 var(--gmx-font-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--gmx-muted) !important;
}
.gmx-archive-head .gmx-archive-meta b { color: var(--gmx-text); font-weight: 700; }
.gmx-archive-head .gmx-archive-meta i { font-style: normal; color: #3a3f48; }
.gmx-archive-head .gmx-archive-rss { color: var(--gmx-orange) !important; text-decoration: none !important; }
.gmx-archive-head .gmx-archive-rss::before { content: "[ "; color: #4a505c; }
.gmx-archive-head .gmx-archive-rss::after { content: " ]"; color: #4a505c; }
.gmx-archive-head .gmx-archive-rss:hover { color: var(--gmx-orange-2) !important; }
.gmx-archive-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.gmx-archive-chips a {
	display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
	border: 1px solid var(--gmx-border); background: rgba(255, 255, 255, .02); color: var(--gmx-text) !important;
	font: 600 12px/1 var(--gmx-font-body); text-decoration: none !important; transition: border-color .15s, color .15s, background-color .15s;
}
.gmx-archive-chips a:hover, .gmx-archive-chips a:focus-visible { border-color: var(--gmx-orange); color: var(--gmx-orange) !important; background: rgba(255, 122, 26, .08); outline: none; }
/* The old breadcrumb bar is folded into the header on archives */
.gmx-archive-head + #breadcrumbs { display: none !important; }
@media (max-width: 767px) {
	.gmx-archive-head::after { width: 90px; right: -10px; opacity: .6; }
	.gmx-archive-head .gp-container { padding-bottom: 20px !important; }
	.gmx-archive-crumbs { margin-bottom: 16px; }
	.gmx-archive-head .gmx-archive-desc, .gp-page-header .gp-subtitle { font-size: 15px !important; }
}

/* Archive header — compact pass: meta sits beside the title on wide screens */
.gp-page-header.gp-standard-header .gp-container, .gmx-archive-head .gp-container { padding-top: 142px !important; padding-bottom: 18px !important; } /* band starts under the 40px top bar; main header ends 125px into it */
@media (max-width: 1023px) { .gp-page-header.gp-standard-header .gp-container, .gmx-archive-head .gp-container { padding-top: 98px !important; padding-bottom: 16px !important; } }
.gmx-archive-crumbs { margin: 0 0 10px !important; }
.gp-page-header .gp-entry-title { font-size: clamp(28px, 3.4vw, 38px) !important; }
.gmx-archive-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 32px; }
.gmx-archive-main { min-width: 0; flex: 1 1 420px; }
.gmx-archive-head .gmx-archive-desc { margin: 4px 0 0 !important; font-size: 15px !important; }
.gmx-archive-head .gmx-archive-meta { margin: 0 !important; padding-bottom: 4px; }
.gmx-archive-type { color: var(--gmx-orange); font-weight: 700; }
.gmx-archive-type i { font-style: normal; color: #4a505c; margin: 0 4px; }
.gmx-archive-type a { color: var(--gmx-text) !important; text-decoration: none !important; }
.gmx-archive-chips { margin-top: 12px !important; }
.gmx-archive-head::after { width: 120px; }
@media (min-width: 1024px) { .gmx-archive-head .gmx-archive-meta { margin-right: 150px !important; } } /* clear the stripes */
@media (max-width: 767px) {
	.gmx-archive-head .gmx-archive-meta { margin-top: 8px !important; }
	.gp-page-header .gp-entry-title { font-size: 28px !important; }
}
@media (max-width: 480px) {
	.gmx-archive-head .gmx-archive-updated, .gmx-archive-head .gmx-archive-updated + i { display: none; }
}

/* Homepage: hero sits close under the nav */
body.home #gp-content { padding-top: 6px !important; }
body.home .gmx-hero { margin-top: 0 !important; }

/* Forum pages: compact title area (breadcrumb → title → toolbar) */
body.bbpress #gp-content { padding-top: 10px !important; }
body.bbpress .gp-bbp-entry-header { margin: 0 0 8px !important; }
body.bbpress .gp-bbp-entry-header .gp-entry-title { margin: 0 !important; font-size: clamp(28px, 3.4vw, 38px) !important; line-height: 1.1 !important; }
body.bbpress #bbpress-forums .gmx-toolbar { margin-bottom: 14px; }

/* ==========================================================================
   The GameManx Weekly — signup (footer band + end of articles)
   ========================================================================== */
.gmx-nl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.gmx-nl-copy { flex: 1 1 320px; min-width: 0; }
.gmx-nl-kicker { margin: 0 0 6px !important; font: 700 11px/1.4 var(--gmx-font-mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gmx-orange) !important; }
.gmx-nl-kicker::before { content: "// "; }
.gmx-nl-title { margin: 0 !important; padding: 0 !important; border: 0 !important; font: 700 22px/1.2 var(--gmx-font-head) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; }
.gmx-nl-title::after, .gmx-nl-title::before { content: none !important; }
.gmx-nl-text { margin: 6px 0 0 !important; font-size: 14px !important; line-height: 1.5; color: var(--gmx-muted) !important; }
.gmx-nl-form { flex: 1 1 360px; max-width: 460px; margin: 0; }
.gmx-nl-field { display: flex; gap: 8px; }
.gmx-nl-field input[type="email"] {
	flex: 1; min-width: 0; height: 44px !important; margin: 0 !important; padding: 0 14px !important; font-size: 15px !important;
	background: var(--gmx-bg) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 8px !important; box-shadow: none !important;
}
.gmx-nl-field input[type="email"]:focus { border-color: var(--gmx-orange) !important; box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important; outline: none; }
.gmx-nl-field button {
	flex: 0 0 auto; height: 44px !important; margin: 0 !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; cursor: pointer;
	background: var(--gmx-orange) !important; color: #111 !important; font: 700 12px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
}
.gmx-nl-field button:hover, .gmx-nl-field button:focus-visible { background: var(--gmx-orange-2) !important; outline: none; }
.gmx-nl-field button:disabled { opacity: .6; cursor: default; }
.gmx-nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gmx-nl-status { margin: 8px 0 0 !important; min-height: 1.4em; font-size: 13px !important; color: var(--gmx-muted) !important; }
.gmx-nl-status.is-ok { color: #39d37a !important; }
.gmx-nl-status.is-error { color: #ff6b5e !important; }
.gmx-nl-status:empty { min-height: 0; margin: 0 !important; }
.gmx-nl-fine { margin: 6px 0 0 !important; font-size: 12px !important; color: #6b7280 !important; }
.gmx-nl-fine a { color: var(--gmx-muted) !important; text-decoration: underline; }

/* Footer band */
.gmx-nl-band { position: relative; clear: both; background: linear-gradient(90deg, rgba(255, 122, 26, .08), transparent 55%), #121417; border-top: 1px solid var(--gmx-border); border-bottom: 1px solid var(--gmx-border); }
.gmx-nl-band .gp-container { padding-top: 26px; padding-bottom: 26px; }

/* End of article */
.gmx-nl--article { margin: 36px 0 8px; padding: 22px 24px; background: var(--gmx-surface); border: 1px solid var(--gmx-border); border-left: 3px solid var(--gmx-orange); border-radius: 12px; }
.gmx-nl--article .gmx-nl-title { font-size: 20px !important; }
.gmx-nl--article .gmx-nl-form { max-width: none; }

@media (max-width: 600px) {
	.gmx-nl-field { flex-direction: column; }
	.gmx-nl-field button { width: 100%; }
	.gmx-nl--article { padding: 18px 16px; }
}

/* Confirmation result toast */
.gmx-nl-toast {
	position: fixed; z-index: 100000; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: calc(100% - 32px);
	display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; border-radius: 10px;
	background: var(--gmx-surface-2); border: 1px solid #3a3f48; border-left: 3px solid #39d37a; color: var(--gmx-text); font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.gmx-nl-toast.is-error { border-left-color: #ff6b5e; }
.gmx-nl-toast button { background: none !important; border: 0 !important; color: var(--gmx-muted) !important; font-size: 20px !important; line-height: 1; padding: 0 4px !important; cursor: pointer; height: auto !important; }
#gp-footer .gmx-nl-kicker { color: var(--gmx-orange) !important; }
#gp-footer .gmx-nl-band .gp-container { background: transparent !important; }

/* ==========================================================================
   Single article (2026 pass): meta line, vault note, tags, related, comments
   ========================================================================== */
/* Meta line: category chips without the stray commas, tidy wrapping */
.single .gp-entry-header { margin-bottom: 18px !important; }
.gp-entry-meta { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }
.gp-entry-meta .gp-meta-cats { display: inline-flex; flex-wrap: wrap; gap: 4px; font-size: 0 !important; }
.gp-entry-meta .gp-meta-cats a { font-size: 10px !important; margin: 0 !important; }
.gmx-vault-note { margin-top: 0 !important; margin-bottom: 22px !important; }
.single .gp-entry-content > .gmx-vault-note:first-child { margin-top: 0 !important; }

/* Shared section heading (Related, Comments, Leave a Reply): left-aligned mono label with a hairline */
.single .gp-post-section-header, .single #reply-title {
	display: flex !important; align-items: center; gap: 12px; margin: 0 0 16px !important; padding: 0 !important; text-align: left !important; background: none !important; border: 0 !important;
}
.single .gp-post-section-header h3, .single #reply-title {
	margin: 0 !important; padding: 0 !important; background: none !important; flex: 0 0 auto;
	font: 700 12px/1.4 var(--gmx-font-mono) !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--gmx-text) !important;
}
.single #reply-title { flex: 1 1 auto; }
.single .gp-post-section-header .gp-post-section-header-line, .single #commentform > .gp-post-section-header-line { display: block; position: static !important; flex: 1; height: 1px !important; margin: 0 !important; background: var(--gmx-border) !important; border: 0 !important; }
.single #commentform > .gp-post-section-header-line { display: none !important; }
.single #reply-title::after { content: ""; flex: 1; height: 1px; background: var(--gmx-border); }
.single #reply-title small { order: 2; margin-left: 8px; font: 600 11px var(--gmx-font-mono); }
.single #reply-title small a { color: var(--gmx-muted) !important; }

/* Tags */
.single .gp-entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 32px !important; padding-top: 16px; border-top: 1px solid var(--gmx-border); }
.single .gp-entry-tags::before { content: "Tags //"; margin-right: 4px; font: 700 11px var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted); font-family: var(--gmx-font-mono) !important; }
.single .gp-entry-tags a {
	display: inline-block; margin: 0 !important; padding: 3px 9px !important; border-radius: 999px !important; border: 1px solid var(--gmx-border) !important;
	background: transparent !important; color: var(--gmx-muted) !important; font: 500 12px/1.5 var(--gmx-font-body) !important; letter-spacing: 0 !important; text-transform: lowercase !important;
}
.single .gp-entry-tags a:hover { border-color: var(--gmx-orange) !important; color: var(--gmx-orange) !important; }

/* Related: equal-height 4-up cards, consistent 16:10 media, clamped titles */
.single .gp-related-wrapper { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 36px !important; }
.single .gp-related-wrapper .gp-inner-loop { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 !important; }
.single .gp-related-wrapper .gp-post-item {
	position: relative; display: flex !important; flex-direction: column; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
	background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: 10px !important; overflow: hidden; transition: border-color .15s, transform .15s;
}
.single .gp-related-wrapper .gp-post-item:hover { border-color: rgba(255, 122, 26, .55) !important; transform: translateY(-2px); }
.single .gp-related-wrapper .gp-post-thumbnail { margin: 0 !important; }
.single .gp-related-wrapper .gp-post-thumbnail img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; }
/* No image: branded placeholder keeps the row even */
.single .gp-related-wrapper .gp-post-item:not(:has(.gp-post-thumbnail))::before {
	content: ""; display: block; aspect-ratio: 16 / 10;
	background: repeating-linear-gradient(-60deg, rgba(255, 122, 26, .10) 0 10px, transparent 10px 22px), linear-gradient(135deg, #1d2025, #121417);
}
.single .gp-related-wrapper .gp-loop-content { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px !important; }
.single .gp-related-wrapper .gp-loop-title { margin: 0 0 8px !important; }
.single .gp-related-wrapper .gp-loop-title a {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	font: 600 14px/1.35 var(--gmx-font-body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important;
}
/* Whole card clickable */
.single .gp-related-wrapper .gp-loop-title a::after { content: ""; position: absolute; inset: 0; }
.single .gp-related-wrapper .gp-post-item:hover .gp-loop-title a { color: var(--gmx-orange) !important; }
.single .gp-related-wrapper .gp-loop-meta { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 11px !important; }
.single .gp-related-wrapper .gp-loop-meta::before { margin: 0 !important; }
@media (max-width: 900px) { .single .gp-related-wrapper .gp-inner-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Comments */
.single #comments { margin: 0 0 32px !important; padding: 0 !important; }
.single .commentlist, .single .commentlist .children { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.single .commentlist > li { padding: 16px 0 !important; margin: 0 !important; border-top: 1px solid var(--gmx-border) !important; }
.single .commentlist > li:first-child { border-top: 0 !important; padding-top: 4px !important; }
.single .commentlist .children { margin: 12px 0 0 22px !important; padding-left: 16px !important; border-left: 2px solid var(--gmx-border) !important; }
.single .commentlist .children li { padding: 10px 0 0 !important; border: 0 !important; }
.single .comment_container { display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; padding: 0 !important; background: none !important; border: 0 !important; }
.single .comment_container > img.avatar { width: 44px !important; height: 44px !important; border-radius: 50% !important; margin: 0 !important; float: none !important; border: 0 !important; }
.single .gp-comment-content { margin: 0 !important; padding: 0 !important; min-width: 0; }
.single .gp-comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 4px !important; }
.single .gp-comment-meta strong, .single .gp-comment-meta strong a { font: 600 14px var(--gmx-font-body) !important; color: #fff !important; }
.single .gp-comment-meta time { font: 500 11px var(--gmx-font-mono) !important; letter-spacing: .04em; color: var(--gmx-muted) !important; }
.single .gp-comment-meta time::before { content: none !important; }
.single .gp-comment-content .description p { margin: 0 0 8px !important; font-size: 15px !important; line-height: 1.65 !important; color: #d6d9e0 !important; }
.single .bypostauthor > .comment_container .gp-comment-meta strong::after {
	content: "Author"; margin-left: 8px; padding: 1px 6px; border-radius: 4px; vertical-align: 1px;
	font: 700 9.5px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-orange); border: 1px solid rgba(255, 122, 26, .5);
}
/* Reply: a small bracketed action, not a full-width bar */
.single .commentlist .comment-reply-link {
	display: inline-block !important; width: auto !important; height: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
	background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
	font: 700 11px/1.6 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-orange) !important;
}
.single .commentlist .comment-reply-link::before { content: "[ "; color: #4a505c; }
.single .commentlist .comment-reply-link::after { content: " ]"; color: #4a505c; }
.single .commentlist .comment-reply-link:hover { color: var(--gmx-orange-2) !important; }

/* Reply form */
.single #respond { margin: 0 0 20px !important; padding: 20px 22px !important; background: var(--gmx-surface) !important; border: 1px solid var(--gmx-border) !important; border-radius: 12px !important; }
.single #commentform .form-allowed-tags { display: none !important; } /* HTML tag list = noise */
.single #commentform .comment-notes, .single #commentform .logged-in-as { margin: 0 0 14px !important; font-size: 13px !important; color: var(--gmx-muted) !important; }
.single #commentform .logged-in-as a { color: var(--gmx-orange) !important; }
.single #commentform label { display: block; margin: 0 0 6px !important; font: 600 11px var(--gmx-font-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted) !important; }
.single #commentform .required { color: var(--gmx-orange) !important; }
.single #commentform textarea, .single #commentform input[type="text"], .single #commentform input[type="email"], .single #commentform input[type="url"] {
	width: 100% !important; box-sizing: border-box; margin: 0 !important; padding: 10px 12px !important; font-size: 15px !important;
	background: var(--gmx-bg) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 8px !important; box-shadow: none !important;
}
.single #commentform textarea { min-height: 130px; resize: vertical; }
.single #commentform textarea:focus, .single #commentform input:focus { border-color: var(--gmx-orange) !important; box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important; outline: none; }
.single #commentform .comment-form-author, .single #commentform .comment-form-email, .single #commentform .comment-form-url { display: inline-block; width: calc((100% - 28px) / 3); vertical-align: top; margin: 0 14px 14px 0 !important; }
.single #commentform .comment-form-url { margin-right: 0 !important; }
.single #commentform .comment-form-author .required, .single #commentform .comment-form-email .required { display: none; }
.single #commentform .comment-form-comment { margin: 0 0 14px !important; }
.single #commentform .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; margin: 0 0 14px !important; }
.single #commentform .comment-form-cookies-consent label { margin: 0 !important; font: 400 13px var(--gmx-font-body) !important; letter-spacing: 0; text-transform: none; }
.single #commentform .form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 !important; }
.single #commentform .form-submit br { display: none; }
.single #commentform #submit {
	height: 42px !important; padding: 0 20px !important; margin: 0 !important; border: 0 !important; border-radius: 8px !important;
	background: var(--gmx-orange) !important; color: #111 !important; font: 700 12px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
}
.single #commentform #submit:hover { background: var(--gmx-orange-2) !important; }
@media (max-width: 600px) {
	.single #commentform .comment-form-author, .single #commentform .comment-form-email, .single #commentform .comment-form-url { display: block; width: 100%; margin-right: 0 !important; }
	.single #respond { padding: 16px !important; }
	.single .commentlist .children { margin-left: 8px !important; padding-left: 12px !important; }
}
.single .gp-related-wrapper .gp-post-thumbnail, .single .gp-related-wrapper .gp-post-thumbnail .gp-image-above, .single .gp-related-wrapper .gp-post-thumbnail a {
	display: block !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; line-height: 0 !important;
}
.single .gp-comment-meta strong::after { content: none !important; }
.single .bypostauthor > .comment_container .gp-comment-meta strong::after { content: "Author" !important; }

/* ==========================================================================
   Image lightbox (Gauge's prettyPhoto, "pp_default") — dark GameManx skin.
   Only colours/icons change; piece sizes stay as prettyPhoto measures them.
   ========================================================================== */
div.pp_overlay { background: #050607 !important; }
div.pp_default .pp_top, div.pp_default .pp_top .pp_left, div.pp_default .pp_top .pp_middle, div.pp_default .pp_top .pp_right,
div.pp_default .pp_bottom, div.pp_default .pp_bottom .pp_left, div.pp_default .pp_bottom .pp_middle, div.pp_default .pp_bottom .pp_right,
div.pp_default .pp_content_container .pp_left, div.pp_default .pp_content_container .pp_right {
	background: #16181c !important;
}
div.pp_default .pp_top { border-radius: 12px 12px 0 0; overflow: hidden; }
div.pp_default .pp_bottom { border-radius: 0 0 12px 12px; overflow: hidden; }
div.pp_default .pp_top .pp_left { border-top-left-radius: 12px; }
div.pp_default .pp_top .pp_right { border-top-right-radius: 12px; }
div.pp_default .pp_bottom .pp_left { border-bottom-left-radius: 12px; }
div.pp_default .pp_bottom .pp_right { border-bottom-right-radius: 12px; }
div.pp_pic_holder.pp_default { filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .6)); }
div.pp_default .pp_content { background-color: #16181c !important; }
div.pp_default #fullResImage { border-radius: 6px; }
div.pp_default .pp_loaderIcon {
	background: none !important; width: 28px; height: 28px; margin: -14px 0 0 -14px;
	border: 3px solid rgba(255, 122, 26, .25); border-top-color: #ff7a1a; border-radius: 50%; animation: gmx-pp-spin .8s linear infinite;
}
@keyframes gmx-pp-spin { to { transform: rotate(360deg); } }

/* Title + caption */
div.pp_default .ppt { color: #fff !important; font: 700 16px/1.3 var(--gmx-font-head) !important; }
div.pp_default .pp_description { margin: 6px 50px 4px 0 !important; font: 400 13px/1.5 var(--gmx-font-body) !important; color: #b4bac4 !important; }

/* Bottom bar: slideshow, prev/next, counter */
div.pp_default .pp_nav .currentTextHolder { font: 600 11px/25px var(--gmx-font-mono) !important; font-style: normal !important; letter-spacing: .08em; color: var(--gmx-muted) !important; }
div.pp_default .pp_nav .pp_play, div.pp_default .pp_nav .pp_pause,
div.pp_default a.pp_arrow_previous, div.pp_default a.pp_arrow_next, div.pp_default .pp_close,
div.pp_default .pp_expand, div.pp_default .pp_contract {
	background-color: #1d2025 !important; background-repeat: no-repeat !important; background-position: center !important;
	border: 1px solid #2a2e35; border-radius: 50%; box-sizing: border-box; opacity: 1 !important; transition: border-color .15s, background-color .15s;
}
div.pp_default .pp_nav .pp_play:hover, div.pp_default .pp_nav .pp_pause:hover, div.pp_default a.pp_arrow_previous:hover,
div.pp_default a.pp_arrow_next:hover, div.pp_default .pp_close:hover, div.pp_default .pp_expand:hover, div.pp_default .pp_contract:hover {
	border-color: #ff7a1a; background-color: rgba(255, 122, 26, .15) !important;
}
div.pp_default .pp_nav .pp_play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath d='M8 5v14l11-7z' fill='%23e7e9ee'/%3E%3C/svg%3E") !important; background-size: 14px !important; }
div.pp_default .pp_nav .pp_pause { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath d='M7 5h3.5v14H7zM13.5 5H17v14h-3.5z' fill='%23e7e9ee'/%3E%3C/svg%3E") !important; background-size: 14px !important; }
div.pp_default a.pp_arrow_previous { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7e9ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") !important; background-size: 12px !important; }
div.pp_default a.pp_arrow_next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7e9ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") !important; background-size: 12px !important; }
div.pp_default .pp_close { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7e9ee' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") !important; background-size: 14px !important; }
div.pp_default .pp_expand { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7e9ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") !important; background-size: 14px !important; }
div.pp_default .pp_contract { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7e9ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14h6v6M20 10h-6V4M14 10l7-7M3 21l7-7'/%3E%3C/svg%3E") !important; background-size: 14px !important; }

/* Big prev/next targets over the image: dark chevron discs on hover */
div.pp_default .pp_next:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%2316181c' fill-opacity='.85' stroke='%23ff7a1a' stroke-width='1.5'/%3E%3Cpath d='M20 15l9 9-9 9' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 44px no-repeat !important; }
div.pp_default .pp_previous:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%2316181c' fill-opacity='.85' stroke='%23ff7a1a' stroke-width='1.5'/%3E%3Cpath d='M28 15l-9 9 9 9' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 16px center / 44px no-repeat !important; }

/* Thumbnail strip (if enabled) */
div.pp_default .pp_gallery ul li a { background: #1d2025 !important; border: 1px solid #2a2e35 !important; }
div.pp_default .pp_gallery ul li a:hover, div.pp_default .pp_gallery ul li.selected a { border-color: #ff7a1a !important; }
/* prettyPhoto's bottom strip collapses to 19px on the right (hidden by the old white frame) — make both strips full width */
div.pp_default .pp_top, div.pp_default .pp_bottom { display: flex !important; width: 100% !important; margin: 0 !important; position: relative !important; left: 0 !important; }
div.pp_default .pp_top .pp_left, div.pp_default .pp_bottom .pp_left, div.pp_default .pp_top .pp_right, div.pp_default .pp_bottom .pp_right { flex: 0 0 20px; width: 20px !important; float: none !important; position: static !important; }
div.pp_default .pp_top .pp_middle, div.pp_default .pp_bottom .pp_middle { flex: 1 1 auto; width: auto !important; float: none !important; position: static !important; }

/* Article header: breadcrumb → title → meta → content, same rhythm as forum/category pages */
body.single-post #gp-content { padding-top: 12px !important; }
body.single-post .gp-entry-header { margin: 0 0 20px !important; padding: 0 !important; }
body.single-post .gp-entry-header .gp-entry-title { margin: 0 0 10px !important; line-height: 1.12 !important; }
body.single-post .gp-entry-header .gp-entry-meta { padding: 0 !important; margin: 0 !important; }
body.single-post .gp-entry-meta .gp-meta-cats::before { display: none !important; }
body.single-post .gp-entry-meta .gp-meta-cats { margin: 0 !important; padding: 0 !important; }
body.single-post .gp-entry-header .gp-entry-meta { column-gap: 6px; }

/* ==========================================================================
   Post cards (2026 pass): images fill their cards, richer hover
   ========================================================================== */
/* Phones get the large image too (Gauge's 80×80 "mobile" crop was being stretched to full width) */
@media (max-width: 767px) {
	.gp-post-item .gp-post-thumbnail img.gp-large-image { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; }
	.gp-post-item .gp-post-thumbnail img.gp-mobile-image { display: none !important; }
}

/* Shared hover language: lift, orange edge + glow, image zoom, accent bar */
.gp-post-item { position: relative; isolation: isolate; }
.gp-post-item::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 3; pointer-events: none;
	background: linear-gradient(90deg, var(--gmx-orange), rgba(255, 122, 26, 0)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.gp-post-item:hover::after, .gp-post-item:focus-within::after { transform: scaleX(1); }
.gp-post-item:hover, .gp-post-item:focus-within {
	transform: translateY(-3px); border-color: rgba(255, 122, 26, .45) !important;
	box-shadow: 0 16px 36px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 122, 26, .12);
}
.gp-post-item .gp-post-thumbnail { overflow: hidden; }
.gp-post-item .gp-post-thumbnail img.gp-large-image { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
.gp-post-item:hover .gp-post-thumbnail img.gp-large-image { transform: scale(1.07); filter: saturate(1.12) brightness(1.04); }
.gp-post-item:hover .gp-loop-title a { color: var(--gmx-orange) !important; }
@media (prefers-reduced-motion: reduce) {
	.gp-post-item, .gp-post-item::after, .gp-post-item .gp-post-thumbnail img.gp-large-image { transition: none !important; }
	.gp-post-item:hover { transform: none; }
	.gp-post-item:hover .gp-post-thumbnail img.gp-large-image { transform: none; }
}

/* News rows (blog-standard, image left): image column fills the full card height */
@media (min-width: 768px) {
	.gp-blog-standard .gp-post-item.has-post-thumbnail { display: grid !important; grid-template-columns: 38% minmax(0, 1fr); align-items: stretch; }
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail { position: relative; min-height: 180px; float: none !important; width: auto !important; }
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail > div,
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail a { position: absolute !important; inset: 0; float: none !important; width: auto !important; height: auto !important; margin: 0 !important; }
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail img.gp-large-image { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0 !important; }
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-loop-content { margin: 0 !important; float: none !important; width: auto !important; padding: 18px 20px !important; align-self: center; }
	/* Soft edge where image meets text */
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail::after {
		content: ""; position: absolute; inset: 0 0 0 auto; width: 40px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(22, 24, 28, .55));
	}
}
@media (max-width: 767px) {
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail, .gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-post-thumbnail > div { float: none !important; width: 100% !important; margin: 0 !important; }
	.gp-blog-standard .gp-post-item.has-post-thumbnail > .gp-loop-content { margin: 0 !important; }
}

/* Strip cards (blog-columns, title over image): the image is the card */
.gp-blog-columns-4 .gp-post-item .gp-loop-content.gp-image-above:not(:has(*)) { display: none !important; }
.gp-blog-columns-4 .gp-post-item .gp-post-thumbnail img.gp-large-image { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.gp-blog-columns-4 .gp-post-item .gp-image-above > a { position: relative; display: block; }
.gp-blog-columns-4 .gp-post-item .gp-bottom-bg-gradient-overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 1 !important;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(8, 9, 10, .55) 62%, rgba(8, 9, 10, .92) 100%) !important;
	transition: background .35s ease;
}
.gp-blog-columns-4 .gp-post-item:hover .gp-bottom-bg-gradient-overlay {
	background: linear-gradient(180deg, rgba(255, 122, 26, 0) 30%, rgba(8, 9, 10, .5) 58%, rgba(8, 9, 10, .95) 100%) !important;
}
.gp-blog-columns-4 .gp-post-item .gp-image-above .gp-loop-title {
	position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; z-index: 2; margin: 0 !important;
	padding: 12px 14px 13px !important; background: none !important; box-shadow: none !important; width: auto !important;
	font: 700 15px/1.3 var(--gmx-font-head) !important; color: #fff !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease;
}
.gp-blog-columns-4 .gp-post-item:hover .gp-image-above .gp-loop-title { color: var(--gmx-orange) !important; }
/* Video play button: a tidy disc in the top-right instead of on top of the title */
.gp-blog-columns-4 .gp-post-item .gmx-play-overlay {
	top: 10px !important; right: 10px !important; left: auto !important; bottom: auto !important; transform: none !important; margin: 0 !important;
	width: 38px !important; height: 38px !important; z-index: 3;
}
.gp-blog-columns-4 .gp-post-item .gmx-score-chip, .gp-blog-columns-4 .gp-post-item .gmx-vault-tag { z-index: 3; }
.gp-blog-columns-4 .gp-post-item .gmx-play-overlay::before { width: 38px; height: 38px; }
.gp-blog-columns-4 .gp-post-item .gmx-play-overlay::after { border-width: 7px 0 7px 11px; }

/* Card meta row: vault chip · author // date ··· comments (icon + count, right) */
.gp-loop-meta.gmx-meta { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.gp-post-item .gp-loop-meta.gmx-meta::before { content: none !important; display: none !important; } /* old CSS-generated vault label */
.gp-loop-meta.gmx-meta .gp-post-meta { margin: 0 !important; white-space: nowrap; }
.gp-loop-meta.gmx-meta .gmx-meta-vault {
	flex: 0 0 auto; padding: 2px 7px; border: 1px solid var(--gmx-border); border-radius: 4px; white-space: nowrap;
	font: 700 9.5px/1.4 var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted);
}
.gp-loop-meta.gmx-meta .gmx-meta-vault i { font-style: normal; color: #4a505c; }
/* "//" only between author and date, never at the start of a wrapped line */
.gp-loop-meta.gmx-meta .gp-post-meta + .gp-post-meta::before { content: none !important; }
.gp-loop-meta.gmx-meta .gp-meta-author + .gp-meta-date::before { content: "//" !important; margin: 0 8px 0 -2px; color: #3a3f48; }
.gp-loop-meta.gmx-meta .gmx-meta-comments {
	position: relative; z-index: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
	background: rgba(255, 255, 255, .04); border: 1px solid var(--gmx-border); color: var(--gmx-muted) !important;
	font: 600 11px/1.4 var(--gmx-font-mono); text-decoration: none !important; transition: color .15s, border-color .15s;
}
.gp-loop-meta.gmx-meta .gmx-meta-comments:hover { color: var(--gmx-orange) !important; border-color: rgba(255, 122, 26, .5); }
.gp-loop-meta.gmx-meta .gp-meta-cats { flex-basis: 100%; }
@media (max-width: 480px) {
	.gp-loop-meta.gmx-meta { gap: 6px 7px; }
	.gp-loop-meta.gmx-meta .gmx-meta-vault { padding: 2px 5px; letter-spacing: .06em; }
	.gp-loop-meta.gmx-meta .gp-meta-author + .gp-meta-date::before { margin: 0 6px 0 -1px; }
	.gp-loop-meta.gmx-meta .gp-post-meta { letter-spacing: .02em !important; }
}
/* Separator hangs off the author (end of line) so a wrapped date never starts with "//" */
.gp-loop-meta.gmx-meta .gp-meta-author + .gp-meta-date::before { content: none !important; }
.gp-loop-meta.gmx-meta .gp-meta-author:has(+ .gp-meta-date)::after { content: "//"; margin-left: 8px; color: #3a3f48; }
@media (max-width: 480px) { .gp-loop-meta.gmx-meta .gp-meta-author:has(+ .gp-meta-date)::after { margin-left: 6px; } }

/* Homepage rhythm: a little more air around the Trending bar */
body.home .gmx-hero { margin-bottom: 22px !important; }
body.home .gmx-trending { margin-bottom: 44px !important; }
@media (max-width: 767px) {
	body.home .gmx-hero { margin-bottom: 18px !important; }
	body.home .gmx-trending { margin-bottom: 34px !important; }
}

/* ==========================================================================
   Phone navigation: section strip + bottom tab bar + sheets (gmx-mobile-nav.php)
   ========================================================================== */
.gmx-strip, .gmx-tabbar, .gmx-sheet, .gmx-sheet-backdrop { display: none; }
@media (max-width: 767px) {
	/* Hamburger + slide-out menu are replaced on phones */
	.gp-responsive #gp-mobile-nav-button, #gp-mobile-nav, #gp-mobile-nav-bg { display: none !important; }
	#gp-to-top { display: none !important; }

	/* Section strip under the header */
	.gmx-strip { display: block; position: relative; z-index: 2; background: #0c0d0f; border-bottom: 1px solid var(--gmx-border); }
	.gmx-strip-track {
		display: flex; gap: 6px; overflow-x: auto; padding: 9px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}
	.gmx-strip-track::-webkit-scrollbar { display: none; }
	.gmx-strip a {
		flex: 0 0 auto; display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--gmx-border);
		background: var(--gmx-surface); color: var(--gmx-text) !important; font: 600 13px/1 var(--gmx-font-body); text-decoration: none !important; white-space: nowrap;
	}
	.gmx-strip a[aria-current] { background: var(--gmx-orange); border-color: var(--gmx-orange); color: #111 !important; }

	/* Bottom tab bar */
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; }
	.gmx-tabbar {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 99990; left: 0; right: 0; bottom: 0;
		padding: 0 4px env(safe-area-inset-bottom, 0px); background: rgba(12, 13, 15, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-top: 1px solid var(--gmx-border); transition: transform .25s ease;
	}
	.gmx-tabbar.is-hidden { transform: translateY(calc(100% + 2px)); }
	.gmx-tab {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; margin: 0; padding: 0;
		background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0; cursor: pointer;
		color: var(--gmx-muted) !important; font: 600 10.5px/1 var(--gmx-font-body) !important; letter-spacing: .01em; text-transform: none !important; text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
	}
	.gmx-tab svg { width: 23px; height: 23px; }
	.gmx-tab[aria-current], .gmx-tab[aria-expanded="true"] { color: var(--gmx-orange) !important; }
	.gmx-tab[aria-current]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--gmx-orange); }
	.gmx-tab:focus-visible { outline: 2px solid var(--gmx-orange); outline-offset: -4px; }
	.gmx-tab-badge {
		position: absolute; top: 7px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
		background: var(--gmx-orange); color: #111; font: 700 10px/17px var(--gmx-font-mono); text-align: center;
	}

	/* Sheets */
	.gmx-sheet-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 99991; background: rgba(0, 0, 0, .55); animation: gmx-fade .18s ease; }
	.gmx-sheet:not([hidden]) {
		display: flex; flex-direction: column; position: fixed; z-index: 99992; left: 0; right: 0; bottom: 0; max-height: 86vh;
		padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--gmx-surface); border-top: 1px solid #3a3f48; border-radius: 16px 16px 0 0;
		box-shadow: 0 -20px 50px rgba(0, 0, 0, .5); animation: gmx-sheet-up .22s cubic-bezier(.2, .8, .2, 1);
	}
	html.gmx-sheet-open, html.gmx-sheet-open body { overflow: hidden; }
	.gmx-sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; border-bottom: 1px solid var(--gmx-border); }
	.gmx-sheet-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: #3a3f48; }
	.gmx-sheet-title { font: 700 12px var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gmx-text); }
	.gmx-sheet-title::before { content: "// "; color: var(--gmx-orange); }
	.gmx-sheet-close {
		display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0; cursor: pointer;
		background: #1d2025 !important; border: 1px solid var(--gmx-border) !important; border-radius: 50% !important; color: var(--gmx-text) !important;
	}
	.gmx-sheet-close svg { width: 18px; height: 18px; }
	.gmx-sheet-body { overflow-y: auto; padding: 14px 16px 18px; display: grid; gap: 14px; }
	.gmx-sheet-search { display: flex; gap: 8px; padding: 14px 16px 18px; margin: 0; }
	.gmx-sheet-search input {
		flex: 1; min-width: 0; height: 46px !important; margin: 0 !important; padding: 0 14px !important; font-size: 16px !important;
		background: var(--gmx-bg) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 10px !important;
	}
	.gmx-sheet-search input:focus { border-color: var(--gmx-orange) !important; outline: none; box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important; }
	.gmx-sheet-search button {
		height: 46px !important; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 10px !important;
		background: var(--gmx-orange) !important; color: #111 !important; font: 700 12px var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
	}
	.gmx-sheet-account { display: flex; align-items: center; gap: 12px; }
	.gmx-sheet-account img.avatar { width: 40px !important; height: 40px !important; border-radius: 50% !important; margin: 0 !important; }
	.gmx-sheet-account strong { display: block; color: #fff; font-size: 15px; }
	.gmx-sheet-account a { font-size: 13px; color: var(--gmx-orange) !important; }
	.gmx-sheet-label { margin: 4px 0 -6px !important; font: 700 10.5px var(--gmx-font-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gmx-muted) !important; }
	.gmx-sheet-links, .gmx-sheet-links ul { list-style: none; margin: 0; padding: 0; }
	.gmx-sheet-links--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.gmx-sheet-links--grid a {
		display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border-radius: 10px;
		background: #1d2025; border: 1px solid var(--gmx-border); color: var(--gmx-text) !important; font-size: 14px; font-weight: 500; text-decoration: none !important;
	}
	.gmx-sheet-count { min-width: 20px; padding: 0 5px; border-radius: 999px; background: var(--gmx-orange); color: #111; font: 700 11px/20px var(--gmx-font-mono); text-align: center; }
	.gmx-sheet-sections > li { border-bottom: 1px solid var(--gmx-border); }
	.gmx-sheet-sections > li > a { display: flex; align-items: center; min-height: 48px; color: #fff !important; font: 700 17px var(--gmx-font-head); text-decoration: none !important; }
	.gmx-sheet-sections ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 12px; }
	.gmx-sheet-sections ul a {
		display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--gmx-border);
		color: var(--gmx-muted) !important; font-size: 13px; text-decoration: none !important;
	}
	.gmx-sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.gmx-sheet-btn {
		display: grid; place-items: center; height: 44px; border-radius: 10px; background: var(--gmx-orange); color: #111 !important;
		font: 700 12px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important;
	}
	.gmx-sheet-btn--ghost { background: transparent; border: 1px solid rgba(255, 122, 26, .55); color: var(--gmx-orange) !important; }
	.gmx-sheet-network { display: grid; gap: 3px; padding: 14px; border-radius: 12px; background: #1d2025; border: 1px solid var(--gmx-border); border-left: 3px solid var(--gmx-cyan); text-decoration: none !important; }
	.gmx-sheet-network span { font: 700 10px var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gmx-cyan); }
	.gmx-sheet-network strong { color: #fff; font-size: 14px; }
	.gmx-sheet-network em { font: 700 11px var(--gmx-font-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--gmx-cyan); }

	/* Things that sat at the bottom edge move above the bar */
	.gmx-nl-toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
}
@keyframes gmx-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes gmx-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.gmx-tabbar { transition: none; }
	.gmx-sheet:not([hidden]), .gmx-sheet-backdrop:not([hidden]) { animation: none; }
}
/* Title-band pages (gp-large-title) clear the overlay header with the band's padding, not the spacer:
   on phones the strip takes the header's place and the band only needs normal top padding */
@media (max-width: 767px) {
	body.gp-large-title .gmx-strip { margin-top: 0; border-top: 83px solid transparent; background-clip: padding-box; } /* a border cannot collapse like a margin */
	body.gp-large-title .gmx-strip ~ .gp-page-header .gp-container,
	body.gp-large-title .gmx-strip ~ header.gp-page-header .gp-container { padding-top: 16px !important; }
}

/* Card lists: clear floats without clipping, so the first card's lift/shadow isn't cut off */
.gp-blog-wrapper .gp-inner-loop { overflow: visible !important; display: flow-root; }

/* Archive sort / date filters: dark pill dropdowns with a mono label */
.gp-filter-wrapper { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 18px !important; padding: 0 !important; float: none !important; }
.gp-filter-wrapper .gp-element-title-line { display: none !important; }
.gp-filter-menu-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; float: none !important; margin: 0 !important; }
.gp-filter-menu-wrapper::before { content: "Sort //"; margin-right: 4px; font: 700 10.5px var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gmx-muted); }
select.gp-filter-menu {
	-webkit-appearance: none; appearance: none; width: auto !important; min-width: 0 !important; height: 34px !important; margin: 0 !important;
	padding: 0 34px 0 14px !important; border: 1px solid var(--gmx-border) !important; border-radius: 999px !important; box-shadow: none !important; cursor: pointer;
	background: var(--gmx-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px !important;
	color: var(--gmx-text) !important; font: 500 13px/1 var(--gmx-font-body) !important; transition: border-color .15s, background-color .15s;
}
select.gp-filter-menu:hover { border-color: #4a505c !important; }
select.gp-filter-menu:focus-visible { outline: none; border-color: var(--gmx-orange) !important; box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important; }
select.gp-filter-menu option { background: #16181c; color: #e7e9ee; }
@media (max-width: 767px) {
	.gp-filter-wrapper { justify-content: flex-start; }
	.gp-filter-menu-wrapper { width: 100%; }
	select.gp-filter-menu { flex: 1 1 0; }
}
@media (max-width: 767px) {
	.gp-filter-menu-wrapper { flex-wrap: nowrap; }
	.gp-filter-menu-wrapper::before { flex: 0 0 auto; }
	select.gp-filter-menu { flex: 1 1 0 !important; width: 0 !important; max-width: none !important; text-overflow: ellipsis; }
}

/* Phones: account icon bar flush right (Gauge floats the list left, which shrinks it) */
@media (max-width: 767px) {
	#gp-top-header #gp-right-top-nav > ul.menu { float: none !important; width: 100% !important; justify-content: flex-end !important; }
}

/* Hero side cards: category chip pinned to the top of the card, title + meta stay at the bottom */
.gmx-hero-side .gmx-hero-body { top: 0; justify-content: flex-end; }
.gmx-hero-side .gmx-hero-cat { margin-bottom: auto; }

/* ENDSCREEN hero card: balanced headline, plain description, CTA on its own line */
.gmx-hero-network .gmx-hero-title { text-wrap: balance; }
.gmx-hero-network .gmx-net-desc { font: 400 13px/1.45 var(--gmx-font-body); color: var(--gmx-muted); text-wrap: pretty; }
.gmx-hero-network .gmx-net-cta { align-self: flex-start; margin-top: 4px; font: 700 11px/1 var(--gmx-font-mono); letter-spacing: .1em; text-transform: uppercase; color: #00f0ff; white-space: nowrap; transition: color .15s; }
.gmx-hero-network:hover .gmx-net-cta { color: #fff; }

/* ==========================================================================
   Forum post forms (new topic / reply / edit): dark editor, tidy toolbar, smileys
   ========================================================================== */
#bbpress-forums fieldset.bbp-form { background: var(--gmx-surface); border: 1px solid var(--gmx-border) !important; border-radius: 12px; padding: 18px 20px 20px !important; }
#bbpress-forums fieldset.bbp-form legend { padding: 0 8px !important; font: 700 12px var(--gmx-font-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-text) !important; }
#bbpress-forums fieldset.bbp-form label { font: 600 11px var(--gmx-font-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gmx-muted) !important; }
#bbpress-forums fieldset.bbp-form input[type="text"], #bbpress-forums fieldset.bbp-form select {
	height: 40px !important; padding: 0 12px !important; background: var(--gmx-bg) !important; color: var(--gmx-text) !important;
	border: 1px solid var(--gmx-border) !important; border-radius: 8px !important; box-shadow: none !important; font-size: 15px !important;
}
#bbpress-forums fieldset.bbp-form input[type="text"]:focus { border-color: var(--gmx-orange) !important; box-shadow: 0 0 0 3px rgba(255, 122, 26, .18) !important; outline: none; }

/* Editor frame */
#bbpress-forums .bbp-the-content-wrapper { margin: 0 0 6px !important; }
#bbpress-forums .wp-editor-wrap { border: 1px solid var(--gmx-border); border-radius: 10px; overflow: hidden; background: var(--gmx-bg); }
#bbpress-forums .wp-editor-wrap:focus-within { border-color: rgba(255, 122, 26, .6); box-shadow: 0 0 0 3px rgba(255, 122, 26, .12); }
#bbpress-forums .wp-editor-tools { display: flex; justify-content: flex-end; background: #16181c !important; padding: 6px 8px 0 !important; border-bottom: 0 !important; }
#bbpress-forums .wp-editor-tabs { float: none !important; display: flex; gap: 4px; }
#bbpress-forums .wp-switch-editor {
	float: none !important; height: auto !important; margin: 0 !important; padding: 6px 12px !important; border-radius: 6px 6px 0 0 !important;
	background: transparent !important; border: 1px solid transparent !important; border-bottom: 0 !important; color: var(--gmx-muted) !important;
	font: 600 11px var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
#bbpress-forums .tmce-active .switch-tmce, #bbpress-forums .html-active .switch-html { background: #1d2025 !important; border-color: var(--gmx-border) !important; color: var(--gmx-text) !important; }
#bbpress-forums .wp-editor-container { border: 0 !important; background: var(--gmx-bg) !important; }
#bbpress-forums textarea.wp-editor-area, #bbpress-forums textarea.bbp-the-content {
	width: 100% !important; min-height: 180px; margin: 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: 0 !important;
	background: var(--gmx-bg) !important; color: var(--gmx-text) !important; font: 16px/1.6 var(--gmx-font-body) !important; box-shadow: none !important;
}

/* Text-mode toolbar (quicktags): dark bar, even pill buttons */
#bbpress-forums .quicktags-toolbar {
	display: flex !important; flex-wrap: wrap; gap: 6px; padding: 8px 10px !important; margin: 0 !important;
	background: #1d2025 !important; border: 0 !important; border-bottom: 1px solid var(--gmx-border) !important; min-height: 0 !important;
}
#bbpress-forums .quicktags-toolbar input.ed_button, #bbpress-forums .quicktags-toolbar input.button {
	width: auto !important; min-width: 34px; height: 30px !important; margin: 0 !important; padding: 0 10px !important; line-height: 28px !important;
	background: transparent !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 6px !important;
	box-shadow: none !important; text-shadow: none !important; font: 600 11px var(--gmx-font-mono) !important; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
#bbpress-forums .quicktags-toolbar input.ed_button:hover { border-color: var(--gmx-orange) !important; color: var(--gmx-orange) !important; }

/* Visual-mode toolbar (TinyMCE) */
#bbpress-forums .mce-tinymce, #bbpress-forums .mce-panel { background: #1d2025 !important; border: 0 !important; box-shadow: none !important; }
#bbpress-forums .mce-top-part::before { box-shadow: none !important; }
#bbpress-forums .mce-toolbar-grp { background: #1d2025 !important; border-bottom: 1px solid var(--gmx-border) !important; padding: 6px 8px !important; }
#bbpress-forums .mce-toolbar .mce-btn-group { display: flex !important; flex-wrap: wrap; gap: 4px; padding: 0 !important; }
#bbpress-forums .mce-toolbar .mce-btn-group .mce-btn {
	margin: 0 !important; background: transparent !important; border: 1px solid transparent !important; border-radius: 6px !important; box-shadow: none !important;
}
#bbpress-forums .mce-toolbar .mce-btn button { padding: 5px 7px !important; }
#bbpress-forums .mce-toolbar .mce-btn:hover, #bbpress-forums .mce-toolbar .mce-btn:focus { border-color: var(--gmx-border) !important; background: #262a31 !important; }
#bbpress-forums .mce-toolbar .mce-btn.mce-active { border-color: rgba(255, 122, 26, .55) !important; background: rgba(255, 122, 26, .12) !important; }
#bbpress-forums .mce-ico { color: #d6d9e0 !important; text-shadow: none !important; }
#bbpress-forums .mce-btn.mce-active .mce-ico { color: var(--gmx-orange) !important; }
#bbpress-forums .mce-edit-area iframe { background: var(--gmx-bg) !important; min-height: 180px; }
#bbpress-forums .mce-statusbar { display: none !important; }
/* TinyMCE pop-ups (link dialog) render at body level */
.mce-floatpanel.mce-panel, .mce-window { background: #16181c !important; border-color: #3a3f48 !important; }
.mce-window .mce-title, .mce-window label, .mce-floatpanel .mce-text { color: #e7e9ee !important; }
.mce-window-head, .mce-foot { background: #1d2025 !important; border-color: #2a2e35 !important; }
.mce-textbox { background: #0e0f11 !important; color: #e7e9ee !important; border-color: #2a2e35 !important; }
.wp-link-input input, #wp-link .query-results { background: #0e0f11 !important; color: #e7e9ee !important; }

/* Smiley picker */
.gmx-smileys { margin: 8px 0 14px; }
.gmx-smileys-toggle {
	display: inline-flex !important; align-items: center; gap: 6px; height: 32px !important; margin: 0 !important; padding: 0 12px !important; cursor: pointer;
	background: #1d2025 !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 999px !important; box-shadow: none !important;
	font: 600 11px var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase;
}
.gmx-smileys-toggle span { font-size: 16px; letter-spacing: 0; }
.gmx-smileys-toggle[aria-expanded="true"] { border-color: rgba(255, 122, 26, .6) !important; color: var(--gmx-orange) !important; }
.gmx-smileys-list:not([hidden]) {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 4px; margin-top: 8px; padding: 8px;
	background: #16181c; border: 1px solid var(--gmx-border); border-radius: 10px;
}
.gmx-smileys-list button {
	height: 38px !important; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; cursor: pointer;
	background: transparent !important; border: 1px solid transparent !important; border-radius: 8px !important; box-shadow: none !important;
	font: 20px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important; color: var(--gmx-text) !important;
}
.gmx-smileys-list button.is-text { font: 700 12px var(--gmx-font-mono) !important; color: var(--gmx-orange) !important; letter-spacing: .06em; }
.gmx-smileys-list button:hover, .gmx-smileys-list button:focus-visible { background: #262a31 !important; border-color: var(--gmx-border) !important; outline: none; }
/* Legacy smileys rendered as emoji */
.gmx-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.1em; line-height: 1; }

/* Tags / notify / attachments */
#bbpress-forums fieldset.bbp-form p { margin: 0 0 14px !important; }
#bbpress-forums #bbp_topic_tags, #bbpress-forums fieldset.bbp-form input#bbp_topic_tags { width: 100% !important; max-width: 420px; }
#bbpress-forums fieldset.bbp-form input[type="checkbox"] { accent-color: var(--gmx-orange); width: 16px; height: 16px; margin: 0 8px 0 0 !important; vertical-align: -3px; }
#bbpress-forums fieldset.bbp-form input[type="checkbox"] + label { font: 500 14px var(--gmx-font-body) !important; letter-spacing: 0; text-transform: none; color: var(--gmx-text) !important; }
#bbpress-forums fieldset.bbp-form fieldset.bbp-form { background: #121417; margin: 6px 0 16px !important; padding: 14px 16px !important; }
#bbpress-forums .bbp-attachments-form input[type="file"], #bbpress-forums fieldset.bbp-form input[type="file"] {
	width: 100% !important; max-width: 420px; height: auto !important; padding: 6px !important; background: var(--gmx-bg) !important; color: var(--gmx-muted) !important;
	border: 1px dashed #3a3f48 !important; border-radius: 8px !important; font-size: 13px !important;
}
#bbpress-forums input[type="file"]::file-selector-button {
	margin-right: 10px; padding: 6px 12px; background: #1d2025; color: var(--gmx-text); border: 1px solid var(--gmx-border); border-radius: 6px; cursor: pointer;
	font: 600 11px var(--gmx-font-mono); letter-spacing: .06em; text-transform: uppercase;
}
#bbpress-forums input[type="file"]::file-selector-button:hover { border-color: var(--gmx-orange); color: var(--gmx-orange); }
#bbpress-forums .bbp-submit-wrapper { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
#bbpress-forums .bbp-submit-wrapper button, #bbpress-forums #bbp_reply_submit, #bbpress-forums #bbp_topic_submit {
	height: 42px !important; padding: 0 22px !important; border: 0 !important; border-radius: 8px !important; background: var(--gmx-orange) !important; color: #111 !important;
	font: 700 12px/1 var(--gmx-font-mono) !important; letter-spacing: .08em; text-transform: uppercase; box-shadow: none !important;
}

/* BuddyPress message composer gets the same textarea treatment */
#send_message_form textarea, #send-reply textarea { background: var(--gmx-bg) !important; color: var(--gmx-text) !important; border: 1px solid var(--gmx-border) !important; border-radius: 10px !important; padding: 12px 14px !important; font: 16px/1.6 var(--gmx-font-body) !important; }
/* Only one toolbar at a time: text-mode tags hide while the Visual tab is active */
#bbpress-forums .tmce-active .quicktags-toolbar { display: none !important; }
/* TinyMCE buttons: the site's global orange <button> style must not reach the editor toolbar */
#bbpress-forums .mce-toolbar .mce-btn button, #bbpress-forums .mce-toolbar .mce-btn button:hover, #bbpress-forums .mce-toolbar .mce-btn button:focus {
	background: transparent !important; border: 0 !important; box-shadow: none !important; height: auto !important; min-height: 0 !important;
	width: auto !important; padding: 5px 7px !important; margin: 0 !important; color: #d6d9e0 !important; line-height: 1 !important;
}
#bbpress-forums .mce-toolbar .mce-btn.mce-disabled .mce-ico { opacity: .35; }
#bbpress-forums fieldset.bbp-form .bbp-template-notice p, #bbpress-forums fieldset.bbp-form .bbp-template-notice li { margin: 0 !important; } /* form paragraph spacing must not pad notice boxes */

/* Twitch click-to-play embeds (gmx-forum-editor.php) */
.gmx-twitch { margin: 0 0 16px !important; max-width: 720px; }
.gmx-twitch-play, .gmx-twitch iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.gmx-twitch-play {
	position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: auto !important;
	margin: 0 !important; padding: 16px !important; cursor: pointer; color: #fff !important; text-align: center;
	background: radial-gradient(120% 90% at 50% 0%, rgba(145, 70, 255, .45), rgba(22, 24, 28, .95) 70%), #16181c !important;
	border: 1px solid rgba(145, 70, 255, .45) !important; box-shadow: none !important; transition: border-color .15s, transform .15s;
}
.gmx-twitch-play:hover, .gmx-twitch-play:focus-visible { border-color: #9146ff !important; transform: translateY(-1px); outline: none; }
.gmx-twitch-logo { color: #bf94ff; }
.gmx-twitch-kind { font: 700 11px var(--gmx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: #bf94ff; }
.gmx-twitch-title { font: 700 18px/1.3 var(--gmx-font-head); color: #fff; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmx-twitch-cta { margin-top: 6px; padding: 7px 16px; border-radius: 999px; background: #9146ff; color: #fff; font: 700 12px var(--gmx-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.gmx-twitch figcaption { margin-top: 6px; font-size: 12px !important; color: var(--gmx-muted) !important; }
.gmx-twitch figcaption a { color: var(--gmx-muted) !important; text-decoration: underline; }
.gmx-twitch-play { text-transform: none !important; letter-spacing: 0 !important; } .gmx-twitch-play .gmx-twitch-kind, .gmx-twitch-play .gmx-twitch-cta { text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   Secondary colour role: cyan = community & people (forums, members, replies, stats);
   orange stays editorial & actions (buttons, links, current page, articles).
   ========================================================================== */
:root { --gmx-cyan-soft: rgba(79, 196, 227, .12); --gmx-cyan-line: rgba(79, 196, 227, .45); }

/* 1. Forum section markers */
#bbpress-forums .gmx-section-head h2::before { color: var(--gmx-cyan); }
#bbpress-forums .gmx-sheet-label, body.bbpress .gmx-toolbar-lead::before { color: var(--gmx-cyan); }

/* 2. Member ranks (who someone is), distinct from clickable orange */
#bbpress-forums .gmx-rank { color: var(--gmx-cyan) !important; }

/* 3. Community stats */
.gmx-fa-stats span, #bbpress-forums .gmx-stats dd { color: var(--gmx-cyan) !important; }
#bbpress-forums .gmx-topic-summary b { color: var(--gmx-cyan) !important; }

/* 4. Replies / conversation counts */
.gp-loop-meta.gmx-meta .gmx-meta-comments { color: var(--gmx-cyan) !important; border-color: var(--gmx-cyan-line); background: var(--gmx-cyan-soft); }
.gp-loop-meta.gmx-meta .gmx-meta-comments:hover { color: #fff !important; border-color: var(--gmx-cyan); background: rgba(79, 196, 227, .22); }
.gmx-fa-count { color: var(--gmx-cyan) !important; border-color: var(--gmx-cyan-line) !important; background: var(--gmx-cyan-soft) !important; }
.gmx-fa-count::before { background-color: var(--gmx-cyan) !important; }

/* 5. Homepage "From the Forums" column + sidebar forum widgets */
.gmx-forum-activity .gp-element-title h3::before { color: var(--gmx-cyan) !important; }
.gmx-forum-activity .gp-see-all-link a { color: var(--gmx-cyan) !important; }
#gp-sidebar .widget_display_topics .widgettitle::after, #gp-sidebar .widget_display_replies .widgettitle::after,
#gp-sidebar .widget_display_forums .widgettitle::after, #gp-sidebar .widget_display_stats .widgettitle::after,
.wpb_widgetised_column .widget_display_topics .widgettitle::after, .wpb_widgetised_column .widget_display_replies .widgettitle::after,
#gp-sidebar .widget_display_topics .widget-title::after, #gp-sidebar .widget_display_replies .widget-title::after { background: var(--gmx-cyan) !important; }

/* Trending: forum items read as community */
.gmx-trend-forums { color: var(--gmx-cyan) !important; border-color: var(--gmx-cyan-line) !important; }
