.brand-mark{width:34px;font-size:11px;letter-spacing:-1px}
.route-points{display:flex;align-items:center;justify-content:center;gap:16px;padding:10px 12px 0;font-size:11px;color:#cbd8d2}
.route-points i{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--lime);color:#07110f;font-style:normal;font-weight:900}
.route-points b{color:var(--muted)}
.car-visual{width:54px;height:30px;position:relative;flex:0 0 54px}
.car-body{position:absolute;left:2px;right:2px;bottom:5px;height:13px;border-radius:8px 12px 5px 5px;background:var(--lime)}
.car-roof{position:absolute;left:15px;top:3px;width:27px;height:14px;border-radius:14px 14px 2px 2px;background:#74a945;transform:skew(-10deg)}
.car-visual i{position:absolute;bottom:1px;width:10px;height:10px;border-radius:50%;background:#07110f;border:2px solid #708279}
.car-visual i:nth-of-type(1){left:9px}.car-visual i:nth-of-type(2){right:7px}
.nav-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.nav-summary>div{display:flex;align-items:center;gap:9px;padding:11px;background:#0e1b17;border:1px solid var(--line);border-radius:14px}
.nav-summary p{margin:0}.nav-summary b,.nav-summary small{display:block}.nav-summary b{font-size:11px}.nav-summary small{color:var(--muted);font-size:8px;margin-top:3px}
.nav-symbol{font-size:27px;color:var(--lime)}
.limit-sign{display:grid;place-items:center;width:34px;height:34px;border:3px solid #ef5b55;border-radius:50%;background:#fff;color:#111;font-size:12px;font-weight:900;flex:0 0 34px}
.avatar.person{position:relative;overflow:hidden}
.avatar.person:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#f2c7a0;top:7px;left:11px;box-shadow:0 -4px 0 #202724}
.avatar.person i{position:absolute;width:25px;height:17px;border-radius:13px 13px 0 0;background:#d9e5df;bottom:-5px}
.avatar.person.cap:after{content:"";position:absolute;width:18px;height:6px;border-radius:8px 8px 2px 2px;background:#17222c;top:5px;left:9px}
.avatar.me-avatar i{background:var(--lime)}
.navigation-card{display:grid;grid-template-columns:52px 1fr 52px;gap:10px;align-items:center;background:#142720;border:1px solid #365448;border-radius:18px;padding:13px;margin-top:18px}
.turn-icon{font-size:38px;color:var(--lime);font-weight:900}
.nav-copy small,.nav-copy b{display:block}.nav-copy small{color:var(--lime);font-size:10px}.nav-copy b{font-size:12px;margin:3px 0 8px}
.route-progress{height:4px;background:#2a4037;border-radius:3px;overflow:hidden}.route-progress i{display:block;height:100%;width:4%;background:var(--lime);transition:width .4s}
.speed-limit{width:49px;height:49px;border-radius:50%;background:#fff;border:4px solid #ef5b55;color:#151515;text-align:center;padding-top:4px}
.speed-limit small,.speed-limit b{display:block}.speed-limit small{font-size:7px}.speed-limit b{font-size:18px;line-height:18px}
.light-banner{display:flex;align-items:center;gap:10px;background:#1c211a;border:1px solid #605b34;border-radius:13px;margin-top:9px;padding:9px 12px;transition:.3s}
.light-banner.hidden{opacity:0;transform:translateY(-5px)}
.traffic-light{display:flex;gap:3px;background:#090d0b;padding:5px;border-radius:7px}.traffic-light i{width:8px;height:8px;border-radius:50%;background:#3b3333}.traffic-light i:nth-child(2){background:#4b462d}.traffic-light i.on{background:#61e77f;box-shadow:0 0 8px #61e77f}
.light-banner p{margin:0}.light-banner b,.light-banner small{display:block}.light-banner b{font-size:10px}.light-banner small{font-size:8px;color:var(--muted);margin-top:2px}
@media(max-width:370px){.nav-summary{grid-template-columns:1fr}.navigation-card{grid-template-columns:44px 1fr 50px}}
.difficulty-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 10px;margin-top:9px;padding:11px 13px;border:1px solid #365448;border-radius:13px;background:#101f1b}.difficulty-card>span{font-size:9px;color:var(--muted)}.difficulty-card>b{font-size:11px}.difficulty-card>strong{grid-row:1/3;grid-column:3;font-size:23px;color:var(--lime)}.difficulty-card>small{grid-column:1/3;color:#738a80;font-size:8px}.penalty-priority{margin:12px 0;padding:15px;border:1px solid #9b433d;background:#2a1817;border-radius:16px}.penalty-priority b{color:#ff776d;font-size:12px}.penalty-priority p{margin:6px 0 0;color:#c9a5a2;font-size:10px;line-height:1.6}
.route-points em,.vehicle-card em{font-style:normal}.vehicle-card em{display:block;color:var(--lime);font-size:9px;margin-top:3px}.choose-link{display:block;width:100%;padding:10px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--lime);font-size:11px}.modal{display:none;position:fixed;inset:0;z-index:20;background:#000a;align-items:flex-end;justify-content:center}.modal.open{display:flex}.sheet{width:min(100%,460px);max-height:88vh;overflow:auto;background:#0b1714;border-radius:24px 24px 0 0;padding:20px;border:1px solid #2d443b}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head small{color:var(--lime);font-size:9px;letter-spacing:1px}.sheet-head h2{margin:3px 0 15px}.sheet-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#15231f;color:#fff;font-size:20px}.option-list{display:grid;gap:10px}.route-option{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:13px;border:1px solid var(--line);background:#11201c;border-radius:15px;color:#fff;text-align:left}.route-option.selected{border-color:var(--lime);background:#172b23}.route-option .route-thumb{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#345b47,#16271f);display:grid;place-items:center;color:var(--lime);font-size:20px}.route-option b,.route-option small{display:block}.route-option small{color:var(--muted);font-size:9px;margin-top:4px}.route-option strong{font-size:12px}.sheet-note{font-size:9px;color:var(--muted);line-height:1.5}.brand-tabs,.wheel-options{display:flex;gap:7px;overflow:auto;padding-bottom:8px}.brand-tabs button,.wheel-options button{white-space:nowrap;border:1px solid var(--line);background:#11201c;color:var(--muted);border-radius:12px;padding:9px 13px}.brand-tabs button.selected,.wheel-options button.selected{border-color:var(--lime);color:#07110f;background:var(--lime)}.model-options{display:grid;gap:8px;margin:12px 0 18px}.model-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:#11201c;color:#fff;border-radius:14px;padding:12px;text-align:left}.model-option.selected{border-color:var(--lime)}.mini-car{width:55px;height:24px;border-radius:12px 16px 6px 6px;background:var(--car-color,#bbb);position:relative}.mini-car:after,.mini-car:before{content:"";position:absolute;bottom:-4px;width:10px;height:10px;background:#050807;border:2px solid #75807b;border-radius:50%}.mini-car:before{left:8px}.mini-car:after{right:7px}.model-option span:last-child b,.model-option span:last-child small{display:block}.model-option span:last-child small{color:var(--muted);font-size:9px;margin-top:3px}.sheet h3{font-size:12px;color:var(--muted)}
.bottom-nav{position:sticky;bottom:0;z-index:10;height:70px;display:grid;grid-template-columns:repeat(3,1fr);background:#091410f2;border-top:1px solid var(--line);backdrop-filter:blur(18px);padding:7px 8px 10px}.bottom-nav.hidden{display:none}.bottom-nav button{border:0;background:transparent;color:#71867d;display:grid;place-items:center;gap:2px}.bottom-nav button span{font-size:21px}.bottom-nav button small{font-size:9px}.bottom-nav button.selected{color:var(--lime)}.screen{padding-bottom:88px}.history-screen{padding-top:18px}.profile-hero{display:flex;align-items:center;gap:13px}.profile-avatar{width:62px;height:62px;border-radius:50%;background:#397b56;position:relative;overflow:hidden}.profile-avatar:before{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#f2c7a0;top:11px;left:20px;box-shadow:0 -5px 0 #202724}.profile-avatar i{position:absolute;width:42px;height:28px;border-radius:24px 24px 0 0;background:var(--lime);bottom:-8px;left:10px}.profile-hero>div:nth-child(2){flex:1}.profile-hero small{color:var(--lime);font-size:8px;letter-spacing:1px}.profile-hero h2{margin:3px 0;font-size:22px}.profile-hero p{margin:0;color:var(--muted);font-size:9px}.profile-hero button{border:1px solid var(--line);background:#14231e;color:#cdd8d3;border-radius:11px;padding:8px 11px}.driver-tags{display:flex;gap:6px;margin:15px 0}.driver-tags span{padding:6px 9px;border-radius:12px;background:#172a22;color:var(--lime);font-size:9px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#11201c;border:1px solid var(--line);border-radius:18px;padding:15px 0}.profile-stats div{text-align:center;border-right:1px solid var(--line)}.profile-stats div:last-child{border:0}.profile-stats b,.profile-stats small{display:block}.profile-stats b{font-size:21px}.profile-stats small{color:var(--muted);font-size:8px;margin-top:3px}.bound-car{margin-top:24px}.bound-car-card{display:flex;align-items:center;gap:12px;background:#11201c;border:1px solid var(--line);border-radius:16px;padding:14px}.bound-car-card>div:nth-child(2){flex:1}.bound-car-card b,.bound-car-card small{display:block}.bound-car-card b{font-size:11px}.bound-car-card small{color:var(--muted);font-size:8px;margin-top:4px}.verified{color:var(--lime);font-size:9px}.history-list{margin-top:22px}.history-list article{display:grid;grid-template-columns:48px 1fr auto;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.history-score{width:46px;height:46px;border-radius:13px;background:#1b3027;display:grid;place-items:center;padding:5px}.history-score b{font-size:15px}.history-score small{font-size:8px;color:var(--lime);margin-top:-5px}.history-list article>div:nth-child(2)>b,.history-list article>div:nth-child(2)>small{display:block}.history-list article>div:nth-child(2)>b{font-size:11px}.history-list article>div:nth-child(2)>small{color:var(--muted);font-size:8px;margin-top:4px}.history-list article p{display:flex;gap:7px;margin:5px 0 0}.history-list article p span{font-size:8px;color:#77c795}.history-list article p .warn{color:#ff776d}.history-list article>strong{font-size:10px;color:var(--lime)}.achievement-card{display:flex;align-items:center;gap:12px;margin-top:18px;padding:14px;background:linear-gradient(135deg,#293621,#18231d);border:1px solid #4d5e32;border-radius:16px}.achievement-card>span{font-size:28px}.achievement-card b,.achievement-card small{display:block}.achievement-card b{font-size:11px}.achievement-card small{font-size:8px;color:var(--muted);margin-top:4px}
.route-rank-select{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px;padding:12px 14px;background:#11201c;border:1px solid var(--line);border-radius:14px}.route-rank-select span{font-size:10px;color:var(--muted)}.route-rank-select select{max-width:62%;background:#172a22;color:var(--lime);border:0;border-radius:9px;padding:7px;font-size:11px}.rank-brand-tabs{display:flex;gap:8px;overflow:auto;padding:3px 0 12px}.rank-brand-tabs button{min-width:70px;border:1px solid var(--line);border-radius:13px;background:#11201c;color:var(--muted);padding:10px}.rank-brand-tabs button.selected{background:var(--lime);color:#07110f;border-color:var(--lime);font-weight:800}.rank-summary{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin:14px 2px}.rank-summary span{color:var(--lime)}.rank-models{display:grid;gap:12px}.rank-model-card{background:#101f1b;border:1px solid var(--line);border-radius:18px;overflow:hidden}.model-rank-head{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:14px}.model-rank-head .mini-car{transform:scale(.9)}.model-rank-head b,.model-rank-head small{display:block}.model-rank-head small{font-size:8px;color:var(--muted);margin-top:3px}.model-rank-head>strong{font-size:11px;color:var(--lime)}.compact-rank{border-top:1px solid var(--line)}.compact-rank>div{display:grid;grid-template-columns:22px 28px 1fr auto;gap:8px;align-items:center;padding:9px 13px}.compact-rank>div.me{background:#1a2d25}.compact-rank .avatar{width:28px;height:28px;font-size:9px}.compact-rank b{font-size:10px}.compact-rank small{display:block;color:var(--muted);font-size:7px;margin-top:2px}.compact-rank strong{font-size:13px}
.weekday-filters{margin-bottom:8px}.period-filters{margin-top:0;background:#0b1714}.period-filters button.selected{background:#30493e;color:#fff}
.rules-entry{border:1px solid var(--line);background:#12211e;color:var(--lime);border-radius:12px;padding:8px 11px;font-size:10px;font-weight:800}.fair-note button{border:0;background:none;color:var(--lime);padding:6px 0 0;font-size:9px}.rules-sheet{padding-bottom:30px}.rules-hero{display:flex;align-items:center;gap:14px;padding:17px;background:linear-gradient(135deg,#b9f55e,#6ebd54);color:#07110f;border-radius:18px;margin-bottom:13px}.rules-hero>b{font-size:42px}.rules-hero strong,.rules-hero small{display:block}.rules-hero small{font-size:9px;opacity:.7;margin-top:3px}.rule-section{background:#101f1b;border:1px solid var(--line);border-radius:16px;padding:15px;margin:10px 0}.rule-section h3{color:var(--lime);font-size:12px;margin:0 0 11px}.rule-section p,.rule-section li{font-size:9px;color:var(--muted);line-height:1.7}.rule-section ul{padding-left:17px;margin-bottom:0}.rule-section li b{color:#d9e5df}.rule-weight{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #21342d;font-size:10px}.rule-weight:last-child{border:0}.rule-weight b{color:var(--lime)}.danger-rule{border-color:#743c37;background:#251715}.danger-rule h3{color:#ff776d}.penalty-table{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:9px}.penalty-table span{color:#bd9a97}.penalty-table b{color:#ff776d}.factor-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 0;border-bottom:1px solid var(--line)}.factor-row span{font-size:9px}.factor-row b{color:var(--lime);font-size:12px}.factor-row small{grid-column:1/3;color:var(--muted);font-size:8px}.wheel-rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.wheel-rule-grid div{background:#172a22;border-radius:11px;padding:9px;text-align:center}.wheel-rule-grid b,.wheel-rule-grid small{display:block}.wheel-rule-grid b{font-size:9px;color:var(--lime)}.wheel-rule-grid small{font-size:7px;color:var(--muted);line-height:1.5;margin-top:4px}.rule-note{color:#d4b36b!important}.rules-ok{margin-top:15px}
.route-feature-tags{display:flex;justify-content:center;gap:6px;padding:9px 10px 0;flex-wrap:wrap}.route-feature-tags span{font-size:8px;color:#b9f55e;background:#1c3229;border-radius:9px;padding:4px 7px}.route-mini-tags{display:flex;gap:4px;margin-top:6px;flex-wrap:wrap}.route-mini-tags i{font-style:normal;font-size:7px;color:#9ecdb8;background:#1a3027;border-radius:7px;padding:3px 5px}.route-option>strong small{display:block;color:#d8b76b;font-size:7px;margin-top:3px}
.challenge-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#0d1916;padding:4px;border-radius:13px;margin:18px 0 8px}.challenge-tabs button{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:9px;font-size:10px}.challenge-tabs button.selected{background:#263c33;color:var(--lime)}.challenge-pane{display:none}.challenge-pane.active{display:block}.achievement-head{display:grid;grid-template-columns:repeat(3,1fr);background:#11201c;border:1px solid var(--line);border-radius:16px;padding:13px 0;margin:12px 0}.achievement-head div{text-align:center;border-right:1px solid var(--line)}.achievement-head div:last-child{border:0}.achievement-head small,.achievement-head b{display:block}.achievement-head small{color:var(--muted);font-size:8px}.achievement-head b{font-size:17px;margin-top:4px}.badge-series{background:#101f1b;border:1px solid var(--line);border-radius:17px;padding:14px;margin:10px 0}.series-title{display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:8px}.series-title>span{font-size:24px}.series-title b,.series-title small{display:block}.series-title b{font-size:11px}.series-title small{color:var(--muted);font-size:8px;margin-top:2px}.series-title>strong{font-size:10px;color:var(--lime)}.badge-series>i{display:block;height:4px;background:#263831;border-radius:3px;margin:10px 0 13px;overflow:hidden}.badge-series>i em{display:block;height:100%;background:var(--lime)}.badge-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.badge{padding:9px 5px;text-align:center;border-radius:12px;background:#172a22}.badge span,.badge b,.badge small{display:block}.badge span{font-size:25px}.badge b{font-size:8px;margin:5px 0 2px}.badge small{font-size:7px;color:var(--muted)}.badge.current{border:1px solid #758a38;background:#28331e}.badge.locked{filter:grayscale(1);opacity:.45}.badge.unlocked{box-shadow:inset 0 0 0 1px #2f5342}.profile-info-list{background:#101f1b;border:1px solid var(--line);border-radius:16px;margin-top:14px;padding:4px 14px}.profile-info-list div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.profile-info-list div:last-child{border:0}.profile-info-list span{color:var(--muted);font-size:9px}.profile-info-list b{font-size:10px}
.prototype-disclaimer{position:fixed;z-index:55;left:50%;bottom:78px;transform:translateX(-50%);width:min(560px,calc(100% - 32px));padding:8px 12px;border:1px solid rgba(185,245,94,.26);border-radius:12px;background:rgba(3,12,10,.92);color:#a9b8b2;font-size:10px;line-height:1.35;text-align:center;pointer-events:none;backdrop-filter:blur(12px)}
