.btchb-sats-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.btchb-sats-modal {
	background: #fff;
	color: #222;
	max-width: 460px;
	width: 100%;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	position: relative;
	font-family: system-ui, -apple-system, sans-serif;
}

.btchb-sats-close {
	position: absolute;
	top: 0.4rem;
	right: 0.6rem;
	background: transparent;
	border: 0;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	color: #888;
}

.btchb-sats-title {
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
	color: #f7931a;
}

.btchb-sats-status {
	margin: 0 0 1rem;
	color: #444;
}

.btchb-sats-qr {
	display: flex;
	justify-content: center;
	margin: 0 auto 0.75rem;
	padding: 0.5rem;
	background: #fff;
	border-radius: 4px;
}
.btchb-sats-qr svg {
	display: block;
	width: 220px;
	height: 220px;
}

.btchb-sats-link {
	display: inline-block;
	background: #f7931a;
	color: #000;
	padding: 0.6rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.btchb-sats-bolt11 {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.7rem;
	background: #f4f4f4;
	border: 1px solid #ddd;
	padding: 0.5rem;
	border-radius: 4px;
	max-height: 6.5rem;
	overflow: auto;
	word-break: break-all;
	white-space: pre-wrap;
	margin: 0 0 0.5rem;
}

.btchb-sats-copy {
	background: #222;
	color: #fff;
	border: 0;
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.85rem;
}

.btchb-sats-success .btchb-sats-status { color: #1b8d1b; font-weight: 600; }
.btchb-sats-error   .btchb-sats-status { color: #c0392b; font-weight: 600; }

/* Nostr login button block, injected at the top of the comment form */
.btchb-nostr-login-wrap {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	background: rgba(247, 147, 26, 0.08);
	border: 1px solid rgba(247, 147, 26, 0.4);
	border-radius: 6px;
	font-size: 0.9rem;
}
.btchb-nostr-login-btn {
	background: #6e3aa6;
	color: #fff;
	border: 0;
	padding: 0.45rem 0.9rem;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
}
.btchb-nostr-login-btn:hover { background: #5a2e8a; }
.btchb-nostr-login-hint { color: #444; }
.btchb-nostr-login-hint.btchb-nostr-error { color: #c0392b; font-weight: 600; }
img.btchb-nostr-avatar { border-radius: 50%; }

/* Guest-post submission form */
.btchb-submit-post {
	max-width: 720px;
	margin: 0 auto;
}
.btchb-submit-post-row {
	display: flex;
	flex-direction: column;
	margin: 0 0 0.9rem;
}
.btchb-submit-post-row label {
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.btchb-submit-post-row input[type="text"],
.btchb-submit-post-row input[type="email"],
.btchb-submit-post-row textarea {
	width: 100%;
	padding: 0.5rem 0.6rem;
	border: 1px solid #c8c8c8;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
}
.btchb-submit-post-row textarea {
	min-height: 16rem;
	resize: vertical;
}
.btchb-submit-post-hint {
	color: #666;
	font-size: 0.8rem;
	margin-top: 0.2rem;
}
.btchb-submit-post-actions {
	margin: 0.5rem 0 0;
}
.btchb-submit-post-btn {
	background: #f7931a;
	color: #000;
	border: 0;
	padding: 0.6rem 1.2rem;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	font-size: 1rem;
}
.btchb-submit-post-btn:disabled { opacity: 0.6; cursor: wait; }
.btchb-submit-post-error {
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	font-size: 0.9rem;
}
.btchb-submit-post-error-visible {
	background: rgba(192, 57, 43, 0.08);
	border: 1px solid rgba(192, 57, 43, 0.4);
	color: #c0392b;
}
.btchb-submit-post-notice {
	background: rgba(27, 141, 27, 0.08);
	border: 1px solid rgba(27, 141, 27, 0.4);
	color: #1b8d1b;
}
