.sig-lg { --lg-ease: cubic-bezier(.22,1,.36,1); --lg-g: #6BD68B; --lg-r: #FF8A8A; --lg-w: #F2C46B; border-radius: 32px; padding: 32px; color: #F1F2F7; font-family: "Inter Tight", Inter, sans-serif; font-variant-numeric: tabular-nums; background: radial-gradient(60% 90% at 0% 0%, rgba(79,107,255,.5), transparent 60%), #0B0E2E; }
.sig-lg * { box-sizing: border-box; }
.sig-lg button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.sig-lg .lg-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 16px; align-items: stretch; }
.sig-lg .lg-panel { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: 18px; }
.sig-lg .lg-map { position: relative; overflow: hidden; }
.sig-lg .lg-stage { position: relative; aspect-ratio: 600 / 560; }
.sig-lg .lg-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-lg .lg-city { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #A9B6FF; box-shadow: 0 0 0 4px rgba(169,182,255,.15); }
.sig-lg .lg-city span { position: absolute; top: -3px; left: 14px; font-size: 11.5px; font-weight: 600; color: rgba(241,242,247,.6); white-space: nowrap; }
.sig-lg .lg-city.l span { left: auto; right: 14px; }
.sig-lg .lg-trucks { position: absolute; inset: 0; }
.sig-lg .lg-truck { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px; border-radius: 50%; z-index: 3; display: grid; place-items: center; background: #2A36E8; box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 6px 16px rgba(2,3,20,.5); transition: background .4s, box-shadow .3s; will-change: transform; }
.sig-lg .lg-truck svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sig-lg .lg-truck.sel { box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(2,3,20,.5); z-index: 4; }
.sig-lg .lg-truck.bad { background: #E5484D; }
.sig-lg .lg-truck:focus-visible { outline: 2px solid #A9B6FF; outline-offset: 3px; }
.sig-lg .lg-truck .lg-tag { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(11,14,46,.8); color: rgba(241,242,247,.8); white-space: nowrap; pointer-events: none; }
.sig-lg .lg-flag { position: absolute; bottom: 42px; left: 50%; transform: translate(-50%, 6px) scale(.9); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: #2a0709; background: var(--lg-r); opacity: 0; pointer-events: none; transition: opacity .4s var(--lg-ease), transform .5s var(--lg-ease); }
.sig-lg .lg-flag.on { opacity: 1; transform: translate(-50%, 0); }
.sig-lg .lg-flag::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: var(--lg-r); transform: rotate(45deg); }
.sig-lg .lg-flag.on ~ .lg-pulse, .sig-lg .lg-truck.bad .lg-pulse { opacity: 1; }
.sig-lg .lg-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lg-r); opacity: 0; animation: lg-pulse 1.6s var(--lg-ease) infinite; pointer-events: none; }
@keyframes lg-pulse { from { transform: scale(.9); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }

.sig-lg .lg-wa, .sig-lg .lg-mail { position: absolute; z-index: 5; display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 14px; font-size: 12px; line-height: 1.35; background: rgba(11,14,46,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 14px 30px rgba(2,3,20,.5); backdrop-filter: blur(8px); opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none; transition: opacity .45s var(--lg-ease), transform .55s var(--lg-ease); }
.sig-lg .lg-wa.on, .sig-lg .lg-mail.on { opacity: 1; transform: none; }
.sig-lg .lg-wa { left: 56%; top: 62%; max-width: 230px; border-bottom-left-radius: 4px; }
.sig-lg .lg-mail { left: 56%; top: 78%; border-radius: 999px; align-items: center; padding: 8px 14px 8px 10px; }
.sig-lg .lg-wa img, .sig-lg .lg-mail img { width: 20px; height: 20px; flex: none; }
.sig-lg .lg-wa b { display: block; font-size: 11px; font-weight: 600; color: #9BE7B0; margin-bottom: 1px; }
.sig-lg .lg-legend { position: absolute; right: 14px; top: 16px; display: flex; gap: 12px; font-size: 11.5px; color: rgba(241,242,247,.6); z-index: 3; }
.sig-lg .lg-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sig-lg .lg-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--lg-g); }
.sig-lg .lg-legend i.r { background: var(--lg-r); }

.sig-lg .lg-tl { padding: 20px; display: flex; flex-direction: column; }
.sig-lg .lg-tl-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.sig-lg .lg-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A9B6FF; }
.sig-lg .lg-route { font-size: 19px; font-weight: 600; margin-top: 4px; }
.sig-lg .lg-cust { font-size: 13px; color: rgba(241,242,247,.6); margin-top: 2px; }
.sig-lg .lg-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #9BE7B0; }
.sig-lg .lg-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lg-g); animation: lg-blink 1.8s ease-in-out infinite; }
@keyframes lg-blink { 50% { opacity: .35; } }
.sig-lg .lg-steps { list-style: none; margin: 0; padding: 0; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.sig-lg .lg-steps::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; background: rgba(255,255,255,.1); }
.sig-lg .lg-steps li { position: relative; display: flex; align-items: center; gap: 14px; opacity: .42; transition: opacity .5s var(--lg-ease); }
.sig-lg .lg-steps li.done, .sig-lg .lg-steps li.cur { opacity: 1; }
.sig-lg .lg-steps li > div { flex: 1; min-width: 0; }
.sig-lg .lg-steps b { display: block; font-size: 14px; font-weight: 600; }
.sig-lg .lg-steps em { display: block; font-style: normal; font-size: 12px; color: rgba(241,242,247,.6); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--lg-ease), opacity .4s; }
.sig-lg .lg-steps li.done em { max-height: 20px; opacity: 1; }
.sig-lg .lg-mk { position: relative; z-index: 1; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #0B0E2E; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); transition: background .4s var(--lg-ease), box-shadow .4s; }
.sig-lg .lg-steps li.cur .lg-mk { box-shadow: inset 0 0 0 2px #A9B6FF; animation: lg-ring 1.4s ease-in-out infinite; }
@keyframes lg-ring { 50% { box-shadow: inset 0 0 0 2px #A9B6FF, 0 0 0 5px rgba(169,182,255,.2); } }
.sig-lg .lg-steps li.done .lg-mk { background: var(--lg-g); box-shadow: none; }
.sig-lg .lg-steps li.done .lg-mk::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #0B2A14; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sig-lg .lg-steps li.bad.done .lg-mk { background: var(--lg-r); }
.sig-lg .lg-steps li.bad.done .lg-mk::after { left: 9px; top: 4px; width: 2px; height: 10px; border: 0; background: #2a0709; transform: none; }
.sig-lg .lg-steps li.bad.done em { color: var(--lg-r); }
.sig-lg .lg-ic { width: 22px; height: 22px; flex: none; }

.sig-lg .lg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.sig-lg .lg-stats .lg-panel { padding: 14px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sig-lg .lg-stats span { font-size: 13px; color: rgba(241,242,247,.65); }
.sig-lg .lg-stats b { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.sig-lg .lg-stats b.bump { animation: lg-bump .5s var(--lg-ease); }
@keyframes lg-bump { 40% { transform: scale(1.18); color: #9BE7B0; } }

@media (max-width: 899px) {
  .sig-lg { padding: 20px; border-radius: 24px; }
  .sig-lg .lg-grid { grid-template-columns: 1fr; }
  .sig-lg .lg-steps { gap: 16px; }
  .sig-lg .lg-wa { max-width: 190px; font-size: 11px; left: 48%; }
  .sig-lg .lg-mail { left: 48%; font-size: 11px; }
  .sig-lg .lg-legend { display: none; }
  .sig-lg .lg-stats { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sig-lg *, .sig-lg *::before, .sig-lg *::after { animation: none !important; transition: none !important; }
}
