/* ══════════════════════════════════════════════════════════
   Tool Page — [bh_tool_page] dedicated layout
   Uses --tc CSS var (injected per-tool inline).
══════════════════════════════════════════════════════════ */

.bhtp-wrap {
	--bg:     var(--bh-bg,     #08070e);
	--bg2:    var(--bh-bg2,    #0f0e1c);
	--bg3:    var(--bh-bg3,    #171528);
	--text:   var(--bh-text,   rgba(255,255,255,.9));
	--text2:  var(--bh-text2,  rgba(255,255,255,.5));
	--border: var(--bh-border, rgba(255,255,255,.07));
	--border2:var(--bh-border2,rgba(255,255,255,.12));
	max-width: 960px;
	margin: 0 auto;
	padding: 28px 20px 100px;
	color: var(--text);
	font-family: inherit;
}

/* ── Back link ── */
.bhtp-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--text2);
	text-decoration: none;
	transition: color .15s;
	margin-bottom: 20px;
}
.bhtp-back:hover { color: var(--tc); }

/* ── Header ── */
.bhtp-header { margin-bottom: 28px; }

.bhtp-header__content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.bhtp-header__left { flex: 1; min-width: 0; }
.bhtp-header__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

/* IO flow */
.bhtp-io-flow {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.bhtp-io-chip {
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.09);
	color: rgba(255,255,255,.45);
	white-space: nowrap;
}
.bhtp-io-chip--mid {
	background: color-mix(in srgb, var(--tc) 18%, transparent);
	border-color: color-mix(in srgb, var(--tc) 60%, transparent);
	color: var(--tc);
}
.bhtp-io-arrow { color: rgba(255,255,255,.2); flex-shrink: 0; }

.bhtp-name {
	font-size: clamp(22px, 4vw, 34px);
	font-weight: 800;
	letter-spacing: -.03em;
	margin: 0 0 6px;
	line-height: 1.1;
	text-wrap: balance;
	color: rgba(255,255,255,0.92);
}
.bhtp-tagline {
	font-size: 14px;
	color: var(--text2);
	margin: 0;
	line-height: 1.5;
}

/* Badges */
.bhtp-tier-badge,
.bhtp-soon-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.bhtp-tier-badge {
	background: color-mix(in srgb, var(--tc) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent);
	color: var(--tc);
}
.bhtp-tier-badge--free { --tc: #6b7280; }
.bhtp-soon-badge {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.4);
}

/* ── Main 2-column body ── */
.bhtp-body {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,1fr);
	gap: 20px;
	align-items: start;
}
@media (max-width: 680px) {
	.bhtp-body { grid-template-columns: 1fr; }
}

/* Left column */
.bhtp-col--in {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Right column: sticky */
.bhtp-col--out {
	position: sticky;
	top: 24px;
}

/* ── Drop zone override for page ── */
.bhtp-dropzone {
	min-height: 156px !important;
	padding: 36px 20px !important;
	cursor: pointer;
}
.bhtp-dropzone__icon {
	margin-bottom: 10px;
	color: rgba(255,255,255,.25);
	display: flex;
	justify-content: center;
}

/* ── Controls ── */
.bhtp-controls {
	background: rgba(255,255,255,.03) !important;
	border: 1px solid var(--border2) !important;
	border-radius: 0 !important;
	padding: 16px !important;
	display: flex !important;
	flex-direction: column;
	gap: 14px;
}
.bhtp-control-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--text2);
	letter-spacing: .03em;
	display: block;
	margin-bottom: 6px;
}
.bhtp-control-hint {
	font-weight: 400;
	opacity: .6;
	font-size: 10px;
}
.bhtp-select-group { display: flex; flex-direction: column; }
.bhtp-select {
	background: rgba(255,255,255,.05) !important;
	border: 1px solid rgba(255,255,255,.1) !important;
	border-radius: 0 !important;
	color: rgba(255,255,255,.85) !important;
	font-size: 13px !important;
	padding: 8px 12px !important;
}
.bhtp-select:focus { border-color: var(--tc) !important; outline: none; }

/* Override range accent on page */
.bhtp-wrap .bst-at-range { accent-color: var(--tc); }
.bhtp-wrap .bst-at-range-val { color: var(--tc); }

/* ── Process button override ── */
.bhtp-process-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	padding: 14px !important;
	font-size: 14px !important;
}

/* Progress bar override */
.bhtp-progress-bar-wrap {
	height: 5px;
	background: rgba(255,255,255,.06) !important;
	border-radius: 999px !important;
	overflow: hidden;
}

/* ── Placeholder ── */
.bhtp-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 220px;
	border-radius: 0;
	border: 2px dashed rgba(255,255,255,.07);
	color: rgba(255,255,255,.2);
	font-size: 13px;
	text-align: center;
	padding: 36px 24px;
}
.bhtp-placeholder__icon { margin-bottom: 4px; }
.bhtp-placeholder__sub { font-size: 11px; opacity: .6; margin: 0; }
.bhtp-placeholder p { margin: 0; }

/* ── Result container ── */
.bhtp-result {
	border-radius: 0;
	background: rgba(255,255,255,.03);
	border: 1px solid var(--border2);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	animation: bhtp-in .3s cubic-bezier(0.19,1,0.22,1) both;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
@keyframes bhtp-in {
	from { opacity: 0; transform: translateY(6px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Beat Intel result ── */
.bhtp-bi-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.bhtp-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 14px 8px;
	border-radius: 0;
	background: rgba(255,255,255,.04);
	border: 1px solid var(--border);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.bhtp-stat__val {
	font-size: 18px;
	font-weight: 700;
	color: var(--tc);
	line-height: 1;
	text-align: center;
}
.bhtp-stat__val--xl { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.bhtp-stat__label {
	font-size: 9px;
	font-weight: 600;
	color: var(--text2);
	text-transform: uppercase;
	letter-spacing: .7px;
}

.bhtp-meters {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bhtp-meter {
	display: grid;
	grid-template-columns: 90px 1fr 34px;
	align-items: center;
	gap: 10px;
}
.bhtp-meter__lbl {
	font-size: 12px;
	color: var(--text2);
	text-align: right;
}
.bhtp-meter__track {
	height: 7px;
	border-radius: 999px;
	background: rgba(255,255,255,.07);
	overflow: hidden;
}
.bhtp-meter__fill {
	height: 100%;
	border-radius: 999px;
	background: var(--tc);
	width: 0%;
	transition: width .7s cubic-bezier(0.19,1,0.22,1);
}
.bhtp-meter__pct {
	font-size: 11px;
	color: rgba(255,255,255,.35);
	text-align: right;
}

/* ── Mastering result ── */
.bhtp-lufs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 10px 0;
}
.bhtp-lufs__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.bhtp-lufs__val {
	font-size: 26px;
	font-weight: 800;
	color: rgba(255,255,255,.35);
	line-height: 1;
	letter-spacing: -.02em;
}
.bhtp-lufs__side--ok .bhtp-lufs__val { color: var(--tc); }
.bhtp-lufs__lbl {
	font-size: 10px;
	color: var(--text2);
	text-transform: uppercase;
	letter-spacing: .6px;
}
.bhtp-lufs__arrow { color: rgba(255,255,255,.2); }

/* ── Download / check result ── */
.bhtp-result--dl {
	align-items: center;
	text-align: center;
}
.bhtp-dl-check {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(34,197,94,.1);
	border: 1px solid rgba(34,197,94,.25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #22c55e;
}
.bhtp-dl-name {
	font-size: 12px;
	color: var(--text2);
	word-break: break-all;
	margin: 0;
}

/* Download button */
.bhtp-dl-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px;
	border-radius: 0;
	background: var(--tc);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: filter .18s cubic-bezier(0.19,1,0.22,1), transform .14s cubic-bezier(0.19,1,0.22,1);
	letter-spacing: .01em;
}
.bhtp-dl-btn:hover {
	filter: brightness(1.12);
	transform: translateY(-1px);
}
.bhtp-dl-btn:active { transform: scale(0.97); }

/* Reset link */
.bhtp-reset-btn {
	background: none;
	border: none;
	color: rgba(255,255,255,.3);
	font-size: 11px;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .15s;
	align-self: center;
}
.bhtp-reset-btn:hover { color: var(--tc); }

/* ── Lyrics AI result ── */
.bhtp-result--lyrics {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}
.bhtp-lyrics-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.bhtp-lyrics-lang {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--tc);
	background: color-mix(in srgb, var(--tc) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
	padding: 2px 8px;
	border-radius: 0;
}
.bhtp-lyrics-copy {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.6);
	font-size: 11px;
	padding: 4px 12px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.bhtp-lyrics-copy:hover { background: rgba(255,255,255,.12); color: #fff; }
.bhtp-lyrics-text {
	white-space: pre-wrap;
	word-break: break-word;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255,255,255,.85);
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 0;
	padding: 16px;
	margin: 0;
	max-height: 400px;
	overflow-y: auto;
}
.bhtp-dl-btn--vtt {
	align-self: flex-start;
}

/* ── Locked state ── */
.bhtp-locked {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 32px 28px;
	border-radius: 0;
	background: rgba(255,255,255,.02);
	border: 1px solid var(--border2);
	margin-top: 8px;
}
.bhtp-locked__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255,255,255,.04);
	border: 1px solid var(--border2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text2);
	flex-shrink: 0;
}
.bhtp-locked__body { flex: 1; }
.bhtp-locked__title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
}
.bhtp-locked__msg {
	font-size: 13px;
	color: var(--text2);
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bhtp-locked__cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 0;
	background: var(--tc);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
	transition: filter .14s cubic-bezier(0.19,1,0.22,1), transform .14s cubic-bezier(0.19,1,0.22,1);
}
.bhtp-locked__cta:hover { filter: brightness(1.1); }
.bhtp-locked__cta:active { transform: scale(0.97); }
@media (max-width: 500px) {
	.bhtp-locked { flex-direction: column; text-align: center; }
	.bhtp-locked__cta { width: 100%; justify-content: center; }
}

/* ── Coming Soon ── */
.bhtp-soon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 64px 32px;
	text-align: center;
}
.bhtp-soon__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tc) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tc);
}
.bhtp-soon h2 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: -0.04em; }
.bhtp-soon p { font-size: 14px; color: var(--text2); margin: 0; max-width: 440px; }
.bhtp-back-btn {
	font-size: 12px;
	color: var(--text2);
	text-decoration: none;
	margin-top: 6px;
}
.bhtp-back-btn:hover { color: var(--tc); }

/* ── Compose AI ── */
.bhtp-body--compose { align-items: flex-start; }

/* Mode tabs */
.bhtp-mode-tabs {
	display: flex;
	gap: 2px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 0;
	padding: 3px;
	margin-bottom: 14px;
}
.bhtp-mode-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: none;
	border: none;
	color: rgba(255,255,255,.4);
	font-size: 12px;
	font-weight: 500;
	padding: 7px 10px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s cubic-bezier(0.19,1,0.22,1), color .15s cubic-bezier(0.19,1,0.22,1);
}
.bhtp-mode-tab--active {
	background: rgba(255,255,255,.09);
	color: rgba(255,255,255,.9);
}
.bhtp-mode-tab:active { transform: scale(0.97); }

/* Catalog beat search */
.bhtp-search-wrap {
	position: relative;
	margin-bottom: 10px;
}
.bhtp-search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255,255,255,.25);
	pointer-events: none;
}
.bhtp-search-input {
	width: 100%;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 0;
	color: rgba(255,255,255,.85);
	font-size: 13px;
	padding: 9px 12px 9px 32px;
	outline: none;
	transition: border-color .15s;
	box-sizing: border-box;
}
.bhtp-search-input:focus { border-color: rgba(255,255,255,.18); }

/* Beat results list */
.bhtp-beat-results {
	max-height: 220px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.bhtp-beat-hint {
	font-size: 12px;
	color: rgba(255,255,255,.3);
	margin: 0;
	padding: 12px 0;
	text-align: center;
}
.bhtp-beat-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	padding: 6px 8px;
	border-radius: 0;
	cursor: pointer;
	text-align: left;
	transition: background .12s;
	width: 100%;
}
.bhtp-beat-item:hover { background: rgba(255,255,255,.06); }
.bhtp-beat-item__art {
	width: 36px;
	height: 36px;
	border-radius: 0;
	object-fit: cover;
	flex-shrink: 0;
}
.bhtp-beat-item__art--empty {
	background: rgba(255,255,255,.07);
	border-radius: 0;
	width: 36px; height: 36px;
	flex-shrink: 0;
}
.bhtp-beat-item__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.bhtp-beat-item__title {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,.85);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bhtp-beat-item__meta {
	font-size: 10px;
	color: rgba(255,255,255,.35);
}

/* Selected beat chip */
.bhtp-beat-selected {
	display: flex;
	align-items: center;
	gap: 10px;
	background: color-mix(in srgb, var(--tc) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
	border-radius: 0;
	padding: 8px 10px;
}
.bhtp-beat-sel-art {
	width: 34px;
	height: 34px;
	border-radius: 0;
	object-fit: cover;
	flex-shrink: 0;
}
.bhtp-beat-sel-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.bhtp-beat-sel-title {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,.9);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bhtp-beat-sel-meta {
	font-size: 10px;
	color: rgba(255,255,255,.45);
}
.bhtp-beat-sel-clear {
	background: none;
	border: none;
	color: rgba(255,255,255,.3);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	flex-shrink: 0;
	transition: color .12s;
}
.bhtp-beat-sel-clear:hover { color: rgba(255,255,255,.7); }

/* Compose params */
.bhtp-compose-params {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}
.bhtp-topic-input {
	width: 100%;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 0;
	color: rgba(255,255,255,.85);
	font-size: 13px;
	padding: 9px 12px;
	outline: none;
	transition: border-color .15s;
	box-sizing: border-box;
}
.bhtp-topic-input:focus { border-color: rgba(255,255,255,.18); }
.bhtp-topic-input::placeholder { color: rgba(255,255,255,.25); }
.bhtp-param-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* Compose result */
.bhtp-result--compose {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}
.bhtp-compose-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.bhtp-compose-badge {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--tc);
	background: color-mix(in srgb, var(--tc) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 28%, transparent);
	padding: 2px 8px;
	border-radius: 0;
}
.bhtp-compose-sections {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 480px;
	overflow-y: auto;
	padding-right: 4px;
}
.bhtp-lyric-section {
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 0;
	padding: 12px 14px;
}
.bhtp-lyric-section__label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--tc);
	text-transform: uppercase;
	margin-bottom: 8px;
}
.bhtp-lyric-section__text {
	white-space: pre-wrap;
	word-break: break-word;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255,255,255,.85);
	margin: 0;
}
.bhtp-compose-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.bhtp-dl-txt-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.65);
	font-size: 11px;
	padding: 6px 14px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.bhtp-dl-txt-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Offline overlay ── */
.bhtp-compose-offline {
	position: absolute;
	inset: 0;
	background: rgba(8,7,14,.92);
	border-radius: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	padding: 24px;
	z-index: 10;
}
.bhtp-col--in { position: relative; }
.bhtp-compose-offline svg { color: rgba(255,255,255,.35); }
.bhtp-compose-offline strong { font-size: 14px; color: rgba(255,255,255,.85); }
.bhtp-compose-offline p { font-size: 12px; color: rgba(255,255,255,.4); margin: 0; max-width: 220px; }
.bhtp-offline-retry {
	margin-top: 4px;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.12);
	color: rgba(255,255,255,.6);
	font-size: 11px;
	padding: 6px 16px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s;
}
.bhtp-offline-retry:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Save button ── */
.bhtp-save-work-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: color-mix(in srgb, var(--tc) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent);
	color: var(--tc);
	font-size: 11px;
	padding: 6px 14px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s cubic-bezier(0.19,1,0.22,1), transform .14s cubic-bezier(0.19,1,0.22,1);
}
.bhtp-save-work-btn:hover { background: color-mix(in srgb, var(--tc) 25%, transparent); }
.bhtp-save-work-btn:active { transform: scale(0.97); }
.bhtp-save-work-btn:disabled { opacity: .5; cursor: default; }

/* ── Works & Community section ── */
.bhtp-works-section {
	margin-top: 32px;
	border-top: 1px solid rgba(255,255,255,.07);
	padding-top: 20px;
}
.bhtp-works-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
}
.bhtp-works-tab {
	background: none;
	border: none;
	color: rgba(255,255,255,.35);
	font-size: 13px;
	font-weight: 500;
	padding: 6px 16px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.bhtp-works-tab--active { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.bhtp-works-tab:hover:not(.bhtp-works-tab--active) { color: rgba(255,255,255,.6); }

.bhtp-works-list,
.bhtp-community-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.bhtp-works-empty {
	font-size: 12px;
	color: rgba(255,255,255,.3);
	margin: 0;
	padding: 20px 0;
}

/* Work card */
.bhtp-work-card {
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 0;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .22s cubic-bezier(0.19,1,0.22,1), transform .22s cubic-bezier(0.19,1,0.22,1), box-shadow .22s cubic-bezier(0.19,1,0.22,1);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.bhtp-work-card:hover { border-color: rgba(255,255,255,.14); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(8,7,14,.4), inset 0 1px 0 rgba(255,255,255,0.07); }
.bhtp-work-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}
.bhtp-work-card__title {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,.85);
	flex: 1;
}
.bhtp-work-card__author {
	font-size: 11px;
	color: rgba(255,255,255,.35);
	white-space: nowrap;
}
.bhtp-work-card__meta {
	font-size: 10px;
	color: rgba(255,255,255,.3);
	letter-spacing: .03em;
}
.bhtp-work-card__excerpt {
	font-family: inherit;
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255,255,255,.5);
	white-space: pre-wrap;
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}
.bhtp-work-card__actions {
	display: flex;
	gap: 6px;
	margin-top: 2px;
}
.bhtp-work-share-btn {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.09);
	color: rgba(255,255,255,.45);
	font-size: 10px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.bhtp-work-share-btn:hover { background: rgba(255,255,255,.09); color: rgba(255,255,255,.75); }
.bhtp-work-share-btn.is-shared {
	background: color-mix(in srgb, var(--tc) 15%, transparent);
	border-color: color-mix(in srgb, var(--tc) 30%, transparent);
	color: var(--tc);
}
