:root{--bg: #000000;--surface: #131519;--surface-hover: #1a1d22;--primary: #2ea6ff;--primary-hover: #1e8fd9;--text: #ffffff;--text-muted: #708499;--border: #1f2530;--active: #1e3a5f;--danger: #e53935;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--space-xs: 4px;--space-sm: 8px;--space-md: 16px;--space-lg: 24px;--transition: .15s ease}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:var(--bg)}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}*{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;outline:none}html,body{overscroll-behavior:none;background:var(--bg)}.page{min-height:100%;height:100%;display:flex;flex-direction:column;padding:var(--space-md);overflow:hidden;background:var(--bg)}.page-center{align-items:center;justify-content:center}.page-title{font-size:17px;font-weight:600;letter-spacing:-.01em;text-align:center;margin-top:var(--space-lg);margin-bottom:var(--space-lg);line-height:1.3}.loading-text{color:var(--text-muted)}.btn{font-family:inherit;font-size:16px;font-weight:500;border:none;border-radius:var(--radius-md);padding:var(--space-md);cursor:pointer;transition:background var(--transition);-webkit-tap-highlight-color:transparent}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-wide{width:100%}.buy-subscription-btn{margin-top:auto;margin-bottom:var(--space-md);flex-shrink:0}.enter-car-btn{margin-top:var(--space-sm);margin-bottom:var(--space-md);flex-shrink:0}.register-page{position:relative;padding-bottom:100px}.inline-error{color:var(--danger);text-align:center;font-size:13px;margin-bottom:var(--space-sm)}.city-scroll{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-sm);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.city-scroll::-webkit-scrollbar{display:none}.city-item{display:flex;align-items:center;justify-content:space-between;padding:var(--space-md);background:var(--surface);border:none;border-radius:var(--radius-md);color:var(--text);font-size:15px;font-weight:500;cursor:pointer;transition:background var(--transition);-webkit-tap-highlight-color:transparent;outline:none}.city-item:hover{background:var(--surface)}.city-item:active{background:var(--surface-hover)}.city-item-active{background:var(--active)}.check-circle{color:var(--primary);display:flex;align-items:center}.bottom-float{position:fixed;bottom:var(--space-lg);left:var(--space-md);right:var(--space-md)}.home-header{display:flex;align-items:flex-start;gap:var(--space-md);padding-bottom:var(--space-md);border-bottom:1px solid var(--border);flex-shrink:0}.profile-block{display:flex;align-items:center;gap:var(--space-sm);background:none;border:none;color:var(--text);cursor:pointer;padding:0;flex-shrink:0;-webkit-tap-highlight-color:transparent;outline:none}.avatar{width:40px;height:40px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.profile-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100px}.profile-username{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100px}.city-services{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;border-left:1px solid var(--border);padding-left:var(--space-md)}.city-services-text{display:flex;flex-direction:column;gap:2px;min-width:0}.city-label{font-size:12px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.city-label-prefix{color:var(--text-muted);font-weight:500}.services-label{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:600;white-space:nowrap}.services-scroll{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;padding-bottom:2px;cursor:grab;-webkit-user-select:none;user-select:none}.services-scroll::-webkit-scrollbar{display:none}.services-scroll:active{cursor:grabbing}.service-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:6px;background:var(--surface);border:1px solid var(--border);color:var(--text-muted);font-size:10.5px;font-weight:500;white-space:nowrap;line-height:1.4;-webkit-tap-highlight-color:transparent;outline:none}.profile-dropdown{position:absolute;top:64px;left:var(--space-md);background:var(--surface);border:none;border-radius:var(--radius-md);padding:var(--space-md);display:flex;flex-direction:column;gap:6px;font-size:13px;z-index:10;box-shadow:0 8px 24px #0009;min-width:220px}.dropdown-row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-sm)}.dropdown-row-column{flex-direction:column;align-items:flex-start;gap:2px}.dropdown-label{color:var(--text-muted);font-weight:500;font-size:12px}.dropdown-value{color:var(--text);font-weight:600;font-size:13px}.dropdown-divider{height:1px;background:var(--border);margin:4px 0}.home-content{flex:1;display:flex;flex-direction:column;padding-top:var(--space-lg);overflow:hidden;min-height:0}.cars-section{display:flex;flex-direction:column;gap:var(--space-sm);flex:1;min-height:0;overflow:hidden}.section-title{display:none}.car-list{display:flex;flex-direction:column;gap:var(--space-sm);overflow-y:auto;flex:1;min-height:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;padding-right:2px}.car-list::-webkit-scrollbar{display:none}.car-card{background:var(--surface);border:none;border-radius:var(--radius-md);padding:12px 14px;display:flex;flex-direction:column;gap:6px;flex-shrink:0;width:100%;text-align:left;color:var(--text);cursor:pointer;font-family:inherit}.car-card:active{background:var(--surface-hover)}.car-card-top{display:flex;align-items:center;justify-content:flex-start}.car-plate{font-size:18px;font-weight:700;letter-spacing:1px;color:var(--primary);display:inline-flex;align-items:center;gap:6px}.car-plate-region{font-size:12px;font-weight:600;color:var(--text-muted);background:var(--bg);padding:2px 6px;border-radius:4px;letter-spacing:.5px}.car-card-mid{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.car-brand{font-size:14px;font-weight:600;color:var(--text)}.car-color{font-size:13px;color:var(--text-muted)}.car-color:before{content:"·";margin-right:6px;color:var(--text-muted)}.car-address-btn{display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:4px 10px;background:var(--surface-hover);border:none;border-radius:50px;color:var(--text-muted);font-size:11px;font-family:inherit;font-weight:500;text-align:left;cursor:pointer;transition:background .15s ease;-webkit-tap-highlight-color:transparent;align-self:flex-start;width:fit-content;max-width:50%}.car-address-btn:hover,.car-address-btn:active{background:var(--surface-hover)}.car-address-btn.copied{background:#22c55e24}.car-address-btn.copied .car-address-text{color:#22c55e}.car-address-text{color:var(--text-muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.car-address-hint{color:var(--text-muted);font-size:10px;white-space:nowrap;flex-shrink:0}.no-subscription{background:var(--surface);border-radius:var(--radius-md);padding:var(--space-lg) var(--space-md);text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--space-sm)}.empty-title{font-size:16px;font-weight:600}.empty-desc{font-size:13px;color:var(--text-muted);line-height:1.4;max-width:280px}.booking-block{background:var(--surface);border-radius:var(--radius-md);padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-sm);margin-top:var(--space-sm);margin-bottom:var(--space-md);flex-shrink:0}.booking-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.booking-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;letter-spacing:.02em}.booking-status.open{color:#22c55e;background:#22c55e1f}.booking-status.closed{color:#ef4444;background:#ef44441f}.booking-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 6px currentColor}.booking-timer{font-size:12px;color:var(--text-muted);font-weight:500;font-variant-numeric:tabular-nums}.booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px var(--space-sm)}.booking-row{display:flex;flex-direction:column;gap:1px;min-width:0}.booking-label{font-size:10px;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.04em}.booking-value{font-size:13px;color:var(--text);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.booking-actions{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm);margin-top:2px}.booking-action-btn{font-size:13px;font-weight:600;padding:10px 8px;border-radius:var(--radius-sm);background:var(--surface-hover);color:var(--text)}.booking-action-btn.closed-action{color:#fbbf24}.booking-action-btn.open-action{color:#22c55e}.booking-action-btn.cancel-action{color:#ef4444}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:100;display:flex;align-items:flex-end;justify-content:center;animation:sheet-fade-in .18s ease}@keyframes sheet-fade-in{0%{opacity:0}to{opacity:1}}.car-sheet{width:100%;max-width:480px;background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-md) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom));position:relative;animation:sheet-slide-up .22s ease;max-height:80vh;overflow-y:auto;scrollbar-width:none}.car-sheet::-webkit-scrollbar{display:none}@keyframes sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-drag-handle{width:36px;height:4px;background:var(--border);border-radius:2px;margin:0 auto var(--space-md)}.sheet-close{position:absolute;top:var(--space-md);right:var(--space-md);width:32px;height:32px;border-radius:50%;background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;border:none;cursor:pointer}.sheet-close:hover{background:var(--surface-hover);color:var(--text)}.car-sheet-form{display:flex;flex-direction:column;gap:var(--space-md);padding-top:var(--space-sm)}.car-sheet-fields{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm);align-items:stretch}.car-sheet-field{display:flex;flex-direction:column;gap:4px;min-width:0}.car-sheet-field-region{min-width:0}.car-sheet-label{font-size:11px;color:var(--text-muted);font-weight:500}.car-sheet-input{width:100%;height:52px;background:var(--surface);border:none;border-radius:var(--radius-sm);padding:0 12px;color:var(--text);font-size:16px;font-weight:600;font-family:inherit;letter-spacing:1px;outline:none;box-sizing:border-box}.car-sheet-input::placeholder{color:var(--text-muted);opacity:.6;font-weight:500;letter-spacing:0}.car-sheet-input:focus{background:var(--surface-hover)}.car-sheet-static{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm)}.car-sheet-static-row{background:var(--surface);border:none;border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-height:52px;justify-content:center}.car-sheet-static-label{font-size:10px;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.04em}.car-sheet-static-value{font-size:14px;color:var(--text);font-weight:600;letter-spacing:.5px}.car-sheet-error{color:var(--danger);font-size:12px;text-align:center;margin:-6px 0}.car-sheet-desc{font-size:12px;color:var(--text-muted);line-height:1.4;text-align:center}.error-card{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm)}.error-code{font-size:64px;font-weight:700;color:var(--danger);line-height:1}.error-message{font-size:16px;color:var(--text-muted);text-align:center}.services-none{font-size:11px;font-weight:500;color:var(--text-muted);padding:3px 0;white-space:nowrap}.success-sheet{width:100%;max-width:480px;height:75vh;background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-md) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom));position:relative;animation:sheet-slide-up .28s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;transition:transform .12s ease-out}.success-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-md);text-align:center;padding:0 var(--space-md)}.success-circle{width:120px;height:120px;border-radius:50%;background:#22c55e1f;display:flex;align-items:center;justify-content:center;animation:success-pop .5s cubic-bezier(.22,1,.36,1)}.success-check{width:76px;height:76px}.success-check-circle{stroke:#22c55e;stroke-width:3;stroke-dasharray:151;stroke-dashoffset:151;animation:success-circle-draw .6s cubic-bezier(.65,0,.45,1) forwards}.success-check-path{stroke:#22c55e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:48;stroke-dashoffset:48;animation:success-path-draw .4s cubic-bezier(.65,0,.45,1) .45s forwards}.success-title{font-size:20px;font-weight:700;color:var(--text)}.success-desc{font-size:13px;color:var(--text-muted);line-height:1.5;max-width:260px}@keyframes success-pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes success-circle-draw{to{stroke-dashoffset:0}}@keyframes success-path-draw{to{stroke-dashoffset:0}}.city-line{display:flex;align-items:center;gap:6px;min-width:0}.city-edit-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;background:transparent;color:var(--text-muted);cursor:pointer;flex-shrink:0;border-radius:50%;transition:background .15s ease,color .15s ease;-webkit-tap-highlight-color:transparent}.city-edit-btn:hover{background:var(--surface-hover);color:var(--primary)}.city-edit-btn:active{background:var(--surface-hover)}.city-dropdown{position:absolute;top:64px;right:var(--space-md);background:var(--surface);border:none;border-radius:var(--radius-md);padding:var(--space-sm);z-index:20;box-shadow:0 8px 24px #0009;width:240px;max-height:320px;display:flex;flex-direction:column;gap:4px}.city-dropdown-title{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:600;padding:4px 8px 6px}.city-dropdown-scroll{overflow-y:auto;display:flex;flex-direction:column;gap:2px;scrollbar-width:none;-ms-overflow-style:none}.city-dropdown-scroll::-webkit-scrollbar{display:none}.city-dropdown-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:none;background:transparent;color:var(--text);font-size:13px;font-weight:500;font-family:inherit;text-align:left;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease;-webkit-tap-highlight-color:transparent}.city-dropdown-item:hover{background:var(--surface-hover)}.city-dropdown-item.active{color:var(--primary);background:var(--active)}.city-dropdown-item:disabled{opacity:.5;cursor:not-allowed}.city-dropdown-error{color:var(--danger);font-size:11px;padding:4px 8px;text-align:center}
