.first-build{position:absolute;z-index:620;top:146px;left:86px;width:310px;max-width:calc(100% - 92px);box-sizing:border-box;padding:16px;background:#fffdf5;color:#173b34;border:1px solid #b6cbb8;border-radius:14px;box-shadow:0 6px 24px #143e3424;font-family:Arial,sans-serif}
.first-build[hidden]{display:none}
.first-build-step{display:block;color:#51705d;font-size:10px;font-weight:700;letter-spacing:.7px;margin-bottom:7px}
.first-build strong{display:block;font-size:20px;line-height:1.15}
.first-build p{font-size:13px;line-height:1.4;margin:8px 0 12px}
.first-build>div{display:flex;gap:8px;flex-wrap:wrap}
.first-build button{min-height:42px;border-radius:7px;padding:9px 12px;font-size:13px;font-weight:700;cursor:pointer}
.first-build-start{border:1px solid #1c5544;background:#1c5544;color:#fff}
.first-build-dismiss{border:1px solid #c8d4c4;background:#fffdf5;color:#325344}
.first-build button:focus-visible{outline:3px solid #d6a52e;outline-offset:3px}
.first-build-visible .map-help{visibility:hidden}
.first-build-origin{font-weight:700;font-size:13px;padding:7px 10px;color:#173b34;background:#fff7d0;border:2px solid #b48b19;box-shadow:0 2px 10px #0002}
@media(max-width:1000px){
 .transit-game .map-tools{left:8px;right:8px;transform:none;width:auto;max-width:none;overflow-x:auto;justify-content:flex-start;overscroll-behavior-x:contain}
 .transit-game .map-tools button{flex:0 0 auto}
 .first-build{top:70px;left:10px;width:300px;max-width:calc(100% - 74px);padding:12px}
 .first-build strong{font-size:18px}
 .first-build p{font-size:12px;margin:6px 0 10px}
}
@media(max-height:600px){.first-build{top:68px;padding:10px}.first-build p{margin:4px 0 7px}}
