/* Session-aware UI: pair [data-session-guest] / [data-session-user] with static/session-ui.js */

body.tpb-auth-signed-in [data-session-guest] {
	display: none !important;
}

button.top-link.session-nav-logout {
	cursor: pointer;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	color: inherit;
	background: transparent;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid transparent;
	margin: 0;
}

button.top-link.session-nav-logout:hover {
	color: var(--text);
	border-color: var(--stroke);
	background: rgba(15, 23, 42, 0.45);
}

/* Centered copy toast: download command blocks, pay/extend deposit address, etc. */
#tpb-copy-toast {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99998;
	width: fit-content;
	height: fit-content;
	max-width: min(560px, calc(100vw - 32px));
	margin: auto;
	padding: 16px 32px;
	border-radius: 14px;
	font-size: clamp(1.05rem, 2.6vw, 1.25rem);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
#tpb-copy-toast.tpb-copy-toast--ok {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #86efac;
}
#tpb-copy-toast.tpb-copy-toast--err {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fecaca;
}
