/*
 * Gabby support rail: 2026 look, isolated from the 2026 child-theme layer.
 * Source: bridge-child/assets/tung2026/tung-2026.1.4.39.css lines 1473-1552 and 1702-1717.
 * Custom properties inlined (--tung-shell #0B0B0B, --tung-red #C8102E); icons inlined as data URIs
 * from tung-chat-figma.svg / tung-contact-figma.svg. No .tung-* selectors, no theme dependency.
 * Loads after gabby-<ver>.css; "body ." prefix out-specifies the plugin's single-class rules.
 */
body .tgabby-launcher { box-shadow: -8px 0 24px rgba(0, 0, 0, .26); }
body .tgabby-panel { border-left: 0; }

@media (min-width: 1025px) {
	body .tgabby-drawer::before {
		content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 64px;
		background: #0B0B0B; box-shadow: -8px 0 24px rgba(0, 0, 0, .26); pointer-events: none;
	}
	body .tgabby-launcher {
		top: 0; right: 0; bottom: auto; width: 64px; height: 64px; padding: 0;
		align-items: center; justify-content: center; background: #C8102E; border-radius: 0;
	}
	body .tgabby-launcher img { display: none; }
	body .tgabby-launcher::before {
		content: ""; display: block; width: 32px; height: 32px;
		background: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20.6672V10.1911C0 6.65511 2.86619 3.78581 6.39388 3.78581H20.9647C21.609 3.78581 22.1314 4.30815 22.1314 4.95248C22.1314 5.59681 21.609 6.11915 20.9647 6.11915H6.39388C4.15824 6.11915 2.33333 7.94039 2.33333 10.1911V20.6672C2.33333 22.9179 4.15824 24.7391 6.39388 24.7391H10.1149C10.7068 24.7391 11.2048 25.1824 11.2736 25.7702L11.8934 31.0817L15.6315 25.5116C15.6361 25.4993 15.641 25.4862 15.6463 25.4728L15.7249 25.3133C15.9323 24.9614 16.3127 24.7392 16.7298 24.7391H28.6061C30.8418 24.7391 32.6667 22.9179 32.6667 20.6672V11.3578C32.6667 10.7134 33.189 10.1911 33.8334 10.1911C34.4777 10.1911 35 10.7134 35 11.3578V20.6672C35 24.2031 32.1338 27.0724 28.6061 27.0724H17.3963L13.0202 33.5905C13.0013 33.6186 12.981 33.6462 12.9598 33.6725C12.0291 34.8277 10.1749 34.4537 9.78223 33.014C9.76698 32.958 9.75594 32.9008 9.74919 32.8431L9.07699 27.0724H6.39388C2.86619 27.0724 0 24.2031 0 20.6672Z' fill='white'/%3E%3Cpath d='M33.6117 4.96417C30.9401 4.38084 29.4234 2.86417 28.8517 0.2275C28.7817 -0.0758334 28.3967 -0.0758334 28.3267 0.2275C27.7551 2.86417 26.2267 4.38084 23.5667 4.96417C23.2634 5.03417 23.2634 5.46584 23.5667 5.52417C26.2384 6.1075 27.7551 7.62417 28.3267 10.2608C28.3967 10.5642 28.7817 10.5642 28.8517 10.2608C29.4234 7.62417 30.9517 6.1075 33.6117 5.52417C33.9151 5.45417 33.9151 5.0225 33.6117 4.96417Z' fill='white'/%3E%3Cpath d='M24.6167 15.0208C20.7667 14.1808 18.5617 11.9875 17.7333 8.18417C17.64 7.74084 17.08 7.74084 16.975 8.18417C16.1467 11.9875 13.9533 14.1808 10.0917 15.0208C9.65999 15.1142 9.65999 15.7442 10.0917 15.8375C13.9417 16.6775 16.1467 18.8708 16.975 22.6742C17.0683 23.1175 17.6283 23.1175 17.7333 22.6742C18.5617 18.8708 20.755 16.6775 24.6167 15.8375C25.0483 15.7442 25.0483 15.1142 24.6167 15.0208Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	body .tgabby-rail-contact {
		top: 64px; right: 0; width: 64px; height: 64px; background: #0B0B0B;
		border-top: 1px solid #727272; color: rgba(255, 255, 255, .38); box-shadow: -8px 12px 24px rgba(0, 0, 0, .26);
	}
	body .tgabby-rail-contact svg { display: none; }
	body .tgabby-rail-contact::before {
		content: ""; display: block; width: 32px; height: 32px;
		background: url("data:image/svg+xml,%3Csvg width='28' height='22' viewBox='0 0 28 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.6867 0H4.18C3.07137 0 2.00825 0.434598 1.22426 1.20815C0.440393 1.98182 0 3.03096 0 4.125V17.875C0 18.9689 0.440393 20.0182 1.22426 20.7918C2.00825 21.5654 3.07137 22 4.18 22H23.6867C24.7952 22 25.8584 21.5654 26.6424 20.7918C27.4263 20.0182 27.8667 18.9689 27.8667 17.875V4.125C27.8667 3.03096 27.4263 1.98182 26.6424 1.20815C25.8584 0.434598 24.7952 0 23.6867 0ZM23.1153 2.75L14.9226 10.835C14.793 10.9639 14.6389 11.0662 14.4692 11.136C14.2993 11.2059 14.1172 11.2417 13.9333 11.2417C13.7494 11.2417 13.5673 11.2059 13.3974 11.136C13.2278 11.0662 13.0736 10.9639 12.944 10.835L4.75131 2.75H23.1153ZM25.08 17.875C25.08 18.2397 24.9332 18.5895 24.6719 18.8473C24.4107 19.1051 24.0562 19.25 23.6867 19.25H4.18C3.81046 19.25 3.45608 19.1051 3.19471 18.8473C2.93346 18.5895 2.78667 18.2397 2.78667 17.875V4.6888L10.9795 12.7737C11.7632 13.5462 12.8257 13.9802 13.9333 13.9802C15.041 13.9802 16.1034 13.5462 16.8872 12.7737L25.08 4.6888V17.875Z' fill='%235B5B5B'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

@media (max-width: 782px) {
	body .tgabby-rail-contact {
		top: auto; right: 18px; bottom: 82px; width: 52px; height: 48px; border-top: 0;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
	}
	body .tgabby-rail-contact svg { display: none; }
	body .tgabby-rail-contact::before {
		content: ""; display: block; width: 32px; height: 32px;
		background: url("data:image/svg+xml,%3Csvg width='28' height='22' viewBox='0 0 28 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.6867 0H4.18C3.07137 0 2.00825 0.434598 1.22426 1.20815C0.440393 1.98182 0 3.03096 0 4.125V17.875C0 18.9689 0.440393 20.0182 1.22426 20.7918C2.00825 21.5654 3.07137 22 4.18 22H23.6867C24.7952 22 25.8584 21.5654 26.6424 20.7918C27.4263 20.0182 27.8667 18.9689 27.8667 17.875V4.125C27.8667 3.03096 27.4263 1.98182 26.6424 1.20815C25.8584 0.434598 24.7952 0 23.6867 0ZM23.1153 2.75L14.9226 10.835C14.793 10.9639 14.6389 11.0662 14.4692 11.136C14.2993 11.2059 14.1172 11.2417 13.9333 11.2417C13.7494 11.2417 13.5673 11.2059 13.3974 11.136C13.2278 11.0662 13.0736 10.9639 12.944 10.835L4.75131 2.75H23.1153ZM25.08 17.875C25.08 18.2397 24.9332 18.5895 24.6719 18.8473C24.4107 19.1051 24.0562 19.25 23.6867 19.25H4.18C3.81046 19.25 3.45608 19.1051 3.19471 18.8473C2.93346 18.5895 2.78667 18.2397 2.78667 17.875V4.6888L10.9795 12.7737C11.7632 13.5462 12.8257 13.9802 13.9333 13.9802C15.041 13.9802 16.1034 13.5462 16.8872 12.7737L25.08 4.6888V17.875Z' fill='%235B5B5B'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

@media (prefers-reduced-motion: no-preference) {
	body .tgabby-drawer::before, body .tgabby-launcher, body .tgabby-rail-contact {
		animation: tgabby-rail-enter 600ms cubic-bezier(.22, 1, .36, 1) 450ms both;
	}
}
@keyframes tgabby-rail-enter {
	from { transform: translate3d(calc(100% + 18px), 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}
