#cabbi { position: fixed; left: 0; top: 0; width: 120px; z-index: 40; pointer-events: none; transform: translate(-400px, 200px); transform-origin: 50% 85%; transition: width .6s cubic-bezier(.2,.8,.2,1); will-change: transform; }
#cabbi.big { width: min(280px, 30vw); z-index: 70; }
#cabbi svg { width: 100%; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
#cabbi .cab-lines { position: absolute; top: 30%; right: 92%; width: 160px; height: 60px; opacity: 0; transition: opacity .2s; }
#cabbi .cab-lines i { position: absolute; right: 0; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(243,237,223,0), rgba(243,237,223,.8)); }
.cab-bubble { position: fixed; z-index: 41; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--paper); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.cab-bubble.on { opacity: 1; transform: none; }
.cab-shatter { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 65; pointer-events: none; }
.cab-ring { position: fixed; z-index: 66; border-radius: 50%; border: 6px solid var(--mint); pointer-events: none; }
.cab-puff { position: fixed; z-index: 39; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); pointer-events: none; }
.cab-skid { position: fixed; z-index: 38; height: 5px; border-radius: 3px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(30,34,38,.95)); pointer-events: none; }
@media (max-width: 700px) { #cabbi { width: 80px; } #cabbi.big { width: 170px; } .cab-bubble { font-size: 13px; } }
