/* Shared plugin canvas. Data and interaction remain owned by each plugin. */
.cll-plugin-workspace .cll-home,
.cll-plugin-workspace .cll-assets-intelligence-hub,
.cll-plugin-workspace .cll-assets-directory,
.cll-plugin-workspace .cll-asset-page,
.cll-plugin-workspace .cll-launch-suite,
.cll-plugin-workspace .cll-launchpad,
.cll-plugin-workspace .cll-dex-terminal,
.cll-plugin-workspace .cll-launch-feed,
.cll-plugin-workspace .amp-dashboard,
.cll-plugin-workspace .amp-advertiser-portal {
	--cll-home-bg: var(--cll-bg);
	--cll-home-card: var(--cll-surface);
	--cll-home-card-2: var(--cll-surface-2);
	--cll-home-line: var(--cll-border);
	--cll-home-text: var(--cll-text);
	--cll-home-muted: var(--cll-muted);
	--cll-home-accent: var(--cll-signal);
	--cll-home-accent-2: var(--cll-signal-strong);
	--asset-bg: var(--cll-bg);
	--asset-card: var(--cll-surface);
	--asset-border: var(--cll-border);
	--asset-accent: var(--cll-signal-strong);
	--asset-positive: var(--cll-positive);
	--asset-negative: var(--cll-negative);
	width: 100%;
	max-width: none;
	margin: 0;
	background-color: var(--cll-bg);
	color: var(--cll-text);
	font-family: var(--cll-font);
	letter-spacing: 0;
}

.cll-plugin-workspace .cll-home,
.cll-plugin-workspace .cll-assets-intelligence-hub,
.cll-plugin-workspace .cll-assets-directory,
.cll-plugin-workspace .cll-launch-suite,
.cll-plugin-workspace .cll-dex-terminal,
.cll-plugin-workspace .cll-launch-feed,
.cll-plugin-workspace .amp-dashboard,
.cll-plugin-workspace .amp-advertiser-portal {
	padding-right: 34px;
	padding-left: 34px;
}

.cll-plugin-workspace--feed .cll-home,
.cll-plugin-workspace .cll-news-feed {
	width: min(100%, 1420px);
	margin-inline: auto;
}

.cll-plugin-workspace :where(.cll-home, .cll-asset-page, .cll-assets-intelligence-hub, .cll-launch-suite, .cll-dex-terminal, .amp-dashboard, .amp-advertiser-portal) :where(button, input, select, textarea) {
	font-family: var(--cll-font);
	letter-spacing: 0;
}

.cll-plugin-workspace :where(.cll-home, .cll-asset-page, .cll-assets-intelligence-hub, .cll-launch-suite, .cll-dex-terminal, .amp-dashboard, .amp-advertiser-portal) :where(h1, h2, h3, h4, h5, p) {
	letter-spacing: 0;
}

.cll-plugin-workspace :where(.cll-home-section, .cll-sidebar-card, .cll-news-card, .cll-assets-hub-section, .cll-assets-dashboard-card, .cll-assets-directory-card, .cll-asset-section, .cll-asset-hero, .cll-asset-chart-panel, .cll-asset-trade-panel, .cll-launch-card, .cll-launch-create-panel, .cll-launch-hero-panel, .cll-dex-chart, .cll-dex-swap, .cll-dex-market-ledger, .amp-card, .amp-balance-card, .amp-stat-card, .amp-chart-card, .amp-slot-card) {
	border-radius: var(--cll-radius);
}

.cll-plugin-workspace :where(.cll-home-btn, .cll-home-apply, .cll-news-compose-submit button, .cll-asset-btn, .cll-assets-filter-apply, .cll-launch-submit, .cll-launch-connect, .cll-dex-connect, .cll-dex-action, .amp-btn) {
	border-radius: 6px;
}

/* Homepage Intelligence alignment. */
.cll-home .cll-home-hero {
	min-height: auto;
}

.cll-home .cll-home-section-head h2 {
	font-size: 26px;
}

.cll-home .cll-home-card-row,
.cll-home .cll-home-asset-grid,
.cll-home .cll-home-creator-grid {
	scrollbar-color: var(--cll-border) transparent;
}

.cll-home .cll-home-content-card,
.cll-home .cll-home-asset-card,
.cll-home .cll-news-card {
	border-color: var(--cll-border-soft);
}

.cll-home .cll-home-content-card:hover,
.cll-home .cll-home-asset-card:hover,
.cll-home .cll-news-card:hover {
	border-color: #4b5562;
}

/* Assets workspace. */
.cll-plugin-workspace--assets .cll-assets-intelligence-hub,
.single-asset .cll-asset-page {
	width: 100%;
}

.single-asset .cll-single__header,
.single-asset .cll-single__meta,
.single-asset .cll-single__featured {
	display: none;
}

.single-asset .cll-prose,
.single-asset .cll-prose > * {
	max-width: none;
	font-size: inherit;
	line-height: inherit;
}

.single-asset .cll-prose > .cll-asset-page {
	width: 100%;
}

.cll-asset-page .cll-asset-trade-panel,
.cll-dex-terminal .cll-dex-swap {
	position: relative;
	z-index: 2;
}

.cll-assets-scroll-window,
.cll-assets-table-wrap,
.cll-assets-health-table,
.cll-dex-ledger-table,
.amp-table-wrap {
	overflow-x: auto;
	max-width: 100%;
	min-width: 0;
	scrollbar-color: var(--cll-border) transparent;
}

/* Launchpad and DEX share one visual language without merging business logic. */
.cll-launch-suite,
.cll-dex-terminal {
	--cll-launch-bg: var(--cll-bg);
	--cll-launch-card: var(--cll-surface);
	--cll-launch-line: var(--cll-border);
	--cll-launch-text: var(--cll-text);
	--cll-launch-muted: var(--cll-muted);
	--cll-launch-accent: var(--cll-signal);
}

.cll-launch-suite :where(input, select, textarea),
.cll-dex-terminal :where(input, select, textarea),
.amp-dashboard :where(input, select, textarea),
.amp-advertiser-portal :where(input, select, textarea) {
	min-height: 40px;
	background-color: var(--cll-bg-soft);
	border-color: var(--cll-border);
	color: var(--cll-text);
}

.cll-launch-success-modal,
.cll-asset-transaction-modal,
.amp-modal-overlay {
	z-index: 2000;
}

/* Attention Mining: normalize the older uploaded build while keeping class hooks. */
.amp-dashboard,
.amp-advertiser-portal {
	--amp-primary: var(--cll-signal-strong);
	--amp-dark: var(--cll-bg);
	--amp-card: var(--cll-surface);
	--amp-border: var(--cll-border);
	--amp-success: var(--cll-positive);
	--amp-danger: var(--cll-negative);
	--amp-muted: var(--cll-muted);
	color: var(--cll-text);
}

.amp-dashboard :where(.amp-card, .amp-stat-card, .amp-balance-card, .amp-chart-card),
.amp-advertiser-portal :where(.amp-slot-card, .amp-order-card, .amp-selected-slot-info) {
	background: var(--cll-surface);
	border-color: var(--cll-border);
	box-shadow: none;
}

.amp-dashboard :where(.amp-card-title, .amp-stat-value, .amp-balance-amount, .amp-dash-username),
.amp-advertiser-portal :where(.amp-portal-title, .amp-step-heading, .amp-slot-name) {
	color: var(--cll-text);
}

.amp-dashboard :where(.amp-muted, .amp-stat-label, .amp-stat-sub, .amp-balance-name, .amp-dash-sub),
.amp-advertiser-portal :where(.amp-portal-subtitle, .amp-field-hint, .amp-hint) {
	color: var(--cll-muted);
}

.amp-btn-primary,
.amp-advertiser-portal .amp-btn-primary {
	background: var(--cll-signal);
	border-color: var(--cll-signal);
	color: #17130a;
}

.amp-btn-secondary,
.amp-advertiser-portal .amp-btn-secondary {
	background: var(--cll-surface-2);
	border-color: var(--cll-border);
	color: var(--cll-text);
}

/* BeeTeam media extension utilities used by players and creator tools. */
.site__row,
.flex-row-control {
	display: flex;
	flex-wrap: wrap;
}

.site__col {
	min-width: 0;
}

.flex-normal-control,
.flex-column-control,
.flex-vertical-middle,
.flex-vertical-top,
.flex-horizontal-center {
	display: flex;
}

.flex-column-control {
	flex-direction: column;
	flex-wrap: wrap;
}

.flex-vertical-middle {
	align-items: center;
}

.flex-vertical-top {
	align-items: flex-start;
}

.flex-horizontal-center {
	justify-content: center;
}

.max-1line,
.max-2lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
}

.max-1line {
	-webkit-line-clamp: 1;
}

.max-2lines {
	-webkit-line-clamp: 2;
}

.beeteam368-icon-item {
	display: inline-grid;
	width: 36px;
	height: 36px;
	place-items: center;
	background: var(--cll-surface-2);
	border-radius: 50%;
	color: var(--cll-muted);
	font-size: 14px;
}

.beeteam368-icon-item.small-item {
	width: 30px;
	height: 30px;
}

.beeteam368-icon-item.tiny-item {
	width: 25px;
	height: 25px;
	font-size: 11px;
}

.beeteam368-primary-cw,
.beeteam368-player-wrapper-control,
.beeteam368-player-wrapper-control .fluid-width-video-wrapper {
	width: 100%;
}

.beeteam368-player-wrapper-control {
	position: relative;
	z-index: 1;
	background: #050607;
}

.beeteam368-player-wrapper-control iframe,
.beeteam368-player-wrapper-control video {
	display: block;
	width: 100%;
	max-height: 78vh;
}

.beeteam368-global-popup-wrapper-control {
	z-index: 2200;
}

.beeteam368-pro-player-side-comment,
.beeteam368-pro-player-control {
	background-color: var(--cll-bg-soft);
	color: var(--cll-text);
}

.single-vidmov_video .cll-single__featured,
.single-vidmov_audio .cll-single__featured {
	display: none;
}

/* BuddyPress, bbPress, and membership surfaces. */
#buddypress,
#bbpress-forums,
.arm_member_form_container,
.arm_profile_container {
	color: var(--cll-text-soft);
}

#buddypress :where(.item-list-tabs, .bp-navs, .activity-list, .members-list, .groups-list),
#bbpress-forums :where(.bbp-forums, .bbp-topics, .bbp-replies) {
	background: var(--cll-surface);
	border-color: var(--cll-border);
}

#buddypress :where(input, select, textarea),
#bbpress-forums :where(input, select, textarea),
.arm_member_form_container :where(input, select, textarea) {
	background: var(--cll-bg-soft);
	border: 1px solid var(--cll-border);
	color: var(--cll-text);
}

#buddypress a,
#bbpress-forums a {
	color: var(--cll-signal);
}

/* Keep wide operational tables usable on phones. */
@media (max-width: 782px) {
	.cll-plugin-workspace .cll-home,
	.cll-plugin-workspace .cll-assets-intelligence-hub,
	.cll-plugin-workspace .cll-assets-directory,
	.cll-plugin-workspace .cll-asset-page,
	.cll-plugin-workspace .cll-launch-suite,
	.cll-plugin-workspace .cll-dex-terminal,
	.cll-plugin-workspace .cll-launch-feed,
	.cll-plugin-workspace .amp-dashboard,
	.cll-plugin-workspace .amp-advertiser-portal {
		padding-right: 12px;
		padding-left: 12px;
	}

	.cll-assets-scroll-window .cll-assets-hub-table,
	.cll-assets-table-wrap .cll-assets-table,
	.cll-assets-health-table table,
	.cll-dex-ledger-table table,
	.amp-table {
		min-width: 680px;
	}

	.cll-assets-scroll-shell {
		grid-template-columns: 28px minmax(0, 1fr) 28px;
		max-width: 100%;
		min-width: 0;
	}

	.cll-assets-scroll-button {
		padding-right: 0;
		padding-left: 0;
	}

	.cll-launch-form-grid,
	.cll-dex-layout,
	.amp-hub-grid,
	.amp-charts-row,
	.amp-creative-layout {
		grid-template-columns: 1fr;
	}
}
