.career-strip{height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#314b34;color:#e3efd7;font-size:10px;gap:10px}.career-strip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42%}.career-strip span{white-space:nowrap}.profile-box{border:1px solid #c9d6bd;border-radius:10px;padding:14px;background:#edf3e5;margin-bottom:15px}.profile-box h2{margin:0 0 10px;font-size:16px}.profile-box input,#startName{font:inherit;font-size:16px;width:100%;border:1px solid #adc19e;border-radius:7px;padding:10px;color:#253d2b;background:white}.profile-box button,.career-action{border:0;background:#3f8338;color:white;border-radius:7px;padding:12px;width:100%;margin-top:8px;font-weight:600}.profile-box small,.career-note{display:block;font-size:10px;line-height:1.5;color:#687b60;margin-top:8px}.profile-box p{font-size:11px;margin:8px 0;color:#49623d}.restart-section{margin:20px 0;border-top:1px solid #d7dfcb;padding-top:10px}.restart-section button{background:#e6dcc6;color:#514231}.career-action.secondary{background:#e6ecd9;color:#31512d}#profilePrompt{text-align:left;padding:12px;background:#edf3e5;border-radius:9px;margin:12px 0}#profilePrompt[hidden]{display:none}#profilePrompt label{display:block;font-weight:700;font-size:12px;margin-bottom:7px}#profilePrompt small{font-size:10px;line-height:1.5;display:block;color:#65795e;margin-top:6px}#nameError{color:#ad4633;font-size:11px;margin:4px 0}.vehicle{min-height:79px}.vehicle small{line-height:1.4}.vehicle em{font-size:9px;max-width:58px;text-align:center}.vehicle.affordable{border-color:#7caa56;background:#f2f7e9}.vehicle .bars{display:none}.garage .subtle{line-height:1.5}#celebration{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:60}#celebration i{position:absolute;top:-20px;width:10px;height:17px;border-radius:2px;animation:confettiFall 2.3s ease-in forwards}#celebration[hidden],#victoryRibbon[hidden]{display:none}#victoryRibbon{position:fixed;z-index:61;top:10px;left:50%;transform:translateX(-50%);background:#f4d779;color:#314a29;box-shadow:0 4px 18px #122c3133;padding:14px 24px;border-radius:10px;font:800 15px 'DM Sans',sans-serif;pointer-events:none;white-space:nowrap}@keyframes confettiFall{to{transform:translate(var(--drift),110vh) rotate(var(--spin));opacity:.2}}.modal.complaint{border:2px solid #c77650}.modal.complaint #modalLabel{color:#b05234}.modal.complaint h2{color:#9e432d}.modal.complaint #modalText{background:#f7e9dd;padding:13px;border-radius:8px}#leaderDialog{max-width:460px;width:92%;max-height:85dvh;padding:20px;border:0;border-radius:15px;background:#f8f8ef;color:#263b2c;box-shadow:0 20px 70px #12271f88}#leaderDialog::backdrop{background:#15271e99}#leaderDialog h2{font:800 30px 'Barlow Condensed',sans-serif;margin:0 0 8px}#leaderDialog p{font-size:12px;line-height:1.6}#leaderRows{list-style:none;padding:0;margin:14px 0;max-height:45dvh;overflow:auto}#leaderRows li{display:flex;align-items:center;gap:10px;padding:13px 4px;border-bottom:1px solid #d7dfcd;font-size:12px}#leaderRows li span:first-child{font-weight:800;color:#4f893a;min-width:22px}#leaderRows li span:nth-child(2){flex:1;overflow-wrap:anywhere}#leaderRows li span:last-child{white-space:nowrap;font-size:10px;color:#6d7d61}#leaderClose{float:right;border:0;background:#e3ead9;border-radius:6px;padding:7px 11px}.audio-test{border:1px solid #9cad8b;background:#eef4e4;color:#304e2b;border-radius:8px;padding:11px;width:100%;margin-top:12px;font-weight:700}#audioStatus{font-size:10px;line-height:1.5;color:#667b5e}#audioResume{position:fixed;z-index:20;top:calc(120px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);border:1px solid #b5d18d;background:#f4f9e9;color:#29452b;border-radius:8px;padding:10px 16px;font-weight:700}#audioResume[hidden]{display:none}.modal.has-unlock #modalText{font-size:11px}@media(max-height:500px){.career-strip{height:26px;flex-basis:26px;font-size:9px}#victoryRibbon{font-size:11px;padding:8px 15px}#audioResume{top:90px}#profilePrompt{padding:8px;margin:5px 0}.modal input{padding:7px}#profilePrompt label{font-size:11px}.modal.has-unlock .unlock-card{padding:8px}}@media(prefers-reduced-motion:reduce){#celebration i{animation:none;display:none}}

.profile-box select,#leaderMode{width:100%;font:inherit;font-size:13px;border:1px solid #b7c5ab;border-radius:7px;padding:11px;background:#fafcf5;margin-top:7px;color:#30452c}.profile-box button:disabled{opacity:.5;cursor:default}.career-strip strong{max-width:35%}#modeLabel{font-size:9px;color:#d4e8a3}.control-dock{flex-basis:calc(192px + env(safe-area-inset-bottom))}.control-dock .touch{bottom:calc(49px + env(safe-area-inset-bottom))}.control-dock #overview{bottom:calc(47px + env(safe-area-inset-bottom))}#shieldActivate{position:absolute;left:12px;right:12px;bottom:calc(5px + env(safe-area-inset-bottom));height:36px;border:1px solid #7ab8ca;border-radius:8px;background:#29494c;color:#dcf6ff;font-weight:700;touch-action:manipulation}#shieldActivate:disabled{opacity:.45}#shieldActivate.shield-active{opacity:1;background:#376b79;color:white}.tip p{font-size:10px}@media(min-width:740px){.control-dock{flex-basis:calc(212px + env(safe-area-inset-right))}.control-dock .touch{bottom:55px}.control-dock #overview{top:164px;bottom:auto}#shieldActivate{bottom:10px}}@media(max-height:500px) and (min-width:600px){.control-dock{flex-basis:calc(190px + env(safe-area-inset-right))}.control-dock .touch{bottom:48px}.control-dock #overview{top:9px;bottom:auto}#shieldActivate{bottom:5px}}

.osm-credit{position:fixed;bottom:3px;right:8px;font-size:11px;z-index:9;background:#f8f5e7d9;border-radius:3px;padding:2px 4px}.osm-credit a{color:#274a36}#mapCredit{font-size:12px;line-height:1.5}
