.gps-compact { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.05); padding: 6px 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); }
.gps-compact .gps-text { font-size: 11px; font-weight: 600; color: #c9d1d9; }
.gps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.gps-dot.active { background: var(--success); box-shadow: 0 0 8px var(--success); }

/* Блок фиксации Яндекса */
.yandex-input-modern { background: rgba(227, 179, 65, 0.08); border: 1px solid #e3b341; border-radius: 16px; padding: 12px; margin-bottom: 16px; transition: all 0.3s; }
.price-alert-pulse { animation: alert-border-pulse 2s infinite; }
.yandex-input-header { font-size: 11px; font-weight: 800; color: #e3b341; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.yandex-inputs-row { display: flex; gap: 8px; align-items: flex-end; }
.y-input-group { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.y-input-group label { font-size: 10px; color: #8b949e; }
.y-input-group input { width: 100%; background: #0d1117; border: 1px solid #30363d; border-radius: 10px; padding: 12px; color: #fff; font-size: 18px; font-weight: 800; text-align: center; outline: none; }
.y-input-group input:focus { border-color: #e3b341; }
#yandex-coeff-input { color: #d291ff; }
.btn-yandex-apply { background: #e3b341; color: #000; border: none; border-radius: 10px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; cursor: pointer; flex-shrink: 0; }

/* Hero-карточка: Яндекс и Чистыми */
.hero-price-card { background: linear-gradient(145deg, #161b22, #0d1117); border: 2px solid #30363d; border-radius: 16px; padding: 16px 16px 0 16px; text-align: center; margin-bottom: 12px; position: relative; overflow: hidden; }
.hero-title { font-size: 10px; color: #8b949e; font-weight: 800; letter-spacing: 1px; }
.hero-yandex-value { font-size: 54px; font-weight: 900; color: #fff; line-height: 1.1; margin: 5px 0; letter-spacing: -2px;}
.hero-coeff { position: absolute; top: 12px; right: 12px; background: #2c0b4e; color: #d291ff; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 800; border: 1px solid #9b59b6;}
.hero-net-profit { background: rgba(0,0,0,0.4); margin: 10px -16px 0 -16px; padding: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; border-top: 1px solid #30363d; }
.hero-net-profit .net-title { font-size: 12px; color: #8b949e; text-transform: uppercase; font-weight: 700; }
.hero-net-profit .net-value { font-size: 24px; font-weight: 900; color: #2ea043; transition: color 0.3s;}

/* Детектор */
.secondary-prices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.sec-price-box { background: #161b22; border-radius: 12px; padding: 12px; text-align: center; border: 1px solid #30363d; display: flex; flex-direction: column; justify-content: center;}
.sec-title { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #c9d1d9; margin-bottom: 4px; }
.sec-value { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.sec-subtitle { font-size: 9px; color: #6e7681; }
.detector-pulse-text { animation: radar-pulse-text 6s infinite ease-in-out; display: inline-block; will-change: transform, opacity, filter; }

/* Баннер Убытка и Телеметрия */
.loss-banner { border-radius: 8px; padding: 8px; font-size: 12px; text-align: center; margin-bottom: 12px; font-weight: 600;}
.loss-banner.damage { background: rgba(218,54,51,0.1); color: #da3633; border: 1px solid rgba(218,54,51,0.3); }

.telemetry-dashboard { display: flex; gap: 12px; background: transparent; border: none; margin-bottom: 16px; }
.telemetry-box { flex: 1; background: #161b22; border: 1px solid #30363d; border-radius: 16px; padding: 12px; opacity: 0.6; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }
.telemetry-box.active { opacity: 1; background: #1c2128; transform: scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.3); z-index: 10;}
#box-pickup.active { border-color: var(--accent); }
#box-ride.active { border-color: var(--success); }
.tele-title { font-size: 10px; color: #8b949e; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.tele-data { font-size: 18px; font-weight: 800; color: #fff; font-family: monospace; white-space: nowrap; }

/* Бэйдж убытка */
.loss-badge { background: linear-gradient(135deg, rgba(218, 54, 51, 0.12), rgba(218, 54, 51, 0.06)); border-radius: 20px; padding: 2px 2px 2px 12px; border: 1px solid rgba(218, 54, 51, 0.25); position: relative; overflow: hidden; }
.loss-badge-inner { display: flex; align-items: baseline; gap: 2px; font-size: 10px; position: relative; z-index: 2; }
.loss-badge-value { font-size: 14px; font-weight: 800; color: #da3633; font-family: monospace; min-width: 45px; text-align: right; }
.loss-badge-value.pulse { animation: badgePulse 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-block; }
.loss-badge.critical { border-color: rgba(218, 54, 51, 0.5); animation: badgeGlow 1.5s infinite; }

/* Расходы в таксометре (Аккордеон) */
.expenses-card { background: #161b22 !important; border: 1px solid #30363d !important; padding: 0 !important; overflow: hidden; margin-bottom: 16px; border-radius: 16px;}
.expenses-header { padding: 16px !important; display: flex; justify-content: space-between; align-items: center; font-size: 12px; cursor: pointer; color: #8b949e; font-weight: 700;}
.expenses-details { display: none; padding: 0 16px 16px 16px !important; border-top: 1px dashed #30363d !important; }
.expenses-details.active { display: block; animation: fadeIn 0.3s ease; }
.expense-item { display: flex; justify-content: space-between; font-size: 11px; padding: 6px 0; color: #c9d1d9; }
.expense-item span:last-child { font-weight: 600; color: #fff; }

/* Свайп */
.swipe-container { position: relative; width: 100%; height: 56px; background: #4a0a0a; border-radius: 12px; border: 1px solid #da3633; overflow: hidden; margin-bottom: 12px;}
.swipe-text { position: absolute; width: 100%; text-align: center; line-height: 56px; color: #ff8a8a; font-weight: 800; font-size: 14px; text-transform: uppercase; pointer-events: none; z-index: 1; }
.swipe-thumb { position: absolute; top: 4px; left: 4px; width: 60px; height: 46px; background: #da3633; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; cursor: grab; z-index: 2; transition: transform 0.1s; box-shadow: 2px 0 10px rgba(0,0,0,0.5); }
.swipe-thumb:active { cursor: grabbing; }




