/* Компактная тема поверх исходного оформления из E:\loli. */
:root { --line: #29292d; --muted: #a0a0a5; --dim: #77777e; }
button { cursor: pointer; font-family: inherit; }

.topbar { min-height: 65px; padding: 11px 18px; }
.brand-icon { width: 36px; height: 36px; border-radius: 0; background: none; box-shadow: none; animation: none !important; }
.brand-icon img { display: block; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255,255,255,.7)) drop-shadow(0 0 12px rgba(255,255,255,.35)); }
.brand { font-size: 17px; }
.brand-name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-style: italic; line-height: 1; font-weight: 700; letter-spacing: -.025em; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.55), 0 0 20px rgba(255,255,255,.22); }
.brand small { font-size: 10px; letter-spacing: .03em; }
.account { border: 0; background: transparent; padding: 0; font-size: 11px; }

.hero { padding: 19px 2px 10px; text-align: left; }
.hero:before { display: none; }
.hero .hero-em { width: 52px; height: 52px; margin: 0 0 16px; border-radius: 14px; background: #18181c; box-shadow: none; animation: none; }
.hero .hero-em svg { width: 27px; height: 27px; filter: none; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.hero h1, .section-heading h1 { font-size: 25px; letter-spacing: -.04em; }
.hero p, .section-heading p { font-size: 13px; }
.search { margin-top: 22px; background: #151518; border-radius: 12px; box-shadow: none; }
.search:focus-within { box-shadow: 0 0 0 2px #4c4c53; }
.search button { min-height: 38px; }
.search .scan-button { display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px; padding: 0; background: transparent; color: var(--muted); border-radius: 8px; }
.search .scan-button svg { width: 18px; height: 18px; }

.panel, .vehicle-card { background: #141417; box-shadow: none; border-radius: 14px; }
.vehicle-card { animation: none; }
.card-hero, .stat, .ctrl { animation: none; }
.vehicle-card .card-hero { text-align: left; align-items: center; }
.vehicle-card .big-em { width: 45px; height: 45px; border-radius: 12px; box-shadow: none; }
.vehicle-card .big-em svg { width: 23px; height: 23px; }
.vehicle-card .card-hero h3 { font-size: 19px; }
.vehicle-card .stat-grid { gap: 8px; margin: 0 0 14px; }
.vehicle-card .stat { border-radius: 10px; padding: 11px 12px; background: #1b1b1f; }
.vehicle-card .stat .v { font-size: 15px; }
.vehicle-card .stat .k { font-size: 10px; }
.vehicle-card .controls { gap: 8px; }
.vehicle-card .ctrl { border-radius: 10px; min-height: 73px; gap: 6px; padding: 10px 7px; background: #1b1b1f; }
.vehicle-card .ctrl .luc { width: 18px; height: 18px; }
.vehicle-card .ctrl .cl { font-size: 11px; }
.vehicle-card .ctrl-hero { grid-column: 1 / -1; min-height: 49px; background: #eeeeef; box-shadow: none; }
.vehicle-card .ctrl-hero .luc { width: 17px; height: 17px; }
.vehicle-card .ctrl-hero .cl { font-size: 13px; }
.vehicle-card .ctrl-wide { grid-column: 1 / -1; flex-direction: row; min-height: 48px; }
.vehicle-card .ctrl:hover:not(:disabled) { box-shadow: none; transform: none; border-color: #5b5b62; }
.badge, .badge.green { background: #26262a; border-color: #494950; color: #e8e8ea; }

.tabs { padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); background: #101012; }
.tab { min-height: 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 9px; padding: 5px 2px; font-size: 10px; }
.tab svg { width: 18px; height: 18px; flex: 0 0 18px; }
.tab span { font-size: 10px; line-height: 1.2; }
.tab.selected { color: #fff; background: #242428; }

.toast { visibility: hidden; animation: none; }
.toast.show { visibility: visible; }
.scan-sheet { width: min(100%, 440px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.scan-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.scan-sheet-head button { background: var(--surface3); color: var(--text); border: 1px solid var(--line); border-radius: 9px; width: 32px; height: 32px; font-size: 20px; }
.scan-video-wrap { height: min(65vw, 320px); background: #050505; border-radius: 12px; overflow: hidden; position: relative; }
.scan-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 13%; border: 2px solid #fff; border-radius: 12px; box-shadow: 0 0 25px #fff5; }
.scan-sheet p { color: var(--muted); font-size: 12px; text-align: center; margin: 14px 0 0; }
