/* Karakter traveler Alfa Tour: dipakai di dashboard admin & hero beranda. */
.pw-tv { display: block; width: 84px; line-height: 0; }
.pw-tv-svg { width: 100%; height: auto; overflow: visible; }
.pw-tv-bob { animation: pwTvBob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.pw-tv-leg, .pw-tv-armf, .pw-tv-armb { transform-box: fill-box; }
.pw-tv-leg { transform-origin: 50% 4%; }
.pw-tv-armf { transform-origin: 0 100%; }
.pw-tv-armb { transform-origin: 100% 0; }
.pw-tv-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: pwTvBlink 4.5s infinite; }
.pw-tv--wave .pw-tv-armf { animation: pwTvWave 1.1s ease-in-out infinite; }
.pw-tv--walk .pw-tv-bob { animation: pwTvStep .55s ease-in-out infinite; }
.pw-tv--walk .pw-tv-leg1 { animation: pwTvLeg .55s ease-in-out infinite; }
.pw-tv--walk .pw-tv-leg2 { animation: pwTvLeg .55s ease-in-out infinite reverse; }
.pw-tv--walk .pw-tv-armf { transform-origin: 20% 0; animation: pwTvLeg .55s ease-in-out infinite reverse; }
.pw-tv--walk .pw-tv-armb { animation: pwTvLeg .55s ease-in-out infinite; }
@keyframes pwTvBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pwTvStep { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pwTvWave { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(18deg); } }
@keyframes pwTvLeg { 0%,100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
@keyframes pwTvBlink { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* Dashboard admin: sapaan dari traveler */
.pw-tv-admin { display: flex !important; align-items: flex-end; gap: 4px; flex: none !important; margin: -8px 4px -22px 0; }
.pw-tv-admin .pw-tv { width: 76px; }
.pw-tv-bubble { position: relative; max-width: 190px; align-self: center; margin-bottom: 24px; padding: 10px 14px; background: #fff; border-radius: 16px; box-shadow: 0 8px 22px rgba(23,63,53,.14); color: #173F35; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pw-tv-bubble::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.pw-tv-bubble span { display: inline-block; opacity: 0; animation: pwTvWord 9s ease-in-out infinite both; animation-delay: calc(var(--i) * .6s); }
@keyframes pwTvWord { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 5%,78% { opacity: 1; transform: none; } 90%,100% { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 782px) { .pw-tv-admin { margin: 0 auto; } }

/* Hero beranda: awan, pesawat, traveler berjalan */
.pw-tv-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pw-cloud { position: absolute; height: 26px; width: 90px; border-radius: 999px; background: rgba(255,255,255,.75); filter: blur(.3px); animation: pwCloud 60s linear infinite; }
.pw-cloud::before, .pw-cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.pw-cloud::before { width: 38px; height: 38px; left: 14px; top: -16px; }
.pw-cloud::after { width: 28px; height: 28px; left: 46px; top: -10px; }
.pw-cloud-1 { top: 12%; left: -120px; }
.pw-cloud-2 { top: 28%; left: -120px; transform: scale(.7); animation-duration: 85s; animation-delay: -30s; opacity: .8; }
.pw-cloud-3 { top: 6%; left: -120px; transform: scale(1.2); animation-duration: 110s; animation-delay: -70s; opacity: .6; }
@keyframes pwCloud { from { left: -140px; } to { left: 105%; } }
.pw-plane { position: absolute; top: 20%; left: -80px; display: flex; align-items: center; animation: pwPlane 16s linear infinite; animation-delay: -4s; }
.pw-plane span { width: 34px; height: 34px; color: var(--pw-forest, #173F35); transform: rotate(90deg); display: block; }
.pw-plane span svg { width: 100%; height: 100%; fill: currentColor; }
.pw-plane i { display: block; width: 90px; height: 0; border-top: 3px dashed rgba(23,63,53,.35); margin-right: 4px; }
@keyframes pwPlane { 0% { left: -170px; top: 26%; } 100% { left: 105%; top: 8%; } }
.pw-tv-walker { position: absolute; left: 0; right: 0; bottom: 8px; height: 140px; }
.pw-tv-walker .pw-tv { position: absolute; bottom: 0; left: -100px; width: 84px; animation: pwTvWalk 30s linear infinite; }
@keyframes pwTvWalk { from { left: -100px; } to { left: 105%; } }
@media (max-width: 640px) { .pw-tv-walker .pw-tv { width: 60px; } .pw-tv-walker { height: 100px; } .pw-plane span { width: 26px; height: 26px; } .pw-plane i { width: 60px; } }
@media (prefers-reduced-motion: reduce) {
	.pw-tv *, .pw-tv-scene *, .pw-tv-bubble span { animation: none !important; }
	.pw-tv-bubble span { opacity: 1; }
	.pw-tv-walker .pw-tv { left: 12%; }
	.pw-plane { left: 70%; }
	.pw-cloud-1 { left: 10%; } .pw-cloud-2 { left: 55%; } .pw-cloud-3 { left: 80%; }
}
