html, body { margin: 0; height: 100%; background: #0d1620; overflow: hidden; font-family: system-ui, -apple-system, "Roboto", sans-serif; -webkit-user-select: none; user-select: none; }
#stage { position: absolute; inset: 0; overflow: hidden; }
#stage.export { inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#map { position: absolute; inset: 0; }
#hud { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
#bar { position: absolute; left: 12px; right: 12px; bottom: 30px; display: flex; align-items: center; gap: 10px; background: rgba(20,20,20,.55); border-radius: 22px; padding: 6px 12px 6px 6px; backdrop-filter: blur(6px); z-index: 3; }
#bar.hidden, #fav.hidden, #end.hidden, #lb.hidden, #prep.hidden { display: none; }
#play { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #FF5A1F; color: #fff; font-size: 15px; font-weight: 700; flex: none; }
#track { flex: 1; height: 6px; background: rgba(255,255,255,.3); border-radius: 3px; position: relative; }
#done { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #FF5A1F; border-radius: 3px; }
#end { position: absolute; left: 0; right: 0; bottom: 92px; display: flex; justify-content: center; z-index: 3; }
#again { border: 0; border-radius: 22px; padding: 11px 22px; background: #FF5A1F; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
#fav { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 3; border: 0; border-radius: 18px; padding: 8px 16px; background: #fff3ea; color: #b4561c; font-size: 14px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
#fav.on { background: #FF5A1F; color: #fff; }
#lb { position: absolute; inset: 0; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; z-index: 10; }
#lbimg { max-width: 100%; max-height: 100%; object-fit: contain; }
#lbn { position: absolute; top: 14px; left: 14px; color: #fff; font-size: 13px; }
#lbx { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; }
#prep { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(20,20,20,.7); color: #fff; border-radius: 20px; padding: 9px 16px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #FF8A3D; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.maplibregl-ctrl-attrib, .maplibregl-ctrl-bottom-right { display: none !important; }
