/**
 * This CSS is just to get you started.
 * Feel free to modify any of it for your own app.
 */

@import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,800');

:root {
	--dashboard-mobile-height: 50px;
	--dashboard-mobile-titles-height: 20px;
	--dashboard-main-bg-color: #000;
	--dashboard-main-bg-color-to: #000;
	--dashboard-mobile-bg-color: #000;
	--dashboard-mobile-bg-color-to: #000;
	--dashboard-mobile-color: #fff;
	--dashboard-main-color: #fff;
	--dashboard-contextual-selected-color: white;
	--chat-to-me-bg-color: #cccccc;
	--chat-to-me-text-color: black;
	--chat-from-me-bg-color: #555555;
	--chat-from-me-text-color: #fff;

	--tabs-frequent-color: #002D72;

	--tabs-color: white;
}

/**
 * This CSS is just to get you started.
 * Feel free to modify any of it for your own app.
 */

* { font-family: 'Montserrat', sans-serif; -webkit-tap-highlight-color: rbpl(0,0,0,0); -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: #0055ff; }
a:visited { color: #aa88cc; }
html { background: #f2f2f2; height: 100%; box-sizing: border-box; }
.Q_mobile body,
.Q_mobile #content_slot { height: 100%; }
h2 { margin: 0; }
*, *:before, *:after { box-sizing: inherit; }

/* The various slot containers */
#notices_slot {
	text-align: center;
}
#content_slot {
	position: relative;
	height: 100%;
	overflow-x: auto;
	background: #fff;
	box-shadow: #aaa 0 0 4px;
	-webkit-box-shadow: #aaa 0 0 4px;
	-moz-box-shadow: #aaa 0 0 4px;
}

#content { position: relative; }

/* Notices contents */
#notices_slot { text-align: center; margin: auto; padding: 0; z-index: 5000; }
#notices { margin: auto; }
#notices_slot div.container { overflow: none; overflow-y: auto; }
#notices_slot ul { list-style-type: none; padding: 0; margin: auto; width: 700px; max-width: 100%; border: solid 1px #555; border-top: solid 1px #aaa; box-shadow: 0 0 5px #222; -moz-box-shadow: 0 0 5px #222; -webkit-box-shadow: 0 0 5px #222; cursor: pointer; }
#notices_slot li { list-style-type: none; padding: 0; margin: 0; text-align: center; background: #ffd4aa; border: 0; border-bottom: solid 1px #aaa; line-height: 30px; min-height: 30px; }
#notices_slot ul.Q_errors * { background-color: #ebb; color: #500; }
#notices_slot ul.Q_errors li { text-align: left; padding: 0 10px 0 10px; }
#notices_slot .Q_field_name { float: right; font-size: 12px; padding-right: 10px; }
#notices_slot button
{
	display: inline-block;
	vertical-align: top;
	margin-left: 5px;
	padding: 2px 10px;
	color: #69552e;
	background: #F1E2C6;
	box-shadow: 1px 1px 1px 0 #CCC;
	border: none;
}
.Q_notTouchscreen #notices_slot button:active
{
	background: #f0d298;
	margin-left: 6px;
	box-shadow: none;
}
#notices_slot ul li span {
	font-size: 12px;
	line-height: 26px;
}
#notices_slot ul li * {
	vertical-align: middle;
}

#content h1 { margin: 0; color: #002D72; }
/* Dashboard contents */
#dashboard>* { margin: 0; padding: 0; text-align: center; }
#dashboard>h1 { float: left; padding: 5px; width: auto; }
#dashboard>h2 { float: left; }
#dashboard_user { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: right; }
.Q_mobile #dashboard_user { max-width: 40%; }
.Q_mobile.Users_loggedIn #dashboard_user { margin: 0; }
.Q_mobile.Users_loggedOut #dashboard_user { line-height: 40px; }
#dashboard .Q_contextual * { color: black; }
#dashboard td { vertical-align: middle; }
#dashboard table { width: 100%; padding: 0; margin: 0; }
#dashboard .Q_dashboard_logo { padding: 0; }
#dashboard .Q_dashboard_logo a { padding: 5px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
#dashboard .Q_dashboard_logo img { height: 40px; border-radius: 5px; }
#dashboard .Q_dashboard_search { padding: 8px 10px 8px 10px; font-weight: bold; text-align: left; }
#dashboard .Q_dashboard_search input {
	width: 104px;
	margin-right: 4px;
	border-radius: 2em;
	-moz-border-radius: 2em;
	padding-left: 27px;
	padding-right: 17px;
	border: none;
	border-top: 1px solid #CCC;
	background: white url(../{{Q}}/img/search_icon.png) no-repeat;
	color: #444;
}

/* Dashboard tabs */
.Q_mobile #dashboard_slot { background: #f8f8f8; }
.Q_mobile #dashboard_slot>* { color: #0048b5; }
body .Q_tabs_contextual .Q_listing li { text-align: left; }
html .Q_listing img { height: 30px; }
.Q_notMobile #dashboard .Q_tabs_tabs { border: 0; width: 100%; margin: auto; text-align: left; }
#dashboard .Q_tabs_tab {
	cursor: pointer;
	width: auto;
	border: 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: #f8f8f8;
	background: none;
	line-height: 30px;
	text-align: left;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
#dashboard .Q_tabs_tool .Q_tabs_tab {
	border-top: 0;
	border-left: 0;
}
#dashboard .Q_tabs_tool .Q_tabs_tab:last-child {
	border-right: 0;
}
#dashboard .Q_tabs_tab.Streams_preview_tool { padding-left: 10px; }
#dashboard .Q_tabs_compact.Q_tabs_horizontal { margin: 0; }
#dashboard .Q_tabs_compact.Q_tabs_horizontal .Q_tabs_tab { width: 100%; }
.Q_notMobile #dashboard .Q_tabs_compact.Q_tabs_horizontal .Q_tabs_tab * { color: white; }
#dashboard .Q_tabs_tab { margin: 0; border-radius: 0; }

#dashboard .Q_tabs_vertical .Q_tabs_tab { background: transparent; }
#dashboard .Q_tabs_tab { text-decoration: none; color: white; }
.Q_notTouchscreen #dashboard .Q_tabs_tab:hover { background: rbpl(100, 100, 100, 0.1); }
#dashboard .Q_tabs_tab img { margin-right: 10px; width: 30px; }
#dashboard .Q_tabs_tab span { display: inline; text-align: left; }
.Q_mobile #dashboard .Q_tabs_tool { max-width: 80%; overflow: hidden; }
.Q_mobile #dashboard_slot { background: #222222; box-shadow: 0 2px 5px 2px rbpl(0, 0, 0, 0.1), 0 1px 2px rbpl(0, 0, 0, 0.1);}
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tab.Q_tab_me .Q_tabs_title {
	display: block;
	animation: Q_wiggle 3s ease-in-out alternate;
}

.Q_mobile #dashboard[data-style=icons] .Q_tabs_tab.Q_tab_me::before {
	content: none;
}
.Q_notMobile #dashboard .Q_tabs_tab::before {
	font-size: 1.5em;
}
/* inputs */
input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=number],
input.text,
input.email,
input.tel,
input.password,
input.number,
textarea {
	border: 1px solid #ccc;
	border-bottom: 1px solid #aaa;
	background-color: #fefefe;
	color: black;
	cursor: text;
	font-family: "Trebuchet MS";
	border-radius: 3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	padding: 0 4px 0 4px;
	min-height: 40px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=password]:focus,
input[type=number]:focus,
input.text:focus,
input.email:focus,
input.tell:focus,
input.password:focus,
input.number:focus,
textarea:focus { background: white; box-shadow: 0 1px 10px rbpl(0,0,0,.15); -webkit-box-shadow: 0 1px 4px rbpl(0,0,100,.15); -moz-box-shadow: 0 1px 4px rbpl(0,0,100,.15); }
input.placeholder,
textarea.placeholder { color: #aaa; font-style: italic; }
select:focus { outline: dotted 1px #779; }
/* select { margin-top: 0.75em; } */
input[type=checkbox],
input[type=radio] { margin-right: 5px; }
html .Q_inplace_tool_fieldinput { padding: 0; }

.Q_mobile #dashboard_slot,
.Q_mobile #notices_slot { width: 100%; position: absolute; left: 0; }
.Q_mobile #dashboard>h2 { display: none; }
.Q_mobile #dashboard .Q_tabs_tab {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tab img {
	margin-right: 0;
	width: 45px;
	height: 45px;
}
#dashboard[data-style="icons"] .Q_tabs_tab.Q_current::before,
.Q_listing_wrapper .Q_tabs_tab.Q_current::before {
	color: black;
	font-weight: bold;
}
.Q_notMobile #dashboard .Q_tabs_compact.Q_tabs_horizontal .Q_tabs_tab {
	background-color: #000;
}
#dashboard .Q_tabs_tab svg.Q_overflow_glyph_svg {
	fill: #fff;
}
.Q_mobile #dashboard_slot h1 {
	color: var(--column-title-color);
}


.Q_mobile #notices_slot { width: 100%; position: absolute; left: 0; }
.Q_mobile .Q_overlay { width: 90%; }

/* The following lines are for cordova on iOS */
.Q_notCordova #status_background { display: none; }
.Q_cordova.Q_ios #status_background {
	background: #f2f2f2;
	height: 20px;
}
.Q_cordova.Q_ios.Q_mobile #dashboard_slot { top: 20px; height: 50px; }
.Q_cordova.Q_ios.Q_mobile #page { top: 70px; }
.Q_cordova.Q_ios.Q_mobile.Q_notch #status_background {
	background: black;
	height: constant(safe-area-inset-bottom);
	height: env(safe-area-inset-top);
}
.Q_cordova.Q_ios.Q_mobile.Q_notch #dashboard_slot {
	top: calc(env(safe-area-inset-top));
	height: 50px;
}
.Q_cordova.Q_ios.Q_mobile.Q_notch #page {
	top: calc(env(safe-area-inset-top) + 50px);
}

/* The following lines are for a flatter look */
html .Q_listing li { font-size: 18px; padding: 0 10px; line-height: 40px; text-align: left; border-top: solid 1px white; border-bottom: solid 1px #CCC; background: #f2f2f2; -webkit-touch-callout: none; -webkit-tap-highlight-color: rbpl(0, 0, 0, 0); -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; white-space: nowrap; overflow: hidden;
}
.Q_dialog_title { background: #444; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#111111'); background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#333)); background: -moz-linear-gradient(top, #444, #333);
}


.Q_button {
	background: #002D72;
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	box-shadow: 0 5px 20px -5px #002D72;
	border: none;
}
.Q_touchscreen .Q_button {
	background: #002D72;
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	box-shadow: 0 5px 20px -5px #002D72;
	border: none;
}

/* The following lines override default styles for a block-style website */
/* Try removing them and seeing what happens */
html.Q_notMobile { height: 100%; }
.Q_notMobile body { height: 100%; }
.Q_notMobile #dashboard>h1,
.Q_notMobile #dashboard>h2 { float: none; }
.Q_notMobile #notices_slot { position: absolute; left: 0; top: 0; width: 100%; }
/* height/top used to be 90%/5% here, straight from this whole block's own
   "just to get you started" boilerplate -- #page's real width/left/top/
   right/transform/position all actually come from Communities/dashboard.css's
   ".Q_notMobile.Q_layout_widebar #page" rule instead (more classes, higher
   specificity, confirmed live via the matched stylesheet rules), which
   anchors #page's top to the dashboard height and its bottom to the
   viewport (position:absolute; bottom:0) with no explicit height of its
   own -- CSS cascades per PROPERTY, not per rule, so this rule's height:90%
   was the only declaration for that one property anywhere and won by
   default despite "losing" every other property to the platform rule,
   leaving a visible ~10%-of-viewport-height gap (the platform rule's own
   top/bottom losing to nothing) at the very bottom of every page -- the
   "strange strip" the .Fans_poweredBy fixed badge and the bare --dk-bg
   background showed through. Removing it here lets the platform rule's
   top+bottom alone define the box, closing the gap. */
.Q_notMobile #page { position: absolute; padding: 0; left: 25%; width: 70%; }
.Q_notMobile #content_slot { min-height: 100%; padding: 0; }
.Q_notMobile #Users_avatar_tool { width: 100%; background: #222; background: rbpl(255,255,255,.05); }

html.Fans_notFound #content,
html.Fans_errors #content { padding: 30px; text-align: center; overflow: hidden; text-overflow: ellipsis; }
html.Fans_notFound .url,
html.Fans_errors .url { font-weight: bold; text-decoration: underline; }

span.c3 { font-weight: bold; }

.Q_contextual {
	background-color: #340950;
}
.Q_contextual .Q_listing li, .Q_contextual .Q_listing li * {
	background: #002D72;
}

.Q_mobile #dashboard .Users_avatar_name { display: none; }

.Q_notMobile #dashboard_slot .Daycare_dashboard_logo {
	padding: 20px 0; text-align: center; overflow: hidden;
}
.Q_mobile #dashboard_slot .Daycare_dashboard_logo h1 {
	display: none;
}

#Q_columns-Communities_tool .Q_column_event .Q_title_slot,
.Calendars_event_tool .Calendars_event_title,
.Calendars_event_tool .Calendars_event_title *,
.Calendars_event_tool .Calendars_event_description,
.Calendars_event_tool .Calendars_event_description * {
	font-family: inherit;
}

.Q_button.Q_aspect_when,
.Q_button.Q_aspect_when:before {
	background: #88C906;
	background-image: linear-gradient(to right, #A9BD08, #88C906);
	border: 1px solid #A9BD08;
	border-radius: 5px;
	box-shadow: 0 7px 20px -5px #A9BD08;
}

.Q_button.Streams_aspect_chats,
.Q_button.Streams_aspect_chats:before {
	background: #009dbc;
	background-image: linear-gradient(to right, #00b3c2, #009dbc);
	border: 1px solid #00adbc;
	border-radius: 5px;
	box-shadow: 0 7px 20px -5px #00b3c2;
}

.Q_button.Q_aspect_info,
.Q_button.Q_aspect_where,
.Q_button.Q_aspect_info:before,
.Q_button.Q_aspect_where:before {
	background: #868d93;
	background-image: linear-gradient(to right, #868d93, #808791);
	border: 1px solid #808791;
	border-radius: 5px;
	box-shadow: 0 7px 20px -5px #808791;
}

.Q_button.Streams_aspect_interests,
.Q_button.Streams_aspect_interests:before {
	background: #d92b5e;
	background-image: linear-gradient(to right, #d92b5e, #d52027);
	border: 1px solid #d52027;
	border-radius: 5px;
	box-shadow: 0 7px 20px -5px #d52027;
}


.Communities_buttons { margin: 15px 0; }

.Calendars_event_preview_background { box-shadow: 0 7px 20px -5px rbpl(0,0,0,.5), 0 1px 3px rbpl(0,0,0,.3); }

.Calendars_event_foreground,
.Calendars_event_preview_foreground {
	font-size: 18px;
	text-shadow: 0 0 10px #000, 0 2px 3px #000;
}
.Calendars_event_preview_info {
	opacity: .7;
}

.Streams_participants_tool .Streams_participants_summary {
	background: rgb(20, 100, 221);
	font-weight: 400;
	text-shadow: none;
}
.Streams_participants_tool .Streams_participants_summary .Streams_participants_count {
	color: white;
}

.Streams_participants_tool .Users_avatar_icon {
	box-shadow: 0 1px 3px rbpl(0,0,0,.2), 0 5px 20px -5px rbpl(0,0,0,.3);
	border: 1px solid #fff;
}

.Q_tab_me img,
.Users_avatar_tool img,
.Streams_participants_invite img {
	border-radius: 2px;
}

.Q_columns_title {
	border: none;
	box-shadow: 0 2px 20px 5px rbpl(0,0,0,.05), 0 1px 3px rbpl(0,0,0,.1) !important;
	position: relative;
	z-index: 100;
}

*:not(.Q_column_websites_webpage) .Q_columns_title_container {
	padding: 3px 10px;
}

.Communities .Q_columns_title .Q_title_slot {
	font-size: 22px;
	overflow: auto;
}

.Q_columns_title_container {
	height: auto;
}

.Communities .Q_columns_

.Calendars_event_preview_tool .Calendars_event_title {
	padding: 5px 10px;
}


.Communities_me_column_tabContent {
	border-radius: 5px;
    border: 1px solid #2f2f35;
    border-left: 0;
    border-right: 0;
}

.Communities_tab.Q_current {
	border: 1px solid #d4d4d4;
	border-bottom: solid 1px transparent;
	border-radius: 5px 5px 0 0;
}
.Communities_schedule_column_tabContent {
	border-top: 1px solid #d4d4d4;
}
.Users_list_tool .Users_avatar_icon {
	border-radius: 10px;
}

.Users_list_tool .Users_avatar_name {
	font-size: 15px;
	margin-top: 5px;
}

.Travel_aspect_trips,
.Q_button.Travel_aspect_trips,
.Travel_trips_needoffer .Q_dialog_content {
	background-size: 8px auto;
	padding: 10px 15px;
	color: white;
}

.Calendars_going {
	display: inline-flex;
	box-shadow: 0 10px 40px -15px rbpl(0,0,0,.5), 0 1px 4px rbpl(0,0,0,.2);
	border-radius: 5px;
	margin-left: 10px;
}

.Calendars_going span {
	display: inline-block;
	cursor: pointer;
	border-left: solid 1px #e3e3e3 !important;
	color: #8f8f8f;
	background: #fff;
	min-width: 60px;
}

.Calendars_going span:first-child {

}

.Calendars_yes.Q_selected {
	color: #fff;
	background: #88C906;
	background-image: linear-gradient(to bottom, #A9BD08, #88C906);
	border: 1px solid #A9BD08;
	box-shadow: 0 2px 25px -2px #A9BD08, 0 0 10px 2px #fff;
	z-index: 1;
	position: relative;
}

.Calendars_yes.Q_selected {
	color: #fff;
	background: #88C906;
	background-image: linear-gradient(to bottom, #A9BD08, #88C906);
	border-color: #A9BD08;
	box-shadow: 0 2px 25px -2px #A9BD08, 0 0 10px 2px #fff;
	z-index: 1;
	position: relative;
}

.Calendars_maybe.Q_selected {
	color: #fff;
	/*background: #88C906;*/
	/*background-image: linear-gradient(to bottom, #A9BD08, #88C906);*/
	border-color: #4953d0;
	box-shadow: 0 2px 25px -2px #4953d0, 0 0 10px 2px #fff;
	z-index: 1;
	position: relative;
}

.Calendars_no.Q_selected {
	color: #fff;
	/*background: #88C906;*/
	/*background-image: linear-gradient(to bottom, #A9BD08, #88C906);*/
	border-color: #777;
	box-shadow: 0 0 10px 2px #fff;
	z-index: 1;
	position: relative;
}

.Q_contextual {
	background-color: #0d479e;
	box-shadow: 0 10px 40px -10px rbpl(10,30,130, .7), 0 3px 5px rbpl(0,0,0,.2);
}

.Q_contextual .Q_listing li.Q_selected *,
.Q_contextual .Q_listing li,
.Q_contextual .Q_listing li * {
	background: transparent;
	border-color: transparent;
}

.Q_contextual .Q_listing li.Q_selected {
	border-color: transparent;
	background: #0544a0;
	box-shadow: none;
	position: relative;
	z-index: 5;
    outline: none;
}

.Q_contextual .Q_contextual_top_arrow {
	border-style: solid;
	border-width: 0 20px 16px 20px;
	border-color: transparent transparent #0543a0 transparent;
	background: none;
}

div#Calendars_event_composer_tool {
	padding: 20px 0;
}

.Communities_conversation_author .Users_avatar_name { margin-left: 10px; }

.Communities_conversation_content {
	border-radius: 10px;
	margin: 10px 0 20px 0;
}

.Streams_chat_bubble { font-size: 14px; }

.Streams_chat_from_me .Streams_chat_bubble {
	border-radius: 6px;
	background-color: #1464dd;
	color: #fff;
	box-shadow: 0 5px 15px -5px #0b6eff;
	border: none;
	color: #fff;
}
.Streams_chat_from_me .Streams_chat_tick {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6.5px 0 6.5px 9px;
	border-color: transparent transparent transparent var(--chat-from-me-bg-color);
	background: none;
}

.Streams_chat_to_me .Streams_chat_bubble {
	border-radius: 6px;
	background-color: #d2d3d5;
	color: #fff;
	box-shadow: 0 5px 15px -8px #afb9c8;
	border: none;
	background-image: linear-gradient(to right, #d2d3d5, #e5e5e5);
	color: #222;
}
.Streams_chat_to_me .Streams_chat_tick {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6.5px 9px 6.5px 0;
	border-color: transparent #d2d3d5 transparent transparent;
	background: none;
}

.Streams_chat_bubble.Streams_chat_overflowed:after {
	content: '';
	position: absolute;
	bottom: 5px;
	width: 100%;
	height: 28px;
	left: 0;
	/*background: linear-gradient(to bottom, rbpl(219, 219, 220, 0), rgb(219, 220, 221));*/
	background: inherit;
	-webkit-mask-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rbpl(0,0,0,1)), color-stop(0.4, rbpl(0,0,0,1)), color-stop(1.00, rbpl(0,0,0,0)));
}

.Streams_chat_overflowed_indicator { display: none; }

/*.Streams_chat_from_me .Streams_chat_bubble.Streams_chat_overflowed:after {
	background: linear-gradient(to bottom, rbpl(48, 92, 223, 0), rgb(48, 93, 223));
}
*/

.Streams_chat_tool .Streams_chat_bubble .Users_avatar_name,
.Streams_chat_tool .Streams_chat_message { color: inherit; }
.Streams_chat_tool .Streams_chat_to_me .Streams_chat_message .Streams_chat_message_content a { color: #222; }
.Streams_chat_tool .Streams_chat_from_me .Streams_chat_message .Streams_chat_message_content a { color: #fff; }

.Streams_chat_tool .Streams_chat_bubble .Users_avatar_name { opacity: .8; }

.Streams_chat_timestamp {
	margin-right: 20px;
	margin-top: 5px;
	color: #777777;
	font-size: 11px;
}

.Streams_chat_vote_container img { filter: hue-rotate(40deg); }

.Q_placeholders_container {
	min-height: 40px;
}
.Q_placeholders_container .Q_placeholder {
	display: flex;
	align-items: center;
	top: 0 !important;
}

.Q_placeholders_container input { min-height: 40px; }

.Streams_chat_more {
	cursor: pointer;
	background-color: #dfdfdf;
	color: #555;
	text-align: center;
	padding: 5px 0;
	font-size: 11pt;
	margin: 20px 0;
	/*background-image: linear-gradient(to bottom, #f3f3f3, #eaeaea);*/
	/*border: 1px solid #d7d7d7;*/
}

.Users_avatar_tool img,
.Streams_participants_invite img,
.Streams_preview_tool .Streams_preview_icon,
.Streams_preview_tool .Streams_preview_add {
	border-radius: 5px;
}

.Q_columns_title_container .Streams_preview_tool .Streams_preview_icon {
	border: none;
}

.Streams_dialog_interests, .Communities_filter_location {
	border: 1px solid #002D72;
	box-shadow: 0 7px 10px -5px #002D72;
	background: #002D72;
	background: -webkit-gradient(linear, left top, right top, from(#1a3d73), to(#002D72));
	background: -moz-linear-gradient(left, #1a3d73, #002D72);
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	color: #fff;
	border-radius: 12px;
}

.Q_overlay {
	border-radius: 10px;
}

.Q_dialog_title {
	border-radius: 10px 10px 0 0;
	font-size: 18px;
}

.Q_dialog_title {
	background: #3640c5;
	border-bottom: 1px solid #181d8c;
}

.Q_button.Q_aspect_who,
.Q_button.Users_aspect_communities,
.Q_button.Users_aspect_account {
	background: #002D72;
	background: -webkit-gradient(linear, left top, right top, from(#1a3d73), to(#002D72));
	background: -moz-linear-gradient(left, #1a3d73, #002D72);
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	box-shadow: 0 5px 20px -5px #002D72;
	border: none;
}


.Communities_me_column_tabContent[data-val="interests"],
.Communities_me_column_tabContent[data-val="interests"] .Streams_interests_anything {
	background: #002D72;
	background: -webkit-gradient(linear, left top, right top, from(#1a3d73), to(#002D72));
	background: -moz-linear-gradient(left, #1a3d73, #002D72);
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	color: #fff;
}

.Communities_me_column_tabContent[data-val="credits"] {
	text-align: center;
}

.Communities_me_column_tabContent[data-val="interests"] .Streams_interests_choseAnything .Streams_interests_anything,
.Communities_me_column_tabContent[data-val="interests"] .Q_expandable_count,
.Communities_me_column_tabContent[data-val="interests"] .Q_expandable_tool .Q_selected,
.Communities_me_column_tabContent[data-val="interests"] .Streams_interests_tool .Q_selected {
	background: rbpl(255, 180, 180, 0.9);
	color: #220;
	text-shadow: none;
}

#page .Q_button {
	border: 1px solid #002D72;
	border-radius: 20px;
	box-shadow: 2px 2px 3px rbpl(0, 0, 0, 0.5);
	background: #002D72;
	background: -webkit-gradient(linear, left top, right top, from(#1a3d73), to(#002D72));
	background: -moz-linear-gradient(left, #1a3d73, #002D72);
	background-image: linear-gradient(to right, #1a3d73, #002D72);
	color: #fff;
}

#page .Q_button:active { background: #1a3d73; }

#page .Calendars_info .Q_button {
	border: none;
	border-radius: 7px;
	box-shadow: 0 2px 5px rbpl(0,0,0,.1), 0 0px 2px rbpl(0,0,0,.2);
	background: #ffffff;
	color: #030303;
}

#page .Calendars_info .Q_button i {
	color: inherit !important;
}

.Calendars_info .Travel_trips_buttons span { color: #3777ea; }

.Travel_trips_tool[data-userId]:not([data-userId=""]) .Travel_trips_notGoing { background: none; padding-left: 0; text-align: left; }

.Travel_trips_tool[data-userId]:not([data-userId=""]) .Travel_trips_notGoing:before {
	content: '';
	font-family: 'qplatform-communities' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 28px;
	vertical-align: middle;
	min-width: 10px;
	min-height: 10px;
	display: inline-block;
	content: "\e907";
	margin-right: 15px;
}

.Q_selected,
.Places_location_tool .Places_location_preview_tool.Q_selected {
	background: #d6ecff;
	border: 1px solid #005fff;
	box-shadow: 0 0 6px 1px #4990ff, inset 0 0 3px #1764dd;
}

.Q_expandable_count {
	background-color: rbpl(255, 34, 34, 0.9);
	color: #fff;
}

.Q_aspect_what, .Streams_aspect_interests, .Users_aspect_me,
.Q_tab_me, .Q_tab_me.Q_current .Q_tabs_title,
.Q_aspect_where, .Q_aspect_when, .Q_aspect_who, .Q_tab_events, .Q_tab_events.Q_current .Q_tabs_title,
.Q_aspect_what:before, .Streams_aspect_interests:before, .Users_aspect_me:before,
.Q_tab_me:before, .Q_tab_me.Q_current .Q_tabs_title:before,
.Q_aspect_where:before, .Q_aspect_when:before, .Q_tab_events:before, .Q_tab_events.Q_current .Q_tabs_title:before {
	color: #002D72;
	border-color: transparent;
}

.qp-communities-time,
.qp-communities-interests,
.qp-communities-people,
.qp-communities-locations,
i[style*="color: #449944;"] { color: #002D72 !important; }

.Communities_filter_location .Q_dialog_content { padding: 10px; }

.Communities_me_column .Communities_me_icon:before {
	color: #919191;
	font-size: 24px;
}
.Q_tool.Streams_chat_tool .Streams_chat_composer .Streams_chat_subscription {
	width: 40px;
	height: 40px;
}
.Q_tool.Streams_chat_tool .Streams_chat_composer .Streams_chat_submit,
.Q_tool.Streams_chat_tool .Streams_chat_composer .Streams_chat_call {
	top: 2px;
	right: 3px;
	width: 35px;
	height: 35px;
	filter: contrast(150%) hue-rotate(40deg) brightness(90%);
}

.Q_tool.Streams_chat_tool .Streams_chat_composer input { padding-right: 40px; margin-left: 45px; width: calc(100% - 45px); height: 40px; }
.Q_tool.Streams_chat_tool .Streams_chat_composer ~ hr { display: none; }

.Calendars_event_composer_tool .Calendars_event_composer > div:before { color: #9e9e9e !important; }

.Communities_filter_location .Places_location_tool div[data-location=current],
.Communities_filter_location .Places_location_preview_tool,
.Communities_filter_location .Communities_filter_location_all,
.Communities_filter_location .Places_location_tool .Places_location_preview_tool,
.Communities_filter_location .Places_location_tool div[data-location=address],
.Communities_filter_location .Places_location_tool div[data-location=current],
.Communities_filter_location .Places_location_tool .Places_areas_tool {
	background-color: rbpl(255, 255, 255, 0.2);
}

.Communities_onboarding_profile .Communities_onboarding_profile_basic {display: none}

/* <Test assets strip payment> */
.Assets_stripe_payment .Q_dialog_content {
	min-width: 300px;
	min-height: 200px;
	padding: 10px;
}
.Assets_stripe_payment.Assets_stripe_payment_loading .Q_dialog_content {
	background-image: url(data:image/gif;base64,R0lGODlhQgBCAPMAAP///0RERHt7e52dneXl5bm5ufn5+VhYWNLS0gAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAQgBCAAAE/xDISau9VBzMu/8VcRTWsVXFYYBsS4knZZYH4d6gYdpyLMErnBAwGFg0pF5lcBBYCMEhR3dAoJqVWWZUMRB4Uk5KEAUAlRMqGOCFhjsGjbFnnWgliLukXX5b8jUUTEkSWBNMc3tffVIEA4xyFAgCdRiTlWxfFl6MH0xkITthfF1fayxxTaeDo5oUbW44qaBpCJ0tBrmvprc5GgKnfqWL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oM1V9/s9iyIait6x1+mIXEjrNeKmw59SMUSR6l5UE1EjM9txN1049RUUlR771fFfUw1OEJUF38E0TzURJkLbUR31EwEAOwAAAAAAAAAAAA==);
	background-size: 100px;
	background-repeat: no-repeat;
	background-position: center;
}
.Assets_stripe_payment.Assets_stripe_payment_loading .Q_dialog_content *,
.Assets_stripe_payment.Assets_stripe_payment_loading .Q_dialog_content button[name=pay] {
	display: none;
}
.Assets_stripe_payment .Q_dialog_content button[name=pay] {
	display: block;
	margin: 10px auto 0;
	width: 100%;
}
.Assets_stripe_payment .Assets_Stripe_requestButton {
	margin-bottom: 15px;
}
.Assets_Payment_status .Q_dialog_content {
	padding: 10px;
	font-size: 20px;
	min-width: 300px;
	min-height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: red;
	font-weight: bold;
}
.Assets_Payment_status[data-status=succeeded] .Q_dialog_content {
	color: green;
}
/* </Test assets strip payment> */

html.Q_layout_sidebar #dashboard_slot #dashboard #Users_avatar-main_logo_tool img {
	background-color: #fcffbd;
}

#discourse-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	position: relative;
}
.intercoin_community_con {
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	position: relative;
}
html.Fans_about #content_slot {
	padding: 0;
}

.Streams_related_tool.Media_episodes {
	padding: 5px;
}.Q_notMobile .Streams_related_tool.Media_episodes {
	padding: 10px;
}
.Media_shows_layout {
	float: none;
}
html.Media_clip #content .Q_button[name=addEpisode] {
	display: none;
}
.Media_column_clips .Media_newEpisode {
	display: none;
}

.Q_mobile #dashboard_slot .Users_status_tool .Q_badge_tool .Q_badge {
	font-size: 12px;
}
#dashboard_slot .Users_status_tool .Q_badge_tool .Q_badge {
	border-radius: 50%;
	background-color: #ffdc03;;
	color: #000;
	font-weight: bold;
	font-size: 16px;
    transform: rotate3d(0.01, 0.1, 0.01, 20deg);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    border: 2px dotted #9a83068a;
    color: rgba(0, 0, 200, 0.7);
    left: -20px;
}
.Q_column_community .Users_list_tool .Users_avatar_tool.Q_badge_tool,
.Q_column_people .Users_list_tool .Users_avatar_tool.Q_badge_tool {
	overflow: unset;
}
.Users_avatar_tool .Media_badge_host {
	background-color: #fff;
}


.Q_column_slot .Media_episode_tool {
    padding: 10px
}

/* Not used in this app for now */
.Media_clip_tool .Media_tabs {
    /* display: none; */
}

.Media_episode_preview_tool {
    margin-bottom: 0;
}
.Media_episode_preview_tool.Q_selected {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Hover/selected background behind the whole Media/episode/preview card
   (thumbnail + title/author/date), YouTube-home-style: a plain grayish
   tint on :hover, a tinted one (matching this app's existing Q_selected
   blue, used elsewhere for selected cards) when Q_selected is on the tool
   root. Fans-specific (not platform-wide, unlike the largeThumbCard layout
   itself — see Media/css/tools/episodePreview.css's own comment) since it's
   a styling preference, not part of the reusable layout mechanism.
   :has(> .Media_episode_largeThumbCard) scopes this to largeThumbCard
   instances only — .Media_episode_preview_tool is shared with the
   "default"/"cards" layouts, which have their own different treatment.
   The padding is always present, not just added on hover/selected —
   toggling only background-color means hovering never changes any
   element's size, so it can't reflow the grid's auto-sized rows. */
.Media_episode_preview_tool:has(> .Media_episode_largeThumbCard) {
    border-radius: 10px;
    padding: 10px;
    transition: background-color 0.15s ease;
}
.Media_episode_preview_tool:has(> .Media_episode_largeThumbCard):hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.Media_episode_preview_tool:has(> .Media_episode_largeThumbCard).Q_selected {
    background-color: rgba(61, 156, 239, 0.2);
}
@media (prefers-color-scheme: dark) {
    .Media_episode_preview_tool:has(> .Media_episode_largeThumbCard):hover {
        background-color: rgba(255, 255, 255, 0.12);
    }
    .Media_episode_preview_tool:has(> .Media_episode_largeThumbCard).Q_selected {
        background-color: rgba(61, 156, 239, 0.3);
    }
}


.Media_episode_preview_tool .Q_actions_container {
    display: none;
}

/* ==========================================================================
   Dark theme redesign (app-level, not platform-wide)
   Inspired by YouTube dark, Twitch and Pepperbox.tv. See
   /home/liubomyr/Desktop/design-handoff/README.md for the full spec this
   section implements. Everything here lives in Fans' own app-level CSS
   (never a platform plugin file) so other apps on this same Qbix platform
   are unaffected -- where a style originates on the platform (an existing
   selector, or a CSS custom property platform CSS already reads, e.g.
   --column-title-bg-color, --communities-button-bg-color), it's overridden
   here by redeclaring that same selector/variable at equal-or-later
   cascade position rather than copied with !important.
   ========================================================================== */

:root {
    --dk-bg:        #0e0e10;
    --dk-surface:   #18181b;
    --dk-elevated:  #1f1f23;
    --dk-border:    #2a2a2f;
    --dk-text:      #efeff1;
    --dk-muted:     #adadb8;
    --dk-faint:     #7a7a85;
    --dk-accent:    #a970ff;
    --dk-accent-2:  #ff4f8b;
    --dk-radius:    12px;
    color-scheme: dark;

    /* Platform custom properties (Communities.css, Q.css) -- redeclaring
       these here is what makes column backgrounds, the search button's
       circle, dialog titles, etc. follow the dark palette without needing
       a separate override rule for each one. */
    --dashboard-height: 60px;
    --html-color: var(--dk-text);
    --html-bg-color: var(--dk-bg);
    --content-bg-color: var(--dk-bg);
    --column-bg-color: var(--dk-surface);
    --column-color: var(--dk-text);
    --column-title-bg-color: var(--dk-surface);
    --column-title-color: var(--dk-text);
    --communities-button-bg-color: var(--dk-elevated);
    --communities-button-color: var(--dk-text);
    --dashboard-main-bg-color: var(--dk-surface);
    --dashboard-main-bg-color-to: var(--dk-surface);
    --dashboard-mobile-bg-color: var(--dk-surface);
    --dashboard-mobile-bg-color-to: var(--dk-surface);
    --dashboard-mobile-color: var(--dk-text);
    --dashboard-main-color: var(--dk-text);
    /* Communities.css's "body .Q_contextual {...}" rules (an element +
       class selector) outrank this file's own plain ".Q_contextual {...}"
       dark-theme rule (class only) regardless of cascade order, so the
       popup background/arrows were still the platform's default blue
       (#0543a0) -- fixed at the variable instead of chasing specificity,
       which also covers every other Q/contextual popup in the app (the
       hamburger "N more" menu included) for free. */
    --dashboard-contextual-border: var(--dk-surface);
    --dashboard-contextual-bg-color: var(--dk-surface);

    /* Assets/pay.css + Assets/web3/invoice.css (the "Assets_credits_buy_payment"
       dialog -- rail picker, Assets_pay_amount, the web3 invoice screen,
       Assets_web3_invoice_payTitle/selected_name, etc.) read these
       --Intercoin-color-* variables as their own --pay-* fallback chain's
       source, and otherwise only pick up the dark palette via an OS-level
       `prefers-color-scheme: dark` media query or an .Intercoin_dark class --
       neither of which this app's always-on dark theme (this very :root
       block) ever sets. Reported: Assets_pay_amount etc. were barely
       legible -- consistent with pay.css's own light-mode text fallback
       (#222, near-black) rendering against this dialog's actual dark
       surface (.Q_dialog_content's var(--dk-surface) -- see below).
       Redeclaring the variables it already reads fixes every element in both
       files at once, the same way the platform custom properties above do,
       and works regardless of OS theme or any Intercoin_dark/light class. */
    --Intercoin-color-surface: var(--dk-elevated);
    --Intercoin-color-text: var(--dk-text);
    --Intercoin-color-muted: var(--dk-muted);
    --Intercoin-color-accent: var(--dk-accent);
    --Intercoin-color-border: var(--dk-border);
}

/* ---------- Base ---------- */
html, body { background: var(--dk-bg); color: var(--dk-text); }
#content_slot {
    background: var(--dk-bg);
    box-shadow: none;
}
a { color: var(--dk-accent); }
a:visited { color: var(--dk-accent); }
::selection { background: var(--dk-accent); color: #fff; }

* { scrollbar-color: #3a3a40 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #3a3a40; border-radius: 10px; border: 2px solid var(--dk-bg); }
::-webkit-scrollbar-thumb:hover { background: #4d4d55; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Header (#dashboard) ---------- */
#dashboard_slot {
    height: 60px;
    background: rgba(24, 24, 27, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--dk-border);
}
#dashboard {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: left;
}
#dashboard > * { float: none; margin: 0; }

/* Logo */
#Users_avatar-main_logo_tool {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 6px 10px 6px 4px;
    border-radius: 10px;
    transition: background .15s;
}
/* #Users_avatar-main_logo_tool:hover { background: rgba(255,255,255,.06); } */
#Users_avatar-main_logo_tool .Users_avatar_icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--dk-elevated);
}
#Users_avatar-main_logo_tool .Users_avatar_name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--dk-text);
    background: linear-gradient(90deg, #fff 30%, #d9c2ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tabs (Videos / Channels) -- Upload is excluded from this tool entirely,
   see views/Communities/dashboard.php and .Fans_dashboard_upload below. */
#Q_tabs-Communities_tool { flex: 0 0 auto; }
/* The platform's own widebar-sidebar rules (dashboard.css) give
   .Q_tabs_tool flex-grow:10000 and .Q_tabs_tabs justify-content:
   space-evenly (meant for a vertical nav filling a sidebar's height) --
   on this horizontal header that balloons the tabs container and spreads
   Videos/Channels away from the logo, leaving nothing for the search
   bar's margin-left:auto to actually push against. Overridden here at
   the platform's own selector specificity (same classes/ids) so this
   file's later cascade position decides it, instead of #Q_tabs-Communities_tool's
   own ID alone (lower specificity, would lose). */
.Q_notMobile.Q_layout_widebar #dashboard .Q_tabs_tool { flex: 0 0 auto; }
.Q_notMobile.Q_layout_widebar #dashboard .Q_tabs_tabs { justify-content: flex-start; flex-flow: row nowrap; }
#dashboard .Q_tabs_tabs { display: flex; gap: 4px; }
/* Same file's .Q_tabs_tab height:40px below loses to this platform rule's
   height:100% (3 classes+ID vs our ID+class) -- the tab was stretching to
   the full 60px bar instead of sitting as a 40px pill, which also hid the
   rounded corners. Overridden at the platform's own selector so our later
   cascade position decides it. */
.Q_notMobile.Q_layout_widebar #dashboard .Q_tabs_tab { height: 40px; margin-bottom: 0; }
#dashboard .Q_tabs_tab *, .Q_listing_wrapper .Q_tabs_tab * {
    color: var(--dk-muted); 
}
.Q_notTouchscreen #dashboard .Q_tabs_tab:not(.Q_current):hover * {
    color: var(--dashboard-current-color, var(--dashboard-main-color));
}
/* The platform's widebar nav draws its own current-tab indicator as a
   border-bottom (sidebar/top-nav convention) -- not used by this design,
   which uses the pill background + ::after underline below instead. */
.Q_layout_widebar[data-dashboard-position="top"] #dashboard .Q_tabs_tab.Q_current,
.Q_layout_widebar[data-dashboard-position="top"] #dashboard .Q_tabs_tab.Q_mouseover {
    border-bottom: none;
}
#dashboard .Q_tabs_tab {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 14px 0 10px;
    border-radius: 10px;
    color: var(--dk-muted);
    transition: background .15s;
    /* Platform's own #dashboard .Q_tabs_tab sets overflow:hidden (for its
       text-overflow:ellipsis truncation); that also clips the Q_current
       ::after underline below, which is deliberately positioned outside
       the tab's own box. */
    overflow: visible;
}
.Q_layout_widebar #dashboard .Q_tabs_tab {
    border-radius: 10px;
}
#dashboard .Q_tabs_tab a { display: flex; align-items: center; height: 100%; }
#dashboard .Q_tabs_tab a:focus { outline: none; }
#dashboard .Q_tabs_tab .Q_tabs_title { transition: color .15s; font-size: 14.5px; font-weight: 600; letter-spacing: .1px; }
#dashboard .Q_tabs_tab:hover { background: rgba(255,255,255,.07); color: var(--dk-text); }
#dashboard .Q_tabs_tab.Q_current {
    color: #fff;
    background: rgba(255,255,255,.04);
    position: relative;
}
#dashboard .Q_tabs_tab.Q_current::after {
    content: "";
    position: absolute;
    /* #dashboard itself is overflow:hidden (platform CSS) and only 60px
       tall; with the tab now 40px and vertically centered (10px above,
       10px below), -10px would land exactly on #dashboard's clip edge
       and get cut off entirely. -6px keeps the full 3px bar inside. */
    left: 10px; right: 14px; bottom: -6px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--dk-accent), var(--dk-accent-2));
}
#dashboard .Q_tabs_tab svg.Q_overflow_glyph_svg { fill: var(--dk-text); }

/* Tab icons -- replaced at their source (this same #dashboard
   .Q_tabs_tabs .Q_tab_videos::before selector, same specificity as
   plugins/Media/web/css/Media.css's icon-font rule it overrides, loaded
   later so it wins on the tie) with outline mask-icons instead of the
   platform's filled qplatform-media icon-font glyphs, per the design
   handoff's icon spec (24x24, 2px stroke, round caps, currentColor).
   Deliberately NOT a generic "#dashboard .Q_tabs_tab::before" mask (the
   thing the handoff's own prototype did and its README warned against) --
   scoped per tab class exactly like the font-based rule it replaces, so
   Upload (already real markup, not a tab) and the overflow "more" glyph
   are untouched. */
#dashboard .Q_tabs_tabs .Q_tab_videos::before,
#dashboard .Q_tabs_tabs .Q_tab_channels::before {
    content: "";
    font-family: initial;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}
#dashboard .Q_tabs_tabs .Q_tab_videos::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='4'/%3E%3Cpath d='M10 9.2v5.6l4.8-2.8z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='4'/%3E%3Cpath d='M10 9.2v5.6l4.8-2.8z' fill='%23000'/%3E%3C/svg%3E");
}
#dashboard .Q_tabs_tabs .Q_tab_channels::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='13.5' rx='3'/%3E%3Cpath d='M16.5 2.5 12 7 7.5 2.5'/%3E%3Ccircle cx='12' cy='13.75' r='2.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='13.5' rx='3'/%3E%3Cpath d='M16.5 2.5 12 7 7.5 2.5'/%3E%3Ccircle cx='12' cy='13.75' r='2.5'/%3E%3C/svg%3E");
}
/* Accent gradient used sparingly: active-tab underline (above),
   active-tab icon (here), section-title bars and the coin icon --
   deliberately NOT matching the active tab's own (white) text color. */
#dashboard .Q_tabs_tabs .Q_tab_videos.Q_current::before,
#dashboard .Q_tabs_tabs .Q_tab_channels.Q_current::before {
    background-color: transparent;
    background-image: linear-gradient(135deg, #c7a4ff, var(--dk-accent-2));
}

/* Mobile (data-style=icons, e.g. phone widths): the platform's own
   icons-style rules (dashboard.css) outrank the desktop rules above on
   specificity, so the same three bugs need mobile-scoped overrides here
   rather than just being inherited:
   - .Q_tabs_tab { flex-grow: 1 } stretches each tab (and the "N more"
     overflow button) to roughly half the bar's width instead of sizing
     to its icon+label content -- this is the "menu item too wide" bug.
   - .Q_tabs_tab.Q_current::before { background: var(--dashboard-mobile-
     current-icon-bg) } (a near-invisible faint blue glow) wins over our
     gradient on the active icon, same background-shorthand-reset pattern
     as the desktop fix above, just with a more specific [data-style=icons]
     selector -- this is the "icon not shown" bug (the icon IS there, via
     mask-image, just filled with an almost-transparent background).
   - On mobile the tab is the full height of #dashboard (no spare room
     below it the way desktop has), so the shared ::after's bottom:-6px
     (meant to sit just below the tab) pushes it out past #dashboard
     entirely with nothing to clip against -- this is the "::after not
     visible" bug. Moved to bottom:0, inside the tab's own box, for
     mobile only. */
.Q_layout_widebar #dashboard[data-style=icons] .Q_tabs_tab { flex-grow: 0; }
/* .Q_tabs_tool itself (the tabs tool's own outer element, not each tab)
   has a separate platform rule forcing width:100% in icons/mobile style
   -- an explicit width wins out over flex-grow:0 per the flexbox spec's
   flex-basis:auto fallback, so it claimed the dashboard's entire content
   width regardless of what else needed room next to it (the search
   toggle below, Upload). Not noticeable before since nothing else
   competed for that space on this layout; it became a real bug once the
   search toggle needed a fixed slot there. */
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tool { width: auto; max-width: none; }
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tabs .Q_tab_videos.Q_current::before,
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tabs .Q_tab_channels.Q_current::before {
    background-color: transparent;
    background-image: linear-gradient(135deg, #c7a4ff, var(--dk-accent-2));
}
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tab.Q_current::after {
    bottom: 0;
}
/* On this mobile layout the platform renders profile (the "Me" tab,
   avatar + login status) as a THIRD tab inside Q_tabs itself, after
   Videos/Channels -- not as a separate element the way the logo/
   #dashboard_user are on desktop (both end up display:none here; see the
   bugfix log entry from 2026-10-29 for that separate, not-yet-decided
   issue). That leaves the profile picture sitting near the middle of the
   header once the search icon and Upload follow it, instead of the left
   or right edge profile pictures are normally anchored to. Moved to the
   front with order (a pure visual reorder -- Q_tabs' own DOM order,
   and so its overflow/"N more" logic, is untouched) rather than editing
   dashboard.php to special-case Me the way Upload already is, since this
   tab only exists in the mobile markup Q/tabs generates itself. Credits
   (inserted by Fans.js next to this same avatar) is hidden here rather
   than repositioned -- at this tab's ~70-90px width there's no room for
   both the avatar and a balance pill without one overlapping the other
   or pushing out of the header's fixed height. */
.Q_mobile #dashboard[data-style=icons] .Q_tabs_tabs .Q_tab_me { order: -1; margin-right: 10px; }
/* ".Q_mobile .Fans_dashboard_credits { display: none }" alone loses to
   dashboard.css's own ".Q_mobile.Communities_dashboard_withTitles
   #dashboard[data-style="icons"] .Q_tabs_tab *" (an ID in the selector,
   generically flexing every descendant of a tab for icon/label layout) --
   matched at the same specificity plus our own class so it wins instead
   of needing !important. */
.Q_mobile.Communities_dashboard_withTitles #dashboard[data-style="icons"] .Q_tabs_tab .Fans_dashboard_credits,
.Q_mobile .Fans_dashboard_credits {
    display: none;
}
/* #dashboard itself is "align-items: start" on mobile (dashboard.css's
   own ".Q_mobile #dashboard", 1 class + 1 id, beats our plain "#dashboard
   {align-items:center}" above since that's just the bare id) -- fine for
   the tabs tool and Upload, which are each as tall as the full 70px bar
   and so look centered either way, but it left the search toggle and
   Upload (both fixed 40px squares/pills) stuck against the top edge
   instead of vertically centered in the bar. */
.Q_mobile #dashboard { align-items: center; padding: 0 10px; }
/* Upload's padding (0 16px 0 12px, sized for icon+text) is asymmetric;
   fine when the text is showing, but with it hidden below 900px/on
   mobile (.Fans_dashboard_upload span{display:none} above) the "+" ends
   up closer to the left edge than the right. The existing wide-desktop
   override earlier in this file ("#dashboard .Fans_dashboard_upload",
   id+class) already outranks the plain ".Fans_dashboard_upload" the
   max-width:900px block below uses for its own symmetric padding, so
   that fix never actually applied once this file added that id-scoped
   rule; matched here at the same id+class specificity instead of relying
   on cascade order within the media query. */
.Q_mobile #dashboard .Fans_dashboard_upload { padding: 0 10px; justify-content: center; }
/* Icon/caption spacing on mobile tabs: dashboard.css's own
   ".Q_mobile.Communities_dashboard_withTitles #dashboard[data-style=icons]
   .Q_tabs_tab *" (an id in the selector) sets "margin: auto" on every
   real child of a tab for its own icon-layout purposes: harmless for the
   icon itself (a ::before, not matched by "*"), but on the title div it
   auto-centers the leftover vertical space in the tab's column flex,
   which is what was pushing "Videos"/"Channels" so far below their icon.
   Matched at the same specificity plus our own class to collapse it to a
   small fixed gap instead. The icon's own box (::before) is also
   resized here -- it was rendering at a non-square ~28x18.7px (the
   platform's own --dashboard-icon-size-withtitles box, mask-size:contain
   letterboxing our square SVG into it) -- to a larger, actually-square
   size with a deliberately small bottom margin providing the real gap
   (letting the title's own margin stay near 0 rather than fighting two
   separate spacing sources). */
.Q_mobile.Communities_dashboard_withTitles #dashboard[data-style="icons"] .Q_tabs_tab .Q_tabs_title {
    margin: 2px 0 0 0;
}
.Q_mobile.Communities_dashboard_withTitles #dashboard[data-style="icons"] .Q_tabs_tabs .Q_tab_videos::before,
.Q_mobile.Communities_dashboard_withTitles #dashboard[data-style="icons"] .Q_tabs_tabs .Q_tab_channels::before {
    width: 26px;
    height: 26px;
    margin: 0 auto 2px auto;
    /* The tab is a column flex container, and this ::before is an
       implicit flex item of it like any other child -- without this it
       was shrinking down from the declared 26px (flex-shrink:1 is the
       default) to fit the tab's available cross-axis space alongside the
       title, instead of actually rendering at 26px. */
    flex-shrink: 0;
}

/* Search -- pushed to the right of the tabs via margin-left: auto, which
   also carries everything after it (Upload, credits, avatar) along with
   it, so no separate positioning is needed for those. flex-grow is
   deliberately 0: an auto margin on the same item competes with its own
   flex-grow for the container's free space (auto margins are resolved
   first per the flexbox spec), so with grow:1 the margin ate nearly all
   of it and left the bar stuck near its 260px flex-basis instead of its
   520px max-width -- shrink-only (with a width basis = the max-width it
   should actually render at) avoids that fight entirely. */
#Media_clip_search-Media_clip_search_bar_tool {
    flex: 0 1 520px;
    max-width: 520px;
    margin-left: auto;
}
#dashboard .Media_clip_search_input_bar {
    height: 40px;
    background: #0b0b0d;
    border: 1px solid var(--dk-border);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color .15s;
}
#dashboard .Media_clip_search_input_bar:focus-within { border-color: #46464f; }
#dashboard .Media_clip_search_input_field {
    background: transparent;
    color: var(--dk-text);
    height: 38px;
    font-size: 14.5px;
}
#dashboard .Media_clip_search_input_field::placeholder { color: var(--dk-faint); font-style: normal; }
#dashboard .Media_clip_search_input_field.placeholder { color: var(--dk-faint); font-style: normal; }
#dashboard .Media_clip_search_icons_item {
    background: transparent;
    color: var(--dk-text);
    opacity: .75;
    filter: none;
}

/* Search icon-only toggle -- hidden here, shown instead of the bar above
   (which is hidden) once there's no room for it; see the @media and
   .Q_mobile rules further down, and Fans.js for the click -> Q/contextual
   popup wiring. */
.Fans_dashboard_search_toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--dk-text);
    transition: background .15s;
}
.Fans_dashboard_search_toggle:hover { background: rgba(255,255,255,.14); }
/* The popup Fans.js builds when the toggle above is clicked. Its content
   (.Media_clip_search_input_bar) is MOVED here, not cloned, so the
   live-search/debounce/Enter-key listeners Media/clip/search's own
   buildUI() already wired onto it keep working unchanged -- but that also
   means the id-scoped "#dashboard .Media_clip_search_*" rules above no
   longer apply once it's outside #dashboard, so they're repeated here. */
.Fans_dashboard_search_contextual .Q_listing_wrapper { padding: 10px; }
.Fans_dashboard_search_contextual .Q_listing li.Fans_dashboard_search_item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(85vw, 360px);
    padding: 0;
    border: none;
    background: transparent;
}
.Fans_dashboard_search_contextual .Media_clip_search_input_bar {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    height: 40px;
    background: #0b0b0d;
    border: 1px solid var(--dk-border);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color .15s;
}
.Fans_dashboard_search_contextual .Media_clip_search_input_bar:focus-within { border-color: #46464f; }
.Fans_dashboard_search_contextual .Media_clip_search_input_field {
    background: transparent;
    color: var(--dk-text);
    height: 38px;
    font-size: 14.5px;
}
.Fans_dashboard_search_contextual .Media_clip_search_input_field::placeholder,
.Fans_dashboard_search_contextual .Media_clip_search_input_field.placeholder { color: var(--dk-faint); font-style: normal; }
.Fans_dashboard_search_contextual .Media_clip_search_icons_item { background: transparent; color: var(--dk-text); opacity: .75; filter: none; }
.Fans_dashboard_search_submit {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: var(--dk-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.Fans_dashboard_search_submit:hover { background: var(--dk-accent-2); }

/* Upload -- its own pill button after the search bar, not a Q/tabs tab
   (see views/Communities/dashboard.php for why it's rendered separately). */
.Fans_dashboard_upload,
.Fans_dashboard_dropPromo_button {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    /* Same muted/white split as the tabs: dk-muted normally, dk-text
       (via .Q_current below) only while the Upload page is the current
       one. */
    color: var(--dk-muted);
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, color .15s;
}
a.Fans_dashboard_upload:visited, 
a.Fans_dashboard_dropPromo_button:visited {
    color: var(--dk-muted);
}
/* #dashboard > * { margin:0; padding:0; ... } (platform dashboard.css) has
   higher specificity (ID vs our plain class) than the block above, so
   padding/margin have to be set here instead, matched with the #dashboard
   ancestor to win on specificity, not just cascade order. */
#dashboard .Fans_dashboard_upload {
    padding: 0 16px 0 12px;
    margin-left: 12px;
}
#dashboard .Fans_dashboard_upload:hover {
    color: var(--dashboard-current-color, var(--dashboard-main-color));
}
#dashboard .Fans_dashboard_upload.Q_current {
    color: var(--dashboard-current-color, var(--dashboard-main-color));
    background: rgba(255, 255, 255, .08);
}
.Fans_dashboard_upload:hover { background: rgba(255,255,255,.14); }
.Fans_dashboard_upload.Q_current { background: var(--dk-accent); color: #fff; }

/* "Open a Drop" -- same pill treatment as .Fans_dashboard_upload just
   above, so the two buttons read as a matching pair in the header. The
   button itself (.Fans_clips_dropPromo_button) is the same one used in
   the clips-page promo banner; its own styling there is scoped under
   .Fans_clips_dropPromo (the banner container), which isn't an ancestor
   here, so this needs its own rules rather than inheriting the banner's. */
.Fans_dashboard_dropPromo_button {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--dk-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
/* Same #dashboard-ancestor specificity fight as .Fans_dashboard_upload
   above (platform's "#dashboard > * { margin:0; padding:0 }" otherwise
   wins and strips this). */
#dashboard .Fans_dashboard_dropPromo_button {
    padding: 0 16px;
    margin-left: 8px;
}
.Fans_dashboard_dropPromo_button:hover,
a.Fans_dashboard_dropPromo_button:visited {
    color: var(--dk-muted);
}
.Fans_dashboard_dropPromo_button:hover { background: rgba(255,255,255,.14); }

/* Right side: credits + avatar */
#dashboard_user {
    flex: 0 0 auto;
    margin-left: 12px;
    overflow: visible;
    max-width: none;
}
#dashboard_user .Users_whenLoggedIn.Users_status_avatar {
    display: flex;
    align-items: center;
    gap: 10px;
}
#dashboard_user .Users_avatar_tool.Q_badge_tool {
    display: flex;
    align-items: center;
}
#dashboard_user .Users_avatar_icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
#dashboard_user .Users_avatar_name { display: none; }

/* Credits -- a normal-flow pill next to the avatar (see Fans.js, which
   creates this element instead of a positioned Q_badge), not a corner
   badge overlapping the avatar -- see the design handoff's own note on
   why: the old positioned badge clipped long balances. */
.Fans_dashboard_credits {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--dk-text);
    font-size: 13.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
    white-space: nowrap;
    transition: background .15s;
}
#dashboard_user .Users_avatar_tool:hover .Fans_dashboard_credits,
.Fans_dashboard_credits:hover { background: rgba(255,255,255,.14); }
.Fans_dashboard_credits_icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M15 9.2c-.6-.9-1.7-1.4-3-1.4-1.7 0-3 .9-3 2.1 0 2.9 6 1.4 6 4.2 0 1.2-1.3 2.1-3 2.1-1.3 0-2.5-.6-3.1-1.5M12 6v1.8M12 16.2V18'/%3E%3C/svg%3E") center / 14px no-repeat,
        linear-gradient(135deg, #c7a4ff, var(--dk-accent) 45%, var(--dk-accent-2));
}

@media (max-width: 900px) {
    /* .Q_tabs_tabs added (not just .Q_tabs_tab) purely to match/beat the
       specificity of plugins/Communities/web/css/dashboard.css's
       ".Q_notMobile.Q_layout_widebar #dashboard .Q_tabs_title
       {display:flex}" (1 id, 3 classes) -- a 2-class version of this
       selector loses to it regardless of cascade order or @media. */
    #dashboard .Q_tabs_tabs .Q_tabs_tab .Q_tabs_title { display: none; }
    #dashboard .Q_tabs_tab { padding: 0 10px; }
    #dashboard .Q_tabs_tab::before { margin-right: 0; }
    .Fans_dashboard_upload span { display: none; }
    .Fans_dashboard_upload { padding: 0 10px; margin-left: 4px; }
    /* Text-only pill, no icon fallback designed for it (unlike Upload
       just above) -- hidden here rather than cramming more text into an
       already-tight header; still reachable from the clips-page promo
       banner on narrow screens. */
    .Fans_dashboard_dropPromo_button { display: none; }
    #Users_avatar-main_logo_tool .Users_avatar_name { display: none; }
    /* No room for the full input bar below this width -- collapse it to
       just the toggle icon (see Fans.js for what clicking it does). */
    #Media_clip_search-Media_clip_search_bar_tool { display: none; }
    .Fans_dashboard_search_toggle { display: flex; }
}
/* Real touch devices (Q_mobile, set from actual touch/UA detection in
   plugins/Q/web/js/Q.js, not a width breakpoint) always collapse the
   search bar the same way, regardless of viewport width. */
.Q_mobile #Media_clip_search-Media_clip_search_bar_tool { display: none; }
.Q_mobile .Fans_dashboard_search_toggle { display: flex; }

/* ---------- Buttons ---------- */
.Q_button,
a.Q_button,
button.Q_button {
    background: var(--dk-accent);
    background-image: none;
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    font-weight: 600;
    transition: filter .15s, transform .1s;
}
.Q_touchscreen .Q_button { background: var(--dk-accent); background-image: none; box-shadow: none; border: none; }
.Q_button:hover { filter: brightness(1.12); }
.Q_button:active { transform: scale(.97); }
#page .Q_button { border: none; box-shadow: none; background: var(--dk-accent); background-image: none; color: #fff; }
#page .Q_button:active { background: var(--dk-accent); filter: brightness(.9); }
#page .Communities_me_column .Communities_me_column_tabContent[data-val=inbox] .Communities_invite {
    background: var(--dk-accent);
}

/* ---------- Section titles ---------- */
.Fans_clips_mostViewed_title,
.Fans_clips_mostRecent_title {
    color: var(--dk-text);
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    padding: 0 20px;
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.Fans_clips_mostViewed_title::before,
.Fans_clips_mostRecent_title::before {
    content: "";
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(var(--dk-accent), var(--dk-accent-2));
}

/* ---------- Video cards ---------- */
.Media_episode_largeThumbCard_thumb { background-color: #000; }
.Media_episode_largeThumbCard_duration {
    background: rgba(0,0,0,.82);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: .3px;
}
.Media_episode_largeThumbCard_meta { padding: 12px 8px 0; }
.Media_episode_largeThumbCard_title, .Media_episode_searchResultCard_title { color: var(--dk-text); font-weight: 600; }
.Media_episode_searchResultCard_stats,
.Media_episode_searchResultCard_authorRow, 
.Media_episode_searchResultCard_description,
.Users_avatar_name .Streams_firstName,
.Media_episode_largeThumbCard_sub,
.Media_episode_largeThumbCard_sub * { color: var(--dk-muted); }
/* Hover/selected background (defined for the light theme at the top of
   this file, and again under @media prefers-color-scheme for OS dark
   mode) -- the app is unconditionally dark now, so this is the one rule
   that applies, overriding both earlier ones by cascade order alone. */
.Media_episode_preview_tool:has(> .Media_episode_largeThumbCard):hover {
    background-color: var(--dk-elevated);
}
.Media_episode_preview_tool:has(> .Media_episode_largeThumbCard).Q_selected {
    background-color: rgba(169, 112, 255, .22);
}

.Media_episode_searchResultCard {
    margin: 5px;
}
/* ---------- Footer "Powered by" ---------- */
.Fans_poweredBy {
    position: fixed;
    bottom: 5px;
    right: 5%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--dk-border);
    background: rgba(24,24,27,.85);
    color: var(--dk-faint);
    font-size: 13px;
}
.Fans_poweredBy img { width: 20px; vertical-align: middle; filter: brightness(1.4); }

/* ---------- Popups / menus / dialogs ---------- */
.Q_contextual {
    background-color: var(--dk-surface);
    border: 1px solid var(--dk-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.Q_contextual .Q_listing li,
.Q_contextual .Q_listing li * { background: transparent; color: var(--dk-text); border-color: var(--dk-border); }
.Q_contextual .Q_listing li:hover,
.Q_contextual .Q_listing li.Q_selected { background: var(--dk-elevated); }
.Q_contextual .Q_contextual_top_arrow { border-color: transparent transparent var(--dk-surface) transparent; }

.Q_dialog_title {
    background: var(--dk-surface);
    border-bottom: 1px solid var(--dk-border);
}
.Q_overlay,
.Q_dialog,
.Q_dialog_content { background: var(--dk-surface); color: var(--dk-text); border-radius: 14px; }

/* ---------- Form fields everywhere ---------- */
input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=number],
input.text,
input.email,
input.tel,
input.password,
input.number,
textarea,
select {
    background-color: var(--dk-elevated);
    color: var(--dk-text);
    border: 1px solid var(--dk-border);
    border-radius: 8px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=password]:focus,
input[type=number]:focus,
input.text:focus,
input.email:focus,
input.password:focus,
input.number:focus,
textarea:focus,
select:focus { background: var(--dk-elevated); border-color: var(--dk-accent); box-shadow: none; outline: none; }
input.placeholder,
textarea.placeholder { color: var(--dk-faint); }

/* ---------- Upload page (Media/videoUpload -> Media/episodeForm) ----------
   This tool already ships its own light/dark variable set, switched today
   via @media (prefers-color-scheme: dark) -- see
   plugins/Media/web/css/tools/episodeForm.css. Since the whole app is
   unconditionally dark now (not following OS preference), just always
   apply the dark set it already designed, instead of inventing a parallel
   palette for this one tool. */
.Media_episodeForm_tool {
    --ef-bg: #0e0d12;
    --ef-card: #17161d;
    --ef-card-2: #1b1a22;
    --ef-line: #25232e;
    --ef-line-2: #2c2a36;
    --ef-hover: #1f1e27;
    --ef-text: #f3f1f7;
    --ef-text-2: #e4e1ec;
    --ef-muted: #a7a3b5;
    --ef-faint: #8a8699;
    --ef-link: #ff8f9c;
    --ef-link-hover: #ffb3bc;
    --ef-ok: #6ee7a8;
    --ef-err: #ff8a80;
    --ef-track-off: #34323f;
    color-scheme: dark;
}
/* The dropzone (before a file's chosen) reads these same --ef-* variables,
   but .Safecloud_upload_tool/.Media_videoUpload_tool are siblings/ancestors
   of .Media_episodeForm_tool, not scoped by it -- declared again here at
   the outer tool wrapper so the dropzone matches before that inner form
   even exists in the DOM. */
.Media_videoUpload_tool {
    --ef-bg: #0e0d12;
    --ef-card: #17161d;
    --ef-card-2: #1b1a22;
    --ef-line: #25232e;
    --ef-line-2: #2c2a36;
    --ef-hover: #1f1e27;
    --ef-text: #f3f1f7;
    --ef-text-2: #e4e1ec;
    --ef-muted: #a7a3b5;
    --ef-faint: #8a8699;
    --ef-accent: #ff6b7d;
}

/* ---------- Upload page (Media/dropGallery) ----------
   Same reasoning/pattern as the video upload block just above: this tool
   ships its own light/dark variable set switched via
   @media (prefers-color-scheme: dark) (see plugins/Media/web/css/tools/
   {galleryUpload,galleryForm,galleryPhoto}.css), but the app is
   unconditionally dark regardless of OS preference, so just always apply
   the dark set each file already designed instead of inventing a parallel
   palette here. Four separate selectors because each file scopes its own
   custom-property names to its own tool class (gu-, gf-, gp- prefixes) and
   Q.Dialogs mounts the "published" dialog as a sibling overlay, not a
   descendant of .Media_galleryUpload_tool, so it needs its own copy too --
   identical reasoning to .Media_videoUpload_publishedDialog elsewhere in
   this file. */
.Media_galleryUpload_tool {
    --gu-bg: #0e0d12;
    --gu-card: #17161d;
    --gu-card-2: #1b1a22;
    --gu-line: #25232e;
    --gu-line-2: #2c2a36;
    --gu-text: #f3f1f7;
    --gu-muted: #a7a3b5;
    --gu-ok: #6ee7a8;
    --gu-err: #ff8a80;
    --gu-warn: #ffaa00;
    color-scheme: dark;
}
.Media_galleryUpload_publishedDialog {
    --gu-bg: #0e0d12;
    --gu-card: #17161d;
    --gu-card-2: #1b1a22;
    --gu-hover: #1f1e27;
    --gu-line: #25232e;
    --gu-line-2: #2c2a36;
    --gu-text: #f3f1f7;
    --gu-muted: #a7a3b5;
    --gu-ok: #6ee7a8;
    color-scheme: dark;
}
.Media_galleryForm_tool {
    --gf-bg: #0e0d12;
    --gf-card: #17161d;
    --gf-card-2: #1b1a22;
    --gf-line: #25232e;
    --gf-line-2: #2c2a36;
    --gf-hover: #1f1e27;
    --gf-text: #f3f1f7;
    --gf-text-2: #e4e1ec;
    --gf-muted: #a7a3b5;
    --gf-faint: #8a8699;
    --gf-link: #ff8f9c;
    --gf-link-hover: #ffb3bc;
    --gf-err: #ff8a80;
    color-scheme: dark;
}
.Media_galleryPhoto_preview,
.Media_galleryPhoto_composer {
    --gp-card-2: #1b1a22;
    --gp-line: #25232e;
    --gp-line-2: #2c2a36;
    --gp-muted: #a7a3b5;
    --gp-ok: #6ee7a8;
    --gp-err: #ff8a80;
    --gp-warn: #ffaa00;
    color-scheme: dark;
}


/* ---------- Promo banner ---------- */
.Fans_clips_dropPromo {   
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    /* margin: 10px 0; */
    padding: 12px 16px;
    /* border-radius: 10px; */
    /* background: rgba(80, 160, 255, 0.12); */
    background: linear-gradient(100deg, rgba(169, 112, 255, .16), rgba(255, 79, 139, .10));
    /* border: 1px solid rgba(169, 112, 255, .28); */
    border-radius: var(--dk-radius);
    margin: 12px 16px;
}

.Fans_clips_dropPromo_text {
	font-size: 13px;
	flex: 1 1 260px;
    color: var(--dk-text);
}
 
.Fans_clips_dropPromo .Q_button, 
#page .Fans_clips_dropPromo .Q_button {
	flex: 0 0 auto;
	white-space: nowrap;
    background: rgba(255, 255, 255, .08);
    color: var(--dk-muted);
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.Fans_clips_dropPromo .Q_button:hover, 
#page .Fans_clips_dropPromo .Q_button:hover {
    color: #fff;
}

html.Media_clip .Fans_clips_dropPromo {
    display: none;
}

/* ---------- Categories bar (clips page) ---------- */
.Fans_clips_categoriesBar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    cursor: grab;
    /* Drag-to-scroll (see web/js/Fans.js's own Media/clips page handler)
       drives scrollLeft itself from pointermove, for mouse AND touch alike
       -- "none" stops the browser's own native touch panning from also
       trying to handle the same gesture at the same time. */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}
.Fans_clips_categoriesBar_dragging,
.Fans_clips_categoriesBar_dragging .Fans_clips_categoryPill {
    cursor: grabbing;
}
.Fans_clips_categoriesBar::-webkit-scrollbar {
    display: none;
}
.Fans_clips_categoryPill {
    flex: 0 0 auto;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--dk-elevated);
    color: var(--dk-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.Fans_clips_categoryPill:hover {
    background: var(--dk-border);
}
.Fans_clips_categoryPill.Q_selected {
    background: var(--dk-accent);
    color: #fff;
}
/* Fans.css's own global "a:visited { color: var(--dk-accent); }" rule
   (element + pseudo-class, specificity 0,1,1) outranks the plain class
   selectors above (0,1,0) regardless of source order -- every pill you've
   already clicked silently went purple instead of staying var(--dk-text)
   (or #fff when selected), with no explicit override anywhere to see.
   Matching the pseudo-class ourselves (0,2,0 / 0,3,0) is what actually
   wins; same specificity-beats-source-order lesson as the #page .Q_button
   conflicts fixed earlier (web3/invoice.css). */
.Fans_clips_categoryPill:visited {
    color: var(--dk-text);
}
.Fans_clips_categoryPill.Q_selected:visited {
    color: #fff;
}
.Fans_clips_categoryPill.Q_selected {
    box-shadow: none;
    background-color: white;
    color: #000;
    outline: none;
    border: none;
}
.Fans_clips_categoryPill.Q_selected:visited {
    color: #000;
}

/* Same rule as .Fans_clips_dropPromo just above -- this bar is for
   browsing clips, not relevant once you're already watching one. */
html.Media_clip .Fans_clips_categoriesBar {
    display: none;
}

/* ====================================================================
   Clip player page (Media/clip "playerOnly" layout) -- Twitch-style
   redesign: avatar+name below the player on the left, owner actions
   (Edit/Share) on the right, description+tags in their own card. The
   markup, structure, and default (theme-agnostic) styling all live
   natively in the platform now -- plugins/Media/web/js/tools/clip.js
   for the markup/JS, plugins/Media/web/css/tools/clip.css's own
   "4. PLAYERONLY" section for the structural CSS, including a
   --clip-accent/--clip-hover/--clip-tint/--clip-muted/--clip-radius
   token set scoped to [data-layout="playerOnly"]. Everything below is
   color-only, overriding either those tokens or (where the platform
   default doesn't cleanly reduce to one token, like the Edit/Share
   pill buttons' own background) the specific color properties, for
   this app's dark theme -- not re-declaring any layout/sizing that's
   already the platform's job. */
.Media_clip_tool[data-layout="playerOnly"] {
    --clip-tint: var(--dk-elevated);
    --clip-muted: var(--dk-muted);
    --clip-radius: var(--dk-radius);
}
.Media_clip_tool[data-layout="playerOnly"] .Media_clip_player {
    background: var(--dk-bg);
}
/* Safecloud/video's own status line (plugins/Safecloud/web/css/tools/
   video.css) reserves a fixed 18px of height always, even with nothing
   in it -- Safecloud_video.js's own setStatus('', '') (called once
   playback actually starts, among other times) clears its text to
   genuinely zero child nodes (confirmed live via childNodes.length),
   so :empty reliably matches exactly when there's nothing to show,
   collapsing that reserved gap above the video instead of leaving it
   visible and blank. */
.Safecloud_video_status:empty { display: none; }
/* Skeleton placeholder while the video is loading. .Safecloud_video_wrap
   (the box the actual <video>/<img> ends up in) is "display:none" in
   its own template until Safecloud_video.js's startStream() actually
   succeeds, calling .show() -- jQuery's .show() always writes a
   different inline style string ("display: block;", with a space and
   semicolon) than the template's own initial "display:none", so this
   exact-match selector reliably stops matching the instant that
   happens, with no JS changes needed on this app's part. Before that,
   .Safecloud_video_wrap takes up zero space (display:none collapses it
   entirely in the flex column), so without this the player area just
   shrinks down to the ~18px status line with nothing showing where the
   video will be -- this reserves that space up front instead, with a
   shimmering placeholder, avoiding the layout jump once the real video
   appears. */
.Safecloud_video_tool:has(.Safecloud_video_wrap[style="display:none"]) {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--dk-radius);
    overflow: hidden;
    /* --dk-surface/--dk-elevated (the usual "next shade up" pairing used
       elsewhere in this file) are too close in lightness to read as a
       shimmer here -- confirmed visually (a published build was nearly
       flat/invisible) -- so the moving highlight band uses translucent
       white instead, the standard skeleton-loader technique. */
    background: var(--dk-surface) linear-gradient(
        100deg,
        transparent 35%,
        rgba(255,255,255,.07) 50%,
        transparent 65%
    );
    background-size: 300% 100%;
    animation: Fans_skeleton_shimmer 1.6s ease-in-out infinite;
}
@keyframes Fans_skeleton_shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

/* Avatar name + Edit/Share pill colors -- layout/sizing for all of this
   (the "channel bar" row, the pill shape, the specificity needed to
   beat Media.css's own green .Q_button default) is clip.css's own
   "4. PLAYERONLY" section; this app only redeclares color. Class
   renamed from .Users_avatar_name to .Media_clip_author_name when the
   author byline switched from a Users/avatar tool to Q.Streams.Avatar.get
   -- this override went stale (silently matching nothing) until caught
   here while working on the same area for the Follow button below. */
.Media_clip_tool[data-layout="playerOnly"] .Media_clip_author_name {
    color: var(--dk-text);
}
html.Media_clip #content .Media_clip_tool[data-layout="playerOnly"] .Media_clip_meta_actions .Media_episode_edit,
html.Media_clip #content .Media_clip_tool[data-layout="playerOnly"] .Media_clip_meta_actions .Media_clip_share_btn {
    background: rgba(255,255,255,.08);
    color: var(--dk-text);
}
html.Media_clip #content .Media_clip_tool[data-layout="playerOnly"] .Media_clip_meta_actions .Media_episode_edit:hover,
html.Media_clip #content .Media_clip_tool[data-layout="playerOnly"] .Media_clip_meta_actions .Media_clip_share_btn:hover {
    background: rgba(255,255,255,.14);
}

/* Follow button -- override the platform default (plain black/white or
   gray/black pill per state, see Media.css's own .Media_channel_follow*)
   to match this app's own .Fans_dashboard_upload pill exactly (same
   flat muted background/text regardless of state -- Follow vs Followed
   is already distinguished by its own label text and bell icon, so
   losing the platform's black-vs-gray state contrast here isn't a
   readability regression). Unscoped (not tied to .Media_channel_tool or
   .Media_clip_tool) since the SAME shared button (plugins/Media/web/js/
   Media.js's 'Media/followButton' partial) now appears on both the
   channel page and the clip page's playerOnly author byline.
   #content prefix + [data-state] wildcard (matches any value, always
   present once rendered -- not here to pick a particular state): on
   the clip page specifically, this button also carries .Q_button, and
   Media.css's own "html.Media_clip #content .Q_button" (an ID
   selector, specificity 1,2,1) otherwise beats these rules outright --
   confirmed live (computed background was still the platform's green
   .Q_button default, rgb(28,101,24), not either override). Without
   both the #content id and the extra [data-state] class, this stays
   lower specificity than that rule and silently loses, same reasoning
   as Media.css's own matching fix for this same button. */
#content .Media_channel_follow[data-state] .Media_channel_follow_btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, color .15s;
    background: rgba(255,255,255,.08);
}
#content .Media_channel_follow[data-state="none"] .Media_channel_follow_btn,
#content .Media_channel_follow[data-state="subscribed"] .Media_channel_follow_btn,
#content .Media_channel_follow[data-state="muted"] .Media_channel_follow_btn {
    background: rgba(255,255,255,.08);
    color: var(--dk-muted);
}
#content .Media_channel_follow[data-state] .Media_channel_follow_btn:hover {
    background: rgba(255,255,255,.14);
}

/* Description + tags card -- --clip-tint is already redeclared to
   var(--dk-elevated) above, not --dk-surface: this card's own ancestor
   (the column) is already --column-bg-color, which Fans.css's own
   :root redeclares to --dk-surface -- using --dk-surface here too made
   the card background computed to the exact same rgb(24,24,27) as the
   column behind it, invisible without a border this deliberately
   doesn't have. --dk-elevated is the next step up and actually
   contrasts against that. */
/* "<N> views · <uploaded> ago" -- layout/content is clip.css's own
   "4. PLAYERONLY" section (its --clip-muted token is already
   redeclared to var(--dk-muted) above, so no color override is even
   needed here beyond that). */
.Media_episode_description {
    padding: 0;
    margin: 0 0 10px 0;
    color: var(--dk-text);
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
}
.Media_episode_description:last-child { margin-bottom: 0; }
.Media_episode_description a { color: var(--dk-accent); }
/* Expandable description -- --clip-muted is already redeclared to
   var(--dk-muted) above; the collapsed/expanded clamp mechanics
   themselves are clip.css's own "4. PLAYERONLY" section. */
.Media_episode_desc_toggle:hover { color: var(--dk-text); }

.Media_episode_categories { display: flex; flex-wrap: wrap; gap: 6px; }
.Media_episode_category {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--dk-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.Media_episode_category:hover {
    background: rgba(255,255,255,.14);
    color: var(--dk-text);
    text-decoration: none;
}

/* Chat, app-level light touch (not a full redesign) -- just folds it
   into the same flat-card rhythm as the rest of this page (background
   only, no border; --dk-elevated for the same reason as the about
   card's --clip-tint override above -- the column behind it is already
   --dk-surface) instead of sitting flush against the page edges the
   way the platform default does. */
.Media_clip_tool[data-layout="playerOnly"] .Streams_chat_tool {
    margin: 0 4px;
    background: var(--dk-elevated);
    border-radius: var(--dk-radius);
}
.Media_clip_tool .Streams_chat_composer {
    margin: 0 10px 10px 10px;
}
.Media_clip_tool .Streams_chat_composer .Q_placeholders_container input,
.Media_clip_tool .Streams_chat_composer .Q_placeholders_container .Q_placeholder{
    margin: 0 10px 10px 10px;
    color: white;
}
/* NOTE: a previous version of this rule forced .Streams_chat_messages'
   height/max-height/overflow with !important, to stop clip.js's own
   Q.onLayout handler (in refresh(), which shrinks/grows that element's
   inline height to fit scrollingParent()) from capping chat to a small
   internally-scrolling box. That turned out dangerous once combined
   with the .Media_clip_tool height:auto fix below: that handler's
   second while loop (`while (scrollParent.offsetHeight -
   tool.element.offsetHeight > 20) { chatHeight += 10; $chatMessages
   .height(chatHeight); }`) has no iteration cap -- it relies on
   .height(chatHeight) actually taking effect to eventually make the
   condition false. With !important defeating that inline style, the
   condition could never become false, and the loop span forever
   (confirmed live: a renderer process pegged at ~98% CPU, Chrome
   completely unresponsive). Removed entirely rather than patched,
   since the real fix was the .Media_clip_tool height below: once the
   tool isn't artificially squeezed into a fixed-height box,
   scrollParent.isOverflowed() has nothing to detect and this handler's
   shrinking branch has no reason to fire, so chat keeps its natural
   height without needing to fight clip.js's own inline style at all. */

/* ====================================================================
   Channels list (Media/channel/preview.js's "mediaChannel" row layout,
   opted into via this app's own local/app.json -- Media.channel.
   previewLayout: "mediaChannel"). Structural/theme-agnostic defaults
   live in the platform's own plugins/Media/web/css/tools/
   channelPreview.css; this app only redeclares color, same split as
   the rest of this redesign.
   ==================================================================== */
.Media_channel_mediaChannel_title {
    color: var(--dk-text);
}
.Media_channel_mediaChannel_followersCount,
.Media_channel_mediaChannel_description {
    color: var(--dk-muted);
}
/* Hover/selected background, matching .Media_episode_preview_tool:has(>
   .Media_episode_largeThumbCard)'s own selected-card treatment exactly
   (same colors, same border-radius) -- app-level only, same as that
   rule itself, since it's a styling preference, not part of the
   platform's reusable row layout (channelPreview.css). */
.Media_channel_preview_tool.Media_channel_mediaChannel_tool {
    border-radius: 10px;
    transition: background-color 0.15s ease;
}
.Media_channel_preview_tool.Media_channel_mediaChannel_tool.Q_selected {
    border: none;
    outline: none;
    box-shadow: none;
}
.Media_channel_preview_tool.Media_channel_mediaChannel_tool:hover {
    background-color: var(--dk-elevated);
}
.Media_channel_preview_tool.Media_channel_mediaChannel_tool.Q_selected {
    background-color: rgba(169, 112, 255, .22);
}

.Media_channel_tool .Media_channel_cover i {
    background-color: #3a3a3a91;
}
.Media_channels_menu_items {
    background: #18181b;
    color: white;
}
.Media_channels_menu_items, .Media_channels_menu {
    border: 1px solid #2a2a2f;
    border-radius: 5px;
}


.Communities_tab.Q_current, .Communities_tabs[data-style="icons"] .Communities_tab.Q_current {
    border-color: #2f2f35;
    border-bottom-width: 0;
}


.Communities_inbox_column .Streams_preview_tool {
    box-shadow: none;
}

.Media_episode_preview_tool:not(.Streams_preview_composer) {
    background-color: transparent;
}

.Communities_tabs[data-style="icons"] .Communities_tab[data-val="inbox"],
.Communities_tabs[data-style="icons"] .Communities_tab[data-val=inbox]::before {
    color: white;
}

