/* support chat widget */
.tc-fab[hidden], .tc-panel[hidden] { display: none !important; }
.tc-fab { position: fixed; right: 20px; bottom: 20px; z-index: 6000; width: 56px; height: 56px; border: 0; border-radius: 50%;
	background: #e20074; color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.tc-fab:hover { filter: brightness(1.06); }
.tc-fab-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: #16181d;
	color: #fff; font-size: 12px; line-height: 20px; text-align: center; padding: 0 5px; }
.tc-panel { position: fixed; right: 20px; bottom: 88px; z-index: 6000; width: 330px; max-width: calc(100vw - 24px);
	background: #fff; border-radius: 14px; box-shadow: 0 18px 60px rgba(0, 0, 0, .35); overflow: hidden;
	display: flex; flex-direction: column; font-family: TeleNeo, Arial, sans-serif; }
.tc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #e20074; color: #fff; font-size: 15px; }
.tc-close { border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tc-list { padding: 12px; max-height: 320px; min-height: 120px; overflow-y: auto; background: #f6f7f9; display: flex; flex-direction: column; gap: 8px; }
.tc-msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 13px; line-height: 1.45; word-break: break-word; }
.tc-msg img { display: block; max-width: 100%; border-radius: 8px; margin-bottom: 6px; }
.tc-them { align-self: flex-start; background: #fff; border: 1px solid #e6e9ee; color: #16181d; }
.tc-me { align-self: flex-end; background: #e20074; color: #fff; }
.tc-foot { display: flex; align-items: center; gap: 6px; padding: 10px; border-top: 1px solid #eceef2; }
.tc-input { flex: 1; height: 38px; border: 1px solid #d5dae2; border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; outline: none; }
.tc-input:focus { border-color: #e20074; }
.tc-attach, .tc-send { border: 0; background: none; font-size: 18px; cursor: pointer; color: #e20074; }
@media screen and (max-width: 640px) {
	body.tc-open { overflow: hidden; }
	body.tc-open .tc-fab { display: none; }
	.tc-panel { inset: auto 0 0 0; width: auto; max-width: none; max-height: none; height: 50vh;
		border-radius: 0; z-index: 5000; }
	.tc-head { padding: 10px 14px; font-size: 15px; position: sticky; top: 0; z-index: 1; }
	.tc-close { font-size: 24px; padding: 0 6px; }
	.tc-list { max-height: none; flex: 1; min-height: 0; }
	.tc-foot { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
	.tc-input { height: 40px; }
	.tc-fab { right: 14px; bottom: 14px; }
	/* split: payment window on top half, chat on bottom half */
	body.pg-split .paygate { inset: 0 0 50vh 0; padding: 8px 10px 8px; overflow-y: auto; }
	body.pg-split .pg-shell { margin: 0 auto; }
}
